Each component of a stack is an AWS resource, and their identities are listed in this CloudFormation template. The pattern is kept in a text file that conforms to the JavaScript Object Notation (JSON) or YAML standard. Since they are just text files, they can be created and edited in any text editor and kept in sync with the rest of your code using the same version control software. Your declaration of the AWS resources you wish to create and configure will be located in the template. An object is declared by associating a name with a value or by associating a name with a group of enclosed child objects.