Tutorial: Create a pipeline with Amazon CloudFormation
The examples provide sample templates that allow you to use Amazon CloudFormation to create a pipeline that deploys your application to your instances each time the source code changes. The sample template creates a pipeline that you can view in Amazon CodePipeline. The pipeline detects the arrival of a saved change through Amazon CloudWatch Events.
The CodePipeline action for Amazon CloudFormation is not available in the China (Beijing) and China (Ningxia) Regions. To reference other available actions, see Product and service integrations with CodePipeline.