CreateLocationAzureBlobRequest
¶
Source code in docs_src/capo_datasync/types/create_location_azure_blob_request.py
access_tier
instance-attribute
¶
access_tier: NotRequired[AzureAccessTier]
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.
agent_arns
instance-attribute
¶
agent_arns: NotRequired[AgentArnList]
(Optional) Specifies 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.
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.
authentication_type
instance-attribute
¶
authentication_type: AzureBlobAuthenticationType
Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS).
blob_type
instance-attribute
¶
blob_type: NotRequired[AzureBlobType]
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.
cmk_secret_config
instance-attribute
¶
cmk_secret_config: NotRequired[CmkSecretConfig]
Specifies configuration information for a DataSync-managed secret, which includes the authentication token that DataSync uses to access a specific AzureBlob storage location, with a customer-managed KMS key.
When you include this parameter as part of a CreateLocationAzureBlob request, you provide only the KMS key ARN. DataSync uses this KMS key together with the authentication token you specify for SasConfiguration to create a DataSync-managed secret to store the location access credentials.
Make sure that DataSync has permission to access the KMS key that you specify. For more information, see Using a service-managed secret encrypted with a custom KMS key.
You can use either CmkSecretConfig (with SasConfiguration) or CustomSecretConfig (without SasConfiguration) to provide credentials for a CreateLocationAzureBlob request. Do not provide both parameters for the same request.
container_url
instance-attribute
¶
container_url: AzureBlobContainerUrl
Specifies the URL of the Azure Blob Storage container involved in your transfer.
custom_secret_config
instance-attribute
¶
custom_secret_config: NotRequired[CustomSecretConfig]
Specifies configuration information for a customer-managed Secrets Manager secret where the authentication token for an AzureBlob storage location is stored in plain text, in Secrets Manager. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. For more information, see Using a secret that you manage.
You can use either CmkSecretConfig (with SasConfiguration) or CustomSecretConfig (without SasConfiguration) to provide credentials for a CreateLocationAzureBlob request. Do not provide both parameters for the same request.
sas_configuration
instance-attribute
¶
sas_configuration: NotRequired[AzureBlobSasConfiguration]
Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.
If you provide an authentication token using SasConfiguration, but do not provide secret configuration details using CmkSecretConfig or CustomSecretConfig, then DataSync stores the token using your Amazon Web Services account's secrets manager secret.
subdirectory
instance-attribute
¶
subdirectory: NotRequired[AzureBlobSubdirectory]
Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example, /my/images).
tags
instance-attribute
¶
tags: NotRequired[InputTagList]
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.