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",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#relational_database_nameString

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

Returns:

  • (String)


3439
3440
3441
3442
3443
3444
3445
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3439

class CreateRelationalDatabaseSnapshotRequest < Struct.new(
  :relational_database_name,
  :relational_database_snapshot_name,
  :tags)
  SENSITIVE = []
  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)


3439
3440
3441
3442
3443
3444
3445
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3439

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

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



3439
3440
3441
3442
3443
3444
3445
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3439

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