aws / aws/aws-cdk

(aws_apigateway): Add support for ipAddressType in EndpointConfiguration

Open
#33,998 5 comments 1 reaction 0 assignees View on GitHub
@aws-cdk/aws-apigateway effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

API Gateway now supports dualstack RestApis, to enable the RestApi to support dualstack, though the blog post announcement includes CDK proporties for ipAddressType it does not seem supported.

https://aws.amazon.com/blogs/aws/amazon-api-gateway-now-supports-dual-stack-ipv4-and-ipv6-endpoints/

### Use Case

Create or add IPv6 support for APIGW

### Proposed Solution

From blog post
```
const api = new apigateway.RestApi(this, "Api", {
restApiName: "MyDualStackAPI",
endpointConfiguration: {ipAddressType: "dualstack"}
});
```

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.187.0

### Environment details (OS name and version, etc.)

Linux

Contributor guide

Open the contributing guide

Research direction

Start at the aws_apigateway RestApi endpointConfiguration entry point described in the issue and compare its supported properties with the AWS blog's ipAddressType example. Check the existing aws_apigateway tests for endpoint configuration, then verify that setting ipAddressType to dualstack is accepted and appears in the synthesized API Gateway configuration.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.