@Stability(value=Experimental) @Internal public static final class DataTerraformRemoteStateCosConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DataTerraformRemoteStateCosConfig
DataTerraformRemoteStateCosConfig
software.amazon.jsii.JsiiObject.InitializationMode
DataTerraformRemoteStateCosConfig.Builder, DataTerraformRemoteStateCosConfig.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(DataTerraformRemoteStateCosConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by the
DataTerraformRemoteStateCosConfig.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 |
getAcl()
(experimental) (Optional) Object ACL to be applied to the state file, allows private and public-read.
|
String |
getBucket()
(experimental) (Required) The name of the COS bucket.
|
Map<String,Object> |
getDefaults() |
Boolean |
getEncrypt()
(experimental) (Optional) Whether to enable server side encryption of the state file.
|
String |
getKey()
(experimental) (Optional) The path for saving the state file in bucket.
|
String |
getPrefix()
(experimental) (Optional) The directory for saving the state file in bucket.
|
String |
getRegion()
(experimental) (Optional) The region of the COS bucket.
|
String |
getSecretId()
(experimental) (Optional) Secret id of Tencent Cloud.
|
String |
getSecretKey()
(experimental) (Optional) Secret key of Tencent Cloud.
|
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(DataTerraformRemoteStateCosConfig.Builder builder)
DataTerraformRemoteStateCosConfig.Builder
.public final Map<String,Object> getDefaults()
getDefaults
in interface DataTerraformRemoteStateConfig
public final String getWorkspace()
getWorkspace
in interface DataTerraformRemoteStateConfig
public final String getBucket()
CosBackendConfig
You shall manually create it first.
getBucket
in interface CosBackendConfig
public final String getAcl()
CosBackendConfig
Defaults to private.
getAcl
in interface CosBackendConfig
public final Boolean getEncrypt()
CosBackendConfig
If it is true, COS will use 'AES256' encryption algorithm to encrypt state file.
getEncrypt
in interface CosBackendConfig
public final String getKey()
CosBackendConfig
Defaults to terraform.tfstate.
getKey
in interface CosBackendConfig
public final String getPrefix()
CosBackendConfig
Default to "env:".
getPrefix
in interface CosBackendConfig
public final String getRegion()
CosBackendConfig
It supports environment variables TENCENTCLOUD_REGION.
getRegion
in interface CosBackendConfig
public final String getSecretId()
CosBackendConfig
It supports environment variables TENCENTCLOUD_SECRET_ID.
getSecretId
in interface CosBackendConfig
public final String getSecretKey()
CosBackendConfig
It supports environment variables TENCENTCLOUD_SECRET_KEY.
getSecretKey
in interface CosBackendConfig
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.