Class: Aws::SageMaker::Types::VpcConfig

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#security_group_idsArray<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.

Returns:

  • (Array<String>)


41821
41822
41823
41824
41825
41826
# File 'lib/aws-sdk-sagemaker/types.rb', line 41821

class VpcConfig < Struct.new(
  :security_group_ids,
  :subnets)
  SENSITIVE = []
  include Aws::Structure
end

#subnetsArray<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].

[1]: docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html

Returns:

  • (Array<String>)


41821
41822
41823
41824
41825
41826
# File 'lib/aws-sdk-sagemaker/types.rb', line 41821

class VpcConfig < Struct.new(
  :security_group_ids,
  :subnets)
  SENSITIVE = []
  include Aws::Structure
end