Skip to content

Resource: awsKeyspacesKeyspace

Provides a Keyspaces Keyspace.

More information about keyspaces can be found in the Keyspaces User Guide.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.keyspacesKeyspace.KeyspacesKeyspace(this, "example", {
  name: "my_keyspace",
});

Argument Reference

The following arguments are required:

  • name - (Required, Forces new resource) The name of the keyspace to be created.

The following arguments are optional:

  • tags - (Optional) A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The name of the keyspace.
  • arn - The ARN of the keyspace.
  • tagsAll - A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Timeouts

Configuration options:

  • create - (Default 1M)
  • delete - (Default 1M)

Import

Use the name to import a keyspace. For example:

$ terraform import aws_keyspaces_keyspace.example my_keyspace