1**Example 1: To describe all of your VPCs**
2
3The following ``describe-vpcs`` example retrieves details about your VPCs. ::
4
5    aws ec2 describe-vpcs
6
7Output::
8
9    {
10        "Vpcs": [
11            {
12                "CidrBlock": "30.1.0.0/16",
13                "DhcpOptionsId": "dopt-19edf471",
14                "State": "available",
15                "VpcId": "vpc-0e9801d129EXAMPLE",
16                "OwnerId": "111122223333",
17                "InstanceTenancy": "default",
18                "CidrBlockAssociationSet": [
19                    {
20                        "AssociationId": "vpc-cidr-assoc-062c64cfafEXAMPLE",
21                        "CidrBlock": "30.1.0.0/16",
22                        "CidrBlockState": {
23                            "State": "associated"
24                        }
25                    }
26                ],
27                "IsDefault": false,
28                "Tags": [
29                    {
30                        "Key": "Name",
31                        "Value": "Not Shared"
32                    }
33                ]
34            },
35            {
36                "CidrBlock": "10.0.0.0/16",
37                "DhcpOptionsId": "dopt-19edf471",
38                "State": "available",
39                "VpcId": "vpc-06e4ab6c6cEXAMPLE",
40                "OwnerId": "222222222222",
41                "InstanceTenancy": "default",
42                "CidrBlockAssociationSet": [
43                    {
44                        "AssociationId": "vpc-cidr-assoc-00b17b4eddEXAMPLE",
45                        "CidrBlock": "10.0.0.0/16",
46                        "CidrBlockState": {
47                            "State": "associated"
48                        }
49                    }
50                ],
51                "IsDefault": false,
52                "Tags": [
53                    {
54                        "Key": "Name",
55                        "Value": "Shared VPC"
56                    }
57                ]
58            }
59        ]
60    }
61
62**Example 2: To describe a specified VPC**
63
64The following ``describe-vpcs`` example retrieves details for the specified VPC. ::
65
66    aws ec2 describe-vpcs \
67        --vpc-ids vpc-06e4ab6c6cEXAMPLE
68
69Output::
70
71    {
72        "Vpcs": [
73            {
74                "CidrBlock": "10.0.0.0/16",
75                "DhcpOptionsId": "dopt-19edf471",
76                "State": "available",
77                "VpcId": "vpc-06e4ab6c6cEXAMPLE",
78                "OwnerId": "111122223333",
79                "InstanceTenancy": "default",
80                "CidrBlockAssociationSet": [
81                    {
82                        "AssociationId": "vpc-cidr-assoc-00b17b4eddEXAMPLE",
83                        "CidrBlock": "10.0.0.0/16",
84                        "CidrBlockState": {
85                            "State": "associated"
86                        }
87                    }
88                ],
89                "IsDefault": false,
90                "Tags": [
91                    {
92                        "Key": "Name",
93                        "Value": "Shared VPC"
94                    }
95                ]
96            }
97        ]
98    }
99