

End of support notice: On October 7th, 2026, Amazon will discontinue support for Amazon IoT Greengrass Version 1. After October 7th, 2026, you will no longer be able to access the Amazon IoT Greengrass V1 resources. For more information, please visit [Migrate from Amazon IoT Greengrass Version 1](https://docs.amazonaws.cn/greengrass/v2/developerguide/migrate-from-v1.html).

# AssociateServiceRoleToAccountRequestBody
<a name="parameters-associateserviceroletoaccountrequestbody"></a>

```
{
"RoleArn": "string"
}
```

AssociateServiceRoleToAccountRequestBody  
in: body  
required: true  
schema: [AssociateServiceRoleToAccountRequest](definitions-associateserviceroletoaccountrequest.md)

AssociateServiceRoleToAccountRequest  
type: object  
required: ["RoleArn"]

RoleArn  
The ARN of the service role to associate with your account.  
type: string