Struct aws_sdk_sagemaker::types::NetworkConfig
source · #[non_exhaustive]pub struct NetworkConfig { /* private fields */ }
Expand description
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.
Implementations§
source§impl NetworkConfig
impl NetworkConfig
sourcepub fn enable_inter_container_traffic_encryption(&self) -> bool
pub fn enable_inter_container_traffic_encryption(&self) -> bool
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.
sourcepub fn enable_network_isolation(&self) -> bool
pub fn enable_network_isolation(&self) -> bool
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
sourcepub fn vpc_config(&self) -> Option<&VpcConfig>
pub fn vpc_config(&self) -> Option<&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.
source§impl NetworkConfig
impl NetworkConfig
sourcepub fn builder() -> NetworkConfigBuilder
pub fn builder() -> NetworkConfigBuilder
Creates a new builder-style object to manufacture NetworkConfig
.
Trait Implementations§
source§impl Clone for NetworkConfig
impl Clone for NetworkConfig
source§fn clone(&self) -> NetworkConfig
fn clone(&self) -> NetworkConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkConfig
impl Debug for NetworkConfig
source§impl PartialEq<NetworkConfig> for NetworkConfig
impl PartialEq<NetworkConfig> for NetworkConfig
source§fn eq(&self, other: &NetworkConfig) -> bool
fn eq(&self, other: &NetworkConfig) -> bool
self
and other
values to be equal, and is used
by ==
.