Class: Aws::SageMaker::Types::NetworkConfig

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

Overview

Note:

When making an API call, you may pass NetworkConfig data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enable_inter_container_traffic_encryptionBoolean

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.

Returns:

  • (Boolean)


17070
17071
17072
17073
17074
17075
17076
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 17070

class NetworkConfig < Struct.new(
  :enable_inter_container_traffic_encryption,
  :enable_network_isolation,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#enable_network_isolationBoolean

Whether to allow inbound and outbound network calls to and from the containers used for the processing job.

Returns:

  • (Boolean)


17070
17071
17072
17073
17074
17075
17076
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 17070

class NetworkConfig < Struct.new(
  :enable_inter_container_traffic_encryption,
  :enable_network_isolation,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_configTypes::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.

Returns:



17070
17071
17072
17073
17074
17075
17076
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 17070

class NetworkConfig < Struct.new(
  :enable_inter_container_traffic_encryption,
  :enable_network_isolation,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end