aws / aws/aws-cdk

(@aws-cdk/aws-ec2-alpha): IPAM PoolOptions missing options from AWS::EC2::IPAMPool

Open
#34,178 3 comments 3 reactions 0 assignees View on GitHub
effort/medium feature-request mixins p2 package/tools
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the bug

https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ec2-alpha.PoolOptions.html#properties
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html

Currently the Interface is missing a few options from the CFN construct. The key one being `SourceIpamPoolId` allowing you to create pools within pools.

### Regression Issue

- [ ] Select this option if this issue appears to be a regression.

### Last Known Working CDK Version

_No response_

### Expected Behavior

The L2 construct should support all the options

### Current Behavior

No `SourceIpamPoolId` option exists

### Reproduction Steps

N/A

### Possible Solution

The option could be added to `PoolOptions` or a method could be attached to `IIpamPool` called `addPool` or similar allowing you to create a pool from the created construct. Or both?

### Additional Information/Context

_No response_

### CDK CLI Version

2.1010.0 (build 6b421db)

### Framework Version

_No response_

### Node.js Version

v22.14.0

### OS

Windows 11 WSL2 Ubuntu 24.04.2 LTS

### Language

TypeScript

### Language Version

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the PoolOptions API reference and the AWS::EC2::IPAMPool CloudFormation resource, comparing their supported properties, especially SourceIpamPoolId. Done means the L2 construct exposes the missing supported options and provides a clear way to create pools within pools.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.