Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializer
import io.cdktn.cdktn.DataTerraformRemoteStatePgConfig;
DataTerraformRemoteStatePgConfig.builder()
// .defaults(java.util.Map<java.lang.String, java.lang.Object>)
// .workspace(java.lang.String)
.connStr(java.lang.String)
// .schemaName(java.lang.String)
// .skipIndexCreation(java.lang.Boolean)
// .skipSchemaCreation(java.lang.Boolean)
// .skipTableCreation(java.lang.Boolean)
.build();
Properties
| Name | Type | Description |
|---|
defaults | java.util.Map< java.lang.String, java.lang.Object > | No description. |
workspace | java.lang.String | No description. |
connStr | java.lang.String | Postgres connection string; |
schemaName | java.lang.String | Name of the automatically-managed Postgres schema, default to terraform_remote_state. |
skipIndexCreation | java.lang.Boolean | If set to true, the Postgres index must already exist. |
skipSchemaCreation | java.lang.Boolean | If set to true, the Postgres schema must already exist. |
skipTableCreation | java.lang.Boolean | If set to true, the Postgres table must already exist. |
defaultsOptional
public java.util.Map<java.lang.String, java.lang.Object> getDefaults();
- Type: java.util.Map< java.lang.String, java.lang.Object >
workspaceOptional
public java.lang.String getWorkspace();
connStrRequired
public java.lang.String getConnStr();
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.
schemaNameOptional
public java.lang.String getSchemaName();
Name of the automatically-managed Postgres schema, default to terraform_remote_state.
Can also be set using the PG_SCHEMA_NAME environment variable.
skipIndexCreationOptional
public java.lang.Boolean getSkipIndexCreation();
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.
skipSchemaCreationOptional
public java.lang.Boolean getSkipSchemaCreation();
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.
skipTableCreationOptional
public java.lang.Boolean getSkipTableCreation();
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.