aws_cdk.aws_ec2 NatInstanceProvider: missing require_imdsv2 #23803
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
Can we get the require_imdsv2 parameter added to the aws_cdk.aws_ec2 NatInstanceProvider resource?
This was resolved for EC2 and ASG here: Support setting EC2 instance metadata to require token (IMDSv2) #5137
#16051
#16052
Use Case
The AWS Foundational Security Best Practices v1.0.0 for Security Hub will produce a finding for the NAT instances under EC2.8: EC2 instances should use Instance Metadata Service Version 2 (IMDSv2)
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.61.1 (build d319d9c)
Environment details (OS name and version, etc.)
WSL: Ubuntu 20.04.5 LTS (Focal Fossa)
The text was updated successfully, but these errors were encountered: