Amazon Elastic Compute Cloud
API Reference (API Version 2013-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

SubnetType

Describes a subnet.

Ancestors

  • SubnetSetType

Relevant Operations

Contents

subnetId

The ID of the subnet.

Type: String

state

The current state of the subnet.

Type: String

vpcId

The ID of the VPC the subnet is in.

Type: String

cidrBlock

The CIDR block assigned to the subnet.

Type: String

availableIpAddressCount

The number of unused IP addresses in the subnet (the IP addresses for any stopped instances are considered unavailable).

Type: Integer

availabilityZone

The Availability Zone of the subnet.

Type: String

defaultForAz

Indicates whether this is the default subnet for the Availability Zone.

Type: Boolean

mapPublicIpOnLaunch

Indicates whether instances launched in this subnet receive a public IP address.

Type: Boolean

tagSet

Any tags assigned to the resource, each one wrapped in an item element.

Type: ResourceTagSetItemType