Resource schema for AWS::Cassandra::Keyspace
To create a Simple cassandra keyspace
resource "awscc_cassandra_keyspace" "awscc_cassandra_example" {
keyspace_name = "awscc_cassandra_example"
}
To create a cassandra keyspace with tags
resource "awscc_cassandra_keyspace" "awscc_cassandra_example" {
keyspace_name = "awscc_cassandra_example"
replication_specification = {
replication_strategy = "MULTI_REGION"
region_list = ["us-west-2", "us-east-1"]
}
}
To create a cassandra keyspace with replication
resource "awscc_cassandra_keyspace" "awscc_cassandra_example" {
keyspace_name = "awscc_cassandra_example"
tags = [{
"key" = "Name"
"value" = "awcc_example"
},
{
"key" = "Type"
"value" = "Casandra"
}]
}
keyspace_name
(String) Name for Cassandra keyspacereplication_specification
(Attributes) (see below for nested schema)tags
(Attributes List) (see below for nested schema)id
(String) Uniquely identifies the resource.replication_specification
Optional:
region_list
(Set of String)replication_strategy
(String)tags
Required:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_cassandra_keyspace.example <resource ID>