Skip to main content

service_role_from_accounts

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

Overview

Nameservice_role_from_accounts
TypeResource
Idaws.greengrassv2.service_role_from_accounts

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
disassociate_service_role_from_accountupdateregionDisassociates the Greengrass service role from IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. Without a service role, IoT Greengrass can't verify the identity of client devices or 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)

UPDATE examples

Disassociates the Greengrass service role from IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. Without a service role, IoT Greengrass can't verify the identity of client devices or manage core device connectivity information. For more information, see Greengrass service role in the IoT Greengrass Version 2 Developer Guide.

UPDATE aws.greengrassv2.service_role_from_accounts
SET
-- No updatable properties
WHERE
region = '{{ region }}' --required
RETURNING
disassociated_at;