Menu
AWS Greengrass
API Reference

AssociateRoleToGroup

Associates a role with a group. The role will be used by the AWS Greengrass core in order to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.

URI: /greengrass/groups/GroupId/role

Operation: PUT

Parameters:

  • GroupId

    The unique id of the AWS Greengrass group.

    where used: path

    required: true

    type: string

  • AssociateRoleToGroupRequestBody

    where used: body

    required: true

    schema:

    AssociateRoleToGroupRequest

    type: object

    required: RoleArn

    properties:

    • RoleArn:

      The arn of the role you wish to associate with this group.

      type: string

    Example:

    Copy
    { "RoleArn": "string" }

Responses: