AWS::DataSync Construct Library
This module is part of the AWS Cloud Development Kit project.
ts
import * as datasync from 'aws-cdk-lib/aws-datasync';
python
import aws_cdk.aws_datasync as datasync
java
import software.amazon.awscdk.services.datasync.*;
csharp
using Amazon.CDK.AWS.DataSync;
go
import datasync "github.com/aws/aws-cdk-go/awscdk"
There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:
- Search Construct Hub for DataSync construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::DataSync resources directly.
There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.
For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::DataSync.
(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)
Types
Constructs (L1)
CfnAgentConstruct (L1)
TheAWS::DataSync::Agentresource activates an AWS DataSync agent that you've deployed for storage discovery or data transfers.CfnLocationAzureBlobConstruct (L1)
Creates a transfer location for a Microsoft Azure Blob Storage container.CfnLocationEFSConstruct (L1)
TheAWS::DataSync::LocationEFSresource creates an endpoint for an Amazon EFS file system.CfnLocationFSxLustreConstruct (L1)
TheAWS::DataSync::LocationFSxLustreresource specifies an endpoint for an Amazon FSx for Lustre file system.CfnLocationFSxONTAPConstruct (L1)
TheAWS::DataSync::LocationFSxONTAPresource creates an endpoint for an Amazon FSx for NetApp ONTAP file system.CfnLocationFSxOpenZFSConstruct (L1)
TheAWS::DataSync::LocationFSxOpenZFSresource specifies an endpoint for an Amazon FSx for OpenZFS file system.CfnLocationFSxWindowsConstruct (L1)
TheAWS::DataSync::LocationFSxWindowsresource specifies an endpoint for an Amazon FSx for Windows Server file system.CfnLocationHDFSConstruct (L1)
TheAWS::DataSync::LocationHDFSresource specifies an endpoint for a Hadoop Distributed File System (HDFS).CfnLocationNFSConstruct (L1)
TheAWS::DataSync::LocationNFSresource specifies a Network File System (NFS) file server that AWS DataSync can use as a transfer source or destination.CfnLocationObjectStorageConstruct (L1)
TheAWS::DataSync::LocationObjectStorageresource specifies an endpoint for a self-managed object storage bucket.CfnLocationS3Construct (L1)
TheAWS::DataSync::LocationS3resource specifies an endpoint for an Amazon S3 bucket.CfnLocationSMBConstruct (L1)
TheAWS::DataSync::LocationSMBresource specifies a Server Message Block (SMB) location that AWS DataSync can use as a transfer source or destination.CfnTaskConstruct (L1)
TheAWS::DataSync::Taskresource specifies a task.
Structs
CfnAgentPropsStruct
Properties for defining aCfnAgent.CfnLocationAzureBlob.StructAzure Blob Sas Configuration Property
The shared access signature (SAS) configuration that allows AWS DataSync to access your Microsoft Azure Blob Storage.CfnLocationAzureBlob.StructAzure Federated Identity Config Property
Specifies the identity federation configuration that DataSync uses to access your Azure Blob Storage container using an OpenID Connect (OIDC) token.CfnLocationAzureBlob.StructAzureOidcConfigProperty
Specifies the Microsoft Entra (Azure AD) identity that DataSync federates with to obtain an access token for your Azure Blob Storage container.CfnLocationAzureBlob.StructCmkSecretConfigProperty
Specifies configuration information for a DataSync-managed secret, such as an authentication token, secret key, password, or Kerberos keytab that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .CfnLocationAzureBlob.StructCustomSecretConfigProperty
Specifies configuration information for a customer-managed Secrets Manager secret where a storage location credentials is stored in Secrets Manager as plain text (for authentication token, secret key, or password) or as binary (for Kerberos keytab).CfnLocationAzureBlob.StructManagedSecretConfigProperty
Specifies 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.CfnLocationAzureBlobPropsStruct
Properties for defining aCfnLocationAzureBlob.CfnLocationEFS.Ec2ConfigPropertyStruct
The subnet and security groups that AWS DataSync uses to connect to one of your Amazon EFS file system's mount targets .CfnLocationEFSPropsStruct
Properties for defining aCfnLocationEFS.CfnLocationFSxLustrePropsStruct
Properties for defining aCfnLocationFSxLustre.CfnLocationFSxONTAP.StructCmkSecretConfigProperty
Specifies 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.CfnLocationFSxONTAP.StructCustomSecretConfigProperty
Specifies 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.CfnLocationFSxONTAP.StructManagedSecretConfigProperty
Specifies 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.CfnLocationFSxONTAP.StructNfsMountOptionsProperty
Specifies how DataSync can access a location using the NFS protocol.CfnLocationFSxONTAP.NFSPropertyStruct
Specifies the Network File System (NFS) protocol configuration that AWS DataSync uses to access a storage virtual machine (SVM) on your Amazon FSx for NetApp ONTAP file system.CfnLocationFSxONTAP.StructProtocolProperty
Specifies the data transfer protocol that AWS DataSync uses to access your Amazon FSx file system.CfnLocationFSxONTAP.StructSmbMountOptionsProperty
Specifies the version of the Server Message Block (SMB) protocol that AWS DataSync uses to access an SMB file server.CfnLocationFSxONTAP.SMBPropertyStruct
Specifies the Server Message Block (SMB) protocol configuration that AWS DataSync uses to access a storage virtual machine (SVM) on your Amazon FSx for NetApp ONTAP file system.CfnLocationFSxONTAPPropsStruct
Properties for defining aCfnLocationFSxONTAP.CfnLocationFSxOpenZFS.StructMountOptionsProperty
Represents the mount options that are available for DataSync to access a Network File System (NFS) location.CfnLocationFSxOpenZFS.StructNFSProperty
Represents the Network File System (NFS) protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.CfnLocationFSxOpenZFS.StructProtocolProperty
Represents the protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.CfnLocationFSxOpenZFSPropsStruct
Properties for defining aCfnLocationFSxOpenZFS.CfnLocationFSxWindows.StructCmkSecretConfigProperty
Specifies 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.CfnLocationFSxWindows.StructCustomSecretConfigProperty
Specifies 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.CfnLocationFSxWindows.StructManagedSecretConfigProperty
Specifies 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.CfnLocationFSxWindowsPropsStruct
Properties for defining aCfnLocationFSxWindows.CfnLocationHDFS.StructCmkSecretConfigProperty
Specifies 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.CfnLocationHDFS.StructCustomSecretConfigProperty
Specifies 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.CfnLocationHDFS.StructManagedSecretConfigProperty
Specifies 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.CfnLocationHDFS.NameNodePropertyStruct
The NameNode of the Hadoop Distributed File System (HDFS).CfnLocationHDFS.StructQopConfigurationProperty
The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.CfnLocationHDFSPropsStruct
Properties for defining aCfnLocationHDFS.CfnLocationNFS.StructMountOptionsProperty
Specifies the options that DataSync can use to mount your NFS file server.CfnLocationNFS.StructOnPremConfigProperty
The AWS DataSync agents that can connect to your Network File System (NFS) file server.CfnLocationNFSPropsStruct
Properties for defining aCfnLocationNFS.CfnLocationObjectStorage.StructCmkSecretConfigProperty
Specifies configuration information for a DataSync-managed secret, such as an authentication token, secret key, password, or Kerberos keytab that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .CfnLocationObjectStorage.StructCustomSecretConfigProperty
Specifies configuration information for a customer-managed Secrets Manager secret where a storage location credentials is stored in Secrets Manager as plain text (for authentication token, secret key, or password) or as binary (for Kerberos keytab).CfnLocationObjectStorage.StructGoogleOidcConfigProperty
Specifies the Google Cloud workload identity federation configuration that DataSync uses to obtain an access token for your Google Cloud Storage bucket.CfnLocationObjectStorage.StructManagedSecretConfigProperty
Specifies 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.CfnLocationObjectStorage.StructObject Storage External Identity Config Property
Specifies the external (non-AWS) identity provider that DataSync federates with to access your object storage location.CfnLocationObjectStorage.StructObject Storage Federated Identity Config Property
Specifies the identity federation configuration that DataSync uses to access your object storage location using an OpenID Connect (OIDC) token.CfnLocationObjectStoragePropsStruct
Properties for defining aCfnLocationObjectStorage.CfnLocationS3.S3ConfigPropertyStruct
Specifies the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.CfnLocationS3PropsStruct
Properties for defining aCfnLocationS3.CfnLocationSMB.StructCmkSecretConfigProperty
Specifies configuration information for a DataSync-managed secret, such as an authentication token, secret key, password, or Kerberos keytab that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .CfnLocationSMB.StructCustomSecretConfigProperty
Specifies configuration information for a customer-managed Secrets Manager secret where a storage location credentials is stored in Secrets Manager as plain text (for authentication token, secret key, or password) or as binary (for Kerberos keytab).CfnLocationSMB.StructManagedSecretConfigProperty
Specifies 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.CfnLocationSMB.StructMountOptionsProperty
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.CfnLocationSMBPropsStruct
Properties for defining aCfnLocationSMB.CfnTask.DeletedPropertyStruct
Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location.CfnTask.DestinationPropertyStruct
Specifies where DataSync uploads your task report.CfnTask.FilterRulePropertyStruct
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.CfnTask.ManifestConfigPropertyStruct
Configures a manifest, which is a list of files or objects that you want AWS DataSync to transfer.CfnTask.StructManifestConfigSourceS3Property
Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.CfnTask.OptionsPropertyStruct
Represents the options that are available to control the behavior of a StartTaskExecution operation. This behavior includes preserving metadata, such as user ID (UID), group ID (GID), and file permissions; overwriting files in the destination; data integrity verification; and so on.CfnTask.OverridesPropertyStruct
Customizes the reporting level for aspects of your task report.CfnTask.S3PropertyStructCfnTask.SkippedPropertyStruct
Specifies the level of reporting for the files, objects, and directories that Datasync attempted to skip during your transfer.CfnTask.SourcePropertyStruct
Specifies the manifest that you want DataSync to use and where it's hosted.CfnTask.TaskReportConfigPropertyStruct
Specifies how you want to configure a task report, which provides detailed information about for your AWS DataSync transfer.CfnTask.TaskSchedulePropertyStruct
Configures your AWS DataSync task to run on a schedule (at a minimum interval of 1 hour).CfnTask.TransferredPropertyStruct
Specifies the level of reporting for the files, objects, and directories that Datasync attempted to transfer.CfnTask.VerifiedPropertyStruct
Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer.CfnTaskPropsStruct
Properties for defining aCfnTask.