Class: Aws::Organizations::Types::EnablePolicyTypeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Organizations::Types::EnablePolicyTypeRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-organizations/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy_type ⇒ String
The policy type that you want to enable.
-
#root_id ⇒ String
The unique identifier (ID) of the root in which you want to enable a policy type.
Instance Attribute Details
#policy_type ⇒ String
The policy type that you want to enable. You can specify one of the following values:
- SERVICE_CONTROL_POLICY][1
- RESOURCE_CONTROL_POLICY][2
- BACKUP_POLICY][3
- TAG_POLICY][4
- CHATBOT_POLICY][5
- AISERVICES_OPT_OUT_POLICY][6
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html [2]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html [3]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html [4]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html [5]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html [6]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
2034 2035 2036 2037 2038 2039 |
# File 'lib/aws-sdk-organizations/types.rb', line 2034 class EnablePolicyTypeRequest < Struct.new( :root_id, :policy_type) SENSITIVE = [] include Aws::Structure end |
#root_id ⇒ String
The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the ListRoots operation.
The [regex pattern] for a root ID string requires “r-” followed by from 4 to 32 lowercase letters or digits.
2034 2035 2036 2037 2038 2039 |
# File 'lib/aws-sdk-organizations/types.rb', line 2034 class EnablePolicyTypeRequest < Struct.new( :root_id, :policy_type) SENSITIVE = [] include Aws::Structure end |