aws_ec2.VpcEndpointService: Modify endpoint acceptance setting #30192
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
When creating an Endpoint service using aws_ec2.VpcEndpointService, the acceptance_required field can be set. But, there is no method to update this flag after the endpoint service has been created. It is possible to modify this setting in console as well as the lower level construct aws_ec2.CfnVPCEndpointService. ``
Use Case
Adding this feature in aws_ec2.VpcEndpointService will bring it to the level of console and lower level construct. With this feature, I can disable it in CDK for a short time to add intended connections and enable it again for security. Currently, someone with admin privileges need to monitor the console for requests, accept it manually and then ket the deployment continue which adds unnecessary overhead to automating the process.
Proposed Solution
Add a method to toggle the flag acceptance_required for Endpoint services created using the construct aws_ec2.VpcEndpointService
Other Information
No response
Acknowledgements
CDK version used
2.88.0
Environment details (OS name and version, etc.)
MacOS 14.3
The text was updated successfully, but these errors were encountered: