aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.57k stars 3.87k forks source link

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

Open Nuno09 opened 6 months ago

Nuno09 commented 6 months ago

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

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

khushail commented 6 months ago

Hi @Nuno09 , thanks for reaching out. Looks like this issue is also similar to the your request,however the PR assicated, is closed. Marking current request as appropriate

Nuno09 commented 6 months ago

Hi @khushail , thanks for checking. It is similar to that other issue, indeed. I believe the solution will be then similar, but a new accepted value could be needed to extend to the new "private DNS only for inbound endpoint"?

Here is a screenshot of such option: image

khushail commented 6 months ago

@Nuno09 , this sounds great. So I have marked this as appropriate. Please feel free to submit a PR. Contributions from community are also welcome!

devnox-labs commented 4 months ago

Hello,

Do you have any update around this? this is also breaking for me.