Difference between revisions of "Aws ec2 describe-subnets"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* <code>[[aws ec2]] describe-subnets --output=table</code> | * <code>[[aws ec2]] describe-subnets --output=table</code> | ||
− | + | ||
− | ||+-----------------------------+---------------------------------------------------------------------+|| | + | ||+-----------------------------+---------------------------------------------------------------------+|| |
− | || Subnets || | + | || Subnets || |
− | |+------------------------------+----------------------------------------------------------------------+| | + | |+------------------------------+----------------------------------------------------------------------+| |
− | || AssignIpv6AddressOnCreation | False || | + | || AssignIpv6AddressOnCreation | False || |
− | || AvailabilityZone | us-west-2a || | + | || AvailabilityZone | us-west-2a || |
− | || AvailabilityZoneId | usw2-az2 || | + | || AvailabilityZoneId | usw2-az2 || |
− | || AvailableIpAddressCount | 239 || | + | || AvailableIpAddressCount | 239 || |
− | || CidrBlock | 10.0.10.0/24 || | + | || CidrBlock | 10.0.10.0/24 || |
− | || DefaultForAz | False || | + | || DefaultForAz | False || |
− | || MapCustomerOwnedIpOnLaunch | False || | + | || MapCustomerOwnedIpOnLaunch | False || |
− | || MapPublicIpOnLaunch | False || | + | || MapPublicIpOnLaunch | False || |
− | || OwnerId | 782871186567 || | + | || OwnerId | 782871186567 || |
− | || State | available || | + | || State | available || |
− | || SubnetArn | arn:aws:ec2:us-west-2:782871186567:subnet/subnet-0e038b0cdfcb53b19 || | + | || SubnetArn | arn:aws:ec2:us-west-2:782871186567:subnet/subnet-0e038b0cdfcb53b19 || |
− | || SubnetId | subnet-0e038b0cdfcb53b19 || | + | || SubnetId | subnet-0e038b0cdfcb53b19 || |
− | || VpcId | vpc-0a89965bb4754b25c || | + | || VpcId | vpc-0a89965bb4754b25c || |
− | |+------------------------------+----------------------------------------------------------------------+| | + | |+------------------------------+----------------------------------------------------------------------+| |
− | ||| Tags ||| | + | ||| Tags ||| |
− | ||+----------------------------+----------------------------------------------------------------------+|| | + | ||+----------------------------+----------------------------------------------------------------------+|| |
− | ||| Key | Value ||| | + | ||| Key | Value ||| |
− | ||+----------------------------+----------------------------------------------------------------------+|| | + | ||+----------------------------+----------------------------------------------------------------------+|| |
− | ||| Name | stage-us-west-2a-private-subnet ||| | + | ||| Name | stage-us-west-2a-private-subnet ||| |
− | ||| Environment | your_env ||| | + | ||| Environment | your_env ||| |
− | |||
== Related == | == Related == |
Revision as of 11:49, 21 September 2021
aws ec2 describe-subnets --output=table
||+-----------------------------+---------------------------------------------------------------------+|| || Subnets || |+------------------------------+----------------------------------------------------------------------+| || AssignIpv6AddressOnCreation | False || || AvailabilityZone | us-west-2a || || AvailabilityZoneId | usw2-az2 || || AvailableIpAddressCount | 239 || || CidrBlock | 10.0.10.0/24 || || DefaultForAz | False || || MapCustomerOwnedIpOnLaunch | False || || MapPublicIpOnLaunch | False || || OwnerId | 782871186567 || || State | available || || SubnetArn | arn:aws:ec2:us-west-2:782871186567:subnet/subnet-0e038b0cdfcb53b19 || || SubnetId | subnet-0e038b0cdfcb53b19 || || VpcId | vpc-0a89965bb4754b25c || |+------------------------------+----------------------------------------------------------------------+| ||| Tags ||| ||+----------------------------+----------------------------------------------------------------------+|| ||| Key | Value ||| ||+----------------------------+----------------------------------------------------------------------+|| ||| Name | stage-us-west-2a-private-subnet ||| ||| Environment | your_env |||
Related
See also
- AWS EC2, AWS::EC2,
aws ec2
[describe-instances | describe-instance-status
|run-instances | terminate-instances | stop-instances
|tags
|describe-vpcs
|describe-addresses
|describe-availability-zones
|describe-subnets
|import-key-pair
|create-key-pair
|create-vpc
|create-internet-gateway
|modify-instance-attribute | ec2-instance-connect | get-console-output
]
Advertising: