You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Organizations::Types::UpdatePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Organizations::Types::UpdatePolicyRequest
- Defined in:
- (unknown)
Overview
When passing UpdatePolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
policy_id: "PolicyId", # required
name: "PolicyName",
description: "PolicyDescription",
content: "PolicyContent",
}
Instance Attribute Summary collapse
-
#content ⇒ String
If provided, the new content for the policy.
-
#description ⇒ String
If provided, the new description for the policy.
-
#name ⇒ String
If provided, the new name for the policy.
-
#policy_id ⇒ String
The unique identifier (ID) of the policy that you want to update.
Instance Attribute Details
#content ⇒ String
If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy\'s type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.
#description ⇒ String
If provided, the new description for the policy.
#name ⇒ String
If provided, the new name for the policy.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
#policy_id ⇒ String
The unique identifier (ID) of the policy that you want to update.
The regex pattern for a policy ID string requires \"p-\" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).