Editing Aws ec2 describe-vpcs
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-vpcs.html | https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-vpcs.html | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[aws ec2]] describe-vpcs --output=text | [[aws ec2]] describe-vpcs --output=text | ||
− | VPCS | + | VPCS 172.31.0.0/16 dopt-74d4af1f default True 688850446548 available vpc-2e452445 |
CIDRBLOCKASSOCIATIONSET vpc-cidr-assoc-a74320cc 172.31.0.0/16 | CIDRBLOCKASSOCIATIONSET vpc-cidr-assoc-a74320cc 172.31.0.0/16 | ||
CIDRBLOCKSTATE associated | CIDRBLOCKSTATE associated | ||
− | + | <code>[[aws ec2]] describe-vpcs --output=text | [[egrep -w]] "Name|VPCS"</code> | |
− | [[ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
Line 39: | Line 17: | ||
"DhcpOptionsId": "dopt-74d4af1f", | "DhcpOptionsId": "dopt-74d4af1f", | ||
"State": "available", | "State": "available", | ||
− | " | + | "VpcId": "vpc-2e452445", |
"OwnerId": "688850446548", | "OwnerId": "688850446548", | ||
− | " | + | "InstanceTenancy": "default", |
"CidrBlockAssociationSet": [ | "CidrBlockAssociationSet": [ | ||
{ | { | ||
Line 55: | Line 33: | ||
] | ] | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
* <code>[[aws list all]]</code> | * <code>[[aws list all]]</code> | ||
* <code>[[aws ec2 describe-subnets]]</code> | * <code>[[aws ec2 describe-subnets]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | * {{aws ec2 | + | * {{aws ec2}} |
* {{AWS VPC}} | * {{AWS VPC}} | ||
− | + | * {{VPC}} | |
[[Category:AWS]] | [[Category:AWS]] |
Advertising: