class Aws::SageMaker::Types::CreateWorkforceRequest

@note When making an API call, you may pass CreateWorkforceRequest

data as a hash:

    {
      cognito_config: {
        user_pool: "CognitoUserPool", # required
        client_id: "ClientId", # required
      },
      oidc_config: {
        client_id: "ClientId", # required
        client_secret: "ClientSecret", # required
        issuer: "OidcEndpoint", # required
        authorization_endpoint: "OidcEndpoint", # required
        token_endpoint: "OidcEndpoint", # required
        user_info_endpoint: "OidcEndpoint", # required
        logout_endpoint: "OidcEndpoint", # required
        jwks_uri: "OidcEndpoint", # required
      },
      source_ip_config: {
        cidrs: ["Cidr"], # required
      },
      workforce_name: "WorkforceName", # required
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue", # required
        },
      ],
    }

@!attribute [rw] cognito_config

Use this parameter to configure an Amazon Cognito private workforce.
A single Cognito workforce is created using and corresponds to a
single [ Amazon Cognito user pool][1].

Do not use `OidcConfig` if you specify values for `CognitoConfig`.

[1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html
@return [Types::CognitoConfig]

@!attribute [rw] oidc_config

Use this parameter to configure a private workforce using your own
OIDC Identity Provider.

Do not use `CognitoConfig` if you specify values for `OidcConfig`.
@return [Types::OidcConfig]

@!attribute [rw] source_ip_config

A list of IP address ranges ([CIDRs][1]). Used to create an allow
list of IP addresses for a private workforce. Workers will only be
able to login to their worker portal from an IP address within this
range. By default, a workforce isn't restricted to specific IP
addresses.

[1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
@return [Types::SourceIpConfig]

@!attribute [rw] workforce_name

The name of the private workforce.
@return [String]

@!attribute [rw] tags

An array of key-value pairs that contain metadata to help you
categorize and organize our workforce. Each tag consists of a key
and a value, both of which you define.
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforceRequest AWS API Documentation

Constants

SENSITIVE