AWSDataSyncServiceRolePolicy
Description: Allows DataSync to integrate with other AWS services on your behalf
AWSDataSyncServiceRolePolicy
is an AWS managed policy.
Using this policy
This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.
Policy details
-
Type: Service-linked role policy
-
Creation time: October 09, 2024, 17:45 UTC
-
Edited time: April 15, 2025, 16:37 UTC
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AWSDataSyncServiceRolePolicy
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" : "DataSyncCloudWatchLogCreateAccess", "Effect" : "Allow", "Action" : [ "logs:CreateLogGroup", "logs:CreateLogStream" ], "Resource" : [ "arn:*:logs:*:*:log-group:/aws/datasync*" ] }, { "Sid" : "DataSyncCloudWatchLogStreamUpdateAccess", "Effect" : "Allow", "Action" : [ "logs:PutLogEvents" ], "Resource" : [ "arn:*:logs:*:*:log-group:/aws/datasync*:log-stream:*" ] }, { "Sid" : "DataSyncSecretsManagerReadAccess", "Effect" : "Allow", "Action" : [ "secretsmanager:DescribeSecret", "secretsmanager:GetSecretValue" ], "Resource" : [ "arn:*:secretsmanager:*:*:secret:aws-datasync!*" ], "Condition" : { "StringEquals" : { "secretsmanager:ResourceTag/aws:secretsmanager:owningService" : "aws-datasync", "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } } ] }