mobile_device_access_effects
Creates, updates, deletes, gets or lists a mobile_device_access_effects resource.
Overview
| Name | mobile_device_access_effects |
| Type | Resource |
| Id | aws.workmail.mobile_device_access_effects |
Fields
The following fields are returned by SELECT queries:
- get_mobile_device_access_effect
| Name | Datatype | Description |
|---|---|---|
effect | string | The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters. (ALLOW, DENY) |
matched_rules | array | A list of the rules which matched the simulated user input and produced the effect. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_mobile_device_access_effect | select | region | Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the WorkMail organization for a particular user's attributes. |
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_mobile_device_access_effect
Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the WorkMail organization for a particular user's attributes.
SELECT
effect,
matched_rules
FROM aws.workmail.mobile_device_access_effects
WHERE region = '{{ region }}' -- required
;