datasync:CreateLocationS3 is a Write access-level action in the datasync service. Grants permission to create an endpoint for an Amazon S3 bucket
ARNs that datasync:CreateLocationS3 can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants datasync:CreateLocationS3.
Filters access by the tag key-value pairs in the request
Filters access by the tag keys in the request
Filters access by the tag key-value pairs associated with the resource
A minimal policy that allows datasync:CreateLocationS3. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDatasyncCreateLocationS3",
"Effect": "Allow",
"Action": "datasync:CreateLocationS3",
"Resource": "*"
}
]
}