Struct aws_sdk_sagemaker::model::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
sourceimpl 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.
sourceimpl NetworkConfig
impl NetworkConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NetworkConfig.
Trait Implementations
sourceimpl Clone for NetworkConfig
impl Clone for NetworkConfig
sourcefn clone(&self) -> NetworkConfig
fn clone(&self) -> NetworkConfig
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more