@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()
CosBackendProps
You shall manually create it first.
getBucket
in interface CosBackendProps
public final String getAcl()
CosBackendProps
Defaults to private.
getAcl
in interface CosBackendProps
public final Boolean getEncrypt()
CosBackendProps
If it is true, COS will use 'AES256' encryption algorithm to encrypt state file.
getEncrypt
in interface CosBackendProps
public final String getKey()
CosBackendProps
Defaults to terraform.tfstate.
getKey
in interface CosBackendProps
public final String getPrefix()
CosBackendProps
Default to "env:".
getPrefix
in interface CosBackendProps
public final String getRegion()
CosBackendProps
It supports environment variables TENCENTCLOUD_REGION.
getRegion
in interface CosBackendProps
public final String getSecretId()
CosBackendProps
It supports environment variables TENCENTCLOUD_SECRET_ID.
getSecretId
in interface CosBackendProps
public final String getSecretKey()
CosBackendProps
It supports environment variables TENCENTCLOUD_SECRET_KEY.
getSecretKey
in interface CosBackendProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2022. All rights reserved.