AWS Fundamentals Logo
AWS Fundamentals
AWS::DataSync::LocationS3

DataSync LocationS3

Resource schema for AWS::DataSync::LocationS3

Properties

5 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
S3Config
S3Config
Required
S3BucketArn
string
Create-onlyWrite-only
S3StorageClass
string
Subdirectory
string
Write-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
LocationArnstringThe Amazon Resource Name (ARN) of the Amazon S3 bucket location.
LocationUristringThe URL of the S3 location that was described.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::DataSync::LocationS3

Resources:
  MyResource:
    Type: AWS::DataSync::LocationS3
    Properties:
      S3Config: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

datasync:CreateLocationS3datasync:DescribeLocationS3datasync:ListTagsForResourcedatasync:TagResources3:ListAllMyBucketss3:ListBucketiam:GetRoleiam:PassRole

read

datasync:DescribeLocationS3datasync:ListTagsForResource

update

datasync:DescribeLocationS3datasync:ListTagsForResourcedatasync:TagResourcedatasync:UntagResourcedatasync:UpdateLocationS3iam:PassRole

delete

datasync:DeleteLocation

list

datasync:ListLocations

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceDataSync
Properties7
Required1
TaggingSupported
Primary IDLocationArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

S3BucketArn

External Links