effective_policy_validation_errors
Creates, updates, deletes, gets or lists an effective_policy_validation_errors resource.
Overview
| Name | effective_policy_validation_errors |
| Type | Resource |
| Id | aws.organizations.effective_policy_validation_errors |
Fields
The following fields are returned by SELECT queries:
- list_effective_policy_validation_errors
| Name | Datatype | Description |
|---|---|---|
contributing_policies | array | The individual policies inherited and attached to the account which contributed to the validation error. |
error_code | string | The error code for the validation error. For example, ELEMENTS_TOO_MANY. |
error_message | string | The error message for the validation error. |
path_to_error | string | The path within the effective policy where the validation error occurred. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_effective_policy_validation_errors | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_effective_policy_validation_errors
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
;