Creating Amazon Keyspaces resources with Amazon CloudFormation - Amazon Keyspaces (for Apache Cassandra)
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Creating Amazon Keyspaces resources with Amazon CloudFormation

Amazon Keyspaces (for Apache Cassandra) is integrated with Amazon CloudFormation, a service that helps you model and set up your Amazon resources so that you can spend less time creating and managing your resources and infrastructure. You create a template that describes all the Amazon resources that you want (like keyspaces and tables), and Amazon CloudFormation takes care of provisioning and configuring those resources for you.

When you use Amazon CloudFormation, you can reuse your template to set up your Amazon Keyspaces resources consistently and repeatedly. Just describe your resources once, and then provision the same resources over and over in multiple Amazon Web Services accounts and Regions.

Amazon Keyspaces and Amazon CloudFormation templates

To provision and configure resources for Amazon Keyspaces, you must understand Amazon CloudFormation templates. Templates are formatted text files in JSON or YAML. These templates describe the resources that you want to provision in your Amazon CloudFormation stacks. If you're unfamiliar with JSON or YAML, you can use Amazon CloudFormation Designer to help you get started with Amazon CloudFormation templates. For more information, see What is Amazon CloudFormation designer? in the Amazon CloudFormation User Guide.

Amazon Keyspaces supports creating keyspaces and tables in Amazon CloudFormation. For the tables you create using Amazon CloudFormation templates, you can specify the schema, read/write mode, and provisioned throughput settings. For more information, including examples of JSON and YAML templates for keyspaces and tables, see Cassandra resource type reference in the Amazon CloudFormation User Guide.

Learn more about Amazon CloudFormation

To learn more about Amazon CloudFormation, see the following resources: