Class CfnLocationAzureBlob

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:05.099Z") @Stability(Stable) public class CfnLocationAzureBlob extends CfnResource implements IInspectable, ITaggableV2
Creates a transfer location for a Microsoft Azure Blob Storage container.

AWS DataSync can use this location as a transfer source or destination.

Before you begin, make sure you know how DataSync accesses Azure Blob Storage and works with access tiers and blob types . You also need a DataSync agent that can connect to your container.

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")
         .agentArns(List.of("agentArns"))
         .azureBlobAuthenticationType("azureBlobAuthenticationType")
         // the properties below are optional
         .azureAccessTier("azureAccessTier")
         .azureBlobContainerUrl("azureBlobContainerUrl")
         .azureBlobSasConfiguration(AzureBlobSasConfigurationProperty.builder()
                 .azureBlobSasToken("azureBlobSasToken")
                 .build())
         .azureBlobType("azureBlobType")
         .subdirectory("subdirectory")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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)
      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

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrLocationArn

      @Stability(Stable) @NotNull public String getAttrLocationArn()
      The ARN of the Azure Blob Storage transfer location that you created.
    • getAttrLocationUri

      @Stability(Stable) @NotNull public String getAttrLocationUri()
      The URI of the Azure Blob Storage transfer location that you created.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getAgentArns

      @Stability(Stable) @NotNull public List<String> getAgentArns()
      Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.
    • setAgentArns

      @Stability(Stable) public void setAgentArns(@NotNull List<String> value)
      Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.
    • getAzureBlobAuthenticationType

      @Stability(Stable) @NotNull public String getAzureBlobAuthenticationType()
      Specifies the authentication method DataSync uses to access your Azure Blob Storage.
    • setAzureBlobAuthenticationType

      @Stability(Stable) public void setAzureBlobAuthenticationType(@NotNull String value)
      Specifies the authentication method DataSync uses to access your Azure Blob Storage.
    • getAzureAccessTier

      @Stability(Stable) @Nullable public String getAzureAccessTier()
      Specifies the access tier that you want your objects or files transferred into.
    • setAzureAccessTier

      @Stability(Stable) public void setAzureAccessTier(@Nullable String value)
      Specifies the access tier that you want your objects or files transferred into.
    • getAzureBlobContainerUrl

      @Stability(Stable) @Nullable public String getAzureBlobContainerUrl()
      Specifies the URL of the Azure Blob Storage container involved in your transfer.
    • setAzureBlobContainerUrl

      @Stability(Stable) public void setAzureBlobContainerUrl(@Nullable String value)
      Specifies the URL of the Azure Blob Storage container involved in your transfer.
    • getAzureBlobSasConfiguration

      @Stability(Stable) @Nullable public Object getAzureBlobSasConfiguration()
      Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.
    • setAzureBlobSasConfiguration

      @Stability(Stable) public void setAzureBlobSasConfiguration(@Nullable IResolvable value)
      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

      @Stability(Stable) @Nullable public String getAzureBlobType()
      Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage.
    • setAzureBlobType

      @Stability(Stable) public void setAzureBlobType(@Nullable String value)
      Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage.
    • getSubdirectory

      @Stability(Stable) @Nullable public String getSubdirectory()
      Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example, /my/images ).
    • setSubdirectory

      @Stability(Stable) public void setSubdirectory(@Nullable String value)
      Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example, /my/images ).
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Specifies labels that help you categorize, filter, and search for your AWS resources.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Specifies labels that help you categorize, filter, and search for your AWS resources.