Class: Aws::SageMaker::Types::CreateWorkforceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cognito_configTypes::CognitoConfig

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.

Do not use OidcConfig if you specify values for CognitoConfig.



8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 8080

class CreateWorkforceRequest < Struct.new(
  :cognito_config,
  :oidc_config,
  :source_ip_config,
  :workforce_name,
  :tags,
  :workforce_vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#oidc_configTypes::OidcConfig

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

Do not use CognitoConfig if you specify values for OidcConfig.

Returns:



8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 8080

class CreateWorkforceRequest < Struct.new(
  :cognito_config,
  :oidc_config,
  :source_ip_config,
  :workforce_name,
  :tags,
  :workforce_vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#source_ip_configTypes::SourceIpConfig

A list of IP address ranges (CIDRs). 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.



8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 8080

class CreateWorkforceRequest < Struct.new(
  :cognito_config,
  :oidc_config,
  :source_ip_config,
  :workforce_name,
  :tags,
  :workforce_vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

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.

Returns:



8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 8080

class CreateWorkforceRequest < Struct.new(
  :cognito_config,
  :oidc_config,
  :source_ip_config,
  :workforce_name,
  :tags,
  :workforce_vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#workforce_nameString

The name of the private workforce.

Returns:

  • (String)


8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 8080

class CreateWorkforceRequest < Struct.new(
  :cognito_config,
  :oidc_config,
  :source_ip_config,
  :workforce_name,
  :tags,
  :workforce_vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#workforce_vpc_configTypes::WorkforceVpcConfigRequest

Use this parameter to configure a workforce using VPC.



8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 8080

class CreateWorkforceRequest < Struct.new(
  :cognito_config,
  :oidc_config,
  :source_ip_config,
  :workforce_name,
  :tags,
  :workforce_vpc_config)
  SENSITIVE = []
  include Aws::Structure
end