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

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

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 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)


3130
3131
3132
3133
3134
3135
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3130

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:

  • Cannot be null, empty, or blank

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

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id

Returns:

  • (String)


3130
3131
3132
3133
3134
3135
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3130

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.

Returns:



3130
3131
3132
3133
3134
3135
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3130

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