class Aws::Lightsail::Types::TagResourceRequest
@note When making an API call, you may pass TagResourceRequest
data as a hash: { resource_name: "ResourceName", # required resource_arn: "ResourceArn", tags: [ # required { key: "TagKey", value: "TagValue", }, ], }
@!attribute [rw] resource_name
The name of the resource to which you are adding tags. @return [String]
@!attribute [rw] resource_arn
The Amazon Resource Name (ARN) of the resource to which you want to add a tag. @return [String]
@!attribute [rw] tags
The tag key and optional value. @return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TagResourceRequest AWS API Documentation
Constants
- SENSITIVE