AWS CloudFormation is used for deploying AWS resources.
In CloudFormation, we have first to create a template for a resource. A Template is a simple text file that contains information about the attack on AWS. A stack is a collection of AWS resources that we want to deploy together in an AWS as a group.
Once the template is ready and submitted to AWS, CloudFormationwillcreate all the resources in the template, this helps in the automation of building new environments in AWS.