Difference between revisions of "Aws ec2 describe-subnets"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* <code>[[aws ec2]] describe-subnets</code>
 
* <code>[[aws ec2]] describe-subnets</code>
 
* <code>aws ec2 describe-subnets | grep [[VpcId]]</code>
 
* <code>aws ec2 describe-subnets | grep [[VpcId]]</code>
 
+
* <code>[[aws ec2]] describe-subnets [[--output=text]] | grep Name</code>
 
* <code>[[aws ec2]] describe-subnets [[--output=table]]</code>
 
* <code>[[aws ec2]] describe-subnets [[--output=table]]</code>
  

Revision as of 12:10, 14 October 2021

||+-----------------------------+---------------------------------------------------------------------+||
||                                               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

Advertising: