Skip to main content

effective_policy_validation_errors

Creates, updates, deletes, gets or lists an effective_policy_validation_errors resource.

Overview

Nameeffective_policy_validation_errors
TypeResource
Idaws.organizations.effective_policy_validation_errors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
contributing_policiesarrayThe individual policies inherited and attached to the account which contributed to the validation error.
error_codestringThe error code for the validation error. For example, ELEMENTS_TOO_MANY.
error_messagestringThe error message for the validation error.
path_to_errorstringThe path within the effective policy where the validation error occurred.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_effective_policy_validation_errorsselectregionLists all the validation errors on an effective policy for a specified account and policy type. You can only call this operation from the management account or a member account that is a delegated administrator.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists all the validation errors on an effective policy for a specified account and policy type. You can only call this operation from the management account or a member account that is a delegated administrator.

SELECT
contributing_policies,
error_code,
error_message,
path_to_error
FROM aws.organizations.effective_policy_validation_errors
WHERE region = '{{ region }}' -- required
;