aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

Specify Subnet IDs when creating VPC Endpoints

Open ywauto83 opened this issue 6 years ago • 1 comments

when using vpc.addInterfaceEndpoint to create VPC endpoints for a service, only subnet type or subnetgroupname is supported. There is no prop or method to specify subnetIDs at L2 construct level.

Use Case

Have to enable VPC endpoint ENIs in allowed subnets according to our Cyber security policies.

Proposed Solution

We should be able to mention the subnet ids explicitly when using vpc.addInterfaceEndpoint

Other

  • [ ] :wave: I may be able to implement this feature request
  • [ ] :warning: This feature might incur a breaking change

This is a :rocket: Feature Request

ywauto83 avatar Apr 05 '20 03:04 ywauto83

I believe specifying individual subnets was added here: https://github.com/aws/aws-cdk/pull/4622

Does this not suffice?

Closing under the assumption that this was already added, please reopen if closed in error.

rix0rrr avatar Apr 16 '20 11:04 rix0rrr