Skip to content

oyenamit/aws-custom-resources-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Guide to Using AWS Custom Resources

AWS custom resources are a powerful way to add flexibility to AWS CloudFormation templates. While other AWS resources represent a specific service (RDS, EC2 etc.), custom resources act like generic placeholders that can be used to inject any additional logic in CloudFormation templates. A custom resource is typically attached to an AWS Lambda function which can contain any user-specified code. This code gets executed whenever the CloudFormation template is deployed, updated or deleted. This way, custom resources allow you to extend CloudFormation in ways that are not possible with regular AWS services.

Workflow of a custom resource solution

This article first presents the architectural components of custom resources and explains how they interact with the CloudFormation service. Then, we look at a simple case study where we implement custom provisioning logic using a lambda-backed custom resource. Prior knowledge of CloudFormation, Lambda and IAM services is required.

About

A Guide to Using AWS Custom Resources

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published