AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::IPAMAllocation

EC2 IPAMAllocation

Resource Schema of AWS::EC2::IPAMAllocation Type

Properties

4 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
IpamPoolId
string
RequiredCreate-only
Cidr
string
Create-only
Description
string
Create-only
NetmaskLength
integer
Create-onlyWrite-only

Return Values

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

AttributeTypeDescription
IpamPoolAllocationIdstringId of the allocation.

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::IPAMAllocation

Resources:
  MyResource:
    Type: AWS::EC2::IPAMAllocation
    Properties:
      IpamPoolId: "my-ipampoolid"
      Description: !Ref "AWS::StackName"

Required IAM Permissions

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

create

ec2:AllocateIpamPoolCidrec2:GetIpamPoolAllocations

read

ec2:GetIpamPoolAllocations

delete

ec2:ReleaseIpamPoolAllocation

list

ec2:GetIpamPoolAllocations

Get the EC2 Cheat Sheet

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

Download Free Infographic

Quick Facts

ServiceEC2
Properties5
Required1
TaggingNot supported
Primary IDIpamPoolId

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

IpamPoolIdCidrDescriptionNetmaskLength

External Links