Chapter 7
Create
,Update
, andDelete
.- Only using Lambda Layers, or simply copy the module content to the Lambda function’s code.
- CloudFormation as a requester, AWS Lambda for provisioning, CloudWatch for logs and metrics, and other AWS services, if they are used in the custom resource’s logic.
- The
responseReason
block should contain the reason for resource change failure. - The event is an actual payload to the Lambda function, which has to be processed. Context is metadata of the Lambda request that contains various information, such as the timestamp of the request.