Yunma Service-linked Role

Updated at:

This topic describes the service-linked role for Cloudcode Intelligent Creation, AliyunServiceRoleForCloudcodeIntelligentCreation.

Role description

The service-linked role for Cloudcode Intelligent Creation, AliyunServiceRoleForCloudcodeIntelligentCreation, is a RAM role. Cloudcode Intelligent Creation uses this role to access other Alibaba Cloud services for specific features. For more information about service-linked roles, see Service-linked roles.

Scenarios

The service-linked role for Cloudcode Intelligent Creation is used to associate a knowledge base in Cloudcode Intelligent Creation with a knowledge index in Alibaba Cloud Model Studio. This role provides the required access permissions to perform the association.

The AliyunServiceRoleForCloudcodeIntelligentCreation role

  • Role name: AliyunServiceRoleForCloudcodeIntelligentCreation

  • Access policy: AliyunServiceRolePolicyForCloudcodeIntelligentCreation

  • Permissions:

{
  "Action": [
    "sfm:ListIndex",
    "sfm:Retrieve"
  ],
  "Resource": "*",
  "Effect": "Allow"
}

Delete the service-linked role

To delete the AliyunServiceRoleForCloudcodeIntelligentCreation service-linked role, you must first disassociate its dependent knowledge bases in Model Studio on the Cloudcode Intelligent Creation platform. This disassociation does not affect the knowledge indexes in Model Studio. You can then delete the service-linked role.

  • Disassociate the knowledge base from the knowledge index: Delete the associated knowledge base in the Cloudcode Intelligent Creation platform. For more information, see "Delete a knowledge base".

  • Delete the service-linked role: For more information, see Service-linked roles.