Skip to main content
IAM Policy Map

GameLiftContainerFleetPolicy

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

Grants the required permissions for compute actions in an Amazon GameLift container fleet, including access to dependencies such as Amazon S3.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/GameLiftContainerFleetPolicy
Default version
v4
Created
Last edited
Services
gamelift, logs, s3

Control-plane actions (6)

By access level: 2 Read, 4 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
GameLift Servers1 of 1211 Read; 1 restricted, 0 conditionalgamelift:GetComputeAuthToken
CloudWatch Logs4 of 1334 Write; 4 restricted, 0 conditionallogs:CreateLogGroup, logs:CreateLogStream, logs:PutLogEvents, logs:PutRetentionPolicy
S31 of 1551 Read; 1 restricted, 1 conditionals3:GetBucketLocation
GameLift Servers: 1 actions
  • gamelift:GetComputeAuthToken (Read)
CloudWatch Logs: 4 actions
  • logs:CreateLogGroup (Write)
  • logs:CreateLogStream (Write)
  • logs:PutLogEvents (Write)
  • logs:PutRetentionPolicy (Write)
S3: 1 actions
  • s3:GetBucketLocation (Read)

Data-plane actions (1)

By access level: 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
S31 of 251 Write; 1 restricted, 1 conditionals3:PutObject
S3: 1 actions
  • s3:PutObject (Write)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: scoped.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 5 write, tagging or permissions-management actions, short of full control of any service.
  • Grants data-plane write actions on a data store, but only for scoped resources or under conditions.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "WriteGameSessionLogsToLogStream",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogStream",
        "logs:PutLogEvents",
        "logs:PutRetentionPolicy"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:gamelift-*:log-stream:*"
    },
    {
      "Sid": "CreateLogGroupToStoreGameSessionLogs",
      "Effect": "Allow",
      "Action": "logs:CreateLogGroup",
      "Resource": "arn:aws:logs:*:*:log-group:gamelift-*"
    },
    {
      "Sid": "WriteGameSessionLogsToS3Bucket",
      "Effect": "Allow",
      "Action": [
        "s3:PutObject",
        "s3:GetBucketLocation"
      ],
      "Resource": [
        "arn:aws:s3:::gamelift-*"
      ],
      "Condition": {
        "StringEquals": {
          "s3:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "RetrieveComputeAuthToken",
      "Effect": "Allow",
      "Action": [
        "gamelift:GetComputeAuthToken"
      ],
      "Resource": [
        "arn:aws:gamelift:*:*:containerfleet/*"
      ]
    }
  ]
}

Version history

Current version v4, edited by AWS on 2026-02-12. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/GameLiftContainerFleetPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/GameLiftContainerFleetPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/GameLiftContainerFleetPolicy

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/GameLiftContainerFleetPolicy

Terraform

resource "aws_iam_role_policy_attachment" "gameliftcontainerfleetpolicy" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/GameLiftContainerFleetPolicy"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("GameLiftContainerFleetPolicy"),
);

Sources

Pending editorial review. No editorial sources are listed yet.