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

Class: Aws::RDS::Types::AddTagsToResourceMessage

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 AddTagsToResourceMessage data as a hash:

{
  resource_name: "String", # required
  tags: [ # required
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_nameString

The Amazon RDS resource the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Returns:

  • (String)


159
160
161
162
163
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 159

class AddTagsToResourceMessage < Struct.new(
  :resource_name,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to be assigned to the Amazon RDS resource.

Returns:



159
160
161
162
163
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 159

class AddTagsToResourceMessage < Struct.new(
  :resource_name,
  :tags)
  include Aws::Structure
end