AWSMigrationHubRefactorSpaces-SSMAutomationPolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:26 PM UTC

Version

v1

Total Versions

1

Created

Aug 10, 2023

Actions

7

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeInstanceStatus",
            "ec2:DescribeInstances"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:ModifyInstanceAttribute"
          ],
          "Resource": "arn:aws:ec2:*:*:instance/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/refactor-spaces:ssm:optin": "true"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:ModifyInstanceAttribute"
          ],
          "Resource": "arn:aws:ec2:*:*:security-group/*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags",
            "ec2:DeleteTags"
          ],
          "Resource": "arn:aws:ec2:*:*:instance/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/refactor-spaces:ssm:optin": "true"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": "refactor-spaces:ssm:environment-id"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": "ssm:GetParameters",
          "Resource": "arn:aws:ssm:*:*:parameter/ManagedByAWSApplicationMigrationService-*"
        }
      ]
    },
    "VersionId": "v1",
    "IsDefaultVersion": true,
    "CreateDate": "2023-08-10T15:08:14+00:00"
  }
}

Version History (4 recorded)

Raw history

AWSMigrationHubRefactorSpaces-SSMAutomationPolicy - Policy Version v1

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

Mar 12, 2026

a73f1ca

Update detected

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

Sep 18, 2024

aafbae9

Update detected

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

May 13, 2024

1b36617

Update detected

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

Aug 10, 2023

60974ea