Skip to main content

impersonation_role_effects

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

Overview

Nameimpersonation_role_effects
TypeResource
Idaws.workmail.impersonation_role_effects

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
effectstringEffect of the impersonation role on the target user based on its rules. Available effects are ALLOW or DENY. (ALLOW, DENY)
matched_rulesarrayA list of the rules that match the input and produce the configured effect.
typestringThe impersonation role type. (FULL_ACCESS, READ_ONLY)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_impersonation_role_effectselectregionTests whether the given impersonation role can impersonate a target user.

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

Tests whether the given impersonation role can impersonate a target user.

SELECT
effect,
matched_rules,
type
FROM aws.workmail.impersonation_role_effects
WHERE region = '{{ region }}' -- required
;