v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1492266201.3 KB

Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.

put/greengrass/servicerole

Request body

RoleArnstring required

The ARN of the service role you wish to associate with your account.

Response

Success

AssociatedAtstring

The time when the service role was associated with the account.