Class: Aws::SageMaker::Types::NetworkConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::NetworkConfig
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
When making an API call, you may pass NetworkConfig data as a hash:
{
enable_network_isolation: false,
vpc_config: {
security_group_ids: ["SecurityGroupId"], # required
subnets: ["SubnetId"], # required
},
}
Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.
Instance Attribute Summary collapse
-
#enable_network_isolation ⇒ Boolean
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
-
#vpc_config ⇒ Types::VpcConfig
Specifies a VPC that your training jobs and hosted models have access to.
Instance Attribute Details
#enable_network_isolation ⇒ Boolean
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
15370 15371 15372 15373 15374 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 15370 class NetworkConfig < Struct.new( :enable_network_isolation, :vpc_config) include Aws::Structure end |
#vpc_config ⇒ 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][1
-
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
15370 15371 15372 15373 15374 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 15370 class NetworkConfig < Struct.new( :enable_network_isolation, :vpc_config) include Aws::Structure end |