The ALambdaCustomResourceFunction<TProperties, TAttributes> is the abstract base class for handling custom resources in AWS CloudFormation. This class takes care of handling the communication protocol with the AWS CloudFormation service. Depending on the requested operation, the base class invokes either ProcessCreateResourceAsync(Request<TProperties>), ProcessUpdateResourceAsync(Request<TProperties>), or ProcessDeleteResourceAsync(Request<TProperties>). In case of failure, the AWS CloudFormation service is automatically notified to avoid prolonged timeout errors during a CloudFormation stack operation.
The Request<TProperties> is a generic class that
TProperties request with additional
properties sent by the AWS CloudFormation service.
The Response<TAttributes> is a generic class that
TAttributes response with additional
properties expected by the AWS CloudFormation service.
The RequestType enumeration describes the CloudFormation operation on the custom resource.