The service linked role associated with Cloud Config is named AliyunServiceRoleForConfig. The role is a Resource Access Management (RAM) role that authorizes Cloud Config to access other Alibaba Cloud services in specific scenarios.

Note For more information, see Service linked roles.


The AliyunServiceRoleForConfig role is applicable to the following scenarios:
  • Cloud Config can call the API operations of other Alibaba Cloud services to retrieve the configurations of the resources that belong to your Alibaba Cloud account. The AliyunServiceRoleForConfig role allows Cloud Config to read the configurations of the resources.
  • You can specify an OSS bucket to receive resource configuration snapshots. The AliyunServiceRoleForConfig role allows Cloud Config to write snapshot files to the specified OSS bucket.

Create a service linked role

You can create the AliyunServiceRoleForConfig role in the Cloud Config console.
  • Cloud Config for individuals

    To use Cloud Config with an Alibaba Cloud account, you must create a role that is associated with the service. For more information, see Authorize Cloud Config to access your resources.

  • Cloud Config for Enterprise

    To use the Cloud Config for Enterprise, you must log on to the Cloud Config console with the enterprise account and click Upgrade on the Overview page. After Cloud Config is upgraded to the enterprise edition, Cloud Config creates the AliyunServiceRoleForConfig role for all member accounts.

    For more information, see Overview.

Delete the AliyunServiceRoleForConfig role

If you no longer need a service linked role, you can log on to the RAM console to delete the role. For more information, see Delete a service linked role.

Role description

The following list describes the detailed information of the role that is associate with Cloud Config:

  • Role name: AliyunServiceRoleForConfig.
  • Name of the permission policy that is attached to the role: AliyunServiceRolePolicyForConfig.
  • Description of the permission policy: The policy authorizes Cloud Config to read the resource configurations of the account and write configuration snapshots to an OSS bucket.
        "Version": "1",
        "Statement": [
                "Action": [
                "Resource": "*",
                "Effect": "Allow"
                "Action": [
                "Resource": "*",
                "Effect": "Allow"
                "Action": [
                "Resource": "*",
                "Effect": "Allow"
                "Action": "ram:DeleteServiceLinkedRole",
                "Resource": "*",
                "Effect": "Allow",
                "Condition": {
                    "StringEquals": {
                        "ram:ServiceName": ""