aws ec2 associate-vpc-cidr-block
Associates a CIDR block with your VPC. AWS CLI reference
10 options Its page in the AWS CLI reference
Options
--amazon-provided-ipv6-cidr-blockRequests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.--cidr-blockAn IPv4 CIDR block to associate with the VPC.--ipv4-ipam-pool-idAssociate a CIDR allocated from an IPv4 IPAM pool to a VPC.--ipv4-netmask-lengthThe netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.--ipv6-cidr-block-network-border-groupThe name of the location from which we advertise the IPV6 CIDR block.--ipv6-cidr-blockAn IPv6 CIDR block from the IPv6 address pool.--ipv6-ipam-pool-idAssociates a CIDR allocated from an IPv6 IPAM pool to a VPC.--ipv6-netmask-lengthThe netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.--ipv6-poolThe ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.--vpc-idThe ID of the VPC.