You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lightsail::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::TagResourceRequest
- Defined in:
- (unknown)
Overview
Note:
When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_name: "ResourceName", # required
resource_arn: "ResourceArn",
tags: [ # required
{
key: "TagKey",
value: "TagValue",
},
],
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resource to which you want to add a tag.
-
#resource_name ⇒ String
The name of the resource to which you are adding tags.
-
#tags ⇒ Array<Types::Tag>
The tag key and optional value.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resource to which you want to add a tag.
#resource_name ⇒ String
The name of the resource to which you are adding tags.
#tags ⇒ Array<Types::Tag>
The tag key and optional value.