Class: Aws::SecurityHub::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::TagResourceRequest
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/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
-
#resource_arn ⇒ String
The ARN of the resource to apply the tags to.
-
#tags ⇒ Hash<String,String>
The tags to add to the resource.
Instance Attribute Details
#resource_arn ⇒ String
The ARN of the resource to apply the tags to.
42853 42854 42855 42856 42857 42858 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 42853 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags to add to the resource. You can add up to 50 tags at a time. The tag keys can be no longer than 128 characters. The tag values can be no longer than 256 characters.
42853 42854 42855 42856 42857 42858 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 42853 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |