CfnLocationAzureBlobProps
- class aws_cdk.aws_datasync.CfnLocationAzureBlobProps(*, agent_arns, azure_blob_authentication_type, azure_access_tier=None, azure_blob_container_url=None, azure_blob_sas_configuration=None, azure_blob_type=None, subdirectory=None, tags=None)
Bases:
object
Properties for defining a
CfnLocationAzureBlob
.- Parameters:
agent_arns (
Sequence
[str
]) – Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container. You can specify more than one agent. For more information, see Using multiple agents for your transfer .azure_blob_authentication_type (
str
) – Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS). Default: - “SAS”azure_access_tier (
Optional
[str
]) – Specifies the access tier that you want your objects or files transferred into. This only applies when using the location as a transfer destination. For more information, see Access tiers . Default: - “HOT”azure_blob_container_url (
Optional
[str
]) – Specifies the URL of the Azure Blob Storage container involved in your transfer.azure_blob_sas_configuration (
Union
[IResolvable
,AzureBlobSasConfigurationProperty
,Dict
[str
,Any
],None
]) – Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.azure_blob_type (
Optional
[str
]) – Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. 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 . Default: - “BLOCK”subdirectory (
Optional
[str
]) – Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images
).tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least a name tag for your transfer location.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_datasync as datasync cfn_location_azure_blob_props = datasync.CfnLocationAzureBlobProps( agent_arns=["agentArns"], azure_blob_authentication_type="azureBlobAuthenticationType", # the properties below are optional azure_access_tier="azureAccessTier", azure_blob_container_url="azureBlobContainerUrl", azure_blob_sas_configuration=datasync.CfnLocationAzureBlob.AzureBlobSasConfigurationProperty( azure_blob_sas_token="azureBlobSasToken" ), azure_blob_type="azureBlobType", subdirectory="subdirectory", tags=[CfnTag( key="key", value="value" )] )
Attributes
- agent_arns
Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.
You can specify more than one agent. For more information, see Using multiple agents for your transfer .
- azure_access_tier
Specifies the access tier that you want your objects or files transferred into.
This only applies when using the location as a transfer destination. For more information, see Access tiers .
- azure_blob_authentication_type
Specifies the authentication method DataSync uses to access your Azure Blob Storage.
DataSync can access blob storage using a shared access signature (SAS).
- azure_blob_container_url
Specifies the URL of the Azure Blob Storage container involved in your transfer.
- azure_blob_sas_configuration
Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.
- azure_blob_type
Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage.
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 .
- subdirectory
Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,
/my/images
).
- tags
Specifies labels that help you categorize, filter, and search for your AWS resources.
We recommend creating at least a name tag for your transfer location.