Struct aws_sdk_sagemaker::types::SourceIpConfig
source · #[non_exhaustive]pub struct SourceIpConfig {
pub cidrs: Option<Vec<String>>,
}
Expand description
A list of IP address ranges (CIDRs). Used to create an allow list of IP addresses for a private workforce. Workers will only be able to log in to their worker portal from an IP address within this range. By default, a workforce isn't restricted to specific IP addresses.
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.cidrs: Option<Vec<String>>
A list of one to ten Classless Inter-Domain Routing (CIDR) values.
Maximum: Ten CIDR values
The following Length Constraints apply to individual CIDR values in the CIDR value list.
Implementations§
source§impl SourceIpConfig
impl SourceIpConfig
sourcepub fn cidrs(&self) -> &[String]
pub fn cidrs(&self) -> &[String]
A list of one to ten Classless Inter-Domain Routing (CIDR) values.
Maximum: Ten CIDR values
The following Length Constraints apply to individual CIDR values in the CIDR value list.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cidrs.is_none()
.
source§impl SourceIpConfig
impl SourceIpConfig
sourcepub fn builder() -> SourceIpConfigBuilder
pub fn builder() -> SourceIpConfigBuilder
Creates a new builder-style object to manufacture SourceIpConfig
.
Trait Implementations§
source§impl Clone for SourceIpConfig
impl Clone for SourceIpConfig
source§fn clone(&self) -> SourceIpConfig
fn clone(&self) -> SourceIpConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceIpConfig
impl Debug for SourceIpConfig
source§impl PartialEq for SourceIpConfig
impl PartialEq for SourceIpConfig
impl StructuralPartialEq for SourceIpConfig
Auto Trait Implementations§
impl Freeze for SourceIpConfig
impl RefUnwindSafe for SourceIpConfig
impl Send for SourceIpConfig
impl Sync for SourceIpConfig
impl Unpin for SourceIpConfig
impl UnwindSafe for SourceIpConfig
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