Show / Hide Table of Contents

Interface ICfnWorkforceProps

Properties for defining a CfnWorkforce.

Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnWorkforceProps
Syntax (vb)
Public Interface ICfnWorkforceProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workforce.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Sagemaker;

             var cfnWorkforceProps = new CfnWorkforceProps {
                 WorkforceName = "workforceName",

                 // the properties below are optional
                 CognitoConfig = new CognitoConfigProperty {
                     ClientId = "clientId",
                     UserPool = "userPool"
                 },
                 IpAddressType = "ipAddressType",
                 OidcConfig = new OidcConfigProperty {
                     AuthorizationEndpoint = "authorizationEndpoint",
                     ClientId = "clientId",
                     Issuer = "issuer",
                     JwksUri = "jwksUri",
                     LogoutEndpoint = "logoutEndpoint",
                     TokenEndpoint = "tokenEndpoint",
                     UserInfoEndpoint = "userInfoEndpoint",

                     // the properties below are optional
                     AuthenticationRequestExtraParams = new Dictionary<string, string> {
                         { "authenticationRequestExtraParamsKey", "authenticationRequestExtraParams" }
                     },
                     ClientSecret = "clientSecret",
                     Scope = "scope"
                 },
                 SourceIpConfig = new SourceIpConfigProperty {
                     Cidrs = new [] { "cidrs" }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 WorkforceVpcConfig = new WorkforceVpcConfigRequestProperty {
                     SecurityGroupIds = new [] { "securityGroupIds" },
                     Subnets = new [] { "subnets" },
                     VpcId = "vpcId"
                 }
             };

Synopsis

Properties

CognitoConfig

The configuration of an Amazon Cognito workforce.

IpAddressType

The IP address type for the workforce.

OidcConfig

The configuration of an OIDC Identity Provider (IdP) private workforce.

SourceIpConfig

A list of IP address ranges used to access your training data.

Tags

An array of key-value pairs.

WorkforceName

The name of the private workforce.

WorkforceVpcConfig

The VPC configuration for the workforce.

Properties

CognitoConfig

The configuration of an Amazon Cognito workforce.

object? CognitoConfig { get; }
Property Value

object

Remarks

A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workforce.html#cfn-sagemaker-workforce-cognitoconfig

Type union: either IResolvable or CfnWorkforce.ICognitoConfigProperty

IpAddressType

The IP address type for the workforce.

string? IpAddressType { get; }
Property Value

string

Remarks

IPv4 only or dualstack (IPv4 and IPv6).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workforce.html#cfn-sagemaker-workforce-ipaddresstype

OidcConfig

The configuration of an OIDC Identity Provider (IdP) private workforce.

object? OidcConfig { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workforce.html#cfn-sagemaker-workforce-oidcconfig

Type union: either IResolvable or CfnWorkforce.IOidcConfigProperty

SourceIpConfig

A list of IP address ranges used to access your training data.

object? SourceIpConfig { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workforce.html#cfn-sagemaker-workforce-sourceipconfig

Type union: either IResolvable or CfnWorkforce.ISourceIpConfigProperty

Tags

An array of key-value pairs.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workforce.html#cfn-sagemaker-workforce-tags

WorkforceName

The name of the private workforce.

string WorkforceName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workforce.html#cfn-sagemaker-workforce-workforcename

WorkforceVpcConfig

The VPC configuration for the workforce.

object? WorkforceVpcConfig { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workforce.html#cfn-sagemaker-workforce-workforcevpcconfig

Type union: either IResolvable or CfnWorkforce.IWorkforceVpcConfigRequestProperty

Back to top Generated by DocFX