diff --git a/gen/postgresql/database/Database.go b/gen/postgresql/database/Database.go index b39d660f6d..a02d1593d7 100644 --- a/gen/postgresql/database/Database.go +++ b/gen/postgresql/database/Database.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/database/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database postgresql_database}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database postgresql_database}. type Database interface { cdktf.TerraformResource AllowConnections() interface{} @@ -570,7 +570,7 @@ func (j *jsiiProxy_Database) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database postgresql_database} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database postgresql_database} Resource. func NewDatabase(scope constructs.Construct, id *string, config *DatabaseConfig) Database { _init_.Initialize() @@ -588,7 +588,7 @@ func NewDatabase(scope constructs.Construct, id *string, config *DatabaseConfig) return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database postgresql_database} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database postgresql_database} Resource. func NewDatabase_Override(d Database, scope constructs.Construct, id *string, config *DatabaseConfig) { _init_.Initialize() diff --git a/gen/postgresql/database/DatabaseConfig.go b/gen/postgresql/database/DatabaseConfig.go index 4c1da47eb4..106dd7fd28 100644 --- a/gen/postgresql/database/DatabaseConfig.go +++ b/gen/postgresql/database/DatabaseConfig.go @@ -21,52 +21,52 @@ type DatabaseConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The PostgreSQL database name to connect to. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#name Database#name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#name Database#name} Name *string `field:"required" json:"name" yaml:"name"` // If false then no one can connect to this database. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#allow_connections Database#allow_connections} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#allow_connections Database#allow_connections} AllowConnections interface{} `field:"optional" json:"allowConnections" yaml:"allowConnections"` // If true, the owner of already existing objects will change if the owner changes. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#alter_object_ownership Database#alter_object_ownership} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#alter_object_ownership Database#alter_object_ownership} AlterObjectOwnership interface{} `field:"optional" json:"alterObjectOwnership" yaml:"alterObjectOwnership"` // How many concurrent connections can be made to this database. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#connection_limit Database#connection_limit} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#connection_limit Database#connection_limit} ConnectionLimit *float64 `field:"optional" json:"connectionLimit" yaml:"connectionLimit"` // Character set encoding to use in the new database. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#encoding Database#encoding} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#encoding Database#encoding} Encoding *string `field:"optional" json:"encoding" yaml:"encoding"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#id Database#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#id Database#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // If true, then this database can be cloned by any user with CREATEDB privileges. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#is_template Database#is_template} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#is_template Database#is_template} IsTemplate interface{} `field:"optional" json:"isTemplate" yaml:"isTemplate"` // Collation order (LC_COLLATE) to use in the new database. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#lc_collate Database#lc_collate} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#lc_collate Database#lc_collate} LcCollate *string `field:"optional" json:"lcCollate" yaml:"lcCollate"` // Character classification (LC_CTYPE) to use in the new database. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#lc_ctype Database#lc_ctype} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#lc_ctype Database#lc_ctype} LcCtype *string `field:"optional" json:"lcCtype" yaml:"lcCtype"` // The ROLE which owns the database. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#owner Database#owner} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#owner Database#owner} Owner *string `field:"optional" json:"owner" yaml:"owner"` // The name of the tablespace that will be associated with the new database. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#tablespace_name Database#tablespace_name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#tablespace_name Database#tablespace_name} TablespaceName *string `field:"optional" json:"tablespaceName" yaml:"tablespaceName"` // The name of the template from which to create the new database. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database#template Database#template} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database#template Database#template} Template *string `field:"optional" json:"template" yaml:"template"` } diff --git a/gen/postgresql/database/README.md b/gen/postgresql/database/README.md index e0cd1d6675..8e11bd59d6 100644 --- a/gen/postgresql/database/README.md +++ b/gen/postgresql/database/README.md @@ -1,3 +1,3 @@ # `postgresql_database` -Refer to the Terraform Registry for docs: [`postgresql_database`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database). +Refer to the Terraform Registry for docs: [`postgresql_database`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/database). diff --git a/gen/postgresql/datapostgresqlschemas/DataPostgresqlSchemas.go b/gen/postgresql/datapostgresqlschemas/DataPostgresqlSchemas.go index 6c029be6dc..d35c33863f 100644 --- a/gen/postgresql/datapostgresqlschemas/DataPostgresqlSchemas.go +++ b/gen/postgresql/datapostgresqlschemas/DataPostgresqlSchemas.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/datapostgresqlschemas/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas postgresql_schemas}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas postgresql_schemas}. type DataPostgresqlSchemas interface { cdktf.TerraformDataSource // Experimental. @@ -416,7 +416,7 @@ func (j *jsiiProxy_DataPostgresqlSchemas) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas postgresql_schemas} Data Source. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas postgresql_schemas} Data Source. func NewDataPostgresqlSchemas(scope constructs.Construct, id *string, config *DataPostgresqlSchemasConfig) DataPostgresqlSchemas { _init_.Initialize() @@ -434,7 +434,7 @@ func NewDataPostgresqlSchemas(scope constructs.Construct, id *string, config *Da return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas postgresql_schemas} Data Source. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas postgresql_schemas} Data Source. func NewDataPostgresqlSchemas_Override(d DataPostgresqlSchemas, scope constructs.Construct, id *string, config *DataPostgresqlSchemasConfig) { _init_.Initialize() diff --git a/gen/postgresql/datapostgresqlschemas/DataPostgresqlSchemasConfig.go b/gen/postgresql/datapostgresqlschemas/DataPostgresqlSchemasConfig.go index 7e9186f6af..9241858dea 100644 --- a/gen/postgresql/datapostgresqlschemas/DataPostgresqlSchemasConfig.go +++ b/gen/postgresql/datapostgresqlschemas/DataPostgresqlSchemasConfig.go @@ -21,32 +21,32 @@ type DataPostgresqlSchemasConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The PostgreSQL database which will be queried for schema names. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas#database DataPostgresqlSchemas#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas#database DataPostgresqlSchemas#database} Database *string `field:"required" json:"database" yaml:"database"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas#id DataPostgresqlSchemas#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas#id DataPostgresqlSchemas#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Determines whether to include system schemas (pg_ prefix and information_schema). 'public' will always be included. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas#include_system_schemas DataPostgresqlSchemas#include_system_schemas} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas#include_system_schemas DataPostgresqlSchemas#include_system_schemas} IncludeSystemSchemas interface{} `field:"optional" json:"includeSystemSchemas" yaml:"includeSystemSchemas"` // Expression(s) which will be pattern matched in the query using the PostgreSQL LIKE ALL operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas#like_all_patterns DataPostgresqlSchemas#like_all_patterns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas#like_all_patterns DataPostgresqlSchemas#like_all_patterns} LikeAllPatterns *[]*string `field:"optional" json:"likeAllPatterns" yaml:"likeAllPatterns"` // Expression(s) which will be pattern matched in the query using the PostgreSQL LIKE ANY operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas#like_any_patterns DataPostgresqlSchemas#like_any_patterns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas#like_any_patterns DataPostgresqlSchemas#like_any_patterns} LikeAnyPatterns *[]*string `field:"optional" json:"likeAnyPatterns" yaml:"likeAnyPatterns"` // Expression(s) which will be pattern matched in the query using the PostgreSQL NOT LIKE ALL operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas#not_like_all_patterns DataPostgresqlSchemas#not_like_all_patterns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas#not_like_all_patterns DataPostgresqlSchemas#not_like_all_patterns} NotLikeAllPatterns *[]*string `field:"optional" json:"notLikeAllPatterns" yaml:"notLikeAllPatterns"` // Expression which will be pattern matched in the query using the PostgreSQL ~ (regular expression match) operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas#regex_pattern DataPostgresqlSchemas#regex_pattern} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas#regex_pattern DataPostgresqlSchemas#regex_pattern} RegexPattern *string `field:"optional" json:"regexPattern" yaml:"regexPattern"` } diff --git a/gen/postgresql/datapostgresqlschemas/README.md b/gen/postgresql/datapostgresqlschemas/README.md index 642a25cd31..40e8f5207a 100644 --- a/gen/postgresql/datapostgresqlschemas/README.md +++ b/gen/postgresql/datapostgresqlschemas/README.md @@ -1,3 +1,3 @@ # `data_postgresql_schemas` -Refer to the Terraform Registry for docs: [`data_postgresql_schemas`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/schemas). +Refer to the Terraform Registry for docs: [`data_postgresql_schemas`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/schemas). diff --git a/gen/postgresql/datapostgresqlsequences/DataPostgresqlSequences.go b/gen/postgresql/datapostgresqlsequences/DataPostgresqlSequences.go index 1331cdc3fc..43122d685c 100644 --- a/gen/postgresql/datapostgresqlsequences/DataPostgresqlSequences.go +++ b/gen/postgresql/datapostgresqlsequences/DataPostgresqlSequences.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/datapostgresqlsequences/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences postgresql_sequences}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences postgresql_sequences}. type DataPostgresqlSequences interface { cdktf.TerraformDataSource // Experimental. @@ -416,7 +416,7 @@ func (j *jsiiProxy_DataPostgresqlSequences) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences postgresql_sequences} Data Source. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences postgresql_sequences} Data Source. func NewDataPostgresqlSequences(scope constructs.Construct, id *string, config *DataPostgresqlSequencesConfig) DataPostgresqlSequences { _init_.Initialize() @@ -434,7 +434,7 @@ func NewDataPostgresqlSequences(scope constructs.Construct, id *string, config * return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences postgresql_sequences} Data Source. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences postgresql_sequences} Data Source. func NewDataPostgresqlSequences_Override(d DataPostgresqlSequences, scope constructs.Construct, id *string, config *DataPostgresqlSequencesConfig) { _init_.Initialize() diff --git a/gen/postgresql/datapostgresqlsequences/DataPostgresqlSequencesConfig.go b/gen/postgresql/datapostgresqlsequences/DataPostgresqlSequencesConfig.go index 93b6025bf9..95361947b8 100644 --- a/gen/postgresql/datapostgresqlsequences/DataPostgresqlSequencesConfig.go +++ b/gen/postgresql/datapostgresqlsequences/DataPostgresqlSequencesConfig.go @@ -21,32 +21,32 @@ type DataPostgresqlSequencesConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The PostgreSQL database which will be queried for sequence names. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences#database DataPostgresqlSequences#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences#database DataPostgresqlSequences#database} Database *string `field:"required" json:"database" yaml:"database"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences#id DataPostgresqlSequences#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences#id DataPostgresqlSequences#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Expression(s) which will be pattern matched against sequence names in the query using the PostgreSQL LIKE ALL operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences#like_all_patterns DataPostgresqlSequences#like_all_patterns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences#like_all_patterns DataPostgresqlSequences#like_all_patterns} LikeAllPatterns *[]*string `field:"optional" json:"likeAllPatterns" yaml:"likeAllPatterns"` // Expression(s) which will be pattern matched against sequence names in the query using the PostgreSQL LIKE ANY operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences#like_any_patterns DataPostgresqlSequences#like_any_patterns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences#like_any_patterns DataPostgresqlSequences#like_any_patterns} LikeAnyPatterns *[]*string `field:"optional" json:"likeAnyPatterns" yaml:"likeAnyPatterns"` // Expression(s) which will be pattern matched against sequence names in the query using the PostgreSQL NOT LIKE ALL operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences#not_like_all_patterns DataPostgresqlSequences#not_like_all_patterns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences#not_like_all_patterns DataPostgresqlSequences#not_like_all_patterns} NotLikeAllPatterns *[]*string `field:"optional" json:"notLikeAllPatterns" yaml:"notLikeAllPatterns"` // Expression which will be pattern matched against sequence names in the query using the PostgreSQL ~ (regular expression match) operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences#regex_pattern DataPostgresqlSequences#regex_pattern} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences#regex_pattern DataPostgresqlSequences#regex_pattern} RegexPattern *string `field:"optional" json:"regexPattern" yaml:"regexPattern"` // The PostgreSQL schema(s) which will be queried for sequence names. Queries all schemas in the database by default. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences#schemas DataPostgresqlSequences#schemas} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences#schemas DataPostgresqlSequences#schemas} Schemas *[]*string `field:"optional" json:"schemas" yaml:"schemas"` } diff --git a/gen/postgresql/datapostgresqlsequences/README.md b/gen/postgresql/datapostgresqlsequences/README.md index 4d219c8142..5662d1eb13 100644 --- a/gen/postgresql/datapostgresqlsequences/README.md +++ b/gen/postgresql/datapostgresqlsequences/README.md @@ -1,3 +1,3 @@ # `data_postgresql_sequences` -Refer to the Terraform Registry for docs: [`data_postgresql_sequences`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/sequences). +Refer to the Terraform Registry for docs: [`data_postgresql_sequences`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/sequences). diff --git a/gen/postgresql/datapostgresqltables/DataPostgresqlTables.go b/gen/postgresql/datapostgresqltables/DataPostgresqlTables.go index 3d369aa958..2796f45987 100644 --- a/gen/postgresql/datapostgresqltables/DataPostgresqlTables.go +++ b/gen/postgresql/datapostgresqltables/DataPostgresqlTables.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/datapostgresqltables/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables postgresql_tables}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables postgresql_tables}. type DataPostgresqlTables interface { cdktf.TerraformDataSource // Experimental. @@ -440,7 +440,7 @@ func (j *jsiiProxy_DataPostgresqlTables) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables postgresql_tables} Data Source. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables postgresql_tables} Data Source. func NewDataPostgresqlTables(scope constructs.Construct, id *string, config *DataPostgresqlTablesConfig) DataPostgresqlTables { _init_.Initialize() @@ -458,7 +458,7 @@ func NewDataPostgresqlTables(scope constructs.Construct, id *string, config *Dat return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables postgresql_tables} Data Source. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables postgresql_tables} Data Source. func NewDataPostgresqlTables_Override(d DataPostgresqlTables, scope constructs.Construct, id *string, config *DataPostgresqlTablesConfig) { _init_.Initialize() diff --git a/gen/postgresql/datapostgresqltables/DataPostgresqlTablesConfig.go b/gen/postgresql/datapostgresqltables/DataPostgresqlTablesConfig.go index d6dd607cad..bd47c6e1c4 100644 --- a/gen/postgresql/datapostgresqltables/DataPostgresqlTablesConfig.go +++ b/gen/postgresql/datapostgresqltables/DataPostgresqlTablesConfig.go @@ -21,38 +21,38 @@ type DataPostgresqlTablesConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The PostgreSQL database which will be queried for table names. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables#database DataPostgresqlTables#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables#database DataPostgresqlTables#database} Database *string `field:"required" json:"database" yaml:"database"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables#id DataPostgresqlTables#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables#id DataPostgresqlTables#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Expression(s) which will be pattern matched against table names in the query using the PostgreSQL LIKE ALL operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables#like_all_patterns DataPostgresqlTables#like_all_patterns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables#like_all_patterns DataPostgresqlTables#like_all_patterns} LikeAllPatterns *[]*string `field:"optional" json:"likeAllPatterns" yaml:"likeAllPatterns"` // Expression(s) which will be pattern matched against table names in the query using the PostgreSQL LIKE ANY operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables#like_any_patterns DataPostgresqlTables#like_any_patterns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables#like_any_patterns DataPostgresqlTables#like_any_patterns} LikeAnyPatterns *[]*string `field:"optional" json:"likeAnyPatterns" yaml:"likeAnyPatterns"` // Expression(s) which will be pattern matched against table names in the query using the PostgreSQL NOT LIKE ALL operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables#not_like_all_patterns DataPostgresqlTables#not_like_all_patterns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables#not_like_all_patterns DataPostgresqlTables#not_like_all_patterns} NotLikeAllPatterns *[]*string `field:"optional" json:"notLikeAllPatterns" yaml:"notLikeAllPatterns"` // Expression which will be pattern matched against table names in the query using the PostgreSQL ~ (regular expression match) operator. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables#regex_pattern DataPostgresqlTables#regex_pattern} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables#regex_pattern DataPostgresqlTables#regex_pattern} RegexPattern *string `field:"optional" json:"regexPattern" yaml:"regexPattern"` // The PostgreSQL schema(s) which will be queried for table names. Queries all schemas in the database by default. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables#schemas DataPostgresqlTables#schemas} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables#schemas DataPostgresqlTables#schemas} Schemas *[]*string `field:"optional" json:"schemas" yaml:"schemas"` // The PostgreSQL table types which will be queried for table names. // // Includes all table types by default. Use 'BASE TABLE' for normal tables only // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables#table_types DataPostgresqlTables#table_types} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables#table_types DataPostgresqlTables#table_types} TableTypes *[]*string `field:"optional" json:"tableTypes" yaml:"tableTypes"` } diff --git a/gen/postgresql/datapostgresqltables/README.md b/gen/postgresql/datapostgresqltables/README.md index 967ada604b..7a2bc6f736 100644 --- a/gen/postgresql/datapostgresqltables/README.md +++ b/gen/postgresql/datapostgresqltables/README.md @@ -1,3 +1,3 @@ # `data_postgresql_tables` -Refer to the Terraform Registry for docs: [`data_postgresql_tables`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/data-sources/tables). +Refer to the Terraform Registry for docs: [`data_postgresql_tables`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/data-sources/tables). diff --git a/gen/postgresql/defaultprivileges/DefaultPrivileges.go b/gen/postgresql/defaultprivileges/DefaultPrivileges.go index 55829dba15..fc0b9b7179 100644 --- a/gen/postgresql/defaultprivileges/DefaultPrivileges.go +++ b/gen/postgresql/defaultprivileges/DefaultPrivileges.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/defaultprivileges/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges postgresql_default_privileges}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges postgresql_default_privileges}. type DefaultPrivileges interface { cdktf.TerraformResource // Experimental. @@ -470,7 +470,7 @@ func (j *jsiiProxy_DefaultPrivileges) WithGrantOptionInput() interface{} { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges postgresql_default_privileges} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges postgresql_default_privileges} Resource. func NewDefaultPrivileges(scope constructs.Construct, id *string, config *DefaultPrivilegesConfig) DefaultPrivileges { _init_.Initialize() @@ -488,7 +488,7 @@ func NewDefaultPrivileges(scope constructs.Construct, id *string, config *Defaul return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges postgresql_default_privileges} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges postgresql_default_privileges} Resource. func NewDefaultPrivileges_Override(d DefaultPrivileges, scope constructs.Construct, id *string, config *DefaultPrivilegesConfig) { _init_.Initialize() diff --git a/gen/postgresql/defaultprivileges/DefaultPrivilegesConfig.go b/gen/postgresql/defaultprivileges/DefaultPrivilegesConfig.go index 97e971c2d0..c21ce61c5d 100644 --- a/gen/postgresql/defaultprivileges/DefaultPrivilegesConfig.go +++ b/gen/postgresql/defaultprivileges/DefaultPrivilegesConfig.go @@ -21,36 +21,36 @@ type DefaultPrivilegesConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The database to grant default privileges for this role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges#database DefaultPrivileges#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges#database DefaultPrivileges#database} Database *string `field:"required" json:"database" yaml:"database"` // The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges#object_type DefaultPrivileges#object_type} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges#object_type DefaultPrivileges#object_type} ObjectType *string `field:"required" json:"objectType" yaml:"objectType"` // Target role for which to alter default privileges. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges#owner DefaultPrivileges#owner} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges#owner DefaultPrivileges#owner} Owner *string `field:"required" json:"owner" yaml:"owner"` // The list of privileges to apply as default privileges. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges#privileges DefaultPrivileges#privileges} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges#privileges DefaultPrivileges#privileges} Privileges *[]*string `field:"required" json:"privileges" yaml:"privileges"` // The name of the role to which grant default privileges on. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges#role DefaultPrivileges#role} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges#role DefaultPrivileges#role} Role *string `field:"required" json:"role" yaml:"role"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges#id DefaultPrivileges#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges#id DefaultPrivileges#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // The database schema to set default privileges for this role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges#schema DefaultPrivileges#schema} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges#schema DefaultPrivileges#schema} Schema *string `field:"optional" json:"schema" yaml:"schema"` // Permit the grant recipient to grant it to others. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges#with_grant_option DefaultPrivileges#with_grant_option} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges#with_grant_option DefaultPrivileges#with_grant_option} WithGrantOption interface{} `field:"optional" json:"withGrantOption" yaml:"withGrantOption"` } diff --git a/gen/postgresql/defaultprivileges/README.md b/gen/postgresql/defaultprivileges/README.md index 8044b8e701..973fca1260 100644 --- a/gen/postgresql/defaultprivileges/README.md +++ b/gen/postgresql/defaultprivileges/README.md @@ -1,3 +1,3 @@ # `postgresql_default_privileges` -Refer to the Terraform Registry for docs: [`postgresql_default_privileges`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/default_privileges). +Refer to the Terraform Registry for docs: [`postgresql_default_privileges`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/default_privileges). diff --git a/gen/postgresql/extension/Extension.go b/gen/postgresql/extension/Extension.go index 829f9fb5aa..473bbe8cd2 100644 --- a/gen/postgresql/extension/Extension.go +++ b/gen/postgresql/extension/Extension.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/extension/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension postgresql_extension}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension postgresql_extension}. type Extension interface { cdktf.TerraformResource // Experimental. @@ -450,7 +450,7 @@ func (j *jsiiProxy_Extension) VersionInput() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension postgresql_extension} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension postgresql_extension} Resource. func NewExtension(scope constructs.Construct, id *string, config *ExtensionConfig) Extension { _init_.Initialize() @@ -468,7 +468,7 @@ func NewExtension(scope constructs.Construct, id *string, config *ExtensionConfi return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension postgresql_extension} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension postgresql_extension} Resource. func NewExtension_Override(e Extension, scope constructs.Construct, id *string, config *ExtensionConfig) { _init_.Initialize() diff --git a/gen/postgresql/extension/ExtensionConfig.go b/gen/postgresql/extension/ExtensionConfig.go index cb769dc526..8461585449 100644 --- a/gen/postgresql/extension/ExtensionConfig.go +++ b/gen/postgresql/extension/ExtensionConfig.go @@ -19,32 +19,32 @@ type ExtensionConfig struct { Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension#name Extension#name}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension#name Extension#name}. Name *string `field:"required" json:"name" yaml:"name"` // When true, will also create any extensions that this extension depends on that are not already installed. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension#create_cascade Extension#create_cascade} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension#create_cascade Extension#create_cascade} CreateCascade interface{} `field:"optional" json:"createCascade" yaml:"createCascade"` // Sets the database to add the extension to. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension#database Extension#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension#database Extension#database} Database *string `field:"optional" json:"database" yaml:"database"` // When true, will also drop all the objects that depend on the extension, and in turn all objects that depend on those objects. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension#drop_cascade Extension#drop_cascade} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension#drop_cascade Extension#drop_cascade} DropCascade interface{} `field:"optional" json:"dropCascade" yaml:"dropCascade"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension#id Extension#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension#id Extension#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Sets the schema of an extension. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension#schema Extension#schema} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension#schema Extension#schema} Schema *string `field:"optional" json:"schema" yaml:"schema"` // Sets the version number of the extension. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension#version Extension#version} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension#version Extension#version} Version *string `field:"optional" json:"version" yaml:"version"` } diff --git a/gen/postgresql/extension/README.md b/gen/postgresql/extension/README.md index fc16d13e04..0d73df6efc 100644 --- a/gen/postgresql/extension/README.md +++ b/gen/postgresql/extension/README.md @@ -1,3 +1,3 @@ # `postgresql_extension` -Refer to the Terraform Registry for docs: [`postgresql_extension`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/extension). +Refer to the Terraform Registry for docs: [`postgresql_extension`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/extension). diff --git a/gen/postgresql/functionresource/FunctionResource.go b/gen/postgresql/functionresource/FunctionResource.go index 4e4c151c57..8b185def45 100644 --- a/gen/postgresql/functionresource/FunctionResource.go +++ b/gen/postgresql/functionresource/FunctionResource.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/functionresource/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function postgresql_function}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function postgresql_function}. type FunctionResource interface { cdktf.TerraformResource Arg() FunctionResourceArgList @@ -593,7 +593,7 @@ func (j *jsiiProxy_FunctionResource) VolatilityInput() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function postgresql_function} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function postgresql_function} Resource. func NewFunctionResource(scope constructs.Construct, id *string, config *FunctionResourceConfig) FunctionResource { _init_.Initialize() @@ -611,7 +611,7 @@ func NewFunctionResource(scope constructs.Construct, id *string, config *Functio return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function postgresql_function} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function postgresql_function} Resource. func NewFunctionResource_Override(f FunctionResource, scope constructs.Construct, id *string, config *FunctionResourceConfig) { _init_.Initialize() diff --git a/gen/postgresql/functionresource/FunctionResourceArg.go b/gen/postgresql/functionresource/FunctionResourceArg.go index adebaa39e9..25c7621919 100644 --- a/gen/postgresql/functionresource/FunctionResourceArg.go +++ b/gen/postgresql/functionresource/FunctionResourceArg.go @@ -4,19 +4,19 @@ package functionresource type FunctionResourceArg struct { // The argument type. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#type FunctionResource#type} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#type FunctionResource#type} Type *string `field:"required" json:"type" yaml:"type"` // An expression to be used as default value if the parameter is not specified. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#default FunctionResource#default} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#default FunctionResource#default} Default *string `field:"optional" json:"default" yaml:"default"` // The argument mode. One of: IN, OUT, INOUT, or VARIADIC. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#mode FunctionResource#mode} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#mode FunctionResource#mode} Mode *string `field:"optional" json:"mode" yaml:"mode"` // The argument name. The name may be required for some languages or depending on the argument mode. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#name FunctionResource#name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#name FunctionResource#name} Name *string `field:"optional" json:"name" yaml:"name"` } diff --git a/gen/postgresql/functionresource/FunctionResourceConfig.go b/gen/postgresql/functionresource/FunctionResourceConfig.go index e89a994d8f..29e29a8bdd 100644 --- a/gen/postgresql/functionresource/FunctionResourceConfig.go +++ b/gen/postgresql/functionresource/FunctionResourceConfig.go @@ -21,56 +21,56 @@ type FunctionResourceConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Body of the function. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#body FunctionResource#body} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#body FunctionResource#body} Body *string `field:"required" json:"body" yaml:"body"` // Name of the function. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#name FunctionResource#name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#name FunctionResource#name} Name *string `field:"required" json:"name" yaml:"name"` // arg block. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#arg FunctionResource#arg} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#arg FunctionResource#arg} Arg interface{} `field:"optional" json:"arg" yaml:"arg"` // The database where the function is located. If not specified, the provider default database is used. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#database FunctionResource#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#database FunctionResource#database} Database *string `field:"optional" json:"database" yaml:"database"` // Automatically drop objects that depend on the function (such as operators or triggers), and in turn all objects that depend on those objects. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#drop_cascade FunctionResource#drop_cascade} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#drop_cascade FunctionResource#drop_cascade} DropCascade interface{} `field:"optional" json:"dropCascade" yaml:"dropCascade"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#id FunctionResource#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#id FunctionResource#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` - // Language of theof the function. One of: internal, sql, c, plpgsql. + // Language of the function. One of: internal, sql, c, plpgsql. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#language FunctionResource#language} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#language FunctionResource#language} Language *string `field:"optional" json:"language" yaml:"language"` // If the function can be executed in parallel for a single query execution. One of: UNSAFE, RESTRICTED, SAFE. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#parallel FunctionResource#parallel} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#parallel FunctionResource#parallel} Parallel *string `field:"optional" json:"parallel" yaml:"parallel"` // Function return type. If not specified, it will be calculated based on the output arguments. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#returns FunctionResource#returns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#returns FunctionResource#returns} Returns *string `field:"optional" json:"returns" yaml:"returns"` // Schema where the function is located. If not specified, the provider default schema is used. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#schema FunctionResource#schema} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#schema FunctionResource#schema} Schema *string `field:"optional" json:"schema" yaml:"schema"` // If the function should execute with the permissions of the function owner instead of the permissions of the caller. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#security_definer FunctionResource#security_definer} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#security_definer FunctionResource#security_definer} SecurityDefiner interface{} `field:"optional" json:"securityDefiner" yaml:"securityDefiner"` // If the function should always return NULL if any of it's inputs is NULL. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#strict FunctionResource#strict} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#strict FunctionResource#strict} Strict interface{} `field:"optional" json:"strict" yaml:"strict"` // Volatility of the function. One of: VOLATILE, STABLE, IMMUTABLE. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function#volatility FunctionResource#volatility} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function#volatility FunctionResource#volatility} Volatility *string `field:"optional" json:"volatility" yaml:"volatility"` } diff --git a/gen/postgresql/functionresource/README.md b/gen/postgresql/functionresource/README.md index 204055ed13..29266e5187 100644 --- a/gen/postgresql/functionresource/README.md +++ b/gen/postgresql/functionresource/README.md @@ -1,3 +1,3 @@ # `postgresql_function` -Refer to the Terraform Registry for docs: [`postgresql_function`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/function). +Refer to the Terraform Registry for docs: [`postgresql_function`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/function). diff --git a/gen/postgresql/grant/Grant.go b/gen/postgresql/grant/Grant.go index 4edca89b35..c4f7d8c295 100644 --- a/gen/postgresql/grant/Grant.go +++ b/gen/postgresql/grant/Grant.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/grant/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant postgresql_grant}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant postgresql_grant}. type Grant interface { cdktf.TerraformResource // Experimental. @@ -495,7 +495,7 @@ func (j *jsiiProxy_Grant) WithGrantOptionInput() interface{} { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant postgresql_grant} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant postgresql_grant} Resource. func NewGrant(scope constructs.Construct, id *string, config *GrantConfig) Grant { _init_.Initialize() @@ -513,7 +513,7 @@ func NewGrant(scope constructs.Construct, id *string, config *GrantConfig) Grant return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant postgresql_grant} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant postgresql_grant} Resource. func NewGrant_Override(g Grant, scope constructs.Construct, id *string, config *GrantConfig) { _init_.Initialize() diff --git a/gen/postgresql/grant/GrantConfig.go b/gen/postgresql/grant/GrantConfig.go index 817d22a9d1..8e86154ca2 100644 --- a/gen/postgresql/grant/GrantConfig.go +++ b/gen/postgresql/grant/GrantConfig.go @@ -21,40 +21,40 @@ type GrantConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The database to grant privileges on for this role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant#database Grant#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant#database Grant#database} Database *string `field:"required" json:"database" yaml:"database"` // The PostgreSQL object type to grant the privileges on (one of: database, function, procedure, routine, schema, sequence, table, foreign_data_wrapper, foreign_server, column). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant#object_type Grant#object_type} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant#object_type Grant#object_type} ObjectType *string `field:"required" json:"objectType" yaml:"objectType"` // The list of privileges to grant. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant#privileges Grant#privileges} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant#privileges Grant#privileges} Privileges *[]*string `field:"required" json:"privileges" yaml:"privileges"` // The name of the role to grant privileges on. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant#role Grant#role} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant#role Grant#role} Role *string `field:"required" json:"role" yaml:"role"` // The specific columns to grant privileges on for this role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant#columns Grant#columns} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant#columns Grant#columns} Columns *[]*string `field:"optional" json:"columns" yaml:"columns"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant#id Grant#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant#id Grant#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // The specific objects to grant privileges on for this role (empty means all objects of the requested type). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant#objects Grant#objects} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant#objects Grant#objects} Objects *[]*string `field:"optional" json:"objects" yaml:"objects"` // The database schema to grant privileges on for this role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant#schema Grant#schema} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant#schema Grant#schema} Schema *string `field:"optional" json:"schema" yaml:"schema"` // Permit the grant recipient to grant it to others. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant#with_grant_option Grant#with_grant_option} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant#with_grant_option Grant#with_grant_option} WithGrantOption interface{} `field:"optional" json:"withGrantOption" yaml:"withGrantOption"` } diff --git a/gen/postgresql/grant/README.md b/gen/postgresql/grant/README.md index f2c2421a3a..de572b156d 100644 --- a/gen/postgresql/grant/README.md +++ b/gen/postgresql/grant/README.md @@ -1,3 +1,3 @@ # `postgresql_grant` -Refer to the Terraform Registry for docs: [`postgresql_grant`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant). +Refer to the Terraform Registry for docs: [`postgresql_grant`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant). diff --git a/gen/postgresql/grantrole/GrantRole.go b/gen/postgresql/grantrole/GrantRole.go index 52a23dda37..74921af0fd 100644 --- a/gen/postgresql/grantrole/GrantRole.go +++ b/gen/postgresql/grantrole/GrantRole.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/grantrole/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant_role postgresql_grant_role}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant_role postgresql_grant_role}. type GrantRole interface { cdktf.TerraformResource // Experimental. @@ -377,7 +377,7 @@ func (j *jsiiProxy_GrantRole) WithAdminOptionInput() interface{} { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant_role postgresql_grant_role} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant_role postgresql_grant_role} Resource. func NewGrantRole(scope constructs.Construct, id *string, config *GrantRoleConfig) GrantRole { _init_.Initialize() @@ -395,7 +395,7 @@ func NewGrantRole(scope constructs.Construct, id *string, config *GrantRoleConfi return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant_role postgresql_grant_role} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant_role postgresql_grant_role} Resource. func NewGrantRole_Override(g GrantRole, scope constructs.Construct, id *string, config *GrantRoleConfig) { _init_.Initialize() diff --git a/gen/postgresql/grantrole/GrantRoleConfig.go b/gen/postgresql/grantrole/GrantRoleConfig.go index 6c2a77efce..bb3b06d957 100644 --- a/gen/postgresql/grantrole/GrantRoleConfig.go +++ b/gen/postgresql/grantrole/GrantRoleConfig.go @@ -21,20 +21,20 @@ type GrantRoleConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The name of the role that is granted to role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant_role#grant_role GrantRole#grant_role} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant_role#grant_role GrantRole#grant_role} GrantRole *string `field:"required" json:"grantRole" yaml:"grantRole"` // The name of the role to grant grant_role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant_role#role GrantRole#role} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant_role#role GrantRole#role} Role *string `field:"required" json:"role" yaml:"role"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant_role#id GrantRole#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant_role#id GrantRole#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Permit the grant recipient to grant it to others. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant_role#with_admin_option GrantRole#with_admin_option} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant_role#with_admin_option GrantRole#with_admin_option} WithAdminOption interface{} `field:"optional" json:"withAdminOption" yaml:"withAdminOption"` } diff --git a/gen/postgresql/grantrole/README.md b/gen/postgresql/grantrole/README.md index a04083b5a3..6f2e8c27b5 100644 --- a/gen/postgresql/grantrole/README.md +++ b/gen/postgresql/grantrole/README.md @@ -1,3 +1,3 @@ # `postgresql_grant_role` -Refer to the Terraform Registry for docs: [`postgresql_grant_role`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant_role). +Refer to the Terraform Registry for docs: [`postgresql_grant_role`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/grant_role). diff --git a/gen/postgresql/jsii/cdktf-provider-postgresql-0.0.1.tgz b/gen/postgresql/jsii/cdktf-provider-postgresql-0.0.1.tgz index a1c5e55b24..601eb12dce 100644 Binary files a/gen/postgresql/jsii/cdktf-provider-postgresql-0.0.1.tgz and b/gen/postgresql/jsii/cdktf-provider-postgresql-0.0.1.tgz differ diff --git a/gen/postgresql/physicalreplicationslot/PhysicalReplicationSlot.go b/gen/postgresql/physicalreplicationslot/PhysicalReplicationSlot.go index edc21b5889..170ef553dc 100644 --- a/gen/postgresql/physicalreplicationslot/PhysicalReplicationSlot.go +++ b/gen/postgresql/physicalreplicationslot/PhysicalReplicationSlot.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/physicalreplicationslot/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/physical_replication_slot postgresql_physical_replication_slot}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/physical_replication_slot postgresql_physical_replication_slot}. type PhysicalReplicationSlot interface { cdktf.TerraformResource // Experimental. @@ -330,7 +330,7 @@ func (j *jsiiProxy_PhysicalReplicationSlot) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/physical_replication_slot postgresql_physical_replication_slot} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/physical_replication_slot postgresql_physical_replication_slot} Resource. func NewPhysicalReplicationSlot(scope constructs.Construct, id *string, config *PhysicalReplicationSlotConfig) PhysicalReplicationSlot { _init_.Initialize() @@ -348,7 +348,7 @@ func NewPhysicalReplicationSlot(scope constructs.Construct, id *string, config * return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/physical_replication_slot postgresql_physical_replication_slot} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/physical_replication_slot postgresql_physical_replication_slot} Resource. func NewPhysicalReplicationSlot_Override(p PhysicalReplicationSlot, scope constructs.Construct, id *string, config *PhysicalReplicationSlotConfig) { _init_.Initialize() diff --git a/gen/postgresql/physicalreplicationslot/PhysicalReplicationSlotConfig.go b/gen/postgresql/physicalreplicationslot/PhysicalReplicationSlotConfig.go index ef75cdca86..ea9d65a189 100644 --- a/gen/postgresql/physicalreplicationslot/PhysicalReplicationSlotConfig.go +++ b/gen/postgresql/physicalreplicationslot/PhysicalReplicationSlotConfig.go @@ -19,9 +19,9 @@ type PhysicalReplicationSlotConfig struct { Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/physical_replication_slot#name PhysicalReplicationSlot#name}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/physical_replication_slot#name PhysicalReplicationSlot#name}. Name *string `field:"required" json:"name" yaml:"name"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/physical_replication_slot#id PhysicalReplicationSlot#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/physical_replication_slot#id PhysicalReplicationSlot#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. diff --git a/gen/postgresql/physicalreplicationslot/README.md b/gen/postgresql/physicalreplicationslot/README.md index 0a164df1bf..4d5d587316 100644 --- a/gen/postgresql/physicalreplicationslot/README.md +++ b/gen/postgresql/physicalreplicationslot/README.md @@ -1,3 +1,3 @@ # `postgresql_physical_replication_slot` -Refer to the Terraform Registry for docs: [`postgresql_physical_replication_slot`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/physical_replication_slot). +Refer to the Terraform Registry for docs: [`postgresql_physical_replication_slot`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/physical_replication_slot). diff --git a/gen/postgresql/provider/PostgresqlProvider.go b/gen/postgresql/provider/PostgresqlProvider.go index f5aa528c43..97b61bbda1 100644 --- a/gen/postgresql/provider/PostgresqlProvider.go +++ b/gen/postgresql/provider/PostgresqlProvider.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/provider/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs postgresql}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs postgresql}. type PostgresqlProvider interface { cdktf.TerraformProvider Alias() *string @@ -711,7 +711,7 @@ func (j *jsiiProxy_PostgresqlProvider) UsernameInput() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs postgresql} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs postgresql} Resource. func NewPostgresqlProvider(scope constructs.Construct, id *string, config *PostgresqlProviderConfig) PostgresqlProvider { _init_.Initialize() @@ -729,7 +729,7 @@ func NewPostgresqlProvider(scope constructs.Construct, id *string, config *Postg return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs postgresql} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs postgresql} Resource. func NewPostgresqlProvider_Override(p PostgresqlProvider, scope constructs.Construct, id *string, config *PostgresqlProviderConfig) { _init_.Initialize() diff --git a/gen/postgresql/provider/PostgresqlProviderClientcert.go b/gen/postgresql/provider/PostgresqlProviderClientcert.go index 8cec67b97e..7f5ea3f97e 100644 --- a/gen/postgresql/provider/PostgresqlProviderClientcert.go +++ b/gen/postgresql/provider/PostgresqlProviderClientcert.go @@ -4,15 +4,15 @@ package provider type PostgresqlProviderClientcert struct { // The SSL client certificate file path. The file must contain PEM encoded data. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#cert PostgresqlProvider#cert} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#cert PostgresqlProvider#cert} Cert *string `field:"required" json:"cert" yaml:"cert"` // The SSL client certificate private key file path. The file must contain PEM encoded data. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#key PostgresqlProvider#key} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#key PostgresqlProvider#key} Key *string `field:"required" json:"key" yaml:"key"` // Must be set to true if you are inlining the cert/key instead of using a file path. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#sslinline PostgresqlProvider#sslinline} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#sslinline PostgresqlProvider#sslinline} Sslinline interface{} `field:"optional" json:"sslinline" yaml:"sslinline"` } diff --git a/gen/postgresql/provider/PostgresqlProviderConfig.go b/gen/postgresql/provider/PostgresqlProviderConfig.go index fc060fac8b..27ba8412b9 100644 --- a/gen/postgresql/provider/PostgresqlProviderConfig.go +++ b/gen/postgresql/provider/PostgresqlProviderConfig.go @@ -4,91 +4,91 @@ package provider type PostgresqlProviderConfig struct { // Alias name. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#alias PostgresqlProvider#alias} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#alias PostgresqlProvider#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // Use rds_iam instead of password authentication (see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#aws_rds_iam_auth PostgresqlProvider#aws_rds_iam_auth} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#aws_rds_iam_auth PostgresqlProvider#aws_rds_iam_auth} AwsRdsIamAuth interface{} `field:"optional" json:"awsRdsIamAuth" yaml:"awsRdsIamAuth"` // AWS profile to use for IAM auth. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#aws_rds_iam_profile PostgresqlProvider#aws_rds_iam_profile} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#aws_rds_iam_profile PostgresqlProvider#aws_rds_iam_profile} AwsRdsIamProfile *string `field:"optional" json:"awsRdsIamProfile" yaml:"awsRdsIamProfile"` // AWS IAM role to assume for IAM auth. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#aws_rds_iam_provider_role_arn PostgresqlProvider#aws_rds_iam_provider_role_arn} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#aws_rds_iam_provider_role_arn PostgresqlProvider#aws_rds_iam_provider_role_arn} AwsRdsIamProviderRoleArn *string `field:"optional" json:"awsRdsIamProviderRoleArn" yaml:"awsRdsIamProviderRoleArn"` // AWS region to use for IAM auth. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#aws_rds_iam_region PostgresqlProvider#aws_rds_iam_region} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#aws_rds_iam_region PostgresqlProvider#aws_rds_iam_region} AwsRdsIamRegion *string `field:"optional" json:"awsRdsIamRegion" yaml:"awsRdsIamRegion"` // Use MS Azure identity OAuth token (see: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-configure-sign-in-azure-ad-authentication). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#azure_identity_auth PostgresqlProvider#azure_identity_auth} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#azure_identity_auth PostgresqlProvider#azure_identity_auth} AzureIdentityAuth interface{} `field:"optional" json:"azureIdentityAuth" yaml:"azureIdentityAuth"` // MS Azure tenant ID (see: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config.html). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#azure_tenant_id PostgresqlProvider#azure_tenant_id} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#azure_tenant_id PostgresqlProvider#azure_tenant_id} AzureTenantId *string `field:"optional" json:"azureTenantId" yaml:"azureTenantId"` // clientcert block. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#clientcert PostgresqlProvider#clientcert} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#clientcert PostgresqlProvider#clientcert} Clientcert *PostgresqlProviderClientcert `field:"optional" json:"clientcert" yaml:"clientcert"` // Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#connect_timeout PostgresqlProvider#connect_timeout} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#connect_timeout PostgresqlProvider#connect_timeout} ConnectTimeout *float64 `field:"optional" json:"connectTimeout" yaml:"connectTimeout"` - // The name of the database to connect to in order to conenct to (defaults to `postgres`). + // The name of the database to connect to in order to connect to (defaults to `postgres`). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#database PostgresqlProvider#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#database PostgresqlProvider#database} Database *string `field:"optional" json:"database" yaml:"database"` // Database username associated to the connected user (for user name maps). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#database_username PostgresqlProvider#database_username} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#database_username PostgresqlProvider#database_username} DatabaseUsername *string `field:"optional" json:"databaseUsername" yaml:"databaseUsername"` // Specify the expected version of PostgreSQL. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#expected_version PostgresqlProvider#expected_version} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#expected_version PostgresqlProvider#expected_version} ExpectedVersion *string `field:"optional" json:"expectedVersion" yaml:"expectedVersion"` // Service account to impersonate when using GCP IAM authentication. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#gcp_iam_impersonate_service_account PostgresqlProvider#gcp_iam_impersonate_service_account} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#gcp_iam_impersonate_service_account PostgresqlProvider#gcp_iam_impersonate_service_account} GcpIamImpersonateServiceAccount *string `field:"optional" json:"gcpIamImpersonateServiceAccount" yaml:"gcpIamImpersonateServiceAccount"` // Name of PostgreSQL server address to connect to. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#host PostgresqlProvider#host} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#host PostgresqlProvider#host} Host *string `field:"optional" json:"host" yaml:"host"` // Maximum number of connections to establish to the database. Zero means unlimited. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#max_connections PostgresqlProvider#max_connections} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#max_connections PostgresqlProvider#max_connections} MaxConnections *float64 `field:"optional" json:"maxConnections" yaml:"maxConnections"` // Password to be used if the PostgreSQL server demands password authentication. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#password PostgresqlProvider#password} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#password PostgresqlProvider#password} Password *string `field:"optional" json:"password" yaml:"password"` // The PostgreSQL port number to connect to at the server host, or socket file name extension for Unix-domain connections. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#port PostgresqlProvider#port} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#port PostgresqlProvider#port} Port *float64 `field:"optional" json:"port" yaml:"port"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#scheme PostgresqlProvider#scheme}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#scheme PostgresqlProvider#scheme}. Scheme *string `field:"optional" json:"scheme" yaml:"scheme"` // This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL server. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#sslmode PostgresqlProvider#sslmode} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#sslmode PostgresqlProvider#sslmode} Sslmode *string `field:"optional" json:"sslmode" yaml:"sslmode"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#ssl_mode PostgresqlProvider#ssl_mode}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#ssl_mode PostgresqlProvider#ssl_mode}. SslMode *string `field:"optional" json:"sslMode" yaml:"sslMode"` // The SSL server root certificate file path. The file must contain PEM encoded data. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#sslrootcert PostgresqlProvider#sslrootcert} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#sslrootcert PostgresqlProvider#sslrootcert} Sslrootcert *string `field:"optional" json:"sslrootcert" yaml:"sslrootcert"` // Specify if the user to connect as is a Postgres superuser or not.If not, some feature might be disabled (e.g.: Refreshing state password from Postgres). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#superuser PostgresqlProvider#superuser} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#superuser PostgresqlProvider#superuser} Superuser interface{} `field:"optional" json:"superuser" yaml:"superuser"` // PostgreSQL user name to connect as. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs#username PostgresqlProvider#username} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs#username PostgresqlProvider#username} Username *string `field:"optional" json:"username" yaml:"username"` } diff --git a/gen/postgresql/provider/README.md b/gen/postgresql/provider/README.md index 53098d482e..bce73b59c3 100644 --- a/gen/postgresql/provider/README.md +++ b/gen/postgresql/provider/README.md @@ -1,3 +1,3 @@ # `provider` -Refer to the Terraform Registry for docs: [`postgresql`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs). +Refer to the Terraform Registry for docs: [`postgresql`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs). diff --git a/gen/postgresql/publication/Publication.go b/gen/postgresql/publication/Publication.go index e86244b3b9..1fad656bda 100644 --- a/gen/postgresql/publication/Publication.go +++ b/gen/postgresql/publication/Publication.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/publication/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication postgresql_publication}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication postgresql_publication}. type Publication interface { cdktf.TerraformResource AllTables() interface{} @@ -498,7 +498,7 @@ func (j *jsiiProxy_Publication) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication postgresql_publication} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication postgresql_publication} Resource. func NewPublication(scope constructs.Construct, id *string, config *PublicationConfig) Publication { _init_.Initialize() @@ -516,7 +516,7 @@ func NewPublication(scope constructs.Construct, id *string, config *PublicationC return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication postgresql_publication} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication postgresql_publication} Resource. func NewPublication_Override(p Publication, scope constructs.Construct, id *string, config *PublicationConfig) { _init_.Initialize() diff --git a/gen/postgresql/publication/PublicationConfig.go b/gen/postgresql/publication/PublicationConfig.go index d6a1e8cc30..38dab23c5f 100644 --- a/gen/postgresql/publication/PublicationConfig.go +++ b/gen/postgresql/publication/PublicationConfig.go @@ -19,40 +19,40 @@ type PublicationConfig struct { Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication#name Publication#name}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication#name Publication#name}. Name *string `field:"required" json:"name" yaml:"name"` // Sets the tables list to publish to ALL tables. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication#all_tables Publication#all_tables} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication#all_tables Publication#all_tables} AllTables interface{} `field:"optional" json:"allTables" yaml:"allTables"` // Sets the database to add the publication for. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication#database Publication#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication#database Publication#database} Database *string `field:"optional" json:"database" yaml:"database"` // When true, will also drop all the objects that depend on the publication, and in turn all objects that depend on those objects. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication#drop_cascade Publication#drop_cascade} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication#drop_cascade Publication#drop_cascade} DropCascade interface{} `field:"optional" json:"dropCascade" yaml:"dropCascade"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication#id Publication#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication#id Publication#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Sets the owner of the publication. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication#owner Publication#owner} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication#owner Publication#owner} Owner *string `field:"optional" json:"owner" yaml:"owner"` // Sets which DML operations will be published. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication#publish_param Publication#publish_param} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication#publish_param Publication#publish_param} PublishParam *[]*string `field:"optional" json:"publishParam" yaml:"publishParam"` // Sets whether changes in a partitioned table using the identity and schema of the partitioned table. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication#publish_via_partition_root_param Publication#publish_via_partition_root_param} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication#publish_via_partition_root_param Publication#publish_via_partition_root_param} PublishViaPartitionRootParam interface{} `field:"optional" json:"publishViaPartitionRootParam" yaml:"publishViaPartitionRootParam"` // Sets the tables list to publish. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication#tables Publication#tables} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication#tables Publication#tables} Tables *[]*string `field:"optional" json:"tables" yaml:"tables"` } diff --git a/gen/postgresql/publication/README.md b/gen/postgresql/publication/README.md index 66be18e4ab..167f7621c0 100644 --- a/gen/postgresql/publication/README.md +++ b/gen/postgresql/publication/README.md @@ -1,3 +1,3 @@ # `postgresql_publication` -Refer to the Terraform Registry for docs: [`postgresql_publication`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/publication). +Refer to the Terraform Registry for docs: [`postgresql_publication`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/publication). diff --git a/gen/postgresql/replicationslot/README.md b/gen/postgresql/replicationslot/README.md index 056172caf4..ff2e55d5f2 100644 --- a/gen/postgresql/replicationslot/README.md +++ b/gen/postgresql/replicationslot/README.md @@ -1,3 +1,3 @@ # `postgresql_replication_slot` -Refer to the Terraform Registry for docs: [`postgresql_replication_slot`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/replication_slot). +Refer to the Terraform Registry for docs: [`postgresql_replication_slot`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/replication_slot). diff --git a/gen/postgresql/replicationslot/ReplicationSlot.go b/gen/postgresql/replicationslot/ReplicationSlot.go index 0169583897..9c79bce2ef 100644 --- a/gen/postgresql/replicationslot/ReplicationSlot.go +++ b/gen/postgresql/replicationslot/ReplicationSlot.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/replicationslot/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/replication_slot postgresql_replication_slot}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/replication_slot postgresql_replication_slot}. type ReplicationSlot interface { cdktf.TerraformResource // Experimental. @@ -377,7 +377,7 @@ func (j *jsiiProxy_ReplicationSlot) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/replication_slot postgresql_replication_slot} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/replication_slot postgresql_replication_slot} Resource. func NewReplicationSlot(scope constructs.Construct, id *string, config *ReplicationSlotConfig) ReplicationSlot { _init_.Initialize() @@ -395,7 +395,7 @@ func NewReplicationSlot(scope constructs.Construct, id *string, config *Replicat return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/replication_slot postgresql_replication_slot} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/replication_slot postgresql_replication_slot} Resource. func NewReplicationSlot_Override(r ReplicationSlot, scope constructs.Construct, id *string, config *ReplicationSlotConfig) { _init_.Initialize() diff --git a/gen/postgresql/replicationslot/ReplicationSlotConfig.go b/gen/postgresql/replicationslot/ReplicationSlotConfig.go index bc8c4e9f44..11e3ae0aea 100644 --- a/gen/postgresql/replicationslot/ReplicationSlotConfig.go +++ b/gen/postgresql/replicationslot/ReplicationSlotConfig.go @@ -19,17 +19,17 @@ type ReplicationSlotConfig struct { Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/replication_slot#name ReplicationSlot#name}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/replication_slot#name ReplicationSlot#name}. Name *string `field:"required" json:"name" yaml:"name"` // Sets the output plugin to use. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/replication_slot#plugin ReplicationSlot#plugin} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/replication_slot#plugin ReplicationSlot#plugin} Plugin *string `field:"required" json:"plugin" yaml:"plugin"` // Sets the database to add the replication slot to. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/replication_slot#database ReplicationSlot#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/replication_slot#database ReplicationSlot#database} Database *string `field:"optional" json:"database" yaml:"database"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/replication_slot#id ReplicationSlot#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/replication_slot#id ReplicationSlot#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. diff --git a/gen/postgresql/role/README.md b/gen/postgresql/role/README.md index d1259c583d..a854525b79 100644 --- a/gen/postgresql/role/README.md +++ b/gen/postgresql/role/README.md @@ -1,3 +1,3 @@ # `postgresql_role` -Refer to the Terraform Registry for docs: [`postgresql_role`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role). +Refer to the Terraform Registry for docs: [`postgresql_role`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role). diff --git a/gen/postgresql/role/Role.go b/gen/postgresql/role/Role.go index d0575a154d..3541545874 100644 --- a/gen/postgresql/role/Role.go +++ b/gen/postgresql/role/Role.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/role/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role postgresql_role}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role postgresql_role}. type Role interface { cdktf.TerraformResource AssumeRole() *string @@ -786,7 +786,7 @@ func (j *jsiiProxy_Role) ValidUntilInput() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role postgresql_role} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role postgresql_role} Resource. func NewRole(scope constructs.Construct, id *string, config *RoleConfig) Role { _init_.Initialize() @@ -804,7 +804,7 @@ func NewRole(scope constructs.Construct, id *string, config *RoleConfig) Role { return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role postgresql_role} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role postgresql_role} Resource. func NewRole_Override(r Role, scope constructs.Construct, id *string, config *RoleConfig) { _init_.Initialize() diff --git a/gen/postgresql/role/RoleConfig.go b/gen/postgresql/role/RoleConfig.go index 17cfb89c16..190515419e 100644 --- a/gen/postgresql/role/RoleConfig.go +++ b/gen/postgresql/role/RoleConfig.go @@ -21,86 +21,86 @@ type RoleConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The name of the role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#name Role#name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#name Role#name} Name *string `field:"required" json:"name" yaml:"name"` // Role to switch to at login. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#assume_role Role#assume_role} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#assume_role Role#assume_role} AssumeRole *string `field:"optional" json:"assumeRole" yaml:"assumeRole"` // Determine whether a role bypasses every row-level security (RLS) policy. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#bypass_row_level_security Role#bypass_row_level_security} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#bypass_row_level_security Role#bypass_row_level_security} BypassRowLevelSecurity interface{} `field:"optional" json:"bypassRowLevelSecurity" yaml:"bypassRowLevelSecurity"` // How many concurrent connections can be made with this role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#connection_limit Role#connection_limit} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#connection_limit Role#connection_limit} ConnectionLimit *float64 `field:"optional" json:"connectionLimit" yaml:"connectionLimit"` // Define a role's ability to create databases. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#create_database Role#create_database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#create_database Role#create_database} CreateDatabase interface{} `field:"optional" json:"createDatabase" yaml:"createDatabase"` // Determine whether this role will be permitted to create new roles. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#create_role Role#create_role} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#create_role Role#create_role} CreateRole interface{} `field:"optional" json:"createRole" yaml:"createRole"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#encrypted Role#encrypted}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#encrypted Role#encrypted}. Encrypted *string `field:"optional" json:"encrypted" yaml:"encrypted"` // Control whether the password is stored encrypted in the system catalogs. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#encrypted_password Role#encrypted_password} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#encrypted_password Role#encrypted_password} EncryptedPassword interface{} `field:"optional" json:"encryptedPassword" yaml:"encryptedPassword"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#id Role#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#id Role#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Terminate any session with an open transaction that has been idle for longer than the specified duration in milliseconds. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#idle_in_transaction_session_timeout Role#idle_in_transaction_session_timeout} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#idle_in_transaction_session_timeout Role#idle_in_transaction_session_timeout} IdleInTransactionSessionTimeout *float64 `field:"optional" json:"idleInTransactionSessionTimeout" yaml:"idleInTransactionSessionTimeout"` // Determine whether a role "inherits" the privileges of roles it is a member of. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#inherit Role#inherit} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#inherit Role#inherit} Inherit interface{} `field:"optional" json:"inherit" yaml:"inherit"` // Determine whether a role is allowed to log in. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#login Role#login} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#login Role#login} Login interface{} `field:"optional" json:"login" yaml:"login"` // Sets the role's password. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#password Role#password} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#password Role#password} Password *string `field:"optional" json:"password" yaml:"password"` // Determine whether a role is allowed to initiate streaming replication or put the system in and out of backup mode. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#replication Role#replication} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#replication Role#replication} Replication interface{} `field:"optional" json:"replication" yaml:"replication"` // Role(s) to grant to this new role. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#roles Role#roles} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#roles Role#roles} Roles *[]*string `field:"optional" json:"roles" yaml:"roles"` // Sets the role's search path. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#search_path Role#search_path} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#search_path Role#search_path} SearchPath *[]*string `field:"optional" json:"searchPath" yaml:"searchPath"` // Skip actually running the DROP ROLE command when removing a ROLE from PostgreSQL. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#skip_drop_role Role#skip_drop_role} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#skip_drop_role Role#skip_drop_role} SkipDropRole interface{} `field:"optional" json:"skipDropRole" yaml:"skipDropRole"` // Skip actually running the REASSIGN OWNED command when removing a role from PostgreSQL. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#skip_reassign_owned Role#skip_reassign_owned} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#skip_reassign_owned Role#skip_reassign_owned} SkipReassignOwned interface{} `field:"optional" json:"skipReassignOwned" yaml:"skipReassignOwned"` // Abort any statement that takes more than the specified number of milliseconds. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#statement_timeout Role#statement_timeout} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#statement_timeout Role#statement_timeout} StatementTimeout *float64 `field:"optional" json:"statementTimeout" yaml:"statementTimeout"` // Determine whether the new role is a "superuser". // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#superuser Role#superuser} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#superuser Role#superuser} Superuser interface{} `field:"optional" json:"superuser" yaml:"superuser"` // Sets a date and time after which the role's password is no longer valid. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role#valid_until Role#valid_until} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role#valid_until Role#valid_until} ValidUntil *string `field:"optional" json:"validUntil" yaml:"validUntil"` } diff --git a/gen/postgresql/roleattribute/README.md b/gen/postgresql/roleattribute/README.md new file mode 100644 index 0000000000..2d28da9ff4 --- /dev/null +++ b/gen/postgresql/roleattribute/README.md @@ -0,0 +1,3 @@ +# `postgresql_role_attribute` + +Refer to the Terraform Registry for docs: [`postgresql_role_attribute`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute). diff --git a/gen/postgresql/roleattribute/RoleAttribute.go b/gen/postgresql/roleattribute/RoleAttribute.go new file mode 100644 index 0000000000..453a707d57 --- /dev/null +++ b/gen/postgresql/roleattribute/RoleAttribute.go @@ -0,0 +1,1586 @@ +package roleattribute + +import ( + _jsii_ "github.com/aws/jsii-runtime-go/runtime" + _init_ "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/jsii" + + "github.com/aws/constructs-go/constructs/v10" + "github.com/hashicorp/terraform-cdk-go/cdktf" + "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/roleattribute/internal" +) + +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute postgresql_role_attribute}. +type RoleAttribute interface { + cdktf.TerraformResource + AssumeRole() *string + SetAssumeRole(val *string) + AssumeRoleInput() *string + BypassRowLevelSecurity() interface{} + SetBypassRowLevelSecurity(val interface{}) + BypassRowLevelSecurityInput() interface{} + // Experimental. + CdktfStack() cdktf.TerraformStack + // Experimental. + Connection() interface{} + // Experimental. + SetConnection(val interface{}) + ConnectionLimit() *float64 + SetConnectionLimit(val *float64) + ConnectionLimitInput() *float64 + // Experimental. + ConstructNodeMetadata() *map[string]interface{} + // Experimental. + Count() interface{} + // Experimental. + SetCount(val interface{}) + CreateDatabase() interface{} + SetCreateDatabase(val interface{}) + CreateDatabaseInput() interface{} + CreateRole() interface{} + SetCreateRole(val interface{}) + CreateRoleInput() interface{} + // Experimental. + DependsOn() *[]*string + // Experimental. + SetDependsOn(val *[]*string) + EncryptedPassword() interface{} + SetEncryptedPassword(val interface{}) + EncryptedPasswordInput() interface{} + ExtensionAttrs() *map[string]*string + SetExtensionAttrs(val *map[string]*string) + ExtensionAttrsInput() *map[string]*string + // Experimental. + ForEach() cdktf.ITerraformIterator + // Experimental. + SetForEach(val cdktf.ITerraformIterator) + // Experimental. + Fqn() *string + // Experimental. + FriendlyUniqueId() *string + Id() *string + SetId(val *string) + IdInput() *string + IdleInTransactionSessionTimeout() *float64 + SetIdleInTransactionSessionTimeout(val *float64) + IdleInTransactionSessionTimeoutInput() *float64 + Inherit() interface{} + SetInherit(val interface{}) + InheritInput() interface{} + // Experimental. + Lifecycle() *cdktf.TerraformResourceLifecycle + // Experimental. + SetLifecycle(val *cdktf.TerraformResourceLifecycle) + Login() interface{} + SetLogin(val interface{}) + LoginInput() interface{} + Name() *string + SetName(val *string) + NameInput() *string + // The tree node. + Node() constructs.Node + Password() *string + SetPassword(val *string) + PasswordInput() *string + // Experimental. + Provider() cdktf.TerraformProvider + // Experimental. + SetProvider(val cdktf.TerraformProvider) + // Experimental. + Provisioners() *[]interface{} + // Experimental. + SetProvisioners(val *[]interface{}) + // Experimental. + RawOverrides() interface{} + Replication() interface{} + SetReplication(val interface{}) + ReplicationInput() interface{} + SearchPath() *[]*string + SetSearchPath(val *[]*string) + SearchPathInput() *[]*string + StatementTimeout() *float64 + SetStatementTimeout(val *float64) + StatementTimeoutInput() *float64 + Superuser() interface{} + SetSuperuser(val interface{}) + SuperuserInput() interface{} + // Experimental. + TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata + // Experimental. + TerraformMetaArguments() *map[string]interface{} + // Experimental. + TerraformResourceType() *string + ValidUntil() *string + SetValidUntil(val *string) + ValidUntilInput() *string + // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + // Experimental. + AddMoveTarget(moveTarget *string) + // Experimental. + AddOverride(path *string, value interface{}) + // Experimental. + GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} + // Experimental. + GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable + // Experimental. + GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool + // Experimental. + GetListAttribute(terraformAttribute *string) *[]*string + // Experimental. + GetNumberAttribute(terraformAttribute *string) *float64 + // Experimental. + GetNumberListAttribute(terraformAttribute *string) *[]*float64 + // Experimental. + GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 + // Experimental. + GetStringAttribute(terraformAttribute *string) *string + // Experimental. + GetStringMapAttribute(terraformAttribute *string) *map[string]*string + // Experimental. + HasResourceMove() interface{} + // Experimental. + ImportFrom(id *string, provider cdktf.TerraformProvider) + // Experimental. + InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable + // Move the resource corresponding to "id" to this resource. + // + // Note that the resource being moved from must be marked as moved using it's instance function. + // Experimental. + MoveFromId(id *string) + // Moves this resource to the target resource given by moveTarget. + // Experimental. + MoveTo(moveTarget *string, index interface{}) + // Moves this resource to the resource corresponding to "id". + // Experimental. + MoveToId(id *string) + // Overrides the auto-generated logical ID with a specific ID. + // Experimental. + OverrideLogicalId(newLogicalId *string) + ResetAssumeRole() + ResetBypassRowLevelSecurity() + ResetConnectionLimit() + ResetCreateDatabase() + ResetCreateRole() + ResetEncryptedPassword() + ResetExtensionAttrs() + ResetId() + ResetIdleInTransactionSessionTimeout() + ResetInherit() + ResetLogin() + // Resets a previously passed logical Id to use the auto-generated logical id again. + // Experimental. + ResetOverrideLogicalId() + ResetPassword() + ResetReplication() + ResetSearchPath() + ResetStatementTimeout() + ResetSuperuser() + ResetValidUntil() + SynthesizeAttributes() *map[string]interface{} + SynthesizeHclAttributes() *map[string]interface{} + // Experimental. + ToHclTerraform() interface{} + // Experimental. + ToMetadata() interface{} + // Returns a string representation of this construct. + ToString() *string + // Adds this resource to the terraform JSON output. + // Experimental. + ToTerraform() interface{} +} + +// The jsii proxy struct for RoleAttribute +type jsiiProxy_RoleAttribute struct { + internal.Type__cdktfTerraformResource +} + +func (j *jsiiProxy_RoleAttribute) AssumeRole() *string { + var returns *string + _jsii_.Get( + j, + "assumeRole", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) AssumeRoleInput() *string { + var returns *string + _jsii_.Get( + j, + "assumeRoleInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) BypassRowLevelSecurity() interface{} { + var returns interface{} + _jsii_.Get( + j, + "bypassRowLevelSecurity", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) BypassRowLevelSecurityInput() interface{} { + var returns interface{} + _jsii_.Get( + j, + "bypassRowLevelSecurityInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) CdktfStack() cdktf.TerraformStack { + var returns cdktf.TerraformStack + _jsii_.Get( + j, + "cdktfStack", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Connection() interface{} { + var returns interface{} + _jsii_.Get( + j, + "connection", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) ConnectionLimit() *float64 { + var returns *float64 + _jsii_.Get( + j, + "connectionLimit", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) ConnectionLimitInput() *float64 { + var returns *float64 + _jsii_.Get( + j, + "connectionLimitInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) ConstructNodeMetadata() *map[string]interface{} { + var returns *map[string]interface{} + _jsii_.Get( + j, + "constructNodeMetadata", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Count() interface{} { + var returns interface{} + _jsii_.Get( + j, + "count", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) CreateDatabase() interface{} { + var returns interface{} + _jsii_.Get( + j, + "createDatabase", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) CreateDatabaseInput() interface{} { + var returns interface{} + _jsii_.Get( + j, + "createDatabaseInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) CreateRole() interface{} { + var returns interface{} + _jsii_.Get( + j, + "createRole", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) CreateRoleInput() interface{} { + var returns interface{} + _jsii_.Get( + j, + "createRoleInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) DependsOn() *[]*string { + var returns *[]*string + _jsii_.Get( + j, + "dependsOn", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) EncryptedPassword() interface{} { + var returns interface{} + _jsii_.Get( + j, + "encryptedPassword", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) EncryptedPasswordInput() interface{} { + var returns interface{} + _jsii_.Get( + j, + "encryptedPasswordInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) ExtensionAttrs() *map[string]*string { + var returns *map[string]*string + _jsii_.Get( + j, + "extensionAttrs", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) ExtensionAttrsInput() *map[string]*string { + var returns *map[string]*string + _jsii_.Get( + j, + "extensionAttrsInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) ForEach() cdktf.ITerraformIterator { + var returns cdktf.ITerraformIterator + _jsii_.Get( + j, + "forEach", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Fqn() *string { + var returns *string + _jsii_.Get( + j, + "fqn", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) FriendlyUniqueId() *string { + var returns *string + _jsii_.Get( + j, + "friendlyUniqueId", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Id() *string { + var returns *string + _jsii_.Get( + j, + "id", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) IdInput() *string { + var returns *string + _jsii_.Get( + j, + "idInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) IdleInTransactionSessionTimeout() *float64 { + var returns *float64 + _jsii_.Get( + j, + "idleInTransactionSessionTimeout", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) IdleInTransactionSessionTimeoutInput() *float64 { + var returns *float64 + _jsii_.Get( + j, + "idleInTransactionSessionTimeoutInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Inherit() interface{} { + var returns interface{} + _jsii_.Get( + j, + "inherit", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) InheritInput() interface{} { + var returns interface{} + _jsii_.Get( + j, + "inheritInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Lifecycle() *cdktf.TerraformResourceLifecycle { + var returns *cdktf.TerraformResourceLifecycle + _jsii_.Get( + j, + "lifecycle", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Login() interface{} { + var returns interface{} + _jsii_.Get( + j, + "login", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) LoginInput() interface{} { + var returns interface{} + _jsii_.Get( + j, + "loginInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Name() *string { + var returns *string + _jsii_.Get( + j, + "name", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) NameInput() *string { + var returns *string + _jsii_.Get( + j, + "nameInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Node() constructs.Node { + var returns constructs.Node + _jsii_.Get( + j, + "node", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Password() *string { + var returns *string + _jsii_.Get( + j, + "password", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) PasswordInput() *string { + var returns *string + _jsii_.Get( + j, + "passwordInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Provider() cdktf.TerraformProvider { + var returns cdktf.TerraformProvider + _jsii_.Get( + j, + "provider", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Provisioners() *[]interface{} { + var returns *[]interface{} + _jsii_.Get( + j, + "provisioners", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) RawOverrides() interface{} { + var returns interface{} + _jsii_.Get( + j, + "rawOverrides", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Replication() interface{} { + var returns interface{} + _jsii_.Get( + j, + "replication", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) ReplicationInput() interface{} { + var returns interface{} + _jsii_.Get( + j, + "replicationInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) SearchPath() *[]*string { + var returns *[]*string + _jsii_.Get( + j, + "searchPath", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) SearchPathInput() *[]*string { + var returns *[]*string + _jsii_.Get( + j, + "searchPathInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) StatementTimeout() *float64 { + var returns *float64 + _jsii_.Get( + j, + "statementTimeout", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) StatementTimeoutInput() *float64 { + var returns *float64 + _jsii_.Get( + j, + "statementTimeoutInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) Superuser() interface{} { + var returns interface{} + _jsii_.Get( + j, + "superuser", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) SuperuserInput() interface{} { + var returns interface{} + _jsii_.Get( + j, + "superuserInput", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata { + var returns *cdktf.TerraformProviderGeneratorMetadata + _jsii_.Get( + j, + "terraformGeneratorMetadata", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) TerraformMetaArguments() *map[string]interface{} { + var returns *map[string]interface{} + _jsii_.Get( + j, + "terraformMetaArguments", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) TerraformResourceType() *string { + var returns *string + _jsii_.Get( + j, + "terraformResourceType", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) ValidUntil() *string { + var returns *string + _jsii_.Get( + j, + "validUntil", + &returns, + ) + return returns +} + +func (j *jsiiProxy_RoleAttribute) ValidUntilInput() *string { + var returns *string + _jsii_.Get( + j, + "validUntilInput", + &returns, + ) + return returns +} + + +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute postgresql_role_attribute} Resource. +func NewRoleAttribute(scope constructs.Construct, id *string, config *RoleAttributeConfig) RoleAttribute { + _init_.Initialize() + + if err := validateNewRoleAttributeParameters(scope, id, config); err != nil { + panic(err) + } + j := jsiiProxy_RoleAttribute{} + + _jsii_.Create( + "@cdktf/provider-postgresql.roleAttribute.RoleAttribute", + []interface{}{scope, id, config}, + &j, + ) + + return &j +} + +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute postgresql_role_attribute} Resource. +func NewRoleAttribute_Override(r RoleAttribute, scope constructs.Construct, id *string, config *RoleAttributeConfig) { + _init_.Initialize() + + _jsii_.Create( + "@cdktf/provider-postgresql.roleAttribute.RoleAttribute", + []interface{}{scope, id, config}, + r, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetAssumeRole(val *string) { + if err := j.validateSetAssumeRoleParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "assumeRole", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetBypassRowLevelSecurity(val interface{}) { + if err := j.validateSetBypassRowLevelSecurityParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "bypassRowLevelSecurity", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetConnection(val interface{}) { + if err := j.validateSetConnectionParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "connection", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetConnectionLimit(val *float64) { + if err := j.validateSetConnectionLimitParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "connectionLimit", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetCount(val interface{}) { + if err := j.validateSetCountParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "count", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetCreateDatabase(val interface{}) { + if err := j.validateSetCreateDatabaseParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "createDatabase", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetCreateRole(val interface{}) { + if err := j.validateSetCreateRoleParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "createRole", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetDependsOn(val *[]*string) { + _jsii_.Set( + j, + "dependsOn", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetEncryptedPassword(val interface{}) { + if err := j.validateSetEncryptedPasswordParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "encryptedPassword", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetExtensionAttrs(val *map[string]*string) { + if err := j.validateSetExtensionAttrsParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "extensionAttrs", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetForEach(val cdktf.ITerraformIterator) { + _jsii_.Set( + j, + "forEach", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetId(val *string) { + if err := j.validateSetIdParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "id", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetIdleInTransactionSessionTimeout(val *float64) { + if err := j.validateSetIdleInTransactionSessionTimeoutParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "idleInTransactionSessionTimeout", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetInherit(val interface{}) { + if err := j.validateSetInheritParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "inherit", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetLifecycle(val *cdktf.TerraformResourceLifecycle) { + if err := j.validateSetLifecycleParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "lifecycle", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetLogin(val interface{}) { + if err := j.validateSetLoginParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "login", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetName(val *string) { + if err := j.validateSetNameParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "name", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetPassword(val *string) { + if err := j.validateSetPasswordParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "password", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetProvider(val cdktf.TerraformProvider) { + _jsii_.Set( + j, + "provider", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetProvisioners(val *[]interface{}) { + if err := j.validateSetProvisionersParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "provisioners", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetReplication(val interface{}) { + if err := j.validateSetReplicationParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "replication", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetSearchPath(val *[]*string) { + if err := j.validateSetSearchPathParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "searchPath", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetStatementTimeout(val *float64) { + if err := j.validateSetStatementTimeoutParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "statementTimeout", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetSuperuser(val interface{}) { + if err := j.validateSetSuperuserParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "superuser", + val, + ) +} + +func (j *jsiiProxy_RoleAttribute)SetValidUntil(val *string) { + if err := j.validateSetValidUntilParameters(val); err != nil { + panic(err) + } + _jsii_.Set( + j, + "validUntil", + val, + ) +} + +// Generates CDKTF code for importing a RoleAttribute resource upon running "cdktf plan ". +func RoleAttribute_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource { + _init_.Initialize() + + if err := validateRoleAttribute_GenerateConfigForImportParameters(scope, importToId, importFromId); err != nil { + panic(err) + } + var returns cdktf.ImportableResource + + _jsii_.StaticInvoke( + "@cdktf/provider-postgresql.roleAttribute.RoleAttribute", + "generateConfigForImport", + []interface{}{scope, importToId, importFromId, provider}, + &returns, + ) + + return returns +} + +// Checks if `x` is a construct. +// +// Use this method instead of `instanceof` to properly detect `Construct` +// instances, even when the construct library is symlinked. +// +// Explanation: in JavaScript, multiple copies of the `constructs` library on +// disk are seen as independent, completely different libraries. As a +// consequence, the class `Construct` in each copy of the `constructs` library +// is seen as a different class, and an instance of one class will not test as +// `instanceof` the other class. `npm install` will not create installations +// like this, but users may manually symlink construct libraries together or +// use a monorepo tool: in those cases, multiple copies of the `constructs` +// library can be accidentally installed, and `instanceof` will behave +// unpredictably. It is safest to avoid using `instanceof`, and using +// this type-testing method instead. +// +// Returns: true if `x` is an object created from a class which extends `Construct`. +func RoleAttribute_IsConstruct(x interface{}) *bool { + _init_.Initialize() + + if err := validateRoleAttribute_IsConstructParameters(x); err != nil { + panic(err) + } + var returns *bool + + _jsii_.StaticInvoke( + "@cdktf/provider-postgresql.roleAttribute.RoleAttribute", + "isConstruct", + []interface{}{x}, + &returns, + ) + + return returns +} + +// Experimental. +func RoleAttribute_IsTerraformElement(x interface{}) *bool { + _init_.Initialize() + + if err := validateRoleAttribute_IsTerraformElementParameters(x); err != nil { + panic(err) + } + var returns *bool + + _jsii_.StaticInvoke( + "@cdktf/provider-postgresql.roleAttribute.RoleAttribute", + "isTerraformElement", + []interface{}{x}, + &returns, + ) + + return returns +} + +// Experimental. +func RoleAttribute_IsTerraformResource(x interface{}) *bool { + _init_.Initialize() + + if err := validateRoleAttribute_IsTerraformResourceParameters(x); err != nil { + panic(err) + } + var returns *bool + + _jsii_.StaticInvoke( + "@cdktf/provider-postgresql.roleAttribute.RoleAttribute", + "isTerraformResource", + []interface{}{x}, + &returns, + ) + + return returns +} + +func RoleAttribute_TfResourceType() *string { + _init_.Initialize() + var returns *string + _jsii_.StaticGet( + "@cdktf/provider-postgresql.roleAttribute.RoleAttribute", + "tfResourceType", + &returns, + ) + return returns +} + +func (r *jsiiProxy_RoleAttribute) AddMoveTarget(moveTarget *string) { + if err := r.validateAddMoveTargetParameters(moveTarget); err != nil { + panic(err) + } + _jsii_.InvokeVoid( + r, + "addMoveTarget", + []interface{}{moveTarget}, + ) +} + +func (r *jsiiProxy_RoleAttribute) AddOverride(path *string, value interface{}) { + if err := r.validateAddOverrideParameters(path, value); err != nil { + panic(err) + } + _jsii_.InvokeVoid( + r, + "addOverride", + []interface{}{path, value}, + ) +} + +func (r *jsiiProxy_RoleAttribute) GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} { + if err := r.validateGetAnyMapAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns *map[string]interface{} + + _jsii_.Invoke( + r, + "getAnyMapAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable { + if err := r.validateGetBooleanAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns cdktf.IResolvable + + _jsii_.Invoke( + r, + "getBooleanAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool { + if err := r.validateGetBooleanMapAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns *map[string]*bool + + _jsii_.Invoke( + r, + "getBooleanMapAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) GetListAttribute(terraformAttribute *string) *[]*string { + if err := r.validateGetListAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns *[]*string + + _jsii_.Invoke( + r, + "getListAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) GetNumberAttribute(terraformAttribute *string) *float64 { + if err := r.validateGetNumberAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns *float64 + + _jsii_.Invoke( + r, + "getNumberAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) GetNumberListAttribute(terraformAttribute *string) *[]*float64 { + if err := r.validateGetNumberListAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns *[]*float64 + + _jsii_.Invoke( + r, + "getNumberListAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 { + if err := r.validateGetNumberMapAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns *map[string]*float64 + + _jsii_.Invoke( + r, + "getNumberMapAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) GetStringAttribute(terraformAttribute *string) *string { + if err := r.validateGetStringAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns *string + + _jsii_.Invoke( + r, + "getStringAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) GetStringMapAttribute(terraformAttribute *string) *map[string]*string { + if err := r.validateGetStringMapAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns *map[string]*string + + _jsii_.Invoke( + r, + "getStringMapAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) HasResourceMove() interface{} { + var returns interface{} + + _jsii_.Invoke( + r, + "hasResourceMove", + nil, // no parameters + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) ImportFrom(id *string, provider cdktf.TerraformProvider) { + if err := r.validateImportFromParameters(id); err != nil { + panic(err) + } + _jsii_.InvokeVoid( + r, + "importFrom", + []interface{}{id, provider}, + ) +} + +func (r *jsiiProxy_RoleAttribute) InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable { + if err := r.validateInterpolationForAttributeParameters(terraformAttribute); err != nil { + panic(err) + } + var returns cdktf.IResolvable + + _jsii_.Invoke( + r, + "interpolationForAttribute", + []interface{}{terraformAttribute}, + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) MoveFromId(id *string) { + if err := r.validateMoveFromIdParameters(id); err != nil { + panic(err) + } + _jsii_.InvokeVoid( + r, + "moveFromId", + []interface{}{id}, + ) +} + +func (r *jsiiProxy_RoleAttribute) MoveTo(moveTarget *string, index interface{}) { + if err := r.validateMoveToParameters(moveTarget, index); err != nil { + panic(err) + } + _jsii_.InvokeVoid( + r, + "moveTo", + []interface{}{moveTarget, index}, + ) +} + +func (r *jsiiProxy_RoleAttribute) MoveToId(id *string) { + if err := r.validateMoveToIdParameters(id); err != nil { + panic(err) + } + _jsii_.InvokeVoid( + r, + "moveToId", + []interface{}{id}, + ) +} + +func (r *jsiiProxy_RoleAttribute) OverrideLogicalId(newLogicalId *string) { + if err := r.validateOverrideLogicalIdParameters(newLogicalId); err != nil { + panic(err) + } + _jsii_.InvokeVoid( + r, + "overrideLogicalId", + []interface{}{newLogicalId}, + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetAssumeRole() { + _jsii_.InvokeVoid( + r, + "resetAssumeRole", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetBypassRowLevelSecurity() { + _jsii_.InvokeVoid( + r, + "resetBypassRowLevelSecurity", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetConnectionLimit() { + _jsii_.InvokeVoid( + r, + "resetConnectionLimit", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetCreateDatabase() { + _jsii_.InvokeVoid( + r, + "resetCreateDatabase", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetCreateRole() { + _jsii_.InvokeVoid( + r, + "resetCreateRole", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetEncryptedPassword() { + _jsii_.InvokeVoid( + r, + "resetEncryptedPassword", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetExtensionAttrs() { + _jsii_.InvokeVoid( + r, + "resetExtensionAttrs", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetId() { + _jsii_.InvokeVoid( + r, + "resetId", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetIdleInTransactionSessionTimeout() { + _jsii_.InvokeVoid( + r, + "resetIdleInTransactionSessionTimeout", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetInherit() { + _jsii_.InvokeVoid( + r, + "resetInherit", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetLogin() { + _jsii_.InvokeVoid( + r, + "resetLogin", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetOverrideLogicalId() { + _jsii_.InvokeVoid( + r, + "resetOverrideLogicalId", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetPassword() { + _jsii_.InvokeVoid( + r, + "resetPassword", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetReplication() { + _jsii_.InvokeVoid( + r, + "resetReplication", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetSearchPath() { + _jsii_.InvokeVoid( + r, + "resetSearchPath", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetStatementTimeout() { + _jsii_.InvokeVoid( + r, + "resetStatementTimeout", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetSuperuser() { + _jsii_.InvokeVoid( + r, + "resetSuperuser", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) ResetValidUntil() { + _jsii_.InvokeVoid( + r, + "resetValidUntil", + nil, // no parameters + ) +} + +func (r *jsiiProxy_RoleAttribute) SynthesizeAttributes() *map[string]interface{} { + var returns *map[string]interface{} + + _jsii_.Invoke( + r, + "synthesizeAttributes", + nil, // no parameters + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) SynthesizeHclAttributes() *map[string]interface{} { + var returns *map[string]interface{} + + _jsii_.Invoke( + r, + "synthesizeHclAttributes", + nil, // no parameters + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) ToHclTerraform() interface{} { + var returns interface{} + + _jsii_.Invoke( + r, + "toHclTerraform", + nil, // no parameters + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) ToMetadata() interface{} { + var returns interface{} + + _jsii_.Invoke( + r, + "toMetadata", + nil, // no parameters + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) ToString() *string { + var returns *string + + _jsii_.Invoke( + r, + "toString", + nil, // no parameters + &returns, + ) + + return returns +} + +func (r *jsiiProxy_RoleAttribute) ToTerraform() interface{} { + var returns interface{} + + _jsii_.Invoke( + r, + "toTerraform", + nil, // no parameters + &returns, + ) + + return returns +} + diff --git a/gen/postgresql/roleattribute/RoleAttributeConfig.go b/gen/postgresql/roleattribute/RoleAttributeConfig.go new file mode 100644 index 0000000000..c3956522f1 --- /dev/null +++ b/gen/postgresql/roleattribute/RoleAttributeConfig.go @@ -0,0 +1,96 @@ +package roleattribute + +import ( + "github.com/hashicorp/terraform-cdk-go/cdktf" +) + +type RoleAttributeConfig struct { + // Experimental. + Connection interface{} `field:"optional" json:"connection" yaml:"connection"` + // Experimental. + Count interface{} `field:"optional" json:"count" yaml:"count"` + // Experimental. + DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` + // Experimental. + ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` + // Experimental. + Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` + // Experimental. + Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` + // Experimental. + Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` + // The name of the role. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#name RoleAttribute#name} + Name *string `field:"required" json:"name" yaml:"name"` + // Role to switch to at login. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#assume_role RoleAttribute#assume_role} + AssumeRole *string `field:"optional" json:"assumeRole" yaml:"assumeRole"` + // Determine whether a role bypasses every row-level security (RLS) policy. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#bypass_row_level_security RoleAttribute#bypass_row_level_security} + BypassRowLevelSecurity interface{} `field:"optional" json:"bypassRowLevelSecurity" yaml:"bypassRowLevelSecurity"` + // How many concurrent connections can be made with this role. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#connection_limit RoleAttribute#connection_limit} + ConnectionLimit *float64 `field:"optional" json:"connectionLimit" yaml:"connectionLimit"` + // Define a role's ability to create databases. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#create_database RoleAttribute#create_database} + CreateDatabase interface{} `field:"optional" json:"createDatabase" yaml:"createDatabase"` + // Determine whether this role will be permitted to create new roles. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#create_role RoleAttribute#create_role} + CreateRole interface{} `field:"optional" json:"createRole" yaml:"createRole"` + // Control whether the password is stored encrypted in the system catalogs. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#encrypted_password RoleAttribute#encrypted_password} + EncryptedPassword interface{} `field:"optional" json:"encryptedPassword" yaml:"encryptedPassword"` + // Map of arbitrary GUC (Grand Unified Configuration) key-value pairs to set for the role. Supports all PostgreSQL custom variables. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#extension_attrs RoleAttribute#extension_attrs} + ExtensionAttrs *map[string]*string `field:"optional" json:"extensionAttrs" yaml:"extensionAttrs"` + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#id RoleAttribute#id}. + // + // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. + // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. + Id *string `field:"optional" json:"id" yaml:"id"` + // Terminate any session with an open transaction that has been idle for longer than the specified duration in milliseconds. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#idle_in_transaction_session_timeout RoleAttribute#idle_in_transaction_session_timeout} + IdleInTransactionSessionTimeout *float64 `field:"optional" json:"idleInTransactionSessionTimeout" yaml:"idleInTransactionSessionTimeout"` + // Determine whether a role "inherits" the privileges of roles it is a member of. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#inherit RoleAttribute#inherit} + Inherit interface{} `field:"optional" json:"inherit" yaml:"inherit"` + // Determine whether a role is allowed to log in. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#login RoleAttribute#login} + Login interface{} `field:"optional" json:"login" yaml:"login"` + // Sets the role's password. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#password RoleAttribute#password} + Password *string `field:"optional" json:"password" yaml:"password"` + // Determine whether a role is allowed to initiate streaming replication or put the system in and out of backup mode. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#replication RoleAttribute#replication} + Replication interface{} `field:"optional" json:"replication" yaml:"replication"` + // Sets the role's search path. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#search_path RoleAttribute#search_path} + SearchPath *[]*string `field:"optional" json:"searchPath" yaml:"searchPath"` + // Abort any statement that takes more than the specified number of milliseconds. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#statement_timeout RoleAttribute#statement_timeout} + StatementTimeout *float64 `field:"optional" json:"statementTimeout" yaml:"statementTimeout"` + // Determine whether the new role is a "superuser". + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#superuser RoleAttribute#superuser} + Superuser interface{} `field:"optional" json:"superuser" yaml:"superuser"` + // Sets a date and time after which the role's password is no longer valid. + // + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/role_attribute#valid_until RoleAttribute#valid_until} + ValidUntil *string `field:"optional" json:"validUntil" yaml:"validUntil"` +} + diff --git a/gen/postgresql/roleattribute/RoleAttribute__checks.go b/gen/postgresql/roleattribute/RoleAttribute__checks.go new file mode 100644 index 0000000000..a800a188b0 --- /dev/null +++ b/gen/postgresql/roleattribute/RoleAttribute__checks.go @@ -0,0 +1,649 @@ +//go:build !no_runtime_type_checking + +package roleattribute + +import ( + "fmt" + + _jsii_ "github.com/aws/jsii-runtime-go/runtime" + + "github.com/aws/constructs-go/constructs/v10" + "github.com/hashicorp/terraform-cdk-go/cdktf" +) + +func (r *jsiiProxy_RoleAttribute) validateAddMoveTargetParameters(moveTarget *string) error { + if moveTarget == nil { + return fmt.Errorf("parameter moveTarget is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateAddOverrideParameters(path *string, value interface{}) error { + if path == nil { + return fmt.Errorf("parameter path is required, but nil was provided") + } + + if value == nil { + return fmt.Errorf("parameter value is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetAnyMapAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetBooleanAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetBooleanMapAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetListAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetNumberAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetNumberListAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetNumberMapAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetStringAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetStringMapAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateImportFromParameters(id *string) error { + if id == nil { + return fmt.Errorf("parameter id is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateInterpolationForAttributeParameters(terraformAttribute *string) error { + if terraformAttribute == nil { + return fmt.Errorf("parameter terraformAttribute is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateMoveFromIdParameters(id *string) error { + if id == nil { + return fmt.Errorf("parameter id is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateMoveToParameters(moveTarget *string, index interface{}) error { + if moveTarget == nil { + return fmt.Errorf("parameter moveTarget is required, but nil was provided") + } + + switch index.(type) { + case *string: + // ok + case string: + // ok + case *float64: + // ok + case float64: + // ok + case *int: + // ok + case int: + // ok + case *uint: + // ok + case uint: + // ok + case *int8: + // ok + case int8: + // ok + case *int16: + // ok + case int16: + // ok + case *int32: + // ok + case int32: + // ok + case *int64: + // ok + case int64: + // ok + case *uint8: + // ok + case uint8: + // ok + case *uint16: + // ok + case uint16: + // ok + case *uint32: + // ok + case uint32: + // ok + case *uint64: + // ok + case uint64: + // ok + default: + return fmt.Errorf("parameter index must be one of the allowed types: *string, *float64; received %#v (a %T)", index, index) + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateMoveToIdParameters(id *string) error { + if id == nil { + return fmt.Errorf("parameter id is required, but nil was provided") + } + + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateOverrideLogicalIdParameters(newLogicalId *string) error { + if newLogicalId == nil { + return fmt.Errorf("parameter newLogicalId is required, but nil was provided") + } + + return nil +} + +func validateRoleAttribute_GenerateConfigForImportParameters(scope constructs.Construct, importToId *string, importFromId *string) error { + if scope == nil { + return fmt.Errorf("parameter scope is required, but nil was provided") + } + + if importToId == nil { + return fmt.Errorf("parameter importToId is required, but nil was provided") + } + + if importFromId == nil { + return fmt.Errorf("parameter importFromId is required, but nil was provided") + } + + return nil +} + +func validateRoleAttribute_IsConstructParameters(x interface{}) error { + if x == nil { + return fmt.Errorf("parameter x is required, but nil was provided") + } + + return nil +} + +func validateRoleAttribute_IsTerraformElementParameters(x interface{}) error { + if x == nil { + return fmt.Errorf("parameter x is required, but nil was provided") + } + + return nil +} + +func validateRoleAttribute_IsTerraformResourceParameters(x interface{}) error { + if x == nil { + return fmt.Errorf("parameter x is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetAssumeRoleParameters(val *string) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetBypassRowLevelSecurityParameters(val interface{}) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + switch val.(type) { + case *bool: + // ok + case bool: + // ok + case cdktf.IResolvable: + // ok + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *bool, cdktf.IResolvable; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetConnectionParameters(val interface{}) error { + switch val.(type) { + case *cdktf.SSHProvisionerConnection: + val := val.(*cdktf.SSHProvisionerConnection) + if err := _jsii_.ValidateStruct(val, func() string { return "parameter val" }); err != nil { + return err + } + case cdktf.SSHProvisionerConnection: + val_ := val.(cdktf.SSHProvisionerConnection) + val := &val_ + if err := _jsii_.ValidateStruct(val, func() string { return "parameter val" }); err != nil { + return err + } + case *cdktf.WinrmProvisionerConnection: + val := val.(*cdktf.WinrmProvisionerConnection) + if err := _jsii_.ValidateStruct(val, func() string { return "parameter val" }); err != nil { + return err + } + case cdktf.WinrmProvisionerConnection: + val_ := val.(cdktf.WinrmProvisionerConnection) + val := &val_ + if err := _jsii_.ValidateStruct(val, func() string { return "parameter val" }); err != nil { + return err + } + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *cdktf.SSHProvisionerConnection, *cdktf.WinrmProvisionerConnection; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetConnectionLimitParameters(val *float64) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetCountParameters(val interface{}) error { + switch val.(type) { + case *float64: + // ok + case float64: + // ok + case *int: + // ok + case int: + // ok + case *uint: + // ok + case uint: + // ok + case *int8: + // ok + case int8: + // ok + case *int16: + // ok + case int16: + // ok + case *int32: + // ok + case int32: + // ok + case *int64: + // ok + case int64: + // ok + case *uint8: + // ok + case uint8: + // ok + case *uint16: + // ok + case uint16: + // ok + case *uint32: + // ok + case uint32: + // ok + case *uint64: + // ok + case uint64: + // ok + case cdktf.TerraformCount: + // ok + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *float64, cdktf.TerraformCount; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetCreateDatabaseParameters(val interface{}) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + switch val.(type) { + case *bool: + // ok + case bool: + // ok + case cdktf.IResolvable: + // ok + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *bool, cdktf.IResolvable; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetCreateRoleParameters(val interface{}) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + switch val.(type) { + case *bool: + // ok + case bool: + // ok + case cdktf.IResolvable: + // ok + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *bool, cdktf.IResolvable; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetEncryptedPasswordParameters(val interface{}) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + switch val.(type) { + case *bool: + // ok + case bool: + // ok + case cdktf.IResolvable: + // ok + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *bool, cdktf.IResolvable; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetExtensionAttrsParameters(val *map[string]*string) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetIdParameters(val *string) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetIdleInTransactionSessionTimeoutParameters(val *float64) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetInheritParameters(val interface{}) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + switch val.(type) { + case *bool: + // ok + case bool: + // ok + case cdktf.IResolvable: + // ok + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *bool, cdktf.IResolvable; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetLifecycleParameters(val *cdktf.TerraformResourceLifecycle) error { + if err := _jsii_.ValidateStruct(val, func() string { return "parameter val" }); err != nil { + return err + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetLoginParameters(val interface{}) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + switch val.(type) { + case *bool: + // ok + case bool: + // ok + case cdktf.IResolvable: + // ok + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *bool, cdktf.IResolvable; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetNameParameters(val *string) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetPasswordParameters(val *string) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetProvisionersParameters(val *[]interface{}) error { + for idx_97dfc6, v := range *val { + switch v.(type) { + case *cdktf.FileProvisioner: + v := v.(*cdktf.FileProvisioner) + if err := _jsii_.ValidateStruct(v, func() string { return fmt.Sprintf("parameter val[%#v]", idx_97dfc6) }); err != nil { + return err + } + case cdktf.FileProvisioner: + v_ := v.(cdktf.FileProvisioner) + v := &v_ + if err := _jsii_.ValidateStruct(v, func() string { return fmt.Sprintf("parameter val[%#v]", idx_97dfc6) }); err != nil { + return err + } + case *cdktf.LocalExecProvisioner: + v := v.(*cdktf.LocalExecProvisioner) + if err := _jsii_.ValidateStruct(v, func() string { return fmt.Sprintf("parameter val[%#v]", idx_97dfc6) }); err != nil { + return err + } + case cdktf.LocalExecProvisioner: + v_ := v.(cdktf.LocalExecProvisioner) + v := &v_ + if err := _jsii_.ValidateStruct(v, func() string { return fmt.Sprintf("parameter val[%#v]", idx_97dfc6) }); err != nil { + return err + } + case *cdktf.RemoteExecProvisioner: + v := v.(*cdktf.RemoteExecProvisioner) + if err := _jsii_.ValidateStruct(v, func() string { return fmt.Sprintf("parameter val[%#v]", idx_97dfc6) }); err != nil { + return err + } + case cdktf.RemoteExecProvisioner: + v_ := v.(cdktf.RemoteExecProvisioner) + v := &v_ + if err := _jsii_.ValidateStruct(v, func() string { return fmt.Sprintf("parameter val[%#v]", idx_97dfc6) }); err != nil { + return err + } + default: + if !_jsii_.IsAnonymousProxy(v) { + return fmt.Errorf("parameter val[%#v] must be one of the allowed types: *cdktf.FileProvisioner, *cdktf.LocalExecProvisioner, *cdktf.RemoteExecProvisioner; received %#v (a %T)", idx_97dfc6, v, v) + } + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetReplicationParameters(val interface{}) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + switch val.(type) { + case *bool: + // ok + case bool: + // ok + case cdktf.IResolvable: + // ok + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *bool, cdktf.IResolvable; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetSearchPathParameters(val *[]*string) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetStatementTimeoutParameters(val *float64) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetSuperuserParameters(val interface{}) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + switch val.(type) { + case *bool: + // ok + case bool: + // ok + case cdktf.IResolvable: + // ok + default: + if !_jsii_.IsAnonymousProxy(val) { + return fmt.Errorf("parameter val must be one of the allowed types: *bool, cdktf.IResolvable; received %#v (a %T)", val, val) + } + } + + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetValidUntilParameters(val *string) error { + if val == nil { + return fmt.Errorf("parameter val is required, but nil was provided") + } + + return nil +} + +func validateNewRoleAttributeParameters(scope constructs.Construct, id *string, config *RoleAttributeConfig) error { + if scope == nil { + return fmt.Errorf("parameter scope is required, but nil was provided") + } + + if id == nil { + return fmt.Errorf("parameter id is required, but nil was provided") + } + + if config == nil { + return fmt.Errorf("parameter config is required, but nil was provided") + } + if err := _jsii_.ValidateStruct(config, func() string { return "parameter config" }); err != nil { + return err + } + + return nil +} + diff --git a/gen/postgresql/roleattribute/RoleAttribute__no_checks.go b/gen/postgresql/roleattribute/RoleAttribute__no_checks.go new file mode 100644 index 0000000000..34efcecf5d --- /dev/null +++ b/gen/postgresql/roleattribute/RoleAttribute__no_checks.go @@ -0,0 +1,182 @@ +//go:build no_runtime_type_checking + +package roleattribute + +// Building without runtime type checking enabled, so all the below just return nil + +func (r *jsiiProxy_RoleAttribute) validateAddMoveTargetParameters(moveTarget *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateAddOverrideParameters(path *string, value interface{}) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetAnyMapAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetBooleanAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetBooleanMapAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetListAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetNumberAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetNumberListAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetNumberMapAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetStringAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateGetStringMapAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateImportFromParameters(id *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateInterpolationForAttributeParameters(terraformAttribute *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateMoveFromIdParameters(id *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateMoveToParameters(moveTarget *string, index interface{}) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateMoveToIdParameters(id *string) error { + return nil +} + +func (r *jsiiProxy_RoleAttribute) validateOverrideLogicalIdParameters(newLogicalId *string) error { + return nil +} + +func validateRoleAttribute_GenerateConfigForImportParameters(scope constructs.Construct, importToId *string, importFromId *string) error { + return nil +} + +func validateRoleAttribute_IsConstructParameters(x interface{}) error { + return nil +} + +func validateRoleAttribute_IsTerraformElementParameters(x interface{}) error { + return nil +} + +func validateRoleAttribute_IsTerraformResourceParameters(x interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetAssumeRoleParameters(val *string) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetBypassRowLevelSecurityParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetConnectionParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetConnectionLimitParameters(val *float64) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetCountParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetCreateDatabaseParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetCreateRoleParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetEncryptedPasswordParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetExtensionAttrsParameters(val *map[string]*string) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetIdParameters(val *string) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetIdleInTransactionSessionTimeoutParameters(val *float64) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetInheritParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetLifecycleParameters(val *cdktf.TerraformResourceLifecycle) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetLoginParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetNameParameters(val *string) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetPasswordParameters(val *string) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetProvisionersParameters(val *[]interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetReplicationParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetSearchPathParameters(val *[]*string) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetStatementTimeoutParameters(val *float64) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetSuperuserParameters(val interface{}) error { + return nil +} + +func (j *jsiiProxy_RoleAttribute) validateSetValidUntilParameters(val *string) error { + return nil +} + +func validateNewRoleAttributeParameters(scope constructs.Construct, id *string, config *RoleAttributeConfig) error { + return nil +} + diff --git a/gen/postgresql/roleattribute/internal/types.go b/gen/postgresql/roleattribute/internal/types.go new file mode 100644 index 0000000000..87fa827278 --- /dev/null +++ b/gen/postgresql/roleattribute/internal/types.go @@ -0,0 +1,5 @@ +package internal +import ( + "github.com/hashicorp/terraform-cdk-go/cdktf" +) +type Type__cdktfTerraformResource = cdktf.TerraformResource diff --git a/gen/postgresql/roleattribute/main.go b/gen/postgresql/roleattribute/main.go new file mode 100644 index 0000000000..3f91801039 --- /dev/null +++ b/gen/postgresql/roleattribute/main.go @@ -0,0 +1,119 @@ +package roleattribute + +import ( + "reflect" + + _jsii_ "github.com/aws/jsii-runtime-go/runtime" +) + +func init() { + _jsii_.RegisterClass( + "@cdktf/provider-postgresql.roleAttribute.RoleAttribute", + reflect.TypeOf((*RoleAttribute)(nil)).Elem(), + []_jsii_.Member{ + _jsii_.MemberMethod{JsiiMethod: "addMoveTarget", GoMethod: "AddMoveTarget"}, + _jsii_.MemberMethod{JsiiMethod: "addOverride", GoMethod: "AddOverride"}, + _jsii_.MemberProperty{JsiiProperty: "assumeRole", GoGetter: "AssumeRole"}, + _jsii_.MemberProperty{JsiiProperty: "assumeRoleInput", GoGetter: "AssumeRoleInput"}, + _jsii_.MemberProperty{JsiiProperty: "bypassRowLevelSecurity", GoGetter: "BypassRowLevelSecurity"}, + _jsii_.MemberProperty{JsiiProperty: "bypassRowLevelSecurityInput", GoGetter: "BypassRowLevelSecurityInput"}, + _jsii_.MemberProperty{JsiiProperty: "cdktfStack", GoGetter: "CdktfStack"}, + _jsii_.MemberProperty{JsiiProperty: "connection", GoGetter: "Connection"}, + _jsii_.MemberProperty{JsiiProperty: "connectionLimit", GoGetter: "ConnectionLimit"}, + _jsii_.MemberProperty{JsiiProperty: "connectionLimitInput", GoGetter: "ConnectionLimitInput"}, + _jsii_.MemberProperty{JsiiProperty: "constructNodeMetadata", GoGetter: "ConstructNodeMetadata"}, + _jsii_.MemberProperty{JsiiProperty: "count", GoGetter: "Count"}, + _jsii_.MemberProperty{JsiiProperty: "createDatabase", GoGetter: "CreateDatabase"}, + _jsii_.MemberProperty{JsiiProperty: "createDatabaseInput", GoGetter: "CreateDatabaseInput"}, + _jsii_.MemberProperty{JsiiProperty: "createRole", GoGetter: "CreateRole"}, + _jsii_.MemberProperty{JsiiProperty: "createRoleInput", GoGetter: "CreateRoleInput"}, + _jsii_.MemberProperty{JsiiProperty: "dependsOn", GoGetter: "DependsOn"}, + _jsii_.MemberProperty{JsiiProperty: "encryptedPassword", GoGetter: "EncryptedPassword"}, + _jsii_.MemberProperty{JsiiProperty: "encryptedPasswordInput", GoGetter: "EncryptedPasswordInput"}, + _jsii_.MemberProperty{JsiiProperty: "extensionAttrs", GoGetter: "ExtensionAttrs"}, + _jsii_.MemberProperty{JsiiProperty: "extensionAttrsInput", GoGetter: "ExtensionAttrsInput"}, + _jsii_.MemberProperty{JsiiProperty: "forEach", GoGetter: "ForEach"}, + _jsii_.MemberProperty{JsiiProperty: "fqn", GoGetter: "Fqn"}, + _jsii_.MemberProperty{JsiiProperty: "friendlyUniqueId", GoGetter: "FriendlyUniqueId"}, + _jsii_.MemberMethod{JsiiMethod: "getAnyMapAttribute", GoMethod: "GetAnyMapAttribute"}, + _jsii_.MemberMethod{JsiiMethod: "getBooleanAttribute", GoMethod: "GetBooleanAttribute"}, + _jsii_.MemberMethod{JsiiMethod: "getBooleanMapAttribute", GoMethod: "GetBooleanMapAttribute"}, + _jsii_.MemberMethod{JsiiMethod: "getListAttribute", GoMethod: "GetListAttribute"}, + _jsii_.MemberMethod{JsiiMethod: "getNumberAttribute", GoMethod: "GetNumberAttribute"}, + _jsii_.MemberMethod{JsiiMethod: "getNumberListAttribute", GoMethod: "GetNumberListAttribute"}, + _jsii_.MemberMethod{JsiiMethod: "getNumberMapAttribute", GoMethod: "GetNumberMapAttribute"}, + _jsii_.MemberMethod{JsiiMethod: "getStringAttribute", GoMethod: "GetStringAttribute"}, + _jsii_.MemberMethod{JsiiMethod: "getStringMapAttribute", GoMethod: "GetStringMapAttribute"}, + _jsii_.MemberMethod{JsiiMethod: "hasResourceMove", GoMethod: "HasResourceMove"}, + _jsii_.MemberProperty{JsiiProperty: "id", GoGetter: "Id"}, + _jsii_.MemberProperty{JsiiProperty: "idInput", GoGetter: "IdInput"}, + _jsii_.MemberProperty{JsiiProperty: "idleInTransactionSessionTimeout", GoGetter: "IdleInTransactionSessionTimeout"}, + _jsii_.MemberProperty{JsiiProperty: "idleInTransactionSessionTimeoutInput", GoGetter: "IdleInTransactionSessionTimeoutInput"}, + _jsii_.MemberMethod{JsiiMethod: "importFrom", GoMethod: "ImportFrom"}, + _jsii_.MemberProperty{JsiiProperty: "inherit", GoGetter: "Inherit"}, + _jsii_.MemberProperty{JsiiProperty: "inheritInput", GoGetter: "InheritInput"}, + _jsii_.MemberMethod{JsiiMethod: "interpolationForAttribute", GoMethod: "InterpolationForAttribute"}, + _jsii_.MemberProperty{JsiiProperty: "lifecycle", GoGetter: "Lifecycle"}, + _jsii_.MemberProperty{JsiiProperty: "login", GoGetter: "Login"}, + _jsii_.MemberProperty{JsiiProperty: "loginInput", GoGetter: "LoginInput"}, + _jsii_.MemberMethod{JsiiMethod: "moveFromId", GoMethod: "MoveFromId"}, + _jsii_.MemberMethod{JsiiMethod: "moveTo", GoMethod: "MoveTo"}, + _jsii_.MemberMethod{JsiiMethod: "moveToId", GoMethod: "MoveToId"}, + _jsii_.MemberProperty{JsiiProperty: "name", GoGetter: "Name"}, + _jsii_.MemberProperty{JsiiProperty: "nameInput", GoGetter: "NameInput"}, + _jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"}, + _jsii_.MemberMethod{JsiiMethod: "overrideLogicalId", GoMethod: "OverrideLogicalId"}, + _jsii_.MemberProperty{JsiiProperty: "password", GoGetter: "Password"}, + _jsii_.MemberProperty{JsiiProperty: "passwordInput", GoGetter: "PasswordInput"}, + _jsii_.MemberProperty{JsiiProperty: "provider", GoGetter: "Provider"}, + _jsii_.MemberProperty{JsiiProperty: "provisioners", GoGetter: "Provisioners"}, + _jsii_.MemberProperty{JsiiProperty: "rawOverrides", GoGetter: "RawOverrides"}, + _jsii_.MemberProperty{JsiiProperty: "replication", GoGetter: "Replication"}, + _jsii_.MemberProperty{JsiiProperty: "replicationInput", GoGetter: "ReplicationInput"}, + _jsii_.MemberMethod{JsiiMethod: "resetAssumeRole", GoMethod: "ResetAssumeRole"}, + _jsii_.MemberMethod{JsiiMethod: "resetBypassRowLevelSecurity", GoMethod: "ResetBypassRowLevelSecurity"}, + _jsii_.MemberMethod{JsiiMethod: "resetConnectionLimit", GoMethod: "ResetConnectionLimit"}, + _jsii_.MemberMethod{JsiiMethod: "resetCreateDatabase", GoMethod: "ResetCreateDatabase"}, + _jsii_.MemberMethod{JsiiMethod: "resetCreateRole", GoMethod: "ResetCreateRole"}, + _jsii_.MemberMethod{JsiiMethod: "resetEncryptedPassword", GoMethod: "ResetEncryptedPassword"}, + _jsii_.MemberMethod{JsiiMethod: "resetExtensionAttrs", GoMethod: "ResetExtensionAttrs"}, + _jsii_.MemberMethod{JsiiMethod: "resetId", GoMethod: "ResetId"}, + _jsii_.MemberMethod{JsiiMethod: "resetIdleInTransactionSessionTimeout", GoMethod: "ResetIdleInTransactionSessionTimeout"}, + _jsii_.MemberMethod{JsiiMethod: "resetInherit", GoMethod: "ResetInherit"}, + _jsii_.MemberMethod{JsiiMethod: "resetLogin", GoMethod: "ResetLogin"}, + _jsii_.MemberMethod{JsiiMethod: "resetOverrideLogicalId", GoMethod: "ResetOverrideLogicalId"}, + _jsii_.MemberMethod{JsiiMethod: "resetPassword", GoMethod: "ResetPassword"}, + _jsii_.MemberMethod{JsiiMethod: "resetReplication", GoMethod: "ResetReplication"}, + _jsii_.MemberMethod{JsiiMethod: "resetSearchPath", GoMethod: "ResetSearchPath"}, + _jsii_.MemberMethod{JsiiMethod: "resetStatementTimeout", GoMethod: "ResetStatementTimeout"}, + _jsii_.MemberMethod{JsiiMethod: "resetSuperuser", GoMethod: "ResetSuperuser"}, + _jsii_.MemberMethod{JsiiMethod: "resetValidUntil", GoMethod: "ResetValidUntil"}, + _jsii_.MemberProperty{JsiiProperty: "searchPath", GoGetter: "SearchPath"}, + _jsii_.MemberProperty{JsiiProperty: "searchPathInput", GoGetter: "SearchPathInput"}, + _jsii_.MemberProperty{JsiiProperty: "statementTimeout", GoGetter: "StatementTimeout"}, + _jsii_.MemberProperty{JsiiProperty: "statementTimeoutInput", GoGetter: "StatementTimeoutInput"}, + _jsii_.MemberProperty{JsiiProperty: "superuser", GoGetter: "Superuser"}, + _jsii_.MemberProperty{JsiiProperty: "superuserInput", GoGetter: "SuperuserInput"}, + _jsii_.MemberMethod{JsiiMethod: "synthesizeAttributes", GoMethod: "SynthesizeAttributes"}, + _jsii_.MemberMethod{JsiiMethod: "synthesizeHclAttributes", GoMethod: "SynthesizeHclAttributes"}, + _jsii_.MemberProperty{JsiiProperty: "terraformGeneratorMetadata", GoGetter: "TerraformGeneratorMetadata"}, + _jsii_.MemberProperty{JsiiProperty: "terraformMetaArguments", GoGetter: "TerraformMetaArguments"}, + _jsii_.MemberProperty{JsiiProperty: "terraformResourceType", GoGetter: "TerraformResourceType"}, + _jsii_.MemberMethod{JsiiMethod: "toHclTerraform", GoMethod: "ToHclTerraform"}, + _jsii_.MemberMethod{JsiiMethod: "toMetadata", GoMethod: "ToMetadata"}, + _jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"}, + _jsii_.MemberMethod{JsiiMethod: "toTerraform", GoMethod: "ToTerraform"}, + _jsii_.MemberProperty{JsiiProperty: "validUntil", GoGetter: "ValidUntil"}, + _jsii_.MemberProperty{JsiiProperty: "validUntilInput", GoGetter: "ValidUntilInput"}, + }, + func() interface{} { + j := jsiiProxy_RoleAttribute{} + _jsii_.InitJsiiProxy(&j.Type__cdktfTerraformResource) + return &j + }, + ) + _jsii_.RegisterStruct( + "@cdktf/provider-postgresql.roleAttribute.RoleAttributeConfig", + reflect.TypeOf((*RoleAttributeConfig)(nil)).Elem(), + ) +} diff --git a/gen/postgresql/schema/README.md b/gen/postgresql/schema/README.md index c42f0a7a6c..b51ee7e876 100644 --- a/gen/postgresql/schema/README.md +++ b/gen/postgresql/schema/README.md @@ -1,3 +1,3 @@ # `postgresql_schema` -Refer to the Terraform Registry for docs: [`postgresql_schema`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema). +Refer to the Terraform Registry for docs: [`postgresql_schema`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema). diff --git a/gen/postgresql/schema/Schema.go b/gen/postgresql/schema/Schema.go index 4f572f8148..7150742b89 100644 --- a/gen/postgresql/schema/Schema.go +++ b/gen/postgresql/schema/Schema.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/schema/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema postgresql_schema}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema postgresql_schema}. type Schema interface { cdktf.TerraformResource // Experimental. @@ -450,7 +450,7 @@ func (j *jsiiProxy_Schema) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema postgresql_schema} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema postgresql_schema} Resource. func NewSchema(scope constructs.Construct, id *string, config *SchemaConfig) Schema { _init_.Initialize() @@ -468,7 +468,7 @@ func NewSchema(scope constructs.Construct, id *string, config *SchemaConfig) Sch return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema postgresql_schema} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema postgresql_schema} Resource. func NewSchema_Override(s Schema, scope constructs.Construct, id *string, config *SchemaConfig) { _init_.Initialize() diff --git a/gen/postgresql/schema/SchemaConfig.go b/gen/postgresql/schema/SchemaConfig.go index 4f905aecd3..fe800206e2 100644 --- a/gen/postgresql/schema/SchemaConfig.go +++ b/gen/postgresql/schema/SchemaConfig.go @@ -21,32 +21,32 @@ type SchemaConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The name of the schema. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#name Schema#name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#name Schema#name} Name *string `field:"required" json:"name" yaml:"name"` // The database name to alter schema. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#database Schema#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#database Schema#database} Database *string `field:"optional" json:"database" yaml:"database"` // When true, will also drop all the objects that are contained in the schema. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#drop_cascade Schema#drop_cascade} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#drop_cascade Schema#drop_cascade} DropCascade interface{} `field:"optional" json:"dropCascade" yaml:"dropCascade"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#id Schema#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#id Schema#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // When true, use the existing schema if it exists. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#if_not_exists Schema#if_not_exists} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#if_not_exists Schema#if_not_exists} IfNotExists interface{} `field:"optional" json:"ifNotExists" yaml:"ifNotExists"` // The ROLE name who owns the schema. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#owner Schema#owner} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#owner Schema#owner} Owner *string `field:"optional" json:"owner" yaml:"owner"` // policy block. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#policy Schema#policy} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#policy Schema#policy} Policy interface{} `field:"optional" json:"policy" yaml:"policy"` } diff --git a/gen/postgresql/schema/SchemaPolicy.go b/gen/postgresql/schema/SchemaPolicy.go index cef9a08709..d1cef52d3f 100644 --- a/gen/postgresql/schema/SchemaPolicy.go +++ b/gen/postgresql/schema/SchemaPolicy.go @@ -4,23 +4,23 @@ package schema type SchemaPolicy struct { // If true, allow the specified ROLEs to CREATE new objects within the schema(s). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#create Schema#create} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#create Schema#create} Create interface{} `field:"optional" json:"create" yaml:"create"` // If true, allow the specified ROLEs to CREATE new objects within the schema(s) and GRANT the same CREATE privilege to different ROLEs. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#create_with_grant Schema#create_with_grant} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#create_with_grant Schema#create_with_grant} CreateWithGrant interface{} `field:"optional" json:"createWithGrant" yaml:"createWithGrant"` // ROLE who will receive this policy (default: PUBLIC). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#role Schema#role} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#role Schema#role} Role *string `field:"optional" json:"role" yaml:"role"` // If true, allow the specified ROLEs to use objects within the schema(s). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#usage Schema#usage} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#usage Schema#usage} Usage interface{} `field:"optional" json:"usage" yaml:"usage"` // If true, allow the specified ROLEs to use objects within the schema(s) and GRANT the same USAGE privilege to different ROLEs. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/schema#usage_with_grant Schema#usage_with_grant} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/schema#usage_with_grant Schema#usage_with_grant} UsageWithGrant interface{} `field:"optional" json:"usageWithGrant" yaml:"usageWithGrant"` } diff --git a/gen/postgresql/securitylabel/README.md b/gen/postgresql/securitylabel/README.md index 4577de580f..0f308f4062 100644 --- a/gen/postgresql/securitylabel/README.md +++ b/gen/postgresql/securitylabel/README.md @@ -1,3 +1,3 @@ # `postgresql_security_label` -Refer to the Terraform Registry for docs: [`postgresql_security_label`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/security_label). +Refer to the Terraform Registry for docs: [`postgresql_security_label`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/security_label). diff --git a/gen/postgresql/securitylabel/SecurityLabel.go b/gen/postgresql/securitylabel/SecurityLabel.go index a44691117e..0c411aa1bb 100644 --- a/gen/postgresql/securitylabel/SecurityLabel.go +++ b/gen/postgresql/securitylabel/SecurityLabel.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/securitylabel/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/security_label postgresql_security_label}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/security_label postgresql_security_label}. type SecurityLabel interface { cdktf.TerraformResource // Experimental. @@ -399,7 +399,7 @@ func (j *jsiiProxy_SecurityLabel) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/security_label postgresql_security_label} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/security_label postgresql_security_label} Resource. func NewSecurityLabel(scope constructs.Construct, id *string, config *SecurityLabelConfig) SecurityLabel { _init_.Initialize() @@ -417,7 +417,7 @@ func NewSecurityLabel(scope constructs.Construct, id *string, config *SecurityLa return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/security_label postgresql_security_label} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/security_label postgresql_security_label} Resource. func NewSecurityLabel_Override(s SecurityLabel, scope constructs.Construct, id *string, config *SecurityLabelConfig) { _init_.Initialize() diff --git a/gen/postgresql/securitylabel/SecurityLabelConfig.go b/gen/postgresql/securitylabel/SecurityLabelConfig.go index 756dd86ed9..cc05a9ca8e 100644 --- a/gen/postgresql/securitylabel/SecurityLabelConfig.go +++ b/gen/postgresql/securitylabel/SecurityLabelConfig.go @@ -21,21 +21,21 @@ type SecurityLabelConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The label to be applied. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/security_label#label SecurityLabel#label} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/security_label#label SecurityLabel#label} Label *string `field:"required" json:"label" yaml:"label"` // The provider to apply the security label for. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/security_label#label_provider SecurityLabel#label_provider} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/security_label#label_provider SecurityLabel#label_provider} LabelProvider *string `field:"required" json:"labelProvider" yaml:"labelProvider"` // The name of the existing object to apply the security label to. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/security_label#object_name SecurityLabel#object_name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/security_label#object_name SecurityLabel#object_name} ObjectName *string `field:"required" json:"objectName" yaml:"objectName"` // The type of the existing object to apply the security label to. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/security_label#object_type SecurityLabel#object_type} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/security_label#object_type SecurityLabel#object_type} ObjectType *string `field:"required" json:"objectType" yaml:"objectType"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/security_label#id SecurityLabel#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/security_label#id SecurityLabel#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. diff --git a/gen/postgresql/server/README.md b/gen/postgresql/server/README.md index ab267fa23f..88e8f74b47 100644 --- a/gen/postgresql/server/README.md +++ b/gen/postgresql/server/README.md @@ -1,3 +1,3 @@ # `postgresql_server` -Refer to the Terraform Registry for docs: [`postgresql_server`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server). +Refer to the Terraform Registry for docs: [`postgresql_server`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server). diff --git a/gen/postgresql/server/Server.go b/gen/postgresql/server/Server.go index b376e4d235..dc36321766 100644 --- a/gen/postgresql/server/Server.go +++ b/gen/postgresql/server/Server.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/server/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server postgresql_server}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server postgresql_server}. type Server interface { cdktf.TerraformResource // Experimental. @@ -473,7 +473,7 @@ func (j *jsiiProxy_Server) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server postgresql_server} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server postgresql_server} Resource. func NewServer(scope constructs.Construct, id *string, config *ServerConfig) Server { _init_.Initialize() @@ -491,7 +491,7 @@ func NewServer(scope constructs.Construct, id *string, config *ServerConfig) Ser return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server postgresql_server} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server postgresql_server} Resource. func NewServer_Override(s Server, scope constructs.Construct, id *string, config *ServerConfig) { _init_.Initialize() diff --git a/gen/postgresql/server/ServerConfig.go b/gen/postgresql/server/ServerConfig.go index e8aa56437f..be4b371de3 100644 --- a/gen/postgresql/server/ServerConfig.go +++ b/gen/postgresql/server/ServerConfig.go @@ -21,19 +21,19 @@ type ServerConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The name of the foreign-data wrapper that manages the server. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server#fdw_name Server#fdw_name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server#fdw_name Server#fdw_name} FdwName *string `field:"required" json:"fdwName" yaml:"fdwName"` // The name of the foreign server to be created. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server#server_name Server#server_name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server#server_name Server#server_name} ServerName *string `field:"required" json:"serverName" yaml:"serverName"` // Automatically drop objects that depend on the server (such as user mappings), and in turn all objects that depend on those objects. // // Drop RESTRICT is the default // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server#drop_cascade Server#drop_cascade} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server#drop_cascade Server#drop_cascade} DropCascade interface{} `field:"optional" json:"dropCascade" yaml:"dropCascade"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server#id Server#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server#id Server#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. @@ -42,19 +42,19 @@ type ServerConfig struct { // // The options typically define the connection details of the server, but the actual names and values are dependent on the server's foreign-data wrapper // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server#options Server#options} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server#options Server#options} Options *map[string]*string `field:"optional" json:"options" yaml:"options"` // The user name of the new owner of the foreign server. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server#server_owner Server#server_owner} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server#server_owner Server#server_owner} ServerOwner *string `field:"optional" json:"serverOwner" yaml:"serverOwner"` // Optional server type, potentially useful to foreign-data wrappers. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server#server_type Server#server_type} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server#server_type Server#server_type} ServerType *string `field:"optional" json:"serverType" yaml:"serverType"` // Optional server version, potentially useful to foreign-data wrappers. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/server#server_version Server#server_version} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/server#server_version Server#server_version} ServerVersion *string `field:"optional" json:"serverVersion" yaml:"serverVersion"` } diff --git a/gen/postgresql/subscription/README.md b/gen/postgresql/subscription/README.md index 5d67f14f85..9a7712cc8d 100644 --- a/gen/postgresql/subscription/README.md +++ b/gen/postgresql/subscription/README.md @@ -1,3 +1,3 @@ # `postgresql_subscription` -Refer to the Terraform Registry for docs: [`postgresql_subscription`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription). +Refer to the Terraform Registry for docs: [`postgresql_subscription`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription). diff --git a/gen/postgresql/subscription/Subscription.go b/gen/postgresql/subscription/Subscription.go index 96ca734e23..5c6994cd55 100644 --- a/gen/postgresql/subscription/Subscription.go +++ b/gen/postgresql/subscription/Subscription.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/subscription/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription postgresql_subscription}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription postgresql_subscription}. type Subscription interface { cdktf.TerraformResource // Experimental. @@ -448,7 +448,7 @@ func (j *jsiiProxy_Subscription) TerraformResourceType() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription postgresql_subscription} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription postgresql_subscription} Resource. func NewSubscription(scope constructs.Construct, id *string, config *SubscriptionConfig) Subscription { _init_.Initialize() @@ -466,7 +466,7 @@ func NewSubscription(scope constructs.Construct, id *string, config *Subscriptio return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription postgresql_subscription} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription postgresql_subscription} Resource. func NewSubscription_Override(s Subscription, scope constructs.Construct, id *string, config *SubscriptionConfig) { _init_.Initialize() diff --git a/gen/postgresql/subscription/SubscriptionConfig.go b/gen/postgresql/subscription/SubscriptionConfig.go index 897e44a8a6..95ff636054 100644 --- a/gen/postgresql/subscription/SubscriptionConfig.go +++ b/gen/postgresql/subscription/SubscriptionConfig.go @@ -21,25 +21,25 @@ type SubscriptionConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The connection string to the publisher. It should follow the keyword/value format (https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING). // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription#conninfo Subscription#conninfo} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription#conninfo Subscription#conninfo} Conninfo *string `field:"required" json:"conninfo" yaml:"conninfo"` // The name of the subscription. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription#name Subscription#name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription#name Subscription#name} Name *string `field:"required" json:"name" yaml:"name"` // Names of the publications on the publisher to subscribe to. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription#publications Subscription#publications} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription#publications Subscription#publications} Publications *[]*string `field:"required" json:"publications" yaml:"publications"` // Specifies whether the command should create the replication slot on the publisher. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription#create_slot Subscription#create_slot} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription#create_slot Subscription#create_slot} CreateSlot interface{} `field:"optional" json:"createSlot" yaml:"createSlot"` // Sets the database to add the subscription for. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription#database Subscription#database} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription#database Subscription#database} Database *string `field:"optional" json:"database" yaml:"database"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription#id Subscription#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription#id Subscription#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. @@ -48,7 +48,7 @@ type SubscriptionConfig struct { // // The default behavior is to use the name of the subscription for the slot name // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/subscription#slot_name Subscription#slot_name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/subscription#slot_name Subscription#slot_name} SlotName *string `field:"optional" json:"slotName" yaml:"slotName"` } diff --git a/gen/postgresql/usermapping/README.md b/gen/postgresql/usermapping/README.md index 7465bcad8b..f84f3ace70 100644 --- a/gen/postgresql/usermapping/README.md +++ b/gen/postgresql/usermapping/README.md @@ -1,3 +1,3 @@ # `postgresql_user_mapping` -Refer to the Terraform Registry for docs: [`postgresql_user_mapping`](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/user_mapping). +Refer to the Terraform Registry for docs: [`postgresql_user_mapping`](https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/user_mapping). diff --git a/gen/postgresql/usermapping/UserMapping.go b/gen/postgresql/usermapping/UserMapping.go index 22ec615ad5..b72bba2f08 100644 --- a/gen/postgresql/usermapping/UserMapping.go +++ b/gen/postgresql/usermapping/UserMapping.go @@ -9,7 +9,7 @@ import ( "github.com/sourcegraph/managed-services-platform-cdktf/gen/postgresql/usermapping/internal" ) -// Represents a {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/user_mapping postgresql_user_mapping}. +// Represents a {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/user_mapping postgresql_user_mapping}. type UserMapping interface { cdktf.TerraformResource // Experimental. @@ -377,7 +377,7 @@ func (j *jsiiProxy_UserMapping) UserNameInput() *string { } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/user_mapping postgresql_user_mapping} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/user_mapping postgresql_user_mapping} Resource. func NewUserMapping(scope constructs.Construct, id *string, config *UserMappingConfig) UserMapping { _init_.Initialize() @@ -395,7 +395,7 @@ func NewUserMapping(scope constructs.Construct, id *string, config *UserMappingC return &j } -// Create a new {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/user_mapping postgresql_user_mapping} Resource. +// Create a new {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/user_mapping postgresql_user_mapping} Resource. func NewUserMapping_Override(u UserMapping, scope constructs.Construct, id *string, config *UserMappingConfig) { _init_.Initialize() diff --git a/gen/postgresql/usermapping/UserMappingConfig.go b/gen/postgresql/usermapping/UserMappingConfig.go index d825cdaae8..dc12d0037a 100644 --- a/gen/postgresql/usermapping/UserMappingConfig.go +++ b/gen/postgresql/usermapping/UserMappingConfig.go @@ -21,15 +21,15 @@ type UserMappingConfig struct { Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The name of an existing server for which the user mapping is to be created. // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/user_mapping#server_name UserMapping#server_name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/user_mapping#server_name UserMapping#server_name} ServerName *string `field:"required" json:"serverName" yaml:"serverName"` // The name of an existing user that is mapped to foreign server. // // CURRENT_ROLE, CURRENT_USER, and USER match the name of the current user. When PUBLIC is specified, a so-called public mapping is created that is used when no user-specific mapping is applicable // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/user_mapping#user_name UserMapping#user_name} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/user_mapping#user_name UserMapping#user_name} UserName *string `field:"required" json:"userName" yaml:"userName"` - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/user_mapping#id UserMapping#id}. + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/user_mapping#id UserMapping#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. @@ -38,7 +38,7 @@ type UserMappingConfig struct { // // The options typically define the actual user name and password of the mapping. Option names must be unique. The allowed option names and values are specific to the server's foreign-data wrapper // - // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/user_mapping#options UserMapping#options} + // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/sourcegraph/postgresql/1.25.0-sg.4/docs/resources/user_mapping#options UserMapping#options} Options *map[string]*string `field:"optional" json:"options" yaml:"options"` } diff --git a/postgresql.cdktf.yaml b/postgresql.cdktf.yaml index 84351f83e7..a058ce6d98 100644 --- a/postgresql.cdktf.yaml +++ b/postgresql.cdktf.yaml @@ -1,9 +1,9 @@ name: postgresql provider: - # https://registry.terraform.io/providers/cyrilgdn/postgresql/latest - source: registry.terraform.io/cyrilgdn/postgresql - version: "1.25.0" + # https://registry.terraform.io/providers/sourcegraph/postgresql/latest + source: registry.terraform.io/sourcegraph/postgresql + version: "1.25.0-sg.4" target: language: go