access_control_effects
Creates, updates, deletes, gets or lists an access_control_effects resource.
Overview
| Name | access_control_effects |
| Type | Resource |
| Id | aws.workmail.access_control_effects |
Fields
The following fields are returned by SELECT queries:
- get_access_control_effect
| Name | Datatype | Description |
|---|---|---|
effect | string | The rule effect. (ALLOW, DENY) |
matched_rules | array | The rules that match the given parameters, resulting in an effect. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_access_control_effect | select | region | Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS. |
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
- get_access_control_effect
Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.
SELECT
effect,
matched_rules
FROM aws.workmail.access_control_effects
WHERE region = '{{ region }}' -- required
;