You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::RDS::Types::CreateDBClusterSnapshotMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/lib/aws-sdk-rds/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",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#db_cluster_identifierString

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

Constraints:

  • Must match the identifier of an existing DBCluster.

^

Example: my-cluster1

Returns:

  • (String)


1509
1510
1511
1512
1513
1514
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 1509

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

#db_cluster_snapshot_identifierString

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

Constraints:

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

  • First character must be a letter.

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

Example: my-cluster1-snapshot1

Returns:

  • (String)


1509
1510
1511
1512
1513
1514
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 1509

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

#tagsArray<Types::Tag>

The tags to be assigned to the DB cluster snapshot.

Returns:



1509
1510
1511
1512
1513
1514
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 1509

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