Struct aws_sdk_securityhub::model::AwsEc2SubnetDetails[][src]

#[non_exhaustive]
pub struct AwsEc2SubnetDetails {
Show 13 fields pub assign_ipv6_address_on_creation: bool, pub availability_zone: Option<String>, pub availability_zone_id: Option<String>, pub available_ip_address_count: i32, pub cidr_block: Option<String>, pub default_for_az: bool, pub map_public_ip_on_launch: bool, pub owner_id: Option<String>, pub state: Option<String>, pub subnet_arn: Option<String>, pub subnet_id: Option<String>, pub vpc_id: Option<String>, pub ipv6_cidr_block_association_set: Option<Vec<Ipv6CidrBlockAssociation>>,
}
Expand description

Contains information about a subnet in Amazon EC2.

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.
assign_ipv6_address_on_creation: bool

Whether to assign an IPV6 address to a network interface that is created in this subnet.

availability_zone: Option<String>

The Availability Zone for the subnet.

availability_zone_id: Option<String>

The identifier of the Availability Zone for the subnet.

available_ip_address_count: i32

The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.

cidr_block: Option<String>

The IPV4 CIDR block that is assigned to the subnet.

default_for_az: bool

Whether this subnet is the default subnet for the Availability Zone.

map_public_ip_on_launch: bool

Whether instances in this subnet receive a public IP address.

owner_id: Option<String>

The identifier of the Amazon Web Services account that owns the subnet.

state: Option<String>

The current state of the subnet.

subnet_arn: Option<String>

The ARN of the subnet.

subnet_id: Option<String>

The identifier of the subnet.

vpc_id: Option<String>

The identifier of the VPC that contains the subnet.

ipv6_cidr_block_association_set: Option<Vec<Ipv6CidrBlockAssociation>>

The IPV6 CIDR blocks that are associated with the subnet.

Implementations

Whether to assign an IPV6 address to a network interface that is created in this subnet.

The Availability Zone for the subnet.

The identifier of the Availability Zone for the subnet.

The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.

The IPV4 CIDR block that is assigned to the subnet.

Whether this subnet is the default subnet for the Availability Zone.

Whether instances in this subnet receive a public IP address.

The identifier of the Amazon Web Services account that owns the subnet.

The current state of the subnet.

The ARN of the subnet.

The identifier of the subnet.

The identifier of the VPC that contains the subnet.

The IPV6 CIDR blocks that are associated with the subnet.

Creates a new builder-style object to manufacture AwsEc2SubnetDetails

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more