AmazonECSComputeServiceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:27 PM UTC

Version

v6

Total Versions

2

Created

Feb 12, 2026

Actions

10

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "ReadOnlyPermissionsForInstanceManagement",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeInstances",
            "ec2:DescribeInstanceStatus",
            "ec2:DescribeNetworkInterfaces",
            "ec2:DescribeFleets"
          ],
          "Resource": "*"
        },
        {
          "Sid": "ReadOnlyPermissionsForInstanceEventWindows",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeInstanceEventWindows"
          ],
          "Resource": "*"
        },
        {
          "Sid": "ReadOnlyPermissionsForLaunchTemplates",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeLaunchTemplates",
            "ec2:DescribeLaunchTemplateVersions"
          ],
          "Resource": "*"
        },
        {
          "Sid": "DeleteManagedLaunchTemplate",
          "Effect": "Allow",
          "Action": [
            "ec2:DeleteLaunchTemplate",
            "ec2:DeleteLaunchTemplateVersions"
          ],
          "Resource": "arn:aws:ec2:*:*:launch-template/*",
          "Condition": {
            "StringEquals": {
              "ec2:ManagedResourceOperator": "ecs.amazonaws.com"
            }
          }
        },
        {
          "Sid": "TerminateManagedInstances",
          "Effect": "Allow",
          "Action": [
            "ec2:TerminateInstances"
          ],
          "Resource": "arn:aws:ec2:*:*:instance/*",
          "Condition": {
            "StringEquals": {
              "ec2:ManagedResourceOperator": "ecs.amazonaws.com"
            }
          }
        }
      ]
    },
    "VersionId": "v6",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T17:57:51+00:00"
  }
}

Version History (5 recorded)

Raw history

AmazonECSComputeServiceRolePolicy - Policy Version v6

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

Mar 12, 2026

ce67aea

AmazonECSComputeServiceRolePolicy - Policy Version v6

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

Feb 12, 2026

4f93326

AmazonECSComputeServiceRolePolicy - Policy Version v4

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

Feb 12, 2026

3cfeb87

Update detected

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

Mar 28, 2025

280fd15

Update detected

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

Mar 24, 2025

6bb3b94