AWSDMSServerlessServiceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:25 PM UTC

Version

v10

Total Versions

4

Created

Feb 12, 2026

Actions

21

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "id0",
          "Effect": "Allow",
          "Action": [
            "dms:CreateReplicationInstance",
            "dms:CreateReplicationTask"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "dms:req-tag/ResourceCreatedBy": "DMSServerless"
            }
          }
        },
        {
          "Sid": "id1",
          "Effect": "Allow",
          "Action": [
            "dms:DescribeReplicationInstances",
            "dms:DescribeReplicationTasks"
          ],
          "Resource": "*"
        },
        {
          "Sid": "id2",
          "Effect": "Allow",
          "Action": [
            "dms:StartReplicationTask",
            "dms:StopReplicationTask",
            "dms:ModifyReplicationTask",
            "dms:DeleteReplicationTask",
            "dms:ModifyReplicationInstance",
            "dms:DeleteReplicationInstance"
          ],
          "Resource": [
            "arn:aws:dms:*:*:rep:*",
            "arn:aws:dms:*:*:task:*"
          ],
          "Condition": {
            "StringEqualsIgnoreCase": {
              "aws:ResourceTag/ResourceCreatedBy": "DMSServerless"
            }
          }
        },
        {
          "Sid": "id3",
          "Effect": "Allow",
          "Action": [
            "dms:TestConnection",
            "dms:DeleteConnection"
          ],
          "Resource": [
            "arn:aws:dms:*:*:rep:*",
            "arn:aws:dms:*:*:endpoint:*"
          ]
        },
        {
          "Sid": "id4",
          "Effect": "Allow",
          "Action": [
            "s3:PutObject",
            "s3:DeleteObject",
            "s3:GetObject",
            "s3:PutObjectTagging"
          ],
          "Resource": [
            "arn:aws:s3:::dms-serverless-premigration-results-*",
            "arn:aws:s3:::dms-premigration-results-*"
          ],
          "Condition": {
            "StringEquals": {
              "s3:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "id5",
          "Effect": "Allow",
          "Action": [
            "s3:PutBucketPolicy",
            "s3:ListBucket",
            "s3:GetBucketLocation",
            "s3:CreateBucket"
          ],
          "Resource": [
            "arn:aws:s3:::dms-serverless-premigration-results-*",
            "arn:aws:s3:::dms-premigration-results-*"
          ],
          "Condition": {
            "StringEquals": {
              "s3:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "id6",
          "Effect": "Allow",
          "Action": [
            "dms:StartReplicationTaskAssessmentRun"
          ],
          "Resource": [
            "arn:aws:dms:*:*:task:*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        }
      ]
    },
    "VersionId": "v10",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T17:58:40+00:00"
  }
}

Version History (9 recorded)

Raw history

AWSDMSServerlessServiceRolePolicy - Policy Version v10

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

Mar 12, 2026

195d808

AWSDMSServerlessServiceRolePolicy - Policy Version v10

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

Feb 12, 2026

638d0fe

AWSDMSServerlessServiceRolePolicy - Policy Version v7

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

Feb 12, 2026

94737fe

AWSDMSServerlessServiceRolePolicy - Policy Version v4

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

Nov 5, 2025

976895e

Update detected

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

Feb 7, 2025

5a7b925

Update detected

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

Jan 17, 2025

474aeef

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.

May 18, 2023

4bb6cb9