awscc_cassandra_keyspace (Resource)

Resource schema for AWS::Cassandra::Keyspace

Example Usage

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"
  }]
}

Schema

Optional

Read-Only

Nested Schema for replication_specification

Optional:

Nested Schema for tags

Required:

Import

Import is supported using the following syntax:

$ terraform import awscc_cassandra_keyspace.example <resource ID>