AWS Fundamentals Logo
AWS Fundamentals
AWS::DataSync::LocationObjectStorage

DataSync LocationObjectStorage

Resource Type definition for AWS::DataSync::LocationObjectStorage.

Properties

12 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
AccessKey
string
AgentArns
Array<string>
BucketName
string
Create-onlyWrite-only
CmkSecretConfig
CmkSecretConfig
CustomSecretConfig
CustomSecretConfig
SecretKey
string
Write-only
ServerCertificate
string
ServerHostname
string
Write-only
ServerPort
integer
ServerProtocol
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 location that is created.
LocationUristringThe URL of the object storage location that was described.
ManagedSecretConfigManagedSecretConfig-

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::LocationObjectStorage

Resources:
  MyResource:
    Type: AWS::DataSync::LocationObjectStorage
    Properties:
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

datasync:CreateLocationObjectStoragedatasync:DescribeLocationObjectStoragedatasync:ListTagsForResourcedatasync:TagResourcesecretsmanager:CreateSecretsecretsmanager:PutSecretValuesecretsmanager:DeleteSecretiam:CreateServiceLinkedRole

read

datasync:DescribeLocationObjectStoragedatasync:ListTagsForResource

update

datasync:DescribeLocationObjectStoragedatasync:ListTagsForResourcedatasync:TagResourcedatasync:UntagResourcedatasync:UpdateLocationObjectStoragesecretsmanager:UpdateSecretsecretsmanager:DeleteSecretsecretsmanager:PutSecretValue

delete

datasync:DeleteLocationsecretsmanager:DeleteSecret

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
Properties15
Required0
TaggingSupported
Primary IDLocationArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

BucketName

External Links