Class: Aws::Route53Resolver::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-route53resolver/types.rb

Overview

Note:

When making an API call, you may pass TagResourceRequest data as a hash:

{
  resource_arn: "Arn", # required
  tags: [ # required
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) for the resource that you want to add tags to. To get the ARN for a resource, use the applicable `Get` or `List` command:

  • GetResolverEndpoint

  • GetResolverRule

  • GetResolverRuleAssociation

  • ListResolverEndpoints

  • ListResolverRuleAssociations

  • ListResolverRules

Returns:

  • (String)

1565
1566
1567
1568
1569
# File 'lib/aws-sdk-route53resolver/types.rb', line 1565

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags that you want to add to the specified resource.

Returns:


1565
1566
1567
1568
1569
# File 'lib/aws-sdk-route53resolver/types.rb', line 1565

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end