You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::OpsWorks::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::TagResourceRequest
- Defined in:
- (unknown)
Overview
When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_arn: "ResourceArn", # required
tags: { # required
"TagKey" => "TagValue",
},
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The stack or layer\'s Amazon Resource Number (ARN).
-
#tags ⇒ Hash<String,String>
A map that contains tag keys and tag values that are attached to a stack or layer.
Instance Attribute Details
#resource_arn ⇒ String
The stack or layer\'s Amazon Resource Number (ARN).
#tags ⇒ Hash<String,String>
A map that contains tag keys and tag values that are attached to a stack or layer.
The key cannot be empty.
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
Leading and trailing white spaces are trimmed from both the key and value.
A maximum of 40 tags is allowed for any resource.