WorkforceVpcConfigResponse - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

WorkforceVpcConfigResponse

A VpcConfig object that specifies the VPC that you want your workforce to connect to.

Contents

SecurityGroupIds

The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Length Constraints: Maximum length of 32.

Pattern: ^sg-[0-9a-z]*$

Required: Yes

Subnets

The ID of the subnets in the VPC that you want to connect.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 16 items.

Length Constraints: Maximum length of 32.

Pattern: ^subnet-[0-9a-z]*$

Required: Yes

VpcId

The ID of the VPC that the workforce uses for communication.

Type: String

Length Constraints: Maximum length of 32.

Pattern: ^vpc-[0-9a-z]*$

Required: Yes

VpcEndpointId

The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: ^vpce-[0-9a-z]*$

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: