Class: Aws::Organizations::Types::PutResourcePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Organizations::Types::PutResourcePolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-organizations/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#content ⇒ String
If provided, the new content for the resource policy.
-
#tags ⇒ Array<Types::Tag>
A list of tags that you want to attach to the newly created resource policy.
Instance Attribute Details
#content ⇒ String
If provided, the new content for the resource policy. The text must be correctly formatted JSON that complies with the syntax for the resource policy’s type. For more information, see [SCP syntax] in the *Organizations User Guide*.
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html
4267 4268 4269 4270 4271 4272 |
# File 'lib/aws-sdk-organizations/types.rb', line 4267 class PutResourcePolicyRequest < Struct.new( :content, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tags that you want to attach to the newly created resource policy. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can’t set it to ‘null`. For more information about tagging, see
- Tagging Organizations resources][1
-
in the Organizations User
Guide.
<note markdown=“1”> Calls with tags apply to the initial creation of the resource policy, otherwise an exception is thrown. If any one of the tags is not valid or if you exceed the allowed number of tags for the resource policy, then the entire request fails and the resource policy is not created.
</note>
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html
4267 4268 4269 4270 4271 4272 |
# File 'lib/aws-sdk-organizations/types.rb', line 4267 class PutResourcePolicyRequest < Struct.new( :content, :tags) SENSITIVE = [] include Aws::Structure end |