Class: Aws::CodeGuruSecurity::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeGuruSecurity::Types::TagResourceRequest
- Defined in:
- gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The ARN of the
ScanName
object. -
#tags ⇒ Hash<String,String>
An array of key-value pairs used to tag an existing scan.
Instance Attribute Details
#resource_arn ⇒ String
The ARN of the ScanName
object. You can retrieve this ARN by
calling ListScans
or GetScan
.
1136 1137 1138 1139 1140 1141 |
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 1136 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
An array of key-value pairs used to tag an existing scan. A tag is a custom attribute label with two parts:
A tag key. For example,
CostCenter
,Environment
, orSecret
. Tag keys are case sensitive.An optional tag value field. For example,
111122223333
,Production
, or a team name. Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
1136 1137 1138 1139 1140 1141 |
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 1136 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |