本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
GameLiftGameServerGroupPolicy
描述:允許 Gamelift GameServerGroups 管理客戶資源的政策
GameLiftGameServerGroupPolicy
是AWS 受管政策。
使用此政策
您可以GameLiftGameServerGroupPolicy
連接到您的使用者、群組和角色。
政策詳細資訊
-
類型: AWS 受管政策
-
建立時間:2020 年 4 月 3 日,UTC 23:12
-
編輯時間:2020 年 5 月 13 日 17:27 UTC
-
ARN:
arn:aws:iam::aws:policy/GameLiftGameServerGroupPolicy
政策版本
政策版本: v3 (預設)
政策的預設版本是定義政策許可的版本。當具有 政策的使用者或角色提出存取 AWS 資源的請求時, 會 AWS 檢查政策的預設版本,以決定是否允許請求。
JSON 政策文件
{
"Version" : "2012-10-17",
"Statement" : [
{
"Effect" : "Allow",
"Action" : "ec2:TerminateInstances",
"Resource" : "*",
"Condition" : {
"StringEquals" : {
"ec2:ResourceTag/GameLift" : "GameServerGroups"
}
}
},
{
"Effect" : "Allow",
"Action" : [
"autoscaling:CompleteLifecycleAction",
"autoscaling:ResumeProcesses",
"autoscaling:EnterStandby",
"autoscaling:SetInstanceProtection",
"autoscaling:UpdateAutoScalingGroup",
"autoscaling:SuspendProcesses",
"autoscaling:DetachInstances"
],
"Resource" : "*",
"Condition" : {
"StringEquals" : {
"aws:ResourceTag/GameLift" : "GameServerGroups"
}
}
},
{
"Effect" : "Allow",
"Action" : [
"ec2:DescribeImages",
"ec2:DescribeInstances",
"autoscaling:DescribeAutoScalingGroups",
"ec2:DescribeLaunchTemplateVersions",
"ec2:DescribeSubnets"
],
"Resource" : "*"
},
{
"Effect" : "Allow",
"Action" : "sns:Publish",
"Resource" : [
"arn:*:sns:*:*:ActivatingLifecycleHookTopic-*",
"arn:*:sns:*:*:TerminatingLifecycleHookTopic-*"
]
},
{
"Effect" : "Allow",
"Action" : [
"cloudwatch:PutMetricData"
],
"Resource" : "*",
"Condition" : {
"StringEquals" : {
"cloudwatch:namespace" : "AWS/GameLift"
}
}
}
]
}