Skip to main content

service_role_for_accounts

Creates, updates, deletes, gets or lists a service_role_for_accounts resource.

Overview

Nameservice_role_for_accounts
TypeResource
Idaws.greengrassv2.service_role_for_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
associated_atstringThe time when the service role was associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.
role_arnstringThe ARN of the service role that is associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_service_role_for_accountselectregionGets the service role associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. IoT Greengrass uses this role to verify the identity of client devices and manage core device connectivity information. For more information, see Greengrass service role in the IoT Greengrass Version 2 Developer Guide.

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 service role associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. IoT Greengrass uses this role to verify the identity of client devices and manage core device connectivity information. For more information, see Greengrass service role in the IoT Greengrass Version 2 Developer Guide.

SELECT
associated_at,
role_arn
FROM aws.greengrassv2.service_role_for_accounts
WHERE region = '{{ region }}' -- required
;