DATASOURCE::VPC::Vpc is used to query the information about a virtual private cloud (VPC).
Syntax
{
"Type": "DATASOURCE::VPC::Vpc",
"Properties": {
"VpcId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
VpcId | String | Yes | Yes | The VPC ID. | None. |
Return values
Fn::GetAtt
IsDefault: indicates whether the default VPC in the specified region is queried.
Description: the description of the VPC.
ClassicLinkEnabled: the ClassicLink state of the VPC.
ResourceGroupId: the ID of the resource group to which the VPC belongs.
SecondaryCidrBlocks: the information about the secondary CIDR blocks.
VSwitchIds: the information about vSwitches in the VPC.
CreateTime: the time when the VPC was created.
RouterId: the router ID of the VPC.
CidrBlock: the IPv4 CIDR block of the VPC.
UserCidrs: the user CIDR blocks of the VPC.
DhcpOptionsSetId: the ID of the Dynamic Host Configuration Protocol (DHCP) options set.
VpcId: the VPC ID.
VpcName: the VPC name.
Ipv6CidrBlock: the IPv6 CIDR block of the VPC.
Ipv6CidrBlocks: the information about IPv6 CIDR blocks of the VPC.
Tags: the information about tags that are added to the VPC.