Class: Aws::RDS::Types::CreateDBSnapshotMessage

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

Overview

Note:

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

{
  db_snapshot_identifier: "String", # required
  db_instance_identifier: "String", # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#db_instance_identifierString

The identifier of the DB instance that you want to create the snapshot of.

Constraints:

  • Must match the identifier of an existing DBInstance.

^

Returns:

  • (String)


3417
3418
3419
3420
3421
3422
# File 'lib/aws-sdk-rds/types.rb', line 3417

class CreateDBSnapshotMessage < Struct.new(
  :db_snapshot_identifier,
  :db_instance_identifier,
  :tags)
  include Aws::Structure
end

#db_snapshot_identifierString

The identifier for the DB snapshot.

Constraints:

  • Can’t be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Can’t end with a hyphen or contain two consecutive hyphens

Example: ‘my-snapshot-id`

Returns:

  • (String)


3417
3418
3419
3420
3421
3422
# File 'lib/aws-sdk-rds/types.rb', line 3417

class CreateDBSnapshotMessage < Struct.new(
  :db_snapshot_identifier,
  :db_instance_identifier,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags. For more information, see [Tagging Amazon RDS Resources] in the *Amazon RDS User Guide.*

[1]: docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html

Returns:



3417
3418
3419
3420
3421
3422
# File 'lib/aws-sdk-rds/types.rb', line 3417

class CreateDBSnapshotMessage < Struct.new(
  :db_snapshot_identifier,
  :db_instance_identifier,
  :tags)
  include Aws::Structure
end