Skip to main content
IAM Policy Map

AWSQuickSetupSSMDeploymentRolePolicy

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

This policy grants administrative permssions that allow Quick Setup to create resources that are used during the Systems Manager onboarding process.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSQuickSetupSSMDeploymentRolePolicy
Default version
v9
Created
Last edited
Services
cloudformation, iam, lambda, ssm

Control-plane actions (49)

By access level: 5 List, 2 Permissions management, 15 Read, 6 Tagging, 21 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudFormation16 of 1042 List, 6 Read, 2 Tagging, 6 Write; 13 restricted, 2 conditionalcloudformation:CreateChangeSet, cloudformation:CreateStack, cloudformation:DeleteChangeSet, cloudformation:DeleteStack, cloudformation:DescribeChangeSet, cloudformation:DescribeStackDriftDetectionStatus, cloudformation:DescribeStackEvents, cloudformation:DescribeStackResourceDrifts, cloudformation:DescribeStacks, cloudformation:DetectStackDrift, cloudformation:DetectStackResourceDrift, cloudformation:ExecuteChangeSet and 4 more
IAM13 of 1903 List, 2 Permissions management, 2 Read, 1 Tagging, 5 Write; 13 restricted, 13 conditionaliam:AttachRolePolicy, iam:CreateRole, iam:CreateServiceLinkedRole, iam:DeleteRole, iam:DetachRolePolicy, iam:GetRole, iam:GetRolePolicy, iam:ListAttachedRolePolicies, iam:ListRolePolicies, iam:ListRoleTags, iam:PassRole, iam:TagRole and 1 more
Lambda9 of 1211 Read, 1 Tagging, 7 Write; 9 restricted, 9 conditionallambda:CreateFunction, lambda:DeleteFunction, lambda:GetFunction, lambda:TagResource, lambda:UpdateFunction*
Systems Manager11 of 1646 Read, 2 Tagging, 3 Write; 11 restricted, 7 conditionalssm:AddTagsToResource, ssm:CreateAssociation, ssm:DeleteAssociation, ssm:DescribeAssociation, ssm:DescribeAssociationExecutionTargets, ssm:DescribeAssociationExecutions, ssm:DescribeDocument, ssm:GetAutomationExecution, ssm:GetDocument, ssm:RemoveTagsFromResource, ssm:UpdateAssociation
CloudFormation: 16 actions
  • cloudformation:CreateChangeSet (Write)
  • cloudformation:CreateStack (Write)
  • cloudformation:DeleteChangeSet (Write)
  • cloudformation:DeleteStack (Write)
  • cloudformation:DescribeChangeSet (Read)
  • cloudformation:DescribeStackDriftDetectionStatus (Read)
  • cloudformation:DescribeStackEvents (Read)
  • cloudformation:DescribeStackResourceDrifts (Read)
  • cloudformation:DescribeStacks (List)
  • cloudformation:DetectStackDrift (Read)
  • cloudformation:DetectStackResourceDrift (Read)
  • cloudformation:ExecuteChangeSet (Write)
  • cloudformation:ListStacks (List)
  • cloudformation:TagResource (Tagging)
  • cloudformation:UntagResource (Tagging)
  • cloudformation:UpdateStack (Write)
IAM: 13 actions
  • iam:AttachRolePolicy (Permissions management)
  • iam:CreateRole (Write)
  • iam:CreateServiceLinkedRole (Write)
  • iam:DeleteRole (Write)
  • iam:DetachRolePolicy (Permissions management)
  • iam:GetRole (Read)
  • iam:GetRolePolicy (Read)
  • iam:ListAttachedRolePolicies (List)
  • iam:ListRolePolicies (List)
  • iam:ListRoleTags (List)
  • iam:PassRole (Write)
  • iam:TagRole (Tagging)
  • iam:UpdateRole (Write)
Lambda: 9 actions
  • lambda:CreateFunction (Write)
  • lambda:DeleteFunction (Write)
  • lambda:GetFunction (Read)
  • lambda:TagResource (Tagging)
  • lambda:UpdateFunctionCode (Write)
  • lambda:UpdateFunctionCodeSigningConfig (Write)
  • lambda:UpdateFunctionConfiguration (Write)
  • lambda:UpdateFunctionEventInvokeConfig (Write)
  • lambda:UpdateFunctionUrlConfig (Write)
Systems Manager: 11 actions
  • ssm:AddTagsToResource (Tagging)
  • ssm:CreateAssociation (Write)
  • ssm:DeleteAssociation (Write)
  • ssm:DescribeAssociation (Read)
  • ssm:DescribeAssociationExecutionTargets (Read)
  • ssm:DescribeAssociationExecutions (Read)
  • ssm:DescribeDocument (Read)
  • ssm:GetAutomationExecution (Read)
  • ssm:GetDocument (Read)
  • ssm:RemoveTagsFromResource (Tagging)
  • ssm:UpdateAssociation (Write)

Data-plane actions (1)

By access level: 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Lambda1 of 141 Write; 1 restricted, 1 conditionallambda:InvokeFunction
Lambda: 1 actions
  • lambda:InvokeFunction (Write)

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 30 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).
  • Grants permissions-management actions on iam, 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": [
    {
      "Effect": "Allow",
      "Action": [
        "cloudformation:DescribeStacks",
        "cloudformation:DescribeStackDriftDetectionStatus",
        "cloudformation:ListStacks"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "cloudformation:CreateStack",
        "cloudformation:UpdateStack",
        "cloudformation:DeleteStack",
        "cloudformation:CreateChangeSet",
        "cloudformation:DeleteChangeSet",
        "cloudformation:ExecuteChangeSet",
        "cloudformation:DescribeChangeSet",
        "cloudformation:DescribeStackResourceDrifts",
        "cloudformation:DetectStackDrift",
        "cloudformation:DetectStackResourceDrift",
        "cloudformation:DescribeStackEvents"
      ],
      "Resource": [
        "arn:aws:cloudformation:*:*:stack/StackSet-AWS-QuickSetup-SSM-*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "cloudformation:TagResource",
        "cloudformation:UntagResource"
      ],
      "Resource": [
        "arn:aws:cloudformation:*:*:stack/StackSet-AWS-QuickSetup-SSM-*"
      ],
      "Condition": {
        "StringEquals": {
          "cloudformation:CreateAction": [
            "CreateStack",
            "UpdateStack",
            "CreateChangeSet",
            "ExecuteChangeSet"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "lambda:CreateFunction",
        "lambda:TagResource"
      ],
      "Resource": [
        "arn:aws:lambda:*:*:function:aws-quicksetup-lifecycle*"
      ],
      "Condition": {
        "ForAllValues:StringLike": {
          "aws:TagKeys": [
            "QuickSetup*"
          ]
        },
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": [
            "cloudformation.amazonaws.com"
          ]
        },
        "StringEquals": {
          "aws:RequestTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ],
          "aws:ResourceAccount": [
            "${aws:PrincipalAccount}"
          ],
          "aws:ResourceTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "lambda:InvokeFunction",
        "lambda:DeleteFunction",
        "lambda:UpdateFunction*"
      ],
      "Resource": [
        "arn:aws:lambda:*:*:function:aws-quicksetup-lifecycle*"
      ],
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": [
            "cloudformation.amazonaws.com"
          ]
        },
        "StringEquals": {
          "aws:ResourceAccount": [
            "${aws:PrincipalAccount}"
          ],
          "aws:ResourceTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "lambda:GetFunction"
      ],
      "Resource": "arn:aws:lambda:*:*:function:aws-quicksetup-lifecycle*",
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": "cloudformation.amazonaws.com"
        },
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:CreateAssociation",
        "ssm:UpdateAssociation",
        "ssm:DeleteAssociation",
        "ssm:DescribeAssociation",
        "ssm:GetDocument",
        "ssm:DescribeDocument"
      ],
      "Resource": [
        "arn:aws:ssm:*::document/AWSQuickSetupType-EnableAREX",
        "arn:aws:ssm:*::document/AWSQuickSetupType-EnableDHMC",
        "arn:aws:ssm:*::document/AWSQuickSetupType-ManageInstanceProfile",
        "arn:aws:ssm:*::document/AWS-EnableExplorer",
        "arn:aws:ssm:*::document/AWS-GatherSoftwareInventory",
        "arn:aws:ssm:*::document/AWS-UpdateSSMAgent",
        "arn:aws:ec2:*:*:instance/*",
        "arn:aws:ssm:*:*:managed-instance/*",
        "arn:aws:ssm:*:*:association/*"
      ],
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": [
            "cloudformation.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "SSMSLRCreate",
      "Effect": "Allow",
      "Action": [
        "iam:CreateServiceLinkedRole"
      ],
      "Resource": [
        "arn:aws:iam::*:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM"
      ],
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": "ssm.amazonaws.com"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:CreateRole",
        "iam:TagRole"
      ],
      "Resource": [
        "arn:aws:iam::*:role/AWS-QuickSetup-SSM-*",
        "arn:aws:iam::*:role/AWS-SSM-Remediation*",
        "arn:aws:iam::*:role/AWS-SSM-Diagnosis*"
      ],
      "Condition": {
        "ForAllValues:StringLike": {
          "aws:TagKeys": [
            "QuickSetup*"
          ]
        },
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": [
            "cloudformation.amazonaws.com"
          ]
        },
        "StringEquals": {
          "aws:RequestTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ],
          "aws:ResourceTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:GetRole",
        "iam:UpdateRole",
        "iam:DeleteRole",
        "iam:GetRolePolicy",
        "iam:ListAttachedRolePolicies",
        "iam:ListRolePolicies",
        "iam:ListRoleTags"
      ],
      "Resource": [
        "arn:aws:iam::*:role/AWS-QuickSetup-SSM-*",
        "arn:aws:iam::*:role/AWS-SSM-Remediation*",
        "arn:aws:iam::*:role/AWS-SSM-Diagnosis*"
      ],
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": [
            "cloudformation.amazonaws.com"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:AttachRolePolicy",
        "iam:DetachRolePolicy"
      ],
      "Resource": [
        "arn:aws:iam::*:role/AWS-QuickSetup-SSM-LifecycleManagement-*"
      ],
      "Condition": {
        "ArnEquals": {
          "iam:PolicyARN": [
            "arn:aws:iam::aws:policy/AWSQuickSetupSSMLifecycleManagementExecutionPolicy"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:AttachRolePolicy",
        "iam:DetachRolePolicy"
      ],
      "Resource": "arn:aws:iam::*:role/AWS-QuickSetup-SSM-ManageResources-*",
      "Condition": {
        "ArnEquals": {
          "iam:PolicyARN": "arn:aws:iam::aws:policy/AWSQuickSetupSSMManageResourcesExecutionPolicy"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:AttachRolePolicy",
        "iam:DetachRolePolicy"
      ],
      "Resource": [
        "arn:aws:iam::*:role/AWS-SSM-Remediation*",
        "arn:aws:iam::*:role/AWS-SSM-Diagnosis*"
      ],
      "Condition": {
        "ArnEquals": {
          "iam:PolicyARN": [
            "arn:aws:iam::aws:policy/AWS-SSM-RemediationAutomation-AdministrationRolePolicy",
            "arn:aws:iam::aws:policy/AWS-SSM-RemediationAutomation-ExecutionRolePolicy",
            "arn:aws:iam::aws:policy/AWS-SSM-RemediationAutomation-OperationalAccountAdministrationRolePolicy",
            "arn:aws:iam::aws:policy/AWS-SSM-Automation-DiagnosisBucketPolicy",
            "arn:aws:iam::aws:policy/AWS-SSM-DiagnosisAutomation-AdministrationRolePolicy",
            "arn:aws:iam::aws:policy/AWS-SSM-DiagnosisAutomation-ExecutionRolePolicy"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:PassRole"
      ],
      "Resource": [
        "arn:aws:iam::*:role/AWS-QuickSetup*"
      ],
      "Condition": {
        "ArnLike": {
          "iam:AssociatedResourceARN": [
            "arn:aws:ssm:*::document/AWSQuickSetupType-EnableAREX",
            "arn:aws:ssm:*::document/AWSQuickSetupType-EnableDHMC",
            "arn:aws:ssm:*::document/AWSQuickSetupType-ManageInstanceProfile",
            "arn:aws:ssm:*::document/AWS-EnableExplorer",
            "arn:aws:ssm:*:*:association/*"
          ]
        },
        "StringEquals": {
          "iam:PassedToService": "ssm.amazonaws.com",
          "iam:ResourceTag/QuickSetupDocument": "AWSQuickSetupType-SSM"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:PassRole"
      ],
      "Resource": [
        "arn:aws:iam::*:role/AWS-QuickSetup-SSM-LifecycleManagement*"
      ],
      "Condition": {
        "ArnLike": {
          "iam:AssociatedResourceARN": [
            "arn:aws:lambda:*:*:function:aws-quicksetup-lifecycle-*"
          ]
        },
        "StringEquals": {
          "iam:PassedToService": "lambda.amazonaws.com",
          "iam:ResourceTag/QuickSetupDocument": "AWSQuickSetupType-SSM"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "lambda:TagResource",
      "Resource": [
        "arn:aws:lambda:*:*:function:aws-quicksetup-lifecycle*"
      ],
      "Condition": {
        "ForAllValues:StringLike": {
          "aws:TagKeys": "QuickSetup*"
        },
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": "cloudformation.amazonaws.com"
        },
        "StringEquals": {
          "aws:ResourceTag/QuickSetupDocument": "AWSQuickSetupType-SSM"
        },
        "StringLike": {
          "aws:RequestTag/QuickSetupDocumentVersionName": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:TagRole"
      ],
      "Resource": [
        "arn:aws:iam::*:role/AWS-QuickSetup-SSM-*",
        "arn:aws:iam::*:role/AWS-SSM-Remediation*",
        "arn:aws:iam::*:role/AWS-SSM-Diagnosis*"
      ],
      "Condition": {
        "ForAllValues:StringLike": {
          "aws:TagKeys": "QuickSetup*"
        },
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": "cloudformation.amazonaws.com"
        },
        "StringEquals": {
          "aws:ResourceTag/QuickSetupDocument": "AWSQuickSetupType-SSM"
        },
        "StringLike": {
          "aws:RequestTag/QuickSetupDocumentVersionName": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:CreateAssociation",
        "ssm:AddTagsToResource"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:association/*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:RequestTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:CreateAssociation",
        "ssm:UpdateAssociation",
        "ssm:DeleteAssociation",
        "ssm:DescribeAssociation"
      ],
      "Resource": "arn:aws:ssm:*::document/AWSQuickSetupType-SSM-ManageResources"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:UpdateAssociation",
        "ssm:DeleteAssociation",
        "ssm:DescribeAssociation"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:association/*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:AddTagsToResource",
        "ssm:RemoveTagsFromResource"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:automation-execution/*",
        "arn:aws:ssm:*:*:association/*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:DescribeAssociationExecutions",
        "ssm:DescribeAssociationExecutionTargets",
        "ssm:GetAutomationExecution"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:automation-execution/*",
        "arn:aws:ssm:*:*:association/*"
      ],
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": [
            "cloudformation.amazonaws.com"
          ]
        },
        "StringEquals": {
          "aws:ResourceTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": "arn:aws:iam::*:role/AWS-QuickSetup-SSM-ManageResources*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": [
            "ssm.amazonaws.com"
          ],
          "iam:ResourceTag/QuickSetupDocument": [
            "AWSQuickSetupType-SSM"
          ]
        }
      }
    }
  ]
}

Version history

Current version v9, edited by AWS on 2026-09-07. 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/AWSQuickSetupSSMDeploymentRolePolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSQuickSetupSSMDeploymentRolePolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSQuickSetupSSMDeploymentRolePolicy

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.