Struct aws_sdk_elasticache::types::Subnet
source · #[non_exhaustive]pub struct Subnet {
pub subnet_identifier: Option<String>,
pub subnet_availability_zone: Option<AvailabilityZone>,
pub subnet_outpost: Option<SubnetOutpost>,
pub supported_network_types: Option<Vec<NetworkType>>,
}
Expand description
Represents the subnet associated with a cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with ElastiCache.
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.subnet_identifier: Option<String>
The unique identifier for the subnet.
subnet_availability_zone: Option<AvailabilityZone>
The Availability Zone associated with the subnet.
subnet_outpost: Option<SubnetOutpost>
The outpost ARN of the subnet.
supported_network_types: Option<Vec<NetworkType>>
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
Implementations§
source§impl Subnet
impl Subnet
sourcepub fn subnet_identifier(&self) -> Option<&str>
pub fn subnet_identifier(&self) -> Option<&str>
The unique identifier for the subnet.
sourcepub fn subnet_availability_zone(&self) -> Option<&AvailabilityZone>
pub fn subnet_availability_zone(&self) -> Option<&AvailabilityZone>
The Availability Zone associated with the subnet.
sourcepub fn subnet_outpost(&self) -> Option<&SubnetOutpost>
pub fn subnet_outpost(&self) -> Option<&SubnetOutpost>
The outpost ARN of the subnet.
sourcepub fn supported_network_types(&self) -> &[NetworkType]
pub fn supported_network_types(&self) -> &[NetworkType]
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_network_types.is_none()
.