Interface PgBackendConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DataTerraformRemoteStatePgConfig
- All Known Implementing Classes:
DataTerraformRemoteStatePgConfig.Jsii$Proxy
,PgBackendConfig.Jsii$Proxy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forPgBackendConfig
static final class
An implementation forPgBackendConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic PgBackendConfig.Builder
builder()
(experimental) Postgres connection string;default String
(experimental) Name of the automatically-managed Postgres schema, default to terraform_remote_state.default Boolean
(experimental) If set to true, the Postgres index must already exist.default Boolean
(experimental) If set to true, the Postgres schema must already exist.default Boolean
(experimental) If set to true, the Postgres table must already exist.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnStr
(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.
-
getSchemaName
(experimental) Name of the automatically-managed Postgres schema, default to terraform_remote_state.Can also be set using the PG_SCHEMA_NAME environment variable.
-
getSkipIndexCreation
(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.
-
getSkipSchemaCreation
(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.
-
getSkipTableCreation
(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.
-
builder
- Returns:
- a
PgBackendConfig.Builder
ofPgBackendConfig
-