AmazonEC2RolePolicyForLaunchWizard
Last Modified
Aug 18, 2026
August 18, 2026 at 08:03 PM UTC
Version
v12
Total Versions
12
Created
Aug 18, 2026
Actions
55
Risk
MediumThe same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed
- Medium
Can take over existing resources that run as another role
Grants the actions of 2 documented escalation paths, but only on named resources or under a condition. Review that scope before trusting it.
- ec2:StopInstances: condition ec2:ResourceTag/LaunchWizardResourceGroupID, on arn:aws:ec2:*:*:volume/*, arn:aws:ec2:*:*:instance/*
- ec2:StartInstances: condition ec2:ResourceTag/LaunchWizardResourceGroupID, on arn:aws:ec2:*:*:volume/*, arn:aws:ec2:*:*:instance/*
- ssm:SendCommand: condition ssm:resourceTag/LaunchWizardApplicationType, on arn:aws:ec2:*:*:instance/*
Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.
IAM Access Analyzer (5)
- Suggestion / EQUIVALENT_TO_NULL_FALSE
We recommend replacing the key ec2:ResourceTag/LaunchWizardResourceGroupID in the condition block of StringLike with {ec2:ResourceTag/LaunchWizardResourceGroupID: false} to ensure better enforcement of the condition. AWS docs
- Suggestion / EQUIVALENT_TO_NULL_FALSE
We recommend replacing the key ec2:ResourceTag/LaunchWizardApplicationType in the condition block of StringLike with {ec2:ResourceTag/LaunchWizardApplicationType: false} to ensure better enforcement of the condition. AWS docs
- Suggestion / EQUIVALENT_TO_NULL_FALSE
We recommend replacing the key aws:RequestTag/LaunchWizardResourceGroupID in the condition block of StringLike with {aws:RequestTag/LaunchWizardResourceGroupID: false} to ensure better enforcement of the condition. AWS docs
- Suggestion / EQUIVALENT_TO_NULL_FALSE
We recommend replacing the key ec2:ResourceTag/LaunchWizardResourceGroupID in the condition block of StringLike with {ec2:ResourceTag/LaunchWizardResourceGroupID: false} to ensure better enforcement of the condition. AWS docs
- Suggestion / EQUIVALENT_TO_NULL_FALSE
We recommend replacing the key ssm:resourceTag/LaunchWizardApplicationType in the condition block of StringLike with {ssm:resourceTag/LaunchWizardApplicationType: false} to ensure better enforcement of the condition. AWS docs
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:AttachVolume",
"ec2:RebootInstances",
"ec2:StartInstances",
"ec2:StopInstances"
],
"Resource": [
"arn:aws:ec2:*:*:volume/*",
"arn:aws:ec2:*:*:instance/*"
],
"Condition": {
"StringLike": {
"ec2:ResourceTag/LaunchWizardResourceGroupID": "*"
}
}
},
{
"Effect": "Allow",
"Action": [
"ec2:ReplaceRoute"
],
"Resource": "arn:aws:ec2:*:*:route-table/*",
"Condition": {
"StringLike": {
"ec2:ResourceTag/LaunchWizardApplicationType": "*"
}
}
},
{
"Effect": "Allow",
"Action": [
"ec2:DescribeAddresses",
"ec2:AssociateAddress",
"ec2:DescribeInstances",
"ec2:DescribeImages",
"ec2:DescribeRegions",
"ec2:DescribeVolumes",
"ec2:DescribeRouteTables",
"ec2:ModifyInstanceAttribute",
"cloudwatch:GetMetricStatistics",
"cloudwatch:PutMetricData",
"ssm:GetCommandInvocation"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ec2:CreateTags",
"ec2:CreateVolume"
],
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"ForAllValues:StringEquals": {
"aws:TagKeys": [
"LaunchWizardResourceGroupID",
"LaunchWizardApplicationType"
]
}
}
},
{
"Effect": "Allow",
"Action": "ec2:CreateVolume",
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringLike": {
"aws:RequestTag/LaunchWizardResourceGroupID": "*"
}
}
},
{
"Effect": "Allow",
"Action": "ec2:CreateTags",
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringEquals": {
"ec2:CreateAction": "CreateVolume"
}
}
},
{
"Effect": "Allow",
"Action": "ec2:CreateTags",
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringLike": {
"ec2:ResourceTag/LaunchWizardResourceGroupID": "*"
}
}
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket",
"s3:PutObject",
"s3:PutObjectTagging",
"s3:GetBucketLocation",
"logs:PutLogEvents",
"logs:DescribeLogGroups",
"logs:DescribeLogStreams"
],
"Resource": [
"arn:aws:logs:*:*:*",
"arn:aws:s3:::launchwizard*",
"arn:aws:s3:::aws-sap-data-provider/config.properties"
]
},
{
"Effect": "Allow",
"Action": "logs:Create*",
"Resource": "arn:aws:logs:*:*:*"
},
{
"Effect": "Allow",
"Action": [
"ec2:Describe*",
"cloudformation:DescribeStackResources",
"cloudformation:SignalResource",
"cloudformation:DescribeStackResource",
"cloudformation:DescribeStacks"
],
"Resource": "*",
"Condition": {
"ForAllValues:StringEquals": {
"aws:TagKeys": "LaunchWizardResourceGroupID"
}
}
},
{
"Effect": "Allow",
"Action": [
"dynamodb:BatchGetItem",
"dynamodb:PutItem",
"sqs:ReceiveMessage",
"sqs:SendMessage",
"dynamodb:Scan",
"s3:ListBucket",
"dynamodb:Query",
"dynamodb:UpdateItem",
"dynamodb:DeleteTable",
"dynamodb:CreateTable",
"s3:GetObject",
"dynamodb:DescribeTable",
"s3:GetBucketLocation",
"dynamodb:UpdateTable"
],
"Resource": [
"arn:aws:s3:::launchwizard*",
"arn:aws:dynamodb:*:*:table/LaunchWizard*",
"arn:aws:sqs:*:*:LaunchWizard*"
]
},
{
"Effect": "Allow",
"Action": "ssm:SendCommand",
"Resource": "arn:aws:ec2:*:*:instance/*",
"Condition": {
"StringLike": {
"ssm:resourceTag/LaunchWizardApplicationType": "*"
}
}
},
{
"Effect": "Allow",
"Action": [
"ssm:SendCommand",
"ssm:GetDocument"
],
"Resource": [
"arn:aws:ssm:*:*:document/AWSSAP-InstallBackint",
"arn:aws:ssm:*:*:document/AWSSAP-InstallBackintForAWSBackup"
]
},
{
"Effect": "Allow",
"Action": [
"fsx:DescribeFileSystems",
"fsx:ListTagsForResource",
"fsx:DescribeStorageVirtualMachines"
],
"Resource": "*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": "LaunchWizard*"
}
}
}
]
},
"VersionId": "v12",
"IsDefaultVersion": true,
"CreateDate": "2026-08-18T19:27:15+00:00"
}
}Version History (15 recorded)
Raw historyscope changed, no action added or removed
AmazonEC2RolePolicyForLaunchWizard - Policy Version v11
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
aabc65cUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 26, 2024
fd4874aUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 18, 2024
aafbae9Update detected
No recorded action delta - this version predates the change index. View the raw diff.
May 13, 2024
1b36617Update detected
No recorded action delta - this version predates the change index. View the raw diff.
May 16, 2022
7d766baUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Jan 28, 2022
d665e4bUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
May 25, 2021
ed55220Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Oct 10, 2020
6a9b96eUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Jul 1, 2020
368d99eUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Jun 4, 2020
5af1bf4Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Jun 3, 2020
25fe43dUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Apr 1, 2020
78a1fbbUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Nov 25, 2019
282c8fdUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Nov 13, 2019
659e882