You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SageMaker::Types::VpcConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::VpcConfig
- Defined in:
- (unknown)
Overview
When passing VpcConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
security_group_ids: ["SecurityGroupId"], # required
subnets: ["SubnetId"], # required
}
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.
Returned by:
Instance Attribute Summary collapse
-
#security_group_ids ⇒ Array<String>
The VPC security group IDs, in the form sg-xxxxxxxx.
-
#subnets ⇒ Array<String>
The ID of the subnets in the VPC to which you want to connect your training job or model.
Instance Attribute Details
#security_group_ids ⇒ Array<String>
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the
security groups for the VPC that is specified in the Subnets
field.
#subnets ⇒ Array<String>
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.