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)


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

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. The maximum number of supported replication Regions including the current Region is six.



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

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:



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

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