Skip to main content

access_control_effects

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

Overview

Nameaccess_control_effects
TypeResource
Idaws.workmail.access_control_effects

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
effectstringThe rule effect. (ALLOW, DENY)
matched_rulesarrayThe rules that match the given parameters, resulting in an effect.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_access_control_effectselectregionGets 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.

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

SELECT examples

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
;