Class: Aws::DocDB::Types::CreateDBClusterSnapshotMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::DocDB::Types::CreateDBClusterSnapshotMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-docdb/types.rb
Overview
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
-
#db_cluster_identifier ⇒ String
The identifier of the cluster to create a snapshot for.
-
#db_cluster_snapshot_identifier ⇒ String
The identifier of the cluster snapshot.
-
#tags ⇒ Array<Types::Tag>
The tags to be assigned to the cluster snapshot.
Instance Attribute Details
#db_cluster_identifier ⇒ String
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`
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_identifier ⇒ String
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`
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 |
#tags ⇒ Array<Types::Tag>
The tags to be assigned to the cluster snapshot.
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 |