UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

138 lines (137 loc) 8.08 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::DataSync::LocationAzureBlob. */ export declare class LocationAzureBlob extends pulumi.CustomResource { /** * Get an existing LocationAzureBlob resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): LocationAzureBlob; /** * Returns true if the given object is an instance of LocationAzureBlob. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is LocationAzureBlob; /** * 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. */ readonly agentArns: pulumi.Output<string[] | undefined>; /** * Specifies an access tier for the objects you're transferring into your Azure Blob Storage container. */ readonly azureAccessTier: pulumi.Output<enums.datasync.LocationAzureBlobAzureAccessTier | undefined>; /** * The specific authentication type that you want DataSync to use to access your Azure Blob Container. */ readonly azureBlobAuthenticationType: pulumi.Output<enums.datasync.LocationAzureBlobAzureBlobAuthenticationType>; /** * The URL of the Azure Blob container that was described. */ readonly azureBlobContainerUrl: pulumi.Output<string | undefined>; /** * 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 AWS account's secrets manager secret. */ readonly azureBlobSasConfiguration: pulumi.Output<outputs.datasync.LocationAzureBlobAzureBlobSasConfiguration | undefined>; /** * Specifies a blob type for the objects you're transferring into your Azure Blob Storage container. */ readonly azureBlobType: pulumi.Output<enums.datasync.LocationAzureBlobAzureBlobType | undefined>; /** * 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` or `CustomSecretConfig` to provide credentials for a `CreateLocation` request. Do not provide both parameters for the same request. */ readonly cmkSecretConfig: pulumi.Output<outputs.datasync.LocationAzureBlobCmkSecretConfig | undefined>; /** * 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` or `CustomSecretConfig` to provide credentials for a `CreateLocation` request. Do not provide both parameters for the same request. */ readonly customSecretConfig: pulumi.Output<outputs.datasync.LocationAzureBlobCustomSecretConfig | undefined>; /** * The Amazon Resource Name (ARN) of the Azure Blob Location that is created. */ readonly locationArn: pulumi.Output<string>; /** * The URL of the Azure Blob Location that was described. */ readonly locationUri: pulumi.Output<string>; readonly managedSecretConfig: pulumi.Output<outputs.datasync.LocationAzureBlobManagedSecretConfig>; /** * The subdirectory in the Azure Blob Container that is used to read data from the Azure Blob Source Location. */ readonly subdirectory: pulumi.Output<string | undefined>; /** * An array of key-value pairs to apply to this resource. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * Create a LocationAzureBlob resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: LocationAzureBlobArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a LocationAzureBlob resource. */ export interface LocationAzureBlobArgs { /** * 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. */ agentArns?: pulumi.Input<pulumi.Input<string>[]>; /** * Specifies an access tier for the objects you're transferring into your Azure Blob Storage container. */ azureAccessTier?: pulumi.Input<enums.datasync.LocationAzureBlobAzureAccessTier>; /** * The specific authentication type that you want DataSync to use to access your Azure Blob Container. */ azureBlobAuthenticationType: pulumi.Input<enums.datasync.LocationAzureBlobAzureBlobAuthenticationType>; /** * The URL of the Azure Blob container that was described. */ azureBlobContainerUrl?: pulumi.Input<string>; /** * 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 AWS account's secrets manager secret. */ azureBlobSasConfiguration?: pulumi.Input<inputs.datasync.LocationAzureBlobAzureBlobSasConfigurationArgs>; /** * Specifies a blob type for the objects you're transferring into your Azure Blob Storage container. */ azureBlobType?: pulumi.Input<enums.datasync.LocationAzureBlobAzureBlobType>; /** * 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` or `CustomSecretConfig` to provide credentials for a `CreateLocation` request. Do not provide both parameters for the same request. */ cmkSecretConfig?: pulumi.Input<inputs.datasync.LocationAzureBlobCmkSecretConfigArgs>; /** * 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` or `CustomSecretConfig` to provide credentials for a `CreateLocation` request. Do not provide both parameters for the same request. */ customSecretConfig?: pulumi.Input<inputs.datasync.LocationAzureBlobCustomSecretConfigArgs>; /** * The subdirectory in the Azure Blob Container that is used to read data from the Azure Blob Source Location. */ subdirectory?: pulumi.Input<string>; /** * An array of key-value pairs to apply to this resource. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }