AliyunServiceRolePolicyForResourceGroup 是專用于服務關聯角色的授權策略,會在創建服務關聯角色 AliyunServiceRoleForResourceGroup 時自動授權,以允許服務關聯角色代您訪問其他云服務。本策略由對應的阿里云服務按需更新,請勿將本策略授權給服務關聯角色之外的 RAM 身份使用。
策略詳情
類型:系統策略
創建時間:2023-01-10 02:38:37
更新時間:2023-01-10 02:38:37
當前版本:v1
策略內容
{
"Version": "1",
"Statement": [
{
"Action": [
"ecs:JoinResourceGroup",
"vpc:MoveResourceGroup"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"actiontrail:CreateServiceTrail",
"actiontrail:DeleteServiceTrail",
"actiontrail:GetServiceTrail",
"actiontrail:GetServiceTrailDeliveryStatus",
"oos:ListExecutions",
"vpc:DescribeEipAddresses",
"ecs:DescribeSnapshots",
"ecs:DescribeNetworkInterfaces",
"ecs:DescribeDisks"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"config:StartConfigurationRecorder",
"config:GetConfigurationRecorder",
"config:CreateConfigRule",
"config:ActiveConfigRules",
"config:GetConfigRule",
"config:ListConfigRules",
"config:UpdateConfigRule",
"config:DryRunConfigRule",
"config:CreateRemediation",
"config:ListRemediations",
"config:GetRemediationTemplate",
"config:StartConfigRuleEvaluation",
"config:DeactiveConfigRules",
"config:DeleteConfigRules",
"config:GetResourceComplianceByConfigRule"
],
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"config:ServiceChannel": "ResourceGroup"
}
}
},
{
"Action": "ram:CreateServiceLinkedRole",
"Resource": "acs:ram:*:*:role/*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": [
"rmc.resourcemanager.aliyuncs.com",
"config.aliyuncs.com",
"remediation.config.aliyuncs.com"
]
}
}
},
{
"Action": "resourcecenter:EnableResourceCenter",
"Resource": "*",
"Effect": "Allow"
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "resourcegroup.resourcemanager.aliyuncs.com"
}
}
}
]
}
相關文檔
文檔內容是否對您有幫助?