Struct aws_sdk_sagemaker::types::OptimizationVpcConfig
source · #[non_exhaustive]pub struct OptimizationVpcConfig {
pub security_group_ids: Option<Vec<String>>,
pub subnets: Option<Vec<String>>,
}
Expand description
A VPC in Amazon VPC that's accessible to an optimized that you create with an optimization job. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker 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, in the form 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 to which you want to connect your optimized model.
Implementations§
source§impl OptimizationVpcConfig
impl OptimizationVpcConfig
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The VPC security group IDs, in the form 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 OptimizationVpcConfig
impl OptimizationVpcConfig
sourcepub fn builder() -> OptimizationVpcConfigBuilder
pub fn builder() -> OptimizationVpcConfigBuilder
Creates a new builder-style object to manufacture OptimizationVpcConfig
.
Trait Implementations§
source§impl Clone for OptimizationVpcConfig
impl Clone for OptimizationVpcConfig
source§fn clone(&self) -> OptimizationVpcConfig
fn clone(&self) -> OptimizationVpcConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OptimizationVpcConfig
impl Debug for OptimizationVpcConfig
source§impl PartialEq for OptimizationVpcConfig
impl PartialEq for OptimizationVpcConfig
impl StructuralPartialEq for OptimizationVpcConfig
Auto Trait Implementations§
impl Freeze for OptimizationVpcConfig
impl RefUnwindSafe for OptimizationVpcConfig
impl Send for OptimizationVpcConfig
impl Sync for OptimizationVpcConfig
impl Unpin for OptimizationVpcConfig
impl UnwindSafe for OptimizationVpcConfig
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