CloudFormation custom resource
A resource in a CloudFormation template backed by your own Lambda function or SNS topic, for work that no built-in resource type does.
In more detail
CloudFormation sends create, update and delete requests to the function, which must answer with success or failure. A function that never answers leaves the stack waiting until it times out. Custom resources fill gaps such as looking up a value or seeding data.
Related terms
- AWS CloudFormation — AWS's own infrastructure-as-code service, which creates resources from YAML or JSON templates.
- AWS Lambda — The AWS service that runs a piece of code, called a function, each time an event arrives, with no servers for you to manage.
Taught in
- CloudFormation In Depth: Replace Or Update? — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- StackSets: Eighty Failures Before Lunch — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep