Class: Aws::FIS::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "ResourceArn", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource.

Returns:

  • (String)


1277
1278
1279
1280
1281
1282
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1277

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

#tagsHash<String,String>

The tags for the resource.

Returns:

  • (Hash<String,String>)


1277
1278
1279
1280
1281
1282
# File 'gems/aws-sdk-fis/lib/aws-sdk-fis/types.rb', line 1277

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