Skip to main content

effective_policies

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

Overview

Nameeffective_policies
TypeResource
Idaws.iot.effective_policies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
effective_policiesarrayThe effective policies.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_effective_policiesselectregionthingNameGets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway. Requires permission to access the GetEffectivePolicies action.

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)
thingNamestringThe thing name.

SELECT examples

Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway. Requires permission to access the GetEffectivePolicies action.

SELECT
effective_policies
FROM aws.iot.effective_policies
WHERE region = '{{ region }}' -- required
AND thingName = '{{ thingName }}'
;