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 DB instance identifier. This is the unique key that identifies a DB instance.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Returns:

  • (String)


3043
3044
3045
3046
3047
3048
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3043

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 alphanumeric characters or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id

Returns:

  • (String)


3043
3044
3045
3046
3047
3048
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3043

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

#tagsArray<Types::Tag>

A list of tags.

Returns:



3043
3044
3045
3046
3047
3048
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3043

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