apigateway: Attaching a resource policy for a private API #31660
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Add a method to easily attach a resource policy for creating a Private API Gateway.
Use Case
To create a Private API Gateway, you need to attach a resource policy that allows access only from specific Interface VPC Endpoints, as shown below.
Proposed Solution
My idea is to implement a
addVpcEndpointAccessPolicy
method like below.Is there any good ideas?
Other Information
No response
Acknowledgements
CDK version used
2.160.0
Environment details (OS name and version, etc.)
irrelevant
The text was updated successfully, but these errors were encountered: