本文為您介紹ApiGateway服務關聯角色(AliyunServiceRoleForApiGateway)的應用情境以及如何刪除服務關聯角色。
背景資訊
ApiGateway服務關聯角色(AliyunServiceRoleForApiGateway)是使用者需要配置API後端為Function Compute的情況下,為擷取訪問使用者Function Compute的存取權限,而提供的RAM角色。更多關於服務關聯角色的資訊請參見服務關聯角色。
應用情境
API Gateway訪問使用者的Function Compute,通過服務關聯角色功能擷取存取權限。
AliyunServiceRoleForApiGateway介紹
角色名稱:AliyunServiceRoleForApiGateway 角色權限原則:AliyunServiceRolePolicyForApiGateway 許可權說明:
{
"Version": "1",
"Statement": [
{
"Action": [
"fc:InvokeFunction"
],
"Resource": "*",
"Effect": "Allow"
}
]
}刪除服務關聯角色
如果您需要刪除AliyunServiceRoleForApiGateway(服務關聯角色),需要先刪除後端為Function Compute的API。