logo
pub struct AwsEc2SubnetDetails {
Show 13 fields pub assign_ipv_6_address_on_creation: Option<bool>, pub availability_zone: Option<String>, pub availability_zone_id: Option<String>, pub available_ip_address_count: Option<i64>, pub cidr_block: Option<String>, pub default_for_az: Option<bool>, pub ipv_6_cidr_block_association_set: Option<Vec<Ipv6CidrBlockAssociation>>, pub map_public_ip_on_launch: Option<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>,
}
Expand description

Contains information about a subnet in EC2.

Fields

assign_ipv_6_address_on_creation: Option<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: Option<i64>

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: Option<bool>

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

ipv_6_cidr_block_association_set: Option<Vec<Ipv6CidrBlockAssociation>>

The IPV6 CIDR blocks that are associated with the subnet.

map_public_ip_on_launch: Option<bool>

Whether instances in this subnet receive a public IP address.

owner_id: Option<String>

The identifier of the AWS 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.

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

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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