aws / aws/aws-cdk

ec2 (S3): Disable "Enable private DNS only for inbound endpoint" when creating a VPC endpoint interface

Open
#29,739 5 comments 1 reaction 0 assignees View on GitHub
@aws-cdk/aws-ec2 effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
1d 19h
Merged PRs (30d)
71

Description

### Describe the feature

AWS introduced a new feature for VPC endpoint interfaces for S3 that enables/disables "private DNS only for inbound endpoint": https://aws.amazon.com/blogs/storage/introducing-private-dns-support-for-amazon-s3-with-aws-privatelink/

According to the current documentation, there is not a way to disable/enable this feature.
We are using the following class: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_ec2/CfnVPCEndpoint.html

We would like to see the option to do so.

### Use Case

We want to create a VPC endpoint interface for S3 where the "Enable private DNS only for inbound endpoint" is disabled.

### Proposed Solution

_No response_

### 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.135.0

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

We are running CDK from a docker container with UBI-minimal 8.9, nodejs 20.12.0 and python 3.11

Contributor guide

Open the contributing guide

Research direction

Start with the CfnVPCEndpoint class and the linked AWS documentation to confirm the CloudFormation property and its valid behavior for S3 interface endpoints. Done means the option can be configured when creating the endpoint and is represented correctly in the synthesized configuration.

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
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.