Class: Aws::DocDB::Types::CreateDBClusterSnapshotMessage

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

Overview

Note:

When making an API call, you may pass CreateDBClusterSnapshotMessage data as a hash:

{
  db_cluster_snapshot_identifier: "String", # required
  db_cluster_identifier: "String", # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Represents the input of CreateDBClusterSnapshot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#db_cluster_identifierString

The identifier of the cluster to create a snapshot for. This parameter is not case sensitive.

Constraints:

  • Must match the identifier of an existing `DBCluster`.

^

Example: `my-cluster`

Returns:

  • (String)


906
907
908
909
910
911
912
# File 'lib/aws-sdk-docdb/types.rb', line 906

class CreateDBClusterSnapshotMessage < Struct.new(
  :db_cluster_snapshot_identifier,
  :db_cluster_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#db_cluster_snapshot_identifierString

The identifier of the cluster snapshot. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • The first character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: `my-cluster-snapshot1`

Returns:

  • (String)


906
907
908
909
910
911
912
# File 'lib/aws-sdk-docdb/types.rb', line 906

class CreateDBClusterSnapshotMessage < Struct.new(
  :db_cluster_snapshot_identifier,
  :db_cluster_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to be assigned to the cluster snapshot.

Returns:



906
907
908
909
910
911
912
# File 'lib/aws-sdk-docdb/types.rb', line 906

class CreateDBClusterSnapshotMessage < Struct.new(
  :db_cluster_snapshot_identifier,
  :db_cluster_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end