Class: Aws::OpsWorks::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::TagResourceRequest
- Defined in:
- gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb
Overview
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
-
#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).
6082 6083 6084 6085 6086 6087 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6082 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#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.
6082 6083 6084 6085 6086 6087 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6082 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |