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
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
source§fn eq(&self, other: &SourceIpConfig) -> bool
fn eq(&self, other: &SourceIpConfig) -> bool
self
and other
values to be equal, and is used
by ==
.