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 ==
.impl StructuralPartialEq for NeoVpcConfig
Auto Trait Implementations§
impl Freeze for NeoVpcConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more