Initializers
| Name | Type | Description |
|---|---|---|
scope | software.constructs.Construct | No description. |
containerName | java.lang.String | (Required) The Name of the Storage Container within the Storage Account. |
key | java.lang.String | (Required) The name of the Blob used to retrieve/store Terraform’s State file inside the Storage Container. |
storageAccountName | java.lang.String | (Required) The Name of the Storage Account. |
accessKey | java.lang.String | access_key - (Optional) The Access Key used to access the Blob Storage Account. |
clientCertificatePassword | java.lang.String | (Optional) The password associated with the Client Certificate specified in client_certificate_path. |
clientCertificatePath | java.lang.String | (Optional) The path to the PFX file used as the Client Certificate when authenticating as a Service Principal. |
clientId | java.lang.String | (Optional) The Client ID of the Service Principal. |
clientSecret | java.lang.String | (Optional) The Client Secret of the Service Principal. |
endpoint | java.lang.String | (Optional) The Custom Endpoint for Azure Resource Manager. This can also be sourced from the ARM_ENDPOINT environment variable. |
environment | java.lang.String | (Optional) The Azure Environment which should be used. |
metadataHost | java.lang.String | (Optional) The Hostname of the Azure Metadata Service (for example management.azure.com), used to obtain the Cloud Environment when using a Custom Azure Environment. This can also be sourced from the ARM_METADATA_HOSTNAME Environment Variable.). |
msiEndpoint | java.lang.String | (Optional) The path to a custom Managed Service Identity endpoint which is automatically determined if not specified. |
oidcRequestToken | java.lang.String | (Optional) The bearer token for the request to the OIDC provider. |
oidcRequestUrl | java.lang.String | (Optional) The URL for the OIDC provider from which to request an ID token. |
oidcToken | java.lang.String | (Optional) The ID token when authenticating using OpenID Connect (OIDC). |
oidcTokenFilePath | java.lang.String | (Optional) The path to a file containing an ID token when authenticating using OpenID Connect (OIDC). |
resourceGroupName | java.lang.String | (Required) The Name of the Resource Group in which the Storage Account exists. |
sasToken | java.lang.String | (Optional) The SAS Token used to access the Blob Storage Account. |
snapshot | java.lang.Boolean | (Optional) Should the Blob used to store the Terraform Statefile be snapshotted before use? |
subscriptionId | java.lang.String | (Optional) The Subscription ID in which the Storage Account exists. |
tenantId | java.lang.String | (Optional) The Tenant ID in which the Subscription exists. |
useAzureadAuth | java.lang.Boolean | (Optional) Should AzureAD Authentication be used to access the Blob Storage Account. |
useMicrosoftGraph | java.lang.Boolean | (Optional) Should MSAL be used for authentication instead of ADAL, and should Microsoft Graph be used instead of Azure Active Directory Graph? |
useMsi | java.lang.Boolean | (Optional) Should Managed Service Identity authentication be used? |
useOidc | java.lang.Boolean | (Optional) Should OIDC authentication be used? This can also be sourced from the ARM_USE_OIDC environment variable. |
scopeRequired
- Type: software.constructs.Construct
containerNameRequired
- Type: java.lang.String
keyRequired
- Type: java.lang.String
storageAccountNameRequired
- Type: java.lang.String
accessKeyOptional
- Type: java.lang.String
clientCertificatePasswordOptional
- Type: java.lang.String
clientCertificatePathOptional
- Type: java.lang.String
clientIdOptional
- Type: java.lang.String
clientSecretOptional
- Type: java.lang.String
endpointOptional
- Type: java.lang.String
environmentOptional
- Type: java.lang.String
metadataHostOptional
- Type: java.lang.String
msiEndpointOptional
- Type: java.lang.String
oidcRequestTokenOptional
- Type: java.lang.String
oidcRequestUrlOptional
- Type: java.lang.String
oidcTokenOptional
- Type: java.lang.String
oidcTokenFilePathOptional
- Type: java.lang.String
resourceGroupNameOptional
- Type: java.lang.String
sasTokenOptional
- Type: java.lang.String
snapshotOptional
- Type: java.lang.Boolean
subscriptionIdOptional
- Type: java.lang.String
tenantIdOptional
- Type: java.lang.String
useAzureadAuthOptional
- Type: java.lang.Boolean
useMicrosoftGraphOptional
- Type: java.lang.Boolean
useMsiOptional
- Type: java.lang.Boolean
useOidcOptional
- Type: java.lang.Boolean
Methods
| Name | Description |
|---|---|
toString | Returns a string representation of this construct. |
addOverride | No description. |
overrideLogicalId | Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. |
toHclTerraform | No description. |
toMetadata | No description. |
toTerraform | Adds this resource to the terraform JSON output. |
getRemoteStateDataSource | Creates a TerraformRemoteState resource that accesses this backend. |
toString
addOverride
pathRequired
- Type: java.lang.String
valueRequired
- Type: java.lang.Object
overrideLogicalId
newLogicalIdRequired
- Type: java.lang.String
resetOverrideLogicalId
toHclTerraform
toMetadata
toTerraform
getRemoteStateDataSource
scopeRequired
- Type: software.constructs.Construct
nameRequired
- Type: java.lang.String
_fromStackRequired
- Type: java.lang.String
Static Functions
| Name | Description |
|---|---|
isConstruct | Checks if x is a construct. |
isTerraformElement | No description. |
isBackend | No description. |
isConstruct
x is a construct.
Use this method instead of instanceof to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct in each copy of the constructs library
is seen as a different class, and an instance of one class will not test as
instanceof the other class. npm install will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof will behave
unpredictably. It is safest to avoid using instanceof, and using
this type-testing method instead.
xRequired
- Type: java.lang.Object
isTerraformElement
xRequired
- Type: java.lang.Object
isBackend
xRequired
- Type: java.lang.Object
Properties
| Name | Type | Description |
|---|---|---|
node | software.constructs.Node | The tree node. |
cdktfStack | TerraformStack | No description. |
fqn | java.lang.String | No description. |
friendlyUniqueId | java.lang.String | No description. |
nodeRequired
- Type: software.constructs.Node
cdktfStackRequired
- Type: TerraformStack
fqnRequired
- Type: java.lang.String
friendlyUniqueIdRequired
- Type: java.lang.String