Skip to main content

vpc_cidr_blocks_list_only

Lists vpc_cidr_blocks in a region or regions, for all properties use vpc_cidr_blocks

Overview

Namevpc_cidr_blocks_list_only
TypeResource
DescriptionResource Type definition for AWS::EC2::VPCCidrBlock
Idaws.ec2.vpc_cidr_blocks_list_only

Fields

NameDatatypeDescription
cidr_blockstringAn IPv4 CIDR block to associate with the VPC.
ipv6_poolstringThe ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
idstringThe Id of the VPC associated CIDR Block.
vpc_idstringThe ID of the VPC.
ipv6_cidr_blockstringAn IPv6 CIDR block from the IPv6 address pool.
ipv4_ipam_pool_idstringThe ID of the IPv4 IPAM pool to Associate a CIDR from to a VPC.
ipv4_netmask_lengthintegerThe netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
ipv6_ipam_pool_idstringThe ID of the IPv6 IPAM pool to Associate a CIDR from to a VPC.
ipv6_netmask_lengthintegerThe netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
amazon_provided_ipv6_cidr_blockbooleanRequests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all vpc_cidr_blocks in a region.

SELECT
region,
id,
vpc_id
FROM aws.ec2.vpc_cidr_blocks_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the vpc_cidr_blocks_list_only resource, see vpc_cidr_blocks