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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NeoVpcConfig
impl Debug for NeoVpcConfig
source§impl PartialEq<NeoVpcConfig> for NeoVpcConfig
impl PartialEq<NeoVpcConfig> for NeoVpcConfig
source§fn eq(&self, other: &NeoVpcConfig) -> bool
fn eq(&self, other: &NeoVpcConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NeoVpcConfig
Auto Trait Implementations§
impl RefUnwindSafe for NeoVpcConfig
impl Send for NeoVpcConfig
impl Sync for NeoVpcConfig
impl Unpin for NeoVpcConfig
impl UnwindSafe for NeoVpcConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more