---
type: resource-type
title: VPCCidrBlock
description: aws resource type AWS::EC2::VPCCidrBlock
name: VPCCidrBlock
lexicon: aws
resource_type: AWS::EC2::VPCCidrBlock
---
`AWS::EC2::VPCCidrBlock`, a resource type of the aws lexicon.

## Properties

- `VpcId` (`string`, required): The ID of the VPC.
- `AmazonProvidedIpv6CidrBlock` (`boolean`, optional): Requests 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.
- `CidrBlock` (`string`, optional): An IPv4 CIDR block to associate with the VPC.
- `Id` (`string`, optional): The Id of the VPC associated CIDR Block.
- `IpSource` (`string`, optional): The IP Source of an IPv6 VPC CIDR Block.
- `Ipv4IpamPoolId` (`string`, optional): The ID of the IPv4 IPAM pool to Associate a CIDR from to a VPC.
- `Ipv4NetmaskLength` (`number`, optional): The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
- `Ipv6AddressAttribute` (`string`, optional): The value denoting whether an IPv6 VPC CIDR Block is public or private.
- `Ipv6CidrBlock` (`string`, optional): An IPv6 CIDR block from the IPv6 address pool.
- `Ipv6CidrBlockNetworkBorderGroup` (`string`, optional): The name of the location from which we advertise the IPV6 CIDR block.
- `Ipv6IpamPoolId` (`string`, optional): The ID of the IPv6 IPAM pool to Associate a CIDR from to a VPC.
- `Ipv6NetmaskLength` (`number`, optional): The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
- `Ipv6Pool` (`string`, optional): The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.

## Attributes

- `Id`
- `IpSource`
- `Ipv6AddressAttribute`
