You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SageMaker::Types::NetworkConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::NetworkConfig
- Defined in:
- (unknown)
Overview
When passing NetworkConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
enable_inter_container_traffic_encryption: false,
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.
Returned by:
Instance Attribute Summary collapse
-
#enable_inter_container_traffic_encryption ⇒ Boolean
Whether to encrypt all communications between distributed processing jobs.
-
#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_inter_container_traffic_encryption ⇒ Boolean
Whether to encrypt all communications between distributed processing
jobs. Choose True
to encrypt communications. Encryption provides
greater security for distributed processing jobs, but the processing
might take longer.
#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. 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.