AwsEc2SubnetDetails - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsEc2SubnetDetails

Contains information about a subnet in Amazon EC2.

Contents

AssignIpv6AddressOnCreation

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

Type: Boolean

Required: No

AvailabilityZone

The Availability Zone for the subnet.

Type: String

Pattern: .*\S.*

Required: No

AvailabilityZoneId

The identifier of the Availability Zone for the subnet.

Type: String

Pattern: .*\S.*

Required: No

AvailableIpAddressCount

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

Type: Integer

Required: No

CidrBlock

The IPV4 CIDR block that is assigned to the subnet.

Type: String

Pattern: .*\S.*

Required: No

DefaultForAz

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

Type: Boolean

Required: No

Ipv6CidrBlockAssociationSet

The IPV6 CIDR blocks that are associated with the subnet.

Type: Array of Ipv6CidrBlockAssociation objects

Required: No

MapPublicIpOnLaunch

Whether instances in this subnet receive a public IP address.

Type: Boolean

Required: No

OwnerId

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

Type: String

Pattern: .*\S.*

Required: No

State

The current state of the subnet. Valid values are available or pending.

Type: String

Pattern: .*\S.*

Required: No

SubnetArn

The ARN of the subnet.

Type: String

Pattern: .*\S.*

Required: No

SubnetId

The identifier of the subnet.

Type: String

Pattern: .*\S.*

Required: No

VpcId

The identifier of the VPC that contains the subnet.

Type: String

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: