Class DataTerraformRemoteStateGcsConfig.Jsii$Proxy
- All Implemented Interfaces:
DataTerraformRemoteStateConfig,DataTerraformRemoteStateGcsConfig,GcsBackendConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DataTerraformRemoteStateGcsConfig
DataTerraformRemoteStateGcsConfig-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface com.hashicorp.cdktf.DataTerraformRemoteStateGcsConfig
DataTerraformRemoteStateGcsConfig.Builder, DataTerraformRemoteStateGcsConfig.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theDataTerraformRemoteStateGcsConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal String(experimental) (Optional) A temporary [OAuth 2.0 access token] obtained from the Google Authorization server, i.e.final String(experimental) (Required) The name of the GCS bucket.final String(experimental) (Optional) Local path to Google Cloud Platform account credentials in JSON format.final String(experimental) (Optional) A 32 byte base64 encoded 'customer supplied encryption key' used to encrypt all state.final String(experimental) (Optional) The service account to impersonate for accessing the State Bucket.(experimental) (Optional) The delegation chain for an impersonating a service account.final String(experimental) (Optional) A Cloud KMS key ('customer-managed encryption key') used when reading and writing state files in the bucket.final String(experimental) (Optional) GCS prefix inside the bucket.final String(experimental) (Optional) A URL containing three parts: the protocol, the DNS name pointing to a Private Service Connect endpoint, and the path for the Cloud Storage API (/storage/v1/b).final Stringfinal inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theDataTerraformRemoteStateGcsConfig.Builder.
-
-
Method Details
-
getDefaults
- Specified by:
getDefaultsin interfaceDataTerraformRemoteStateConfig
-
getWorkspace
- Specified by:
getWorkspacein interfaceDataTerraformRemoteStateConfig
-
getBucket
Description copied from interface:GcsBackendConfig(experimental) (Required) The name of the GCS bucket.This name must be globally unique.
- Specified by:
getBucketin interfaceGcsBackendConfig
-
getAccessToken
Description copied from interface:GcsBackendConfig(experimental) (Optional) A temporary [OAuth 2.0 access token] obtained from the Google Authorization server, i.e. the Authorization: Bearer token used to authenticate HTTP requests to GCP APIs. This is an alternative to credentials. If both are specified, access_token will be used over the credentials field.- Specified by:
getAccessTokenin interfaceGcsBackendConfig
-
getCredentials
Description copied from interface:GcsBackendConfig(experimental) (Optional) Local path to Google Cloud Platform account credentials in JSON format.If unset, Google Application Default Credentials are used. The provided credentials must have Storage Object Admin role on the bucket.
Warning: if using the Google Cloud Platform provider as well, it will also pick up the GOOGLE_CREDENTIALS environment variable.
- Specified by:
getCredentialsin interfaceGcsBackendConfig
-
getEncryptionKey
Description copied from interface:GcsBackendConfig(experimental) (Optional) A 32 byte base64 encoded 'customer supplied encryption key' used to encrypt all state.- Specified by:
getEncryptionKeyin interfaceGcsBackendConfig
-
getImpersonateServiceAccount
Description copied from interface:GcsBackendConfig(experimental) (Optional) The service account to impersonate for accessing the State Bucket.You must have roles/iam.serviceAccountTokenCreator role on that account for the impersonation to succeed. If you are using a delegation chain, you can specify that using the impersonate_service_account_delegates field. Alternatively, this can be specified using the GOOGLE_IMPERSONATE_SERVICE_ACCOUNT environment variable.
- Specified by:
getImpersonateServiceAccountin interfaceGcsBackendConfig
-
getImpersonateServiceAccountDelegates
Description copied from interface:GcsBackendConfig(experimental) (Optional) The delegation chain for an impersonating a service account.- Specified by:
getImpersonateServiceAccountDelegatesin interfaceGcsBackendConfig
-
getKmsEncryptionKey
Description copied from interface:GcsBackendConfig(experimental) (Optional) A Cloud KMS key ('customer-managed encryption key') used when reading and writing state files in the bucket.Format should be projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{name}}. For more information, including IAM requirements, see
Customer-managed Encryption Keys}.invalid @link
{@link https://cloud.google.com/storage/docs/encryption/customer-managed-keys- Specified by:
getKmsEncryptionKeyin interfaceGcsBackendConfig
-
getPrefix
Description copied from interface:GcsBackendConfig(experimental) (Optional) GCS prefix inside the bucket.Named states for workspaces are stored in an object called
/ .tfstate. - Specified by:
getPrefixin interfaceGcsBackendConfig
-
getStoreageCustomEndpoint
Description copied from interface:GcsBackendConfig(experimental) (Optional) A URL containing three parts: the protocol, the DNS name pointing to a Private Service Connect endpoint, and the path for the Cloud Storage API (/storage/v1/b).See here for more details}invalid @link
{@link https://developer.hashicorp.com/terraform/language/settings/backends/gcs#storage_custom_endpoint- Specified by:
getStoreageCustomEndpointin interfaceGcsBackendConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-