AWS Fundamentals Logo
AWS Fundamentals
AWS::DataSync::LocationSMB

DataSync LocationSMB

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

Properties

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

Filter:
PropertyTypeFlags
AgentArns
Array<string>
Required
AuthenticationType
string
CmkSecretConfig
CmkSecretConfig
CustomSecretConfig
CustomSecretConfig
DnsIpAddresses
Array<string>
Domain
string
KerberosKeytab
string
Write-only
KerberosKrb5Conf
string
Write-only
KerberosPrincipal
string
MountOptions
MountOptions
Password
string
Write-only
ServerHostname
string
Write-only
Subdirectory
string
Write-only
Tags
Array<Tag>
User
string

Return Values

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

AttributeTypeDescription
LocationArnstringThe Amazon Resource Name (ARN) of the SMB location that is created.
LocationUristringThe URL of the SMB 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::LocationSMB

Resources:
  MyResource:
    Type: AWS::DataSync::LocationSMB
    Properties:
      AgentArns: "arn:aws:service:region:account:resource"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

datasync:CreateLocationSmbdatasync:DescribeLocationSmbdatasync:ListTagsForResourcedatasync:TagResourcesecretsmanager:CreateSecretsecretsmanager:PutSecretValuesecretsmanager:DeleteSecretiam:CreateServiceLinkedRole

read

datasync:DescribeLocationSmbdatasync:ListTagsForResource

update

datasync:DescribeLocationSmbdatasync:ListTagsForResourcedatasync:TagResourcedatasync:UntagResourcedatasync:UpdateLocationSmbsecretsmanager: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
Properties18
Required1
TaggingSupported
Primary IDLocationArn

Supported Operations

CreateReadUpdateDeleteList

External Links