- Newest
- Most votes
- Most comments
Hi, documentation to develop Cloudformation Hooks is here: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/hooks-walkthrough-python.html
This is a complete example showing how to verify /validate EC2 instance types launched by CFN: https://github.com/aws-cloudformation/aws-cloudformation-samples/blob/main/hooks/java-hooks/ec2-instance-types/README.md
Hope it helps! Didier
Hi Johan, at this time there isn't an AWS or community published hook in the CloudFormation public registry to call AWS Config, so you would have to privately register the hook yourself.
If this is still something you're looking to do, a sample of a hook that calls Config for proactive evaluation can be found in the community registry extensions GitHub repository.
Relevant content
- asked 3 months ago
- asked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 5 months ago
Thanks for answering. However, what I'm after is how to set up a Cloudformation Hook to trigger an AWS Managed Config Rule like 'lambda-inside-vpc'.