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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Note:

When making an API call, you may pass CreateRelationalDatabaseSnapshotRequest data as a 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)


1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1739

class CreateRelationalDatabaseSnapshotRequest < Struct.new(
  :relational_database_name,
  :relational_database_snapshot_name,
  :tags)
  include Aws::Structure
end

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


1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1739

class CreateRelationalDatabaseSnapshotRequest < Struct.new(
  :relational_database_name,
  :relational_database_snapshot_name,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

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

To tag a resource after it has been created, see the tag resource operation.

Returns:



1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1739

class CreateRelationalDatabaseSnapshotRequest < Struct.new(
  :relational_database_name,
  :relational_database_snapshot_name,
  :tags)
  include Aws::Structure
end