Class: Aws::Organizations::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Organizations::Types::TagResourceRequest
- Defined in:
- gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_id ⇒ String
The ID of the resource to add a tag to.
-
#tags ⇒ Array<Types::Tag>
A list of tags to add to the specified resource.
Instance Attribute Details
#resource_id ⇒ String
The ID of the resource to add a tag to.
You can specify any of the following taggable resources.
Amazon Web Services account – specify the account ID number.
Organizational unit – specify the OU ID that begins with
ou-
and looks similar to:ou-1a2b-34uvwxyz
Root – specify the root ID that begins with
r-
and looks similar to:r-1a2b
Policy – specify the policy ID that begins with
p-
andlooks similar to:p-12abcdefg3
4550 4551 4552 4553 4554 4555 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4550 class TagResourceRequest < Struct.new( :resource_id, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tags to add to the specified resource.
For each tag in the list, you must specify both a tag key and a
value. The value can be an empty string, but you can't set it to
null
.
4550 4551 4552 4553 4554 4555 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4550 class TagResourceRequest < Struct.new( :resource_id, :tags) SENSITIVE = [] include Aws::Structure end |