Package com.hashicorp.cdktf
Class DataTerraformRemoteStateGcsConfig.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.DataTerraformRemoteStateGcsConfig.Jsii$Proxy
- All Implemented Interfaces:
DataTerraformRemoteStateConfig
,DataTerraformRemoteStateGcsConfig
,GcsBackendConfig
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DataTerraformRemoteStateGcsConfig
@Stability(Experimental)
@Internal
public static final class DataTerraformRemoteStateGcsConfig.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements DataTerraformRemoteStateGcsConfig
An implementation for
DataTerraformRemoteStateGcsConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.DataTerraformRemoteStateGcsConfig
DataTerraformRemoteStateGcsConfig.Builder, DataTerraformRemoteStateGcsConfig.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theDataTerraformRemoteStateGcsConfig.Builder
.protected
Jsii$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.JsonNode
final boolean
final 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) GCS prefix inside the bucket.final String
final int
hashCode()
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:
getDefaults
in interfaceDataTerraformRemoteStateConfig
-
getWorkspace
- Specified by:
getWorkspace
in interfaceDataTerraformRemoteStateConfig
-
getBucket
Description copied from interface:GcsBackendConfig
(experimental) (Required) The name of the GCS bucket.This name must be globally unique.
- Specified by:
getBucket
in 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:
getAccessToken
in 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:
getCredentials
in 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:
getEncryptionKey
in 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:
getImpersonateServiceAccount
in interfaceGcsBackendConfig
-
getImpersonateServiceAccountDelegates
Description copied from interface:GcsBackendConfig
(experimental) (Optional) The delegation chain for an impersonating a service account.- Specified by:
getImpersonateServiceAccountDelegates
in 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:
getPrefix
in interfaceGcsBackendConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-