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

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

Overview

Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.

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>)


44941
44942
44943
44944
44945
44946
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 44941

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.

Returns:

  • (Array<String>)


44941
44942
44943
44944
44945
44946
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 44941

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