Skip to main content

Aws/datasync

@swamp/aws/datasyncv2026.10.25.1· AGPL-3.0-or-later· 1d agoBEHAVIORS
01README

AWS DATASYNC infrastructure models

02Release Notes
  • Updated: location_azure_blob, location_fsx_ontap, location_fsx_windows, location_hdfs, location_object_storage, location_smb, task
03Behaviors13
@swamp/aws/datasync/agentv2026.10.23.1agent.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
AgentName?stringThe name configured for the agent. Text reference used to identify the agent in the console.
ActivationKey?stringActivation key of the Agent.
SecurityGroupArns?arrayThe ARNs of the security group used to protect your data transfer task subnets.
SubnetArns?arrayThe ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
VpcEndpointId?stringThe ID of the VPC endpoint that the agent has access to.
Tags?arrayAn array of key-value pairs to apply to this resource.
fn create()
Create a DataSync Agent
fn get(identifier: string)
Get a DataSync Agent
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync Agent
fn update()
Update a DataSync Agent
fn delete(identifier: string)
Delete a DataSync Agent
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync Agent
fn sync()
Sync DataSync Agent state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync Agent resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync Agent resource state
@swamp/aws/datasync/location-azure-blobv2026.10.25.1location_azure_blob.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
AgentArns?arraySpecifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container. If you are setting up an agentless cross-cloud transfer, you do not need to specify a value for this parameter.
AzureBlobAuthenticationTypeenumThe specific authentication type that you want DataSync to use to access your Azure Blob Container.
AzureBlobSasConfiguration?objectSpecifies the shared access signature (SAS) that DataSync uses to access your Azure Blob Storage container.
AzureBlobContainerUrl?stringThe URL of the Azure Blob container that was described.
AzureBlobType?enumSpecifies a blob type for the objects you're transferring into your Azure Blob Storage container.
AzureAccessTier?enumSpecifies an access tier for the objects you're transferring into your Azure Blob Storage container.
Subdirectory?stringThe subdirectory in the Azure Blob Container that is used to read data from the Azure Blob Source Location.
Tags?arrayAn array of key-value pairs to apply to this resource.
CmkSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
CustomSecretConfig?objectSpecifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.
ManagedSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
FederatedIdentity?objectSpecifies the identity federation configuration that DataSync uses to access your Azure Blob Storage container using an OpenID Connect (OIDC) token.
fn create()
Create a DataSync LocationAzureBlob
fn get(identifier: string)
Get a DataSync LocationAzureBlob
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationAzureBlob
fn update()
Update a DataSync LocationAzureBlob
fn delete(identifier: string)
Delete a DataSync LocationAzureBlob
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationAzureBlob
fn sync()
Sync DataSync LocationAzureBlob state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationAzureBlob resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationAzureBlob resource state
@swamp/aws/datasync/location-efsv2026.10.23.1location_efs.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Ec2ConfigobjectThe subnet and security group that DataSync uses to access target EFS file system.
EfsFilesystemArn?stringThe Amazon Resource Name (ARN) for the Amazon EFS file system.
AccessPointArn?stringThe Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system.
FileSystemAccessRoleArn?stringThe Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system.
InTransitEncryption?enumProtocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system.
Subdirectory?stringA subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination.
Tags?arrayAn array of key-value pairs to apply to this resource.
fn create()
Create a DataSync LocationEFS
fn get(identifier: string)
Get a DataSync LocationEFS
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationEFS
fn update()
Update a DataSync LocationEFS
fn delete(identifier: string)
Delete a DataSync LocationEFS
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationEFS
fn sync()
Sync DataSync LocationEFS state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationEFS resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationEFS resource state
@swamp/aws/datasync/location-fsx-lustrev2026.10.23.1location_fsx_lustre.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
FsxFilesystemArn?stringThe Amazon Resource Name (ARN) for the FSx for Lustre file system.
SecurityGroupArnsarrayThe ARNs of the security groups that are to use to configure the FSx for Lustre file system.
Subdirectory?stringA subdirectory in the location's path.
Tags?arrayAn array of key-value pairs to apply to this resource.
fn create()
Create a DataSync LocationFSxLustre
fn get(identifier: string)
Get a DataSync LocationFSxLustre
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationFSxLustre
fn update()
Update a DataSync LocationFSxLustre
fn delete(identifier: string)
Delete a DataSync LocationFSxLustre
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationFSxLustre
fn sync()
Sync DataSync LocationFSxLustre state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationFSxLustre resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationFSxLustre resource state
@swamp/aws/datasync/location-fsx-ontapv2026.10.25.1location_fsx_ontap.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
StorageVirtualMachineArnstringThe Amazon Resource Name (ARN) for the FSx ONTAP SVM.
SecurityGroupArnsarrayThe ARNs of the security groups that are to use to configure the FSx ONTAP file system.
Protocol?objectConfiguration settings for NFS or SMB protocol.
Subdirectory?stringA subdirectory in the location's path.
Tags?arrayAn array of key-value pairs to apply to this resource.
fn create()
Create a DataSync LocationFSxONTAP
fn get(identifier: string)
Get a DataSync LocationFSxONTAP
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationFSxONTAP
fn update()
Update a DataSync LocationFSxONTAP
fn delete(identifier: string)
Delete a DataSync LocationFSxONTAP
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationFSxONTAP
fn sync()
Sync DataSync LocationFSxONTAP state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationFSxONTAP resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationFSxONTAP resource state
@swamp/aws/datasync/location-fsx-open-zfsv2026.10.23.1location_fsx_open_zfs.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
FsxFilesystemArn?stringThe Amazon Resource Name (ARN) for the FSx OpenZFS file system.
SecurityGroupArnsarrayThe ARNs of the security groups that are to use to configure the FSx OpenZFS file system.
ProtocolobjectConfiguration settings for an NFS or SMB protocol, currently only support NFS
Subdirectory?stringA subdirectory in the location's path.
Tags?arrayAn array of key-value pairs to apply to this resource.
fn create()
Create a DataSync LocationFSxOpenZFS
fn get(identifier: string)
Get a DataSync LocationFSxOpenZFS
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationFSxOpenZFS
fn update()
Update a DataSync LocationFSxOpenZFS
fn delete(identifier: string)
Delete a DataSync LocationFSxOpenZFS
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationFSxOpenZFS
fn sync()
Sync DataSync LocationFSxOpenZFS state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationFSxOpenZFS resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationFSxOpenZFS resource state
@swamp/aws/datasync/location-fsx-windowsv2026.10.25.1location_fsx_windows.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Domain?stringThe name of the Windows domain that the FSx for Windows server belongs to.
FsxFilesystemArn?stringThe Amazon Resource Name (ARN) for the FSx for Windows file system.
Password?stringThe password of the user who has the permissions to access files and folders in the FSx for Windows file system.
SecurityGroupArnsarrayThe ARNs of the security groups that are to use to configure the FSx for Windows file system.
Subdirectory?stringA subdirectory in the location's path.
UserstringThe user who has the permissions to access files and folders in the FSx for Windows file system.
Tags?arrayAn array of key-value pairs to apply to this resource.
CmkSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
CustomSecretConfig?objectSpecifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.
ManagedSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
fn create()
Create a DataSync LocationFSxWindows
fn get(identifier: string)
Get a DataSync LocationFSxWindows
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationFSxWindows
fn update()
Update a DataSync LocationFSxWindows
fn delete(identifier: string)
Delete a DataSync LocationFSxWindows
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationFSxWindows
fn sync()
Sync DataSync LocationFSxWindows state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationFSxWindows resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationFSxWindows resource state
@swamp/aws/datasync/location-hdfsv2026.10.25.1location_hdfs.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
NameNodesarrayAn array of Name Node(s) of the HDFS location.
BlockSize?numberSize of chunks (blocks) in bytes that the data is divided into when stored in the HDFS cluster.
ReplicationFactor?numberNumber of copies of each block that exists inside the HDFS cluster.
KmsKeyProviderUri?stringThe identifier for the Key Management Server where the encryption keys that encrypt data inside HDFS clusters are stored.
QopConfiguration?objectConfiguration information for RPC Protection and Data Transfer Protection. These parameters can be set to AUTHENTICATION, INTEGRITY, or PRIVACY. The default value is PRIVACY.
AuthenticationTypeenumThe authentication mode used to determine identity of user.
SimpleUser?stringThe user name that has read and write permissions on the specified HDFS cluster.
KerberosPrincipal?stringThe unique identity, or principal, to which Kerberos can assign tickets.
KerberosKeytab?stringThe Base64 string representation of the Keytab file.
KerberosKrb5Conf?stringThe string representation of the Krb5Conf file, or the presigned URL to access the Krb5.conf file within an S3 bucket.
Tags?arrayAn array of key-value pairs to apply to this resource.
AgentArnsarrayARN(s) of the agent(s) to use for an HDFS location.
Subdirectory?stringThe subdirectory in HDFS that is used to read data from the HDFS source location or write data to the HDFS destination.
CmkSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
CustomSecretConfig?objectSpecifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.
ManagedSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
fn create()
Create a DataSync LocationHDFS
fn get(identifier: string)
Get a DataSync LocationHDFS
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationHDFS
fn update()
Update a DataSync LocationHDFS
fn delete(identifier: string)
Delete a DataSync LocationHDFS
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationHDFS
fn sync()
Sync DataSync LocationHDFS state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationHDFS resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationHDFS resource state
@swamp/aws/datasync/location-nfsv2026.10.23.1location_nfs.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
MountOptions?objectThe NFS mount options that DataSync can use to mount your NFS share.
OnPremConfigobjectContains a list of Amazon Resource Names (ARNs) of agents that are used to connect an NFS server.
ServerHostname?stringThe name of the NFS server. This value is the IP address or DNS name of the NFS server.
Subdirectory?stringThe subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
Tags?arrayAn array of key-value pairs to apply to this resource.
fn create()
Create a DataSync LocationNFS
fn get(identifier: string)
Get a DataSync LocationNFS
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationNFS
fn update()
Update a DataSync LocationNFS
fn delete(identifier: string)
Delete a DataSync LocationNFS
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationNFS
fn sync()
Sync DataSync LocationNFS state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationNFS resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationNFS resource state
@swamp/aws/datasync/location-object-storagev2026.10.25.1location_object_storage.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
AccessKey?stringOptional. The access key is used if credentials are required to access the self-managed object storage server.
AgentArns?arraySpecifies the Amazon Resource Names (ARNs) of the DataSync agents that can connect with your object storage system. If you are setting up an agentless cross-cloud transfer, you do not need to specify a value for this parameter.
BucketName?stringThe name of the bucket on the self-managed object storage server.
SecretKey?stringOptional. The secret key is used if credentials are required to access the self-managed object storage server.
ServerCertificate?stringX.509 PEM content containing a certificate authority or chain to trust.
ServerHostname?stringThe name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server.
ServerPort?numberThe port that your self-managed server accepts inbound network traffic on.
ServerProtocol?enumThe protocol that the object storage server uses to communicate.
Subdirectory?stringThe subdirectory in the self-managed object storage server that is used to read data from.
Tags?arrayAn array of key-value pairs to apply to this resource.
CmkSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
CustomSecretConfig?objectSpecifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.
ManagedSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
FederatedIdentity?objectSpecifies the identity federation configuration that DataSync uses to access your object storage location using an OpenID Connect (OIDC) token.
fn create()
Create a DataSync LocationObjectStorage
fn get(identifier: string)
Get a DataSync LocationObjectStorage
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationObjectStorage
fn update()
Update a DataSync LocationObjectStorage
fn delete(identifier: string)
Delete a DataSync LocationObjectStorage
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationObjectStorage
fn sync()
Sync DataSync LocationObjectStorage state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationObjectStorage resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationObjectStorage resource state
@swamp/aws/datasync/location-s3v2026.10.23.1location_s3.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
S3ConfigobjectThe Amazon Resource Name (ARN) of the AWS IAM role that is used to access an Amazon S3 bucket.
S3BucketArn?stringThe Amazon Resource Name (ARN) of the Amazon S3 bucket.
Subdirectory?stringA subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.
S3StorageClass?enumThe Amazon S3 storage class you want to store your files in when this location is used as a task destination.
Tags?arrayAn array of key-value pairs to apply to this resource.
fn create()
Create a DataSync LocationS3
fn get(identifier: string)
Get a DataSync LocationS3
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationS3
fn update()
Update a DataSync LocationS3
fn delete(identifier: string)
Delete a DataSync LocationS3
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationS3
fn sync()
Sync DataSync LocationS3 state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationS3 resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationS3 resource state
@swamp/aws/datasync/location-smbv2026.10.25.1location_smb.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
AgentArnsarrayThe Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
Domain?stringThe name of the Windows domain that the SMB server belongs to.
MountOptions?objectThe mount options used by DataSync to access the SMB server.
Password?stringThe password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
ServerHostname?stringThe name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server.
Subdirectory?stringThe subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination
User?stringThe user who can mount the share, has the permissions to access files and folders in the SMB share.
Tags?arrayAn array of key-value pairs to apply to this resource.
AuthenticationType?enumThe authentication mode used to determine identity of user.
DnsIpAddresses?arraySpecifies the IPv4 addresses for the DNS servers that your SMB file server belongs to. This parameter applies only if AuthenticationType is set to KERBEROS. If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right SMB file server.
KerberosPrincipal?stringSpecifies a service principal name (SPN), which is an identity in your Kerberos realm that has permission to access the files, folders, and file metadata in your SMB file server. SPNs are case sensitive and must include a prepended cifs/. For example, an SPN might look like cifs/kerberosuser@EXAMPLE.COM. Your task execution will fail if the SPN that you provide for this parameter doesn't match exactly what's in your keytab or krb5.conf files.
KerberosKeytab?stringThe Base64 string representation of the Keytab file. Specifies your Kerberos key table (keytab) file, which includes mappings between your service principal name (SPN) and encryption keys. To avoid task execution errors, make sure that the SPN in the keytab file matches exactly what you specify for KerberosPrincipal and in your krb5.conf file.
KerberosKrb5Conf?stringThe string representation of the Krb5Conf file, or the presigned URL to access the Krb5.conf file within an S3 bucket. Specifies a Kerberos configuration file (krb5.conf) that defines your Kerberos realm configuration. To avoid task execution errors, make sure that the service principal name (SPN) in the krb5.conf file matches exactly what you specify for KerberosPrincipal and in your keytab file.
CmkSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
CustomSecretConfig?objectSpecifies configuration information for a customer-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.
ManagedSecretConfig?objectSpecifies configuration information for a DataSync-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
fn create()
Create a DataSync LocationSMB
fn get(identifier: string)
Get a DataSync LocationSMB
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationSMB
fn update()
Update a DataSync LocationSMB
fn delete(identifier: string)
Delete a DataSync LocationSMB
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync LocationSMB
fn sync()
Sync DataSync LocationSMB state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync LocationSMB resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync LocationSMB resource state
@swamp/aws/datasync/taskv2026.10.25.1task.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Excludes?array
Includes?array
Tags?arrayAn array of key-value pairs to apply to this resource.
CloudWatchLogGroupArn?stringThe ARN of the Amazon CloudWatch log group that is used to monitor and log events in the task.
DestinationLocationArnstringThe ARN of an AWS storage resource's location.
Name?stringThe name of a task. This value is a text reference that is used to identify the task in the console.
Options?objectRepresents the options that are available to control the behavior of a StartTaskExecution operation.
TaskReportConfig?objectSpecifies how you want to configure a task report, which provides detailed information about for your Datasync transfer.
ManifestConfig?objectConfigures a manifest, which is a list of files or objects that you want DataSync to transfer.
Schedule?objectSpecifies the schedule you want your task to use for repeated executions.
SourceLocationArnstringThe ARN of the source location for the task.
TaskMode?enumSpecifies the task mode for the task.
fn create()
Create a DataSync Task
fn get(identifier: string)
Get a DataSync Task
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync Task
fn update()
Update a DataSync Task
fn delete(identifier: string)
Delete a DataSync Task
ArgumentTypeDescription
identifierstringThe primary identifier of the DataSync Task
fn sync()
Sync DataSync Task state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DataSync Task resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DataSync Task resource state
04Previous Versions19
2026.10.24.1AGPL-3.0-or-later
2026.10.23.1AGPL-3.0-or-later
  • Updated: agent, location_azure_blob, location_efs, location_fsx_lustre, location_fsx_ontap, location_fsx_open_zfs, location_fsx_windows, location_hdfs, location_nfs, location_object_storage, location_s3, location_smb, task
2026.10.22.1AGPL-3.0-or-later(was none)
  • Updated: task
2026.10.13.1
  • Updated: agent, location_azure_blob, location_efs, location_fsx_lustre, location_fsx_ontap, location_fsx_open_zfs, location_fsx_windows, location_hdfs, location_nfs, location_object_storage, location_s3, location_smb, task
2026.10.08.1
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.25.1
2026.09.24.1
2026.09.23.1
2026.09.22.1
05Stats
A
100 / 100
Downloads
36
Archive size
2.6 MB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels