ec2: support PrefixList.fromLookup()
#33606
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
AWS-managed prefix lists are listed in AWS documentation.
https://docs.aws.amazon.com/vpc/latest/userguide/working-with-aws-managed-prefix-lists.html
But PrefixListId differ per region and account.
We should copy&paste id from AWS console or CLI output.
Use Case
For example, this is useful that an ALB needs to allow HTTP(S) connections from CloudFront only.
Proposed Solution
CloudControl context provider may query prefix list from name.
PoC code:
By CLI:
Other Information
No response
Acknowledgements
CDK version used
2.180.0
Environment details (OS name and version, etc.)
N/A
The text was updated successfully, but these errors were encountered: