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

Class: Aws::Lightsail::Types::CreateRelationalDatabaseSnapshotRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateRelationalDatabaseSnapshotRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  relational_database_name: "ResourceName", # required
  relational_database_snapshot_name: "ResourceName", # required
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#relational_database_nameString

The name of the database on which to base your new snapshot.

Returns:

  • (String)

    The name of the database on which to base your new snapshot.

#relational_database_snapshot_nameString

The name for your new database snapshot.

Constraints:

  • Must contain from 2 to 255 alphanumeric characters, or hyphens.

  • The first and last character must be a letter or number.

Returns:

  • (String)

    The name for your new database snapshot.

#tagsArray<Types::Tag>

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it\'s created.

Returns:

  • (Array<Types::Tag>)

    The tag keys and optional values to add to the resource during create.