AWSQuickSetupSSMDeploymentRolePolicy - AWS Managed Policy

AWSQuickSetupSSMDeploymentRolePolicy

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

AWSQuickSetupSSMDeploymentRolePolicy is an AWS managed policy.

Using this policy

You can attach AWSQuickSetupSSMDeploymentRolePolicy to your users, groups, and roles.

Policy details

  • Type: AWS managed policy

  • Creation time: November 15, 2024, 22:53 UTC

  • Edited time: November 20, 2024, 12:43 UTC

  • ARN: arn:aws:iam::aws:policy/AWSQuickSetupSSMDeploymentRolePolicy

Policy version

Policy version: v2 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "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" : [ "lambda:CreateFunction", "lambda:TagResource" ], "Condition" : { "ForAnyValue:StringEquals" : { "aws:CalledVia" : [ "cloudformation.amazonaws.com" ] }, "StringEquals" : { "aws:ResourceAccount" : [ "${aws:PrincipalAccount}" ], "aws:ResourceTag/QuickSetupDocument" : [ "AWSQuickSetupType-SSM" ], "aws:RequestTag/QuickSetupDocument" : [ "AWSQuickSetupType-SSM" ] }, "ForAnyValue:StringLike" : { "aws:TagKeys" : [ "QuickSetup*" ] } }, "Resource" : [ "arn:aws:lambda:*:*:function:aws-quicksetup-lifecycle*" ] }, { "Effect" : "Allow", "Action" : [ "lambda:InvokeFunction", "lambda:DeleteFunction", "lambda:UpdateFunction*" ], "Condition" : { "ForAnyValue:StringEquals" : { "aws:CalledVia" : [ "cloudformation.amazonaws.com" ] }, "StringEquals" : { "aws:ResourceAccount" : [ "${aws:PrincipalAccount}" ], "aws:ResourceTag/QuickSetupDocument" : [ "AWSQuickSetupType-SSM" ] } }, "Resource" : [ "arn:aws:lambda:*:*:function:aws-quicksetup-lifecycle*" ] }, { "Effect" : "Allow", "Action" : [ "lambda:GetFunction" ], "Condition" : { "ForAnyValue:StringEquals" : { "aws:CalledVia" : "cloudformation.amazonaws.com" }, "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } }, "Resource" : "arn:aws:lambda:*:*:function:aws-quicksetup-lifecycle*" }, { "Effect" : "Allow", "Action" : [ "ssm:CreateAssociation", "ssm:UpdateAssociation", "ssm:DeleteAssociation", "ssm:DescribeAssociation", "ssm:GetDocument", "ssm:DescribeDocument" ], "Condition" : { "ForAnyValue:StringEquals" : { "aws:CalledVia" : [ "cloudformation.amazonaws.com" ] } }, "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/*" ] }, { "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" ], "Condition" : { "ForAnyValue:StringEquals" : { "aws:CalledVia" : [ "cloudformation.amazonaws.com" ] }, "ForAnyValue:StringLike" : { "aws:TagKeys" : [ "QuickSetup*" ] }, "StringEquals" : { "aws:ResourceTag/QuickSetupDocument" : [ "AWSQuickSetupType-SSM" ], "aws:RequestTag/QuickSetupDocument" : [ "AWSQuickSetupType-SSM" ] } }, "Resource" : [ "arn:aws:iam::*:role/AWS-QuickSetup-SSM-*", "arn:aws:iam::*:role/AWS-SSM-Remediation*", "arn:aws:iam::*:role/AWS-SSM-Diagnosis*" ] }, { "Effect" : "Allow", "Action" : [ "iam:GetRole", "iam:UpdateRole", "iam:DeleteRole", "iam:GetRolePolicy", "iam:ListAttachedRolePolicies", "iam:ListRolePolicies", "iam:ListRoleTags" ], "Condition" : { "ForAnyValue:StringEquals" : { "aws:CalledVia" : [ "cloudformation.amazonaws.com" ] } }, "Resource" : [ "arn:aws:iam::*:role/AWS-QuickSetup-SSM-*", "arn:aws:iam::*:role/AWS-SSM-Remediation*", "arn:aws:iam::*:role/AWS-SSM-Diagnosis*" ] }, { "Effect" : "Allow", "Action" : [ "iam:AttachRolePolicy", "iam:DetachRolePolicy" ], "Condition" : { "ArnEquals" : { "iam:PolicyARN" : [ "arn:aws:iam::aws:policy/AWSQuickSetupSSMLifecycleManagementExecutionPolicy" ] } }, "Resource" : [ "arn:aws:iam::*:role/AWS-QuickSetup-SSM-LifecycleManagement-*" ] }, { "Effect" : "Allow", "Action" : [ "iam:AttachRolePolicy", "iam:DetachRolePolicy" ], "Condition" : { "ArnEquals" : { "iam:PolicyARN" : "arn:aws:iam::aws:policy/AWSQuickSetupSSMManageResourcesExecutionPolicy" } }, "Resource" : "arn:aws:iam::*:role/AWS-QuickSetup-SSM-ManageResources-*" }, { "Effect" : "Allow", "Action" : [ "iam:AttachRolePolicy", "iam:DetachRolePolicy" ], "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" ] } }, "Resource" : [ "arn:aws:iam::*:role/AWS-SSM-Remediation*", "arn:aws:iam::*:role/AWS-SSM-Diagnosis*" ] }, { "Effect" : "Allow", "Action" : [ "iam:PassRole" ], "Resource" : [ "arn:aws:iam::*:role/AWS-QuickSetup*" ], "Condition" : { "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" : { "StringEquals" : { "iam:PassedToService" : "lambda.amazonaws.com", "iam:ResourceTag/QuickSetupDocument" : "AWSQuickSetupType-SSM" } } } ] }

Learn more