organizations_enable_policy_type: Enables a policy type in a root

View source: R/organizations_operations.R

organizations_enable_policy_typeR Documentation

Enables a policy type in a root

Description

Enables a policy type in a root. After you enable a policy type in a root, you can attach policies of that type to the root, any organizational unit (OU), or account in that root. You can undo this by using the disable_policy_type operation.

See https://www.paws-r-sdk.com/docs/organizations_enable_policy_type/ for full documentation.

Usage

organizations_enable_policy_type(RootId, PolicyType)

Arguments

RootId

[required] The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the list_roots operation.

The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.

PolicyType

[required] The policy type that you want to enable. You can specify one of the following values:


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.