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 login 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
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.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) -> Option<&[String]>
pub fn cidrs(&self) -> Option<&[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.
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
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 SourceIpConfig
impl Debug for SourceIpConfig
source§impl PartialEq<SourceIpConfig> for SourceIpConfig
impl PartialEq<SourceIpConfig> for SourceIpConfig
source§fn eq(&self, other: &SourceIpConfig) -> bool
fn eq(&self, other: &SourceIpConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceIpConfig
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more