AmazonDMSCloudWatchLogsRole - AWS Managed Policy

AmazonDMSCloudWatchLogsRole

Description: Provides access to upload DMS replication logs to cloudwatch logs in customer account.

AmazonDMSCloudWatchLogsRole is an AWS managed policy.

Using this policy

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

Policy details

  • Type: Service role policy

  • Creation time: January 07, 2016, 23:44 UTC

  • Edited time: May 23, 2023, 21:32 UTC

  • ARN: arn:aws:iam::aws:policy/service-role/AmazonDMSCloudWatchLogsRole

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" : [ { "Sid" : "AllowDescribeOnAllLogGroups", "Effect" : "Allow", "Action" : [ "logs:DescribeLogGroups" ], "Resource" : [ "*" ] }, { "Sid" : "AllowDescribeOfAllLogStreamsOnDmsTasksLogGroup", "Effect" : "Allow", "Action" : [ "logs:DescribeLogStreams" ], "Resource" : [ "arn:aws:logs:*:*:log-group:dms-tasks-*", "arn:aws:logs:*:*:log-group:dms-serverless-replication-*" ] }, { "Sid" : "AllowCreationOfDmsLogGroups", "Effect" : "Allow", "Action" : [ "logs:CreateLogGroup" ], "Resource" : [ "arn:aws:logs:*:*:log-group:dms-tasks-*", "arn:aws:logs:*:*:log-group:dms-serverless-replication-*:log-stream:" ] }, { "Sid" : "AllowCreationOfDmsLogStream", "Effect" : "Allow", "Action" : [ "logs:CreateLogStream" ], "Resource" : [ "arn:aws:logs:*:*:log-group:dms-tasks-*:log-stream:dms-task-*", "arn:aws:logs:*:*:log-group:dms-serverless-replication-*:log-stream:dms-serverless-*" ] }, { "Sid" : "AllowUploadOfLogEventsToDmsLogStream", "Effect" : "Allow", "Action" : [ "logs:PutLogEvents" ], "Resource" : [ "arn:aws:logs:*:*:log-group:dms-tasks-*:log-stream:dms-task-*", "arn:aws:logs:*:*:log-group:dms-serverless-replication-*:log-stream:dms-serverless-*" ] } ] }

Learn more