Class CfnLocationAzureBlob
- All Implemented Interfaces:
IInspectable,ILocationAzureBlobRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
AWS DataSync can use this location as a transfer source or destination. You can make transfers with or without a DataSync agent that connects to your container.
Before you begin, make sure you know how DataSync accesses Azure Blob Storage and works with access tiers and blob types .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.datasync.*;
CfnLocationAzureBlob cfnLocationAzureBlob = CfnLocationAzureBlob.Builder.create(this, "MyCfnLocationAzureBlob")
.azureBlobAuthenticationType("azureBlobAuthenticationType")
// the properties below are optional
.agentArns(List.of("agentArns"))
.azureAccessTier("azureAccessTier")
.azureBlobContainerUrl("azureBlobContainerUrl")
.azureBlobSasConfiguration(AzureBlobSasConfigurationProperty.builder()
.azureBlobSasToken("azureBlobSasToken")
.build())
.azureBlobType("azureBlobType")
.cmkSecretConfig(CmkSecretConfigProperty.builder()
.kmsKeyArn("kmsKeyArn")
.secretArn("secretArn")
.build())
.customSecretConfig(CustomSecretConfigProperty.builder()
.secretAccessRoleArn("secretAccessRoleArn")
.secretArn("secretArn")
.build())
.subdirectory("subdirectory")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe shared access signature (SAS) configuration that allows AWS DataSync to access your Microsoft Azure Blob Storage.static final classA fluent builder forCfnLocationAzureBlob.static interfaceSpecifies 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 interfaceSpecifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text.static interfaceSpecifies 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.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.datasync.ILocationAzureBlobRef
ILocationAzureBlobRef.Jsii$Default, ILocationAzureBlobRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnLocationAzureBlob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationAzureBlob(software.amazon.jsii.JsiiObjectRef objRef) CfnLocationAzureBlob(software.constructs.Construct scope, String id, CfnLocationAzureBlobProps props) Create a newAWS::DataSync::LocationAzureBlob. -
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.Specifies the ARN for the DataSync-managed AWS Secrets Manager secret that that is used to access a specific storage location.The ARN of the Azure Blob Storage transfer location that you created.The URI of the Azure Blob Storage transfer location that you created.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.Specifies the access tier that you want your objects or files transferred into.Specifies the authentication method DataSync uses to access your Azure Blob Storage.Specifies the URL of the Azure Blob Storage container involved in your transfer.Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage.Tag Manager which manages the tags for this resource.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 .Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text.A reference to a LocationAzureBlob resource.Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images).getTags()Specifies labels that help you categorize, filter, and search for your AWS resources.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnLocationAzureBlob.renderProperties(Map<String, Object> props) voidsetAgentArns(List<String> value) (Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.voidsetAzureAccessTier(String value) Specifies the access tier that you want your objects or files transferred into.voidSpecifies the authentication method DataSync uses to access your Azure Blob Storage.voidsetAzureBlobContainerUrl(String value) Specifies the URL of the Azure Blob Storage container involved in your transfer.voidSpecifies the SAS configuration that allows DataSync to access your Azure Blob Storage.voidSpecifies the SAS configuration that allows DataSync to access your Azure Blob Storage.voidsetAzureBlobType(String value) Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage.voidsetCmkSecretConfig(IResolvable value) 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 .voidSpecifies 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 .voidsetCustomSecretConfig(IResolvable value) Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text.voidSpecifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text.voidsetSubdirectory(String value) Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images).voidSpecifies labels that help you categorize, filter, and search for your AWS resources.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnLocationAzureBlob
protected CfnLocationAzureBlob(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLocationAzureBlob
protected CfnLocationAzureBlob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLocationAzureBlob
@Stability(Stable) public CfnLocationAzureBlob(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLocationAzureBlobProps props) Create a newAWS::DataSync::LocationAzureBlob.- 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.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnLocationAzureBlob
Checks whether the given object is a CfnLocationAzureBlob.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCmkSecretConfigSecretArn
Specifies the ARN for the DataSync-managed AWS Secrets Manager secret that that is used to access a specific storage location.This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for
KmsKeyArn. -
getAttrLocationArn
The ARN of the Azure Blob Storage transfer location that you created. -
getAttrLocationUri
The URI of the Azure Blob Storage transfer location that you created. -
getAttrManagedSecretConfig
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.DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getLocationAzureBlobRef
A reference to a LocationAzureBlob resource.- Specified by:
getLocationAzureBlobRefin interfaceILocationAzureBlobRef
-
getAzureBlobAuthenticationType
Specifies the authentication method DataSync uses to access your Azure Blob Storage. -
setAzureBlobAuthenticationType
Specifies the authentication method DataSync uses to access your Azure Blob Storage. -
getAgentArns
(Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container. -
setAgentArns
(Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container. -
getAzureAccessTier
Specifies the access tier that you want your objects or files transferred into. -
setAzureAccessTier
Specifies the access tier that you want your objects or files transferred into. -
getAzureBlobContainerUrl
Specifies the URL of the Azure Blob Storage container involved in your transfer. -
setAzureBlobContainerUrl
Specifies the URL of the Azure Blob Storage container involved in your transfer. -
getAzureBlobSasConfiguration
Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.Returns union: either
IResolvableorCfnLocationAzureBlob.AzureBlobSasConfigurationProperty -
setAzureBlobSasConfiguration
Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. -
setAzureBlobSasConfiguration
@Stability(Stable) public void setAzureBlobSasConfiguration(@Nullable CfnLocationAzureBlob.AzureBlobSasConfigurationProperty value) Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. -
getAzureBlobType
Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. -
setAzureBlobType
Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. -
getCmkSecretConfig
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 .Returns union: either
IResolvableorCfnLocationAzureBlob.CmkSecretConfigProperty -
setCmkSecretConfig
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 . -
setCmkSecretConfig
@Stability(Stable) public void setCmkSecretConfig(@Nullable CfnLocationAzureBlob.CmkSecretConfigProperty value) 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 . -
getCustomSecretConfig
Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text.Returns union: either
IResolvableorCfnLocationAzureBlob.CustomSecretConfigProperty -
setCustomSecretConfig
Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text. -
setCustomSecretConfig
@Stability(Stable) public void setCustomSecretConfig(@Nullable CfnLocationAzureBlob.CustomSecretConfigProperty value) Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text. -
getSubdirectory
Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images). -
setSubdirectory
Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images). -
getTags
Specifies labels that help you categorize, filter, and search for your AWS resources. -
setTags
Specifies labels that help you categorize, filter, and search for your AWS resources.
-