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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_nameString

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

[1]: docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing

Returns:

  • (String)

304
305
306
307
308
309
# File 'lib/aws-sdk-rds/types.rb', line 304

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

#tagsArray<Types::Tag>

The tags to be assigned to the Amazon RDS resource.

Returns:


304
305
306
307
308
309
# File 'lib/aws-sdk-rds/types.rb', line 304

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