GameLiftGameServerGroupPolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:28 PM UTC

Version

v3

Total Versions

3

Created

May 13, 2020

Actions

15

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "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"
            }
          }
        }
      ]
    },
    "VersionId": "v3",
    "IsDefaultVersion": true,
    "CreateDate": "2020-05-13T17:27:43+00:00"
  }
}

Version History (6 recorded)

Raw history
v3updated

scope changed, no action added or removed

d86b31b

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2020

57d8769

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Apr 16, 2020

5dc9e96

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Apr 4, 2020

d5fb309