class Aws::SageMaker::Types::VpcConfig
Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see [Protect Endpoints by Using an Amazon Virtual Private Cloud] and [Protect Training Jobs by Using an Amazon Virtual Private Cloud].
[1]: docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html [2]: docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html
@note When making an API call, you may pass VpcConfig
data as a hash: { security_group_ids: ["SecurityGroupId"], # required subnets: ["SubnetId"], # required }
@!attribute [rw] security_group_ids
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the `Subnets` field. @return [Array<String>]
@!attribute [rw] subnets
The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see [Supported Instance Types and Availability Zones][1]. [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/VpcConfig AWS API Documentation
Constants
- SENSITIVE