Class: Aws::Keyspaces::Types::CreateKeyspaceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-keyspaces/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyspace_nameString

The name of the keyspace to be created.

Returns:

  • (String)


399
400
401
402
403
404
405
# File 'lib/aws-sdk-keyspaces/types.rb', line 399

class CreateKeyspaceRequest < Struct.new(
  :keyspace_name,
  :tags,
  :replication_specification)
  SENSITIVE = []
  include Aws::Structure
end

#replication_specificationTypes::ReplicationSpecification

The replication specification of the keyspace includes:

  • ‘replicationStrategy` - the required value is `SINGLE_REGION` or `MULTI_REGION`.

  • ‘regionList` - if the `replicationStrategy` is `MULTI_REGION`, the `regionList` requires the current Region and at least one additional Amazon Web Services Region where the keyspace is going to be replicated in.



399
400
401
402
403
404
405
# File 'lib/aws-sdk-keyspaces/types.rb', line 399

class CreateKeyspaceRequest < Struct.new(
  :keyspace_name,
  :tags,
  :replication_specification)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of key-value pair tags to be attached to the keyspace.

For more information, see [Adding tags and labels to Amazon Keyspaces resources] in the *Amazon Keyspaces Developer Guide*.

[1]: docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html

Returns:



399
400
401
402
403
404
405
# File 'lib/aws-sdk-keyspaces/types.rb', line 399

class CreateKeyspaceRequest < Struct.new(
  :keyspace_name,
  :tags,
  :replication_specification)
  SENSITIVE = []
  include Aws::Structure
end