AWSEC2VssSnapshotPolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:26 PM UTC

Version

v2

Total Versions

2

Created

Nov 20, 2024

Actions

10

Risk

no risk signal

Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

IAM Access Analyzer (3)

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

    We recommend replacing the key aws:RequestTag/AwsVssConfig in the condition block of StringLike with {aws:RequestTag/AwsVssConfig: false} to ensure better enforcement of the condition. AWS docs

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

    We recommend replacing the key aws:RequestTag/AwsVssConfig in the condition block of StringLike with {aws:RequestTag/AwsVssConfig: false} to ensure better enforcement of the condition. AWS docs

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

    We recommend replacing the key ec2:ResourceTag/AwsVssConfig in the condition block of StringLike with {ec2:ResourceTag/AwsVssConfig: false} to ensure better enforcement of the condition. AWS docs

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "DescribeInstanceInfo",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeInstanceAttribute"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:instance/*"
          ],
          "Condition": {
            "ArnLike": {
              "ec2:SourceInstanceARN": "arn:aws:ec2:*:*:instance/${ec2:InstanceId}"
            }
          }
        },
        {
          "Sid": "CreateSnapshotsWithTag",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateSnapshots"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:snapshot/*"
          ],
          "Condition": {
            "StringLike": {
              "aws:RequestTag/AwsVssConfig": "*"
            }
          }
        },
        {
          "Sid": "CreateSnapshotsAccessInstance",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateSnapshots"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:instance/*"
          ],
          "Condition": {
            "ArnLike": {
              "ec2:SourceInstanceARN": "arn:aws:ec2:*:*:instance/${ec2:InstanceId}"
            }
          }
        },
        {
          "Sid": "CreateSnapshotsAccessVolume",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateSnapshots"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:volume/*"
          ]
        },
        {
          "Sid": "CreateImageWithTag",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateImage"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:snapshot/*",
            "arn:aws:ec2:*:*:image/*"
          ],
          "Condition": {
            "StringLike": {
              "aws:RequestTag/AwsVssConfig": "*"
            }
          }
        },
        {
          "Sid": "CreateImageAccessInstance",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateImage"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:instance/*"
          ],
          "Condition": {
            "ArnLike": {
              "ec2:SourceInstanceARN": "arn:aws:ec2:*:*:instance/${ec2:InstanceId}"
            }
          }
        },
        {
          "Sid": "CreateTagsOnResourceCreation",
          "Effect": "Allow",
          "Action": "ec2:CreateTags",
          "Resource": [
            "arn:aws:ec2:*:*:snapshot/*",
            "arn:aws:ec2:*:*:image/*"
          ],
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": [
                "CreateImage",
                "CreateSnapshots"
              ]
            }
          }
        },
        {
          "Sid": "CreateTagsAfterResourceCreation",
          "Effect": "Allow",
          "Action": "ec2:CreateTags",
          "Resource": [
            "arn:aws:ec2:*:*:snapshot/*",
            "arn:aws:ec2:*:*:image/*"
          ],
          "Condition": {
            "StringLike": {
              "ec2:ResourceTag/AwsVssConfig": "*"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "AppConsistent",
                "Device"
              ]
            }
          }
        },
        {
          "Sid": "DescribeImagesAndSnapshots",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeImages",
            "ec2:DescribeSnapshots"
          ],
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2024-11-20T17:44:08+00:00"
  }
}

Version History (5 recorded)

Raw history

AWSEC2VssSnapshotPolicy - Policy Version v2

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

Mar 12, 2026

ce0580f

Update detected

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

Nov 20, 2024

fcd2de1

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.

Mar 27, 2024

3459c0f