@Stability(value=Experimental) @Internal public static final class DataTerraformRemoteStateGcsConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DataTerraformRemoteStateGcsConfig
DataTerraformRemoteStateGcsConfig
software.amazon.jsii.JsiiObject.InitializationMode
DataTerraformRemoteStateGcsConfig.Builder, DataTerraformRemoteStateGcsConfig.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(DataTerraformRemoteStateGcsConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by the
DataTerraformRemoteStateGcsConfig.Builder . |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccessToken()
(experimental) (Optional) A temporary [OAuth 2.0 access token] obtained from the Google Authorization server, i.e.
|
String |
getBucket()
(experimental) (Required) The name of the GCS bucket.
|
String |
getCredentials()
(experimental) (Optional) Local path to Google Cloud Platform account credentials in JSON format.
|
Map<String,Object> |
getDefaults() |
String |
getEncryptionKey()
(experimental) (Optional) A 32 byte base64 encoded 'customer supplied encryption key' used to encrypt all state.
|
String |
getImpersonateServiceAccount()
(experimental) (Optional) The service account to impersonate for accessing the State Bucket.
|
List<String> |
getImpersonateServiceAccountDelegates()
(experimental) (Optional) The delegation chain for an impersonating a service account.
|
String |
getPrefix()
(experimental) (Optional) GCS prefix inside the bucket.
|
String |
getWorkspace() |
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(DataTerraformRemoteStateGcsConfig.Builder builder)
DataTerraformRemoteStateGcsConfig.Builder
.public final Map<String,Object> getDefaults()
getDefaults
in interface DataTerraformRemoteStateConfig
public final String getWorkspace()
getWorkspace
in interface DataTerraformRemoteStateConfig
public final String getBucket()
GcsBackendProps
This name must be globally unique.
getBucket
in interface GcsBackendProps
public final String getAccessToken()
GcsBackendProps
getAccessToken
in interface GcsBackendProps
public final String getCredentials()
GcsBackendProps
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.
getCredentials
in interface GcsBackendProps
public final String getEncryptionKey()
GcsBackendProps
getEncryptionKey
in interface GcsBackendProps
public final String getImpersonateServiceAccount()
GcsBackendProps
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.
getImpersonateServiceAccount
in interface GcsBackendProps
public final List<String> getImpersonateServiceAccountDelegates()
GcsBackendProps
getImpersonateServiceAccountDelegates
in interface GcsBackendProps
public final String getPrefix()
GcsBackendProps
Named states for workspaces are stored in an object called
getPrefix
in interface GcsBackendProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2022. All rights reserved.