@Stability(value=Experimental) public static final class AzurermBackend.Builder extends Object implements software.amazon.jsii.Builder<AzurermBackend>
AzurermBackend
.Modifier and Type | Method and Description |
---|---|
AzurermBackend.Builder |
accessKey(String accessKey)
(experimental) access_key - (Optional) The Access Key used to access the Blob Storage Account.
|
AzurermBackend |
build() |
AzurermBackend.Builder |
clientId(String clientId)
(experimental) (Optional) The Client ID of the Service Principal.
|
AzurermBackend.Builder |
clientSecret(String clientSecret)
(experimental) (Optional) The Client Secret of the Service Principal.
|
AzurermBackend.Builder |
containerName(String containerName)
(experimental) (Required) The Name of the Storage Container within the Storage Account.
|
static AzurermBackend.Builder |
create(software.constructs.Construct scope) |
AzurermBackend.Builder |
endpoint(String endpoint)
(experimental) (Optional) The Custom Endpoint for Azure Resource Manager.
|
AzurermBackend.Builder |
environment(String environment)
(experimental) (Optional) The Azure Environment which should be used.
|
AzurermBackend.Builder |
key(String key)
(experimental) (Required) The name of the Blob used to retrieve/store Terraform's State file inside the Storage Container.
|
AzurermBackend.Builder |
msiEndpoint(String msiEndpoint)
(experimental) (Optional) The path to a custom Managed Service Identity endpoint which is automatically determined if not specified.
|
AzurermBackend.Builder |
resourceGroupName(String resourceGroupName)
(experimental) (Required) The Name of the Resource Group in which the Storage Account exists.
|
AzurermBackend.Builder |
sasToken(String sasToken)
(experimental) (Optional) The SAS Token used to access the Blob Storage Account.
|
AzurermBackend.Builder |
storageAccountName(String storageAccountName)
(experimental) (Required) The Name of the Storage Account.
|
AzurermBackend.Builder |
subscriptionId(String subscriptionId)
(experimental) (Optional) The Subscription ID in which the Storage Account exists.
|
AzurermBackend.Builder |
tenantId(String tenantId)
(experimental) (Optional) The Tenant ID in which the Subscription exists.
|
AzurermBackend.Builder |
useMsi(Boolean useMsi)
(experimental) (Optional) Should Managed Service Identity authentication be used?
|
@Stability(value=Experimental) public static AzurermBackend.Builder create(software.constructs.Construct scope)
scope
- This parameter is required.AzurermBackend.Builder
.@Stability(value=Experimental) public AzurermBackend.Builder containerName(String containerName)
containerName
- (Required) The Name of the Storage Container within the Storage Account. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder key(String key)
key
- (Required) The name of the Blob used to retrieve/store Terraform's State file inside the Storage Container. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder storageAccountName(String storageAccountName)
storageAccountName
- (Required) The Name of the Storage Account. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder accessKey(String accessKey)
This can also be sourced from the ARM_ACCESS_KEY environment variable.
accessKey
- access_key - (Optional) The Access Key used to access the Blob Storage Account. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder clientId(String clientId)
This can also be sourced from the ARM_CLIENT_ID environment variable.
clientId
- (Optional) The Client ID of the Service Principal. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder clientSecret(String clientSecret)
This can also be sourced from the ARM_CLIENT_SECRET environment variable.
clientSecret
- (Optional) The Client Secret of the Service Principal. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder endpoint(String endpoint)
NOTE: An endpoint should only be configured when using Azure Stack.
endpoint
- (Optional) The Custom Endpoint for Azure Resource Manager. This can also be sourced from the ARM_ENDPOINT environment variable. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder environment(String environment)
This can also be sourced from the ARM_ENVIRONMENT environment variable. Possible values are public, china, german, stack and usgovernment. Defaults to public.
environment
- (Optional) The Azure Environment which should be used. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder msiEndpoint(String msiEndpoint)
This can also be sourced from the ARM_MSI_ENDPOINT environment variable.
msiEndpoint
- (Optional) The path to a custom Managed Service Identity endpoint which is automatically determined if not specified. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder resourceGroupName(String resourceGroupName)
resourceGroupName
- (Required) The Name of the Resource Group in which the Storage Account exists. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder sasToken(String sasToken)
This can also be sourced from the ARM_SAS_TOKEN environment variable.
sasToken
- (Optional) The SAS Token used to access the Blob Storage Account. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder subscriptionId(String subscriptionId)
This can also be sourced from the ARM_SUBSCRIPTION_ID environment variable.
subscriptionId
- (Optional) The Subscription ID in which the Storage Account exists. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder tenantId(String tenantId)
This can also be sourced from the ARM_TENANT_ID environment variable.
tenantId
- (Optional) The Tenant ID in which the Subscription exists. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend.Builder useMsi(Boolean useMsi)
This can also be sourced from the ARM_USE_MSI environment variable.
useMsi
- (Optional) Should Managed Service Identity authentication be used?. This parameter is required.this
@Stability(value=Experimental) public AzurermBackend build()
build
in interface software.amazon.jsii.Builder<AzurermBackend>
Copyright © 2022. All rights reserved.