Skip to content

/AWS1/CL_GGS=>ASSOCSERVICEROLETOACCOUNT()

About AssociateServiceRoleToAccount

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''.

Method Signature

IMPORTING

Required arguments:

IV_ROLEARN TYPE /AWS1/GGS__STRING /AWS1/GGS__STRING

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GGSASSCSVCROLETOACRSP /AWS1/CL_GGSASSCSVCROLETOACRSP