Class DataTerraformRemoteStatePgConfig.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.DataTerraformRemoteStatePgConfig.Jsii$Proxy
All Implemented Interfaces:
DataTerraformRemoteStateConfig, DataTerraformRemoteStatePgConfig, PgBackendConfig, software.amazon.jsii.JsiiSerializable
Enclosing interface:
DataTerraformRemoteStatePgConfig

@Stability(Experimental) @Internal public static final class DataTerraformRemoteStatePgConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DataTerraformRemoteStatePgConfig
An implementation for DataTerraformRemoteStatePgConfig
  • 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

      protected Jsii$Proxy(DataTerraformRemoteStatePgConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the DataTerraformRemoteStatePgConfig.Builder.
  • Method Details

    • getDefaults

      public final Map<String,Object> getDefaults()
      Specified by:
      getDefaults in interface DataTerraformRemoteStateConfig
    • getWorkspace

      public final String getWorkspace()
      Specified by:
      getWorkspace in interface DataTerraformRemoteStateConfig
    • getConnStr

      public final String getConnStr()
      Description copied from interface: PgBackendConfig
      (experimental) Postgres connection string;

      a postgres:// URL. The PG_CONN_STR and standard libpq environment variables can also be used to indicate how to connect to the PostgreSQL database.

      Specified by:
      getConnStr in interface PgBackendConfig
    • getSchemaName

      public final String getSchemaName()
      Description copied from interface: PgBackendConfig
      (experimental) Name of the automatically-managed Postgres schema, default to terraform_remote_state.

      Can also be set using the PG_SCHEMA_NAME environment variable.

      Specified by:
      getSchemaName in interface PgBackendConfig
    • getSkipIndexCreation

      public final Boolean getSkipIndexCreation()
      Description copied from interface: PgBackendConfig
      (experimental) If set to true, the Postgres index must already exist.

      Can also be set using the PG_SKIP_INDEX_CREATION environment variable. Terraform won't try to create the index, this is useful when it has already been created by a database administrator.

      Specified by:
      getSkipIndexCreation in interface PgBackendConfig
    • getSkipSchemaCreation

      public final Boolean getSkipSchemaCreation()
      Description copied from interface: PgBackendConfig
      (experimental) If set to true, the Postgres schema must already exist.

      Can also be set using the PG_SKIP_SCHEMA_CREATION environment variable. Terraform won't try to create the schema, this is useful when it has already been created by a database administrator.

      Specified by:
      getSkipSchemaCreation in interface PgBackendConfig
    • getSkipTableCreation

      public final Boolean getSkipTableCreation()
      Description copied from interface: PgBackendConfig
      (experimental) If set to true, the Postgres table must already exist.

      Can also be set using the PG_SKIP_TABLE_CREATION environment variable. Terraform won't try to create the table, this is useful when it has already been created by a database administrator.

      Specified by:
      getSkipTableCreation in interface PgBackendConfig
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object