AWSDataSyncReadOnlyAccess
Summary
Provides read-only access to AWS DataSync
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AWSDataSyncReadOnlyAccess- Default version
- v3
- Created
- Last edited
- Services
- datasync, ec2, elasticfilesystem, fsx, iam, logs, s3
Control-plane actions (35)
By access level: 15 List, 20 Read.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| DataSync | 25 of 66 | 8 List, 17 Read; 0 restricted, 0 conditional | datasync:Describe*, datasync:List* |
| EC2 | 2 of 834 | 2 List; 0 restricted, 0 conditional | ec2:DescribeSecurityGroups, ec2:DescribeSubnets |
| EFS | 2 of 38 | 1 List, 1 Read; 0 restricted, 0 conditional | elasticfilesystem:DescribeFileSystems, elasticfilesystem:DescribeMountTargets |
| FSx | 1 of 56 | 1 Read; 0 restricted, 0 conditional | fsx:DescribeFileSystems |
| IAM | 2 of 190 | 1 List, 1 Read; 0 restricted, 0 conditional | iam:GetRole, iam:ListRoles |
| CloudWatch Logs | 2 of 133 | 2 List; 0 restricted, 0 conditional | logs:DescribeLogGroups, logs:DescribeResourcePolicies |
| S3 | 1 of 155 | 1 List; 0 restricted, 0 conditional | s3:ListAllMyBuckets |
DataSync: 25 actions
- datasync:DescribeAgent (Read)
- datasync:DescribeDiscoveryJob (Read)
- datasync:DescribeLocationAzureBlob (Read)
- datasync:DescribeLocationEfs (Read)
- datasync:DescribeLocationFsxLustre (Read)
- datasync:DescribeLocationFsxOntap (Read)
- datasync:DescribeLocationFsxOpenZfs (Read)
- datasync:DescribeLocationFsxWindows (Read)
- datasync:DescribeLocationHdfs (Read)
- datasync:DescribeLocationNfs (Read)
- datasync:DescribeLocationObjectStorage (Read)
- datasync:DescribeLocationS3 (Read)
- datasync:DescribeLocationSmb (Read)
- datasync:DescribeStorageSystem (Read)
- datasync:DescribeStorageSystemResourceMetrics (List)
- datasync:DescribeStorageSystemResources (List)
- datasync:DescribeTask (Read)
- datasync:DescribeTaskExecution (Read)
- datasync:ListAgents (List)
- datasync:ListDiscoveryJobs (List)
- datasync:ListLocations (List)
- datasync:ListStorageSystems (List)
- datasync:ListTagsForResource (Read)
- datasync:ListTaskExecutions (List)
- datasync:ListTasks (List)
EC2: 2 actions
- ec2:DescribeSecurityGroups (List)
- ec2:DescribeSubnets (List)
EFS: 2 actions
- elasticfilesystem:DescribeFileSystems (List)
- elasticfilesystem:DescribeMountTargets (Read)
FSx: 1 actions
- fsx:DescribeFileSystems (Read)
IAM: 2 actions
- iam:GetRole (Read)
- iam:ListRoles (List)
CloudWatch Logs: 2 actions
- logs:DescribeLogGroups (List)
- logs:DescribeResourcePolicies (List)
S3: 1 actions
- s3:ListAllMyBuckets (List)
Data-plane actions (1)
By access level: 1 List.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| S3 | 1 of 25 | 1 List; 0 restricted, 0 conditional | s3:ListBucket |
S3: 1 actions
- s3:ListBucket (List)
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: all-resources.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants only List and Read actions.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"datasync:Describe*",
"datasync:List*",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"elasticfilesystem:DescribeFileSystems",
"elasticfilesystem:DescribeMountTargets",
"fsx:DescribeFileSystems",
"iam:GetRole",
"iam:ListRoles",
"logs:DescribeLogGroups",
"logs:DescribeResourcePolicies",
"s3:ListAllMyBuckets",
"s3:ListBucket"
],
"Resource": "*"
}
]
}
Version history
Current version v3, edited by AWS on 2020-06-30. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AWSDataSyncReadOnlyAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSDataSyncReadOnlyAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSDataSyncReadOnlyAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AWSDataSyncReadOnlyAccessTerraform
resource "aws_iam_role_policy_attachment" "awsdatasyncreadonlyaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AWSDataSyncReadOnlyAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AWSDataSyncReadOnlyAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.