CfnLocationAzureBlobProps Struct
Properties for defining a CfnLocationAzureBlob.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datasync as datasync } from 'aws-cdk-lib';
const cfnLocationAzureBlobProps: datasync.CfnLocationAzureBlobProps = {
azureBlobAuthenticationType: 'azureBlobAuthenticationType',
// the properties below are optional
agentArns: ['agentArns'],
azureAccessTier: 'azureAccessTier',
azureBlobContainerUrl: 'azureBlobContainerUrl',
azureBlobSasConfiguration: {
azureBlobSasToken: 'azureBlobSasToken',
},
azureBlobType: 'azureBlobType',
cmkSecretConfig: {
kmsKeyArn: 'kmsKeyArn',
secretArn: 'secretArn',
},
customSecretConfig: {
secretAccessRoleArn: 'secretAccessRoleArn',
secretArn: 'secretArn',
},
federatedIdentity: {
awsIamRole: 'awsIamRole',
azureOidc: {
clientId: 'clientId',
tenantId: 'tenantId',
},
},
subdirectory: 'subdirectory',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
agentArnsoptionalstring[]agent_arnsoptionaltyping.List[str]agentArnsoptionalList<String>AgentArnsoptionalstring[]AgentArnsoptional*[]*string#notes
If you are setting up an agentless cross-cloud transfer, you do not need to specify a value for this parameter.
You can specify more than one agent. For more information, see Using multiple agents for your transfer .
Make sure you configure this parameter correctly when you first create your storage location. You cannot add or remove agents from a storage location after you create it.
azureAccessTieroptionalstringazure_access_tieroptionalstrazureAccessTieroptionalStringAzureAccessTieroptionalstringAzureAccessTieroptional*string= "HOT"#This only applies when using the location as a transfer destination. For more information, see Access tiers .
azureBlobAuthenticationTypestringazure_blob_authentication_typestrazureBlobAuthenticationTypeStringAzureBlobAuthenticationTypestringAzureBlobAuthenticationType*string= "SAS"required#DataSync can access blob storage using a shared access signature (SAS).
azureBlobContainerUrloptionalstringazure_blob_container_urloptionalstrazureBlobContainerUrloptionalStringAzureBlobContainerUrloptionalstringAzureBlobContainerUrloptional*string#azureBlobSasConfigurationoptionalIResolvable | CfnLocationAzureBlob.AzureBlobSasConfigurationPropertyazure_blob_sas_configurationoptionaltyping.Union[IResolvable, AzureBlobSasConfigurationProperty]azureBlobSasConfigurationoptionalIResolvableAzureBlobSasConfigurationoptionalIResolvableAzureBlobSasConfigurationoptionalinterface{}#notes
If you provide an authentication token using
SasConfiguration, but do not provide secret configuration details usingCmkSecretConfigorCustomSecretConfig, then DataSync stores the token using your AWS account's secrets manager secret.
azureBlobTypeoptionalstringazure_blob_typeoptionalstrazureBlobTypeoptionalStringAzureBlobTypeoptionalstringAzureBlobTypeoptional*string= "BLOCK"#notes
Currently, DataSync only supports moving data into Azure Blob Storage as block blobs. For more information on blob types, see the Azure Blob Storage documentation .
cmkSecretConfigoptionalIResolvable | CfnLocationAzureBlob.CmkSecretConfigPropertycmk_secret_configoptionaltyping.Union[IResolvable, CmkSecretConfigProperty]cmkSecretConfigoptionalIResolvableCmkSecretConfigoptionalIResolvableCmkSecretConfigoptionalinterface{}#You can use either
CmkSecretConfigorCustomSecretConfigto provide credentials for aCreateLocationrequest. Do not provide both parameters for the same request.
customSecretConfigoptionalIResolvable | CfnLocationAzureBlob.CustomSecretConfigPropertycustom_secret_configoptionaltyping.Union[IResolvable, CustomSecretConfigProperty]customSecretConfigoptionalIResolvableCustomSecretConfigoptionalIResolvableCustomSecretConfigoptionalinterface{}#notes
This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
You can use either
CmkSecretConfigorCustomSecretConfigto provide credentials for aCreateLocationrequest. Do not provide both parameters for the same request.
federatedIdentityoptionalIResolvable | CfnLocationAzureBlob.AzureFederatedIdentityConfigPropertyfederated_identityoptionaltyping.Union[IResolvable, AzureFederatedIdentityConfigProperty]federatedIdentityoptionalIResolvableFederatedIdentityoptionalIResolvableFederatedIdentityoptionalinterface{}#subdirectoryoptionalstringsubdirectoryoptionalstrsubdirectoryoptionalStringSubdirectoryoptionalstringSubdirectoryoptional*string#