AWS::EC2::IPv4Pool

EC2 IPv4Pool

Resource Type definition for AWS::EC2::IPv4Pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to AWS to manage with IPAM (BYOIP).

Properties

1 configurable property. Click a row to see details.

Filter:
PropertyTypeFlags
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the public IPv4 pool.
DescriptionstringA description of the public IPv4 pool.
NetworkBorderGroupstringThe name of the location from which the address pool is advertised.
PoolIdstringThe ID of the public IPv4 pool.
TotalAddressCountintegerThe total number of addresses in the pool.
TotalAvailableAddressCountintegerThe total number of available addresses in the pool.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::IPv4Pool

Resources:
  MyResource:
    Type: AWS::EC2::IPv4Pool
    Properties:
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreatePublicIpv4Poolec2:CreateTags

read

ec2:DescribePublicIpv4Pools

update

ec2:DescribePublicIpv4Poolsec2:CreateTagsec2:DeleteTags

delete

ec2:DeletePublicIpv4Poolec2:DescribePublicIpv4Pools

list

ec2:DescribePublicIpv4Pools

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic