Class CfnLocationAzureBlob.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationAzureBlob>
- Enclosing class:
CfnLocationAzureBlob
CfnLocationAzureBlob
.-
Method Summary
Modifier and TypeMethodDescription(Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.azureAccessTier
(String azureAccessTier) Specifies the access tier that you want your objects or files transferred into.azureBlobAuthenticationType
(String azureBlobAuthenticationType) Specifies the authentication method DataSync uses to access your Azure Blob Storage.azureBlobContainerUrl
(String azureBlobContainerUrl) Specifies the URL of the Azure Blob Storage container involved in your transfer.azureBlobSasConfiguration
(IResolvable azureBlobSasConfiguration) Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.azureBlobSasConfiguration
(CfnLocationAzureBlob.AzureBlobSasConfigurationProperty azureBlobSasConfiguration) Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.azureBlobType
(String azureBlobType) Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage.build()
cmkSecretConfig
(IResolvable cmkSecretConfig) Specifies configuration information for a DataSync-managed secret, such as an authentication token or secret key that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .cmkSecretConfig
(CfnLocationAzureBlob.CmkSecretConfigProperty cmkSecretConfig) Specifies configuration information for a DataSync-managed secret, such as an authentication token or secret key that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .static CfnLocationAzureBlob.Builder
customSecretConfig
(IResolvable customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text.customSecretConfig
(CfnLocationAzureBlob.CustomSecretConfigProperty customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text.subdirectory
(String subdirectory) Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images
).Specifies labels that help you categorize, filter, and search for your AWS resources.
-
Method Details
-
create
@Stability(Stable) public static CfnLocationAzureBlob.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnLocationAzureBlob.Builder
.
-
azureBlobAuthenticationType
@Stability(Stable) public CfnLocationAzureBlob.Builder azureBlobAuthenticationType(String azureBlobAuthenticationType) 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"
- Parameters:
azureBlobAuthenticationType
- Specifies the authentication method DataSync uses to access your Azure Blob Storage. This parameter is required.- Returns:
this
- See Also:
-
agentArns
(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.
- Parameters:
agentArns
- (Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container. This parameter is required.- Returns:
this
- See Also:
-
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 .
Default: - "HOT"
- Parameters:
azureAccessTier
- Specifies the access tier that you want your objects or files transferred into. This parameter is required.- Returns:
this
- See Also:
-
azureBlobContainerUrl
@Stability(Stable) public CfnLocationAzureBlob.Builder azureBlobContainerUrl(String azureBlobContainerUrl) Specifies the URL of the Azure Blob Storage container involved in your transfer.- Parameters:
azureBlobContainerUrl
- Specifies the URL of the Azure Blob Storage container involved in your transfer. This parameter is required.- Returns:
this
- See Also:
-
azureBlobSasConfiguration
@Stability(Stable) public CfnLocationAzureBlob.Builder azureBlobSasConfiguration(IResolvable 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 usingCmkSecretConfig
orCustomSecretConfig
, then DataSync stores the token using your AWS account's secrets manager secret.- Parameters:
azureBlobSasConfiguration
- Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. This parameter is required.- Returns:
this
- See Also:
-
azureBlobSasConfiguration
@Stability(Stable) public CfnLocationAzureBlob.Builder azureBlobSasConfiguration(CfnLocationAzureBlob.AzureBlobSasConfigurationProperty 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 usingCmkSecretConfig
orCustomSecretConfig
, then DataSync stores the token using your AWS account's secrets manager secret.- Parameters:
azureBlobSasConfiguration
- Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. This parameter is required.- Returns:
this
- See Also:
-
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 .
Default: - "BLOCK"
- Parameters:
azureBlobType
- Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. This parameter is required.- Returns:
this
- See Also:
-
cmkSecretConfig
Specifies configuration information for a DataSync-managed secret, such as an authentication token or secret key that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .You can use either
CmkSecretConfig
orCustomSecretConfig
to provide credentials for aCreateLocation
request. Do not provide both parameters for the same request.- Parameters:
cmkSecretConfig
- Specifies configuration information for a DataSync-managed secret, such as an authentication token or secret key that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key . This parameter is required.- Returns:
this
- See Also:
-
cmkSecretConfig
@Stability(Stable) public CfnLocationAzureBlob.Builder cmkSecretConfig(CfnLocationAzureBlob.CmkSecretConfigProperty cmkSecretConfig) Specifies configuration information for a DataSync-managed secret, such as an authentication token or secret key that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .You can use either
CmkSecretConfig
orCustomSecretConfig
to provide credentials for aCreateLocation
request. Do not provide both parameters for the same request.- Parameters:
cmkSecretConfig
- Specifies configuration information for a DataSync-managed secret, such as an authentication token or secret key that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key . This parameter is required.- Returns:
this
- See Also:
-
customSecretConfig
@Stability(Stable) public CfnLocationAzureBlob.Builder customSecretConfig(IResolvable customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text.This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
You can use either
CmkSecretConfig
orCustomSecretConfig
to provide credentials for aCreateLocation
request. Do not provide both parameters for the same request.- Parameters:
customSecretConfig
- Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text. This parameter is required.- Returns:
this
- See Also:
-
customSecretConfig
@Stability(Stable) public CfnLocationAzureBlob.Builder customSecretConfig(CfnLocationAzureBlob.CustomSecretConfigProperty customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text.This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
You can use either
CmkSecretConfig
orCustomSecretConfig
to provide credentials for aCreateLocation
request. Do not provide both parameters for the same request.- Parameters:
customSecretConfig
- Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text. This parameter is required.- Returns:
this
- See Also:
-
subdirectory
Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images
).- Parameters:
subdirectory
- Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images
). This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
tags
- Specifies labels that help you categorize, filter, and search for your AWS resources. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLocationAzureBlob>
- Returns:
- a newly built instance of
CfnLocationAzureBlob
.
-