Posted On: Mar 1, 2019
You can now use Amazon CloudFormation templates to build WebSocket APIs in Amazon API Gateway. Amazon CloudFormation provides a common language for you to describe and provision all the infrastructure resources in your cloud environment across all regions and accounts, simplifying how you build applications in the cloud.
Using CloudFormation, you can build fully-managed WebSocket APIs in API Gateway. WebSocket APIs allow you to reduce the overall cost and complexity of building real-time, two-way communication applications such as chat applications, alerts and notifications applications, and real-time dashboards. CloudFormation will allow you to automate the creation of the resources you need to build WebSocket APIs in API Gateway, such as APIs, routes, stages, and deployments.
To learn more about the WebSocket API resources supported by CloudFormation, read our documentation or take a look at our sample chat application in GitHub.
CloudFormation support for building WebSocket APIs in API Gateway is available in all regions where API Gateway and CloudFormation are available. To see a list of these regions, view the Amazon Web Services region table.