Struct aws_sdk_sagemaker::types::NeoVpcConfig
source · #[non_exhaustive]pub struct NeoVpcConfig {
pub security_group_ids: Option<Vec<String>>,
pub subnets: Option<Vec<String>>,
}
Expand description
The VpcConfig configuration object that specifies the VPC that you want the compilation jobs to connect to. For more information on controlling access to your Amazon S3 buckets used for compilation job, see Give Amazon SageMaker Compilation Jobs Access to Resources in Your Amazon VPC.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.security_group_ids: Option<Vec<String>>
The VPC security group IDs. IDs have the form of sg-xxxxxxxx
. Specify the security groups for the VPC that is specified in the Subnets
field.
subnets: Option<Vec<String>>
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in Amazon S3.
Implementations§
source§impl NeoVpcConfig
impl NeoVpcConfig
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The VPC security group IDs. IDs have the form of sg-xxxxxxxx
. Specify the security groups for the VPC that is specified in the Subnets
field.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none()
.
source§impl NeoVpcConfig
impl NeoVpcConfig
sourcepub fn builder() -> NeoVpcConfigBuilder
pub fn builder() -> NeoVpcConfigBuilder
Creates a new builder-style object to manufacture NeoVpcConfig
.
Trait Implementations§
source§impl Clone for NeoVpcConfig
impl Clone for NeoVpcConfig
source§fn clone(&self) -> NeoVpcConfig
fn clone(&self) -> NeoVpcConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NeoVpcConfig
impl Debug for NeoVpcConfig
source§impl PartialEq for NeoVpcConfig
impl PartialEq for NeoVpcConfig
source§fn eq(&self, other: &NeoVpcConfig) -> bool
fn eq(&self, other: &NeoVpcConfig) -> bool
self
and other
values to be equal, and is used
by ==
.