Skip to content

/AWS1/CL_ORG=>DESCRIBEEFFECTIVEPOLICY()

About DescribeEffectivePolicy

Returns the contents of the effective policy for specified policy type and account. The effective policy is the aggregation of any policies of the specified type that the account inherits, plus any policy of that type that is directly attached to the account.

This operation applies only to policy types other than service control policies (SCPs).

For more information about policy inheritance, see Understanding management policy inheritance in the Organizations User Guide.

This operation can be called from any account in the organization.

Method Signature

IMPORTING

Required arguments:

IV_POLICYTYPE TYPE /AWS1/ORGEFFECTIVEPOLICYTYPE /AWS1/ORGEFFECTIVEPOLICYTYPE

The type of policy that you want information about. You can specify one of the following values:

Optional arguments:

IV_TARGETID TYPE /AWS1/ORGPOLICYTARGETID /AWS1/ORGPOLICYTARGETID

When you're signed in as the management account, specify the ID of the account that you want details about. Specifying an organization root or organizational unit (OU) as the target is not supported.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ORGDSCEFFECTIVEPLYRSP /AWS1/CL_ORGDSCEFFECTIVEPLYRSP