Skip to main content
IAM Policy Map

AWSQuickSetupStartStopInstancesExecutionPolicy

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

The managed policy AWSQuickSetupStartStopInstancesExecutionPolicy provides permissions for Quick Setup to start and stop Amazon EC2 instances on a schedule. This policy is used with the Quick Setup scheduler configuration type.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSQuickSetupStartStopInstancesExecutionPolicy
Default version
v7
Created
Last edited
Services
ec2, iam, ssm

Control-plane actions (10)

By access level: 4 List, 1 Read, 5 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC26 of 8344 List, 2 Write; 2 restricted, 0 conditionalec2:DescribeInstanceStatus, ec2:DescribeInstances, ec2:DescribeRegions, ec2:DescribeTags, ec2:StartInstances, ec2:StopInstances
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:PassRole
Systems Manager3 of 1641 Read, 2 Write; 3 restricted, 0 conditionalssm:GetCalendarState, ssm:StartAssociationsOnce, ssm:StartAutomationExecution
EC2: 6 actions
  • ec2:DescribeInstanceStatus (List)
  • ec2:DescribeInstances (List)
  • ec2:DescribeRegions (List)
  • ec2:DescribeTags (List)
  • ec2:StartInstances (Write)
  • ec2:StopInstances (Write)
IAM: 1 actions
  • iam:PassRole (Write)
Systems Manager: 3 actions
  • ssm:GetCalendarState (Read)
  • ssm:StartAssociationsOnce (Write)
  • ssm:StartAutomationExecution (Write)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

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 iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).

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": [
    {
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeInstances",
        "ec2:DescribeInstanceStatus",
        "ec2:DescribeRegions",
        "ec2:DescribeTags"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:StartInstances",
        "ec2:StopInstances"
      ],
      "Resource": "arn:aws:ec2:*:*:instance/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:GetCalendarState"
      ],
      "Resource": "arn:aws:ssm:*:*:document/AWSQuickSetup-ChangeCalendar*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:StartAssociationsOnce",
        "ssm:StartAutomationExecution"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:association/*",
        "arn:aws:ssm:*:*:document/AWSQuickSetupType-Scheduler-ApplyInstanceState",
        "arn:aws:ssm:*:*:automation-execution/*",
        "arn:aws:ssm:*:*:automation-definition/AWSQuickSetupType-Scheduler-ApplyInstanceState*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": [
        "arn:aws:iam::*:role/AWS-QuickSetup*"
      ],
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": [
            "ssm.amazonaws.com"
          ]
        },
        "ArnLike": {
          "iam:AssociatedResourceARN": [
            "arn:aws:ssm:*::document/AWSQuickSetupType-Scheduler-ApplyInstanceState",
            "arn:aws:ssm:*:*:association/*"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "ssm:GetCalendarState",
      "Resource": "arn:aws:ssm:*:*:document/*",
      "Condition": {
        "StringLike": {
          "aws:userid": "*:SystemsManager-Automation-ChangeCalendar-Check"
        },
        "StringEquals": {
          "ssm:DocumentType": "ChangeCalendar"
        }
      }
    }
  ]
}

Version history

Current version v7, edited by AWS on 2026-10-27. 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/AWSQuickSetupStartStopInstancesExecutionPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSQuickSetupStartStopInstancesExecutionPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSQuickSetupStartStopInstancesExecutionPolicy

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.