aws.workmail.get_impersonation_role_effect
Example SQL Queries
SELECT * FROMaws.workmail.get_impersonation_role_effectWHERE"organization_id" = 'VALUE'AND "impersonation_role_id" = 'VALUE'AND "target_user" = 'VALUE';Description
Tests whether the given impersonation role can impersonate a target user.
Table Definition
| Column Name | Column Data Type |
|---|---|
| impersonation_role_id Required Input Column The impersonation role ID to test. | VARCHAR |
| organization_id Required Input Column The WorkMail organization where the impersonation role is defined. | VARCHAR |
| target_user Required Input Column The WorkMail organization user chosen to test the impersonation role. The following identity formats are available:
| VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| effect Effect of the impersonation role on the target user based on its rules. Available effects are ALLOW or DENY. | VARCHAR |
| matched_rules A list of the rules that match the input and produce the configured effect. | STRUCT( |
Show child fields
| |
| type The impersonation role type. | VARCHAR |