Documentation ¶
Overview ¶
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Prebuilt postgresql Provider for Terraform CDK (cdktf)
Index ¶
- func Database_IsConstruct(x interface{}) *bool
- func Database_TfResourceType() *string
- func DefaultPrivileges_IsConstruct(x interface{}) *bool
- func DefaultPrivileges_TfResourceType() *string
- func Extension_IsConstruct(x interface{}) *bool
- func Extension_TfResourceType() *string
- func Function_IsConstruct(x interface{}) *bool
- func Function_TfResourceType() *string
- func GrantRole_IsConstruct(x interface{}) *bool
- func GrantRole_TfResourceType() *string
- func Grant_IsConstruct(x interface{}) *bool
- func Grant_TfResourceType() *string
- func NewDatabase_Override(d Database, scope constructs.Construct, id *string, config *DatabaseConfig)
- func NewDefaultPrivileges_Override(d DefaultPrivileges, scope constructs.Construct, id *string, ...)
- func NewExtension_Override(e Extension, scope constructs.Construct, id *string, config *ExtensionConfig)
- func NewFunctionArgList_Override(f FunctionArgList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewFunctionArgOutputReference_Override(f FunctionArgOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewFunction_Override(f Function, scope constructs.Construct, id *string, config *FunctionConfig)
- func NewGrantRole_Override(g GrantRole, scope constructs.Construct, id *string, config *GrantRoleConfig)
- func NewGrant_Override(g Grant, scope constructs.Construct, id *string, config *GrantConfig)
- func NewPhysicalReplicationSlot_Override(p PhysicalReplicationSlot, scope constructs.Construct, id *string, ...)
- func NewPostgresqlProvider_Override(p PostgresqlProvider, scope constructs.Construct, id *string, ...)
- func NewPublication_Override(p Publication, scope constructs.Construct, id *string, ...)
- func NewReplicationSlot_Override(r ReplicationSlot, scope constructs.Construct, id *string, ...)
- func NewRole_Override(r Role, scope constructs.Construct, id *string, config *RoleConfig)
- func NewSchemaPolicyList_Override(s SchemaPolicyList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSchemaPolicyOutputReference_Override(s SchemaPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSchema_Override(s Schema, scope constructs.Construct, id *string, config *SchemaConfig)
- func PhysicalReplicationSlot_IsConstruct(x interface{}) *bool
- func PhysicalReplicationSlot_TfResourceType() *string
- func PostgresqlProvider_IsConstruct(x interface{}) *bool
- func PostgresqlProvider_TfResourceType() *string
- func Publication_IsConstruct(x interface{}) *bool
- func Publication_TfResourceType() *string
- func ReplicationSlot_IsConstruct(x interface{}) *bool
- func ReplicationSlot_TfResourceType() *string
- func Role_IsConstruct(x interface{}) *bool
- func Role_TfResourceType() *string
- func Schema_IsConstruct(x interface{}) *bool
- func Schema_TfResourceType() *string
- type Database
- type DatabaseConfig
- type DefaultPrivileges
- type DefaultPrivilegesConfig
- type Extension
- type ExtensionConfig
- type Function
- type FunctionArg
- type FunctionArgList
- type FunctionArgOutputReference
- type FunctionConfig
- type Grant
- type GrantConfig
- type GrantRole
- type GrantRoleConfig
- type PhysicalReplicationSlot
- type PhysicalReplicationSlotConfig
- type PostgresqlProvider
- type PostgresqlProviderClientcert
- type PostgresqlProviderConfig
- type Publication
- type PublicationConfig
- type ReplicationSlot
- type ReplicationSlotConfig
- type Role
- type RoleConfig
- type Schema
- type SchemaConfig
- type SchemaPolicy
- type SchemaPolicyList
- type SchemaPolicyOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Database_IsConstruct ¶
func Database_IsConstruct(x interface{}) *bool
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 Database_TfResourceType ¶
func Database_TfResourceType() *string
func DefaultPrivileges_IsConstruct ¶
func DefaultPrivileges_IsConstruct(x interface{}) *bool
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 DefaultPrivileges_TfResourceType ¶
func DefaultPrivileges_TfResourceType() *string
func Extension_IsConstruct ¶
func Extension_IsConstruct(x interface{}) *bool
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 Extension_TfResourceType ¶
func Extension_TfResourceType() *string
func Function_IsConstruct ¶
func Function_IsConstruct(x interface{}) *bool
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 Function_TfResourceType ¶
func Function_TfResourceType() *string
func GrantRole_IsConstruct ¶
func GrantRole_IsConstruct(x interface{}) *bool
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 GrantRole_TfResourceType ¶
func GrantRole_TfResourceType() *string
func Grant_IsConstruct ¶
func Grant_IsConstruct(x interface{}) *bool
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 Grant_TfResourceType ¶
func Grant_TfResourceType() *string
func NewDatabase_Override ¶
func NewDatabase_Override(d Database, scope constructs.Construct, id *string, config *DatabaseConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/database postgresql_database} Resource.
func NewDefaultPrivileges_Override ¶
func NewDefaultPrivileges_Override(d DefaultPrivileges, scope constructs.Construct, id *string, config *DefaultPrivilegesConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/default_privileges postgresql_default_privileges} Resource.
func NewExtension_Override ¶
func NewExtension_Override(e Extension, scope constructs.Construct, id *string, config *ExtensionConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/extension postgresql_extension} Resource.
func NewFunctionArgList_Override ¶
func NewFunctionArgList_Override(f FunctionArgList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewFunctionArgOutputReference_Override ¶
func NewFunctionArgOutputReference_Override(f FunctionArgOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewFunction_Override ¶
func NewFunction_Override(f Function, scope constructs.Construct, id *string, config *FunctionConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/function postgresql_function} Resource.
func NewGrantRole_Override ¶
func NewGrantRole_Override(g GrantRole, scope constructs.Construct, id *string, config *GrantRoleConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/grant_role postgresql_grant_role} Resource.
func NewGrant_Override ¶
func NewGrant_Override(g Grant, scope constructs.Construct, id *string, config *GrantConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/grant postgresql_grant} Resource.
func NewPhysicalReplicationSlot_Override ¶
func NewPhysicalReplicationSlot_Override(p PhysicalReplicationSlot, scope constructs.Construct, id *string, config *PhysicalReplicationSlotConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/physical_replication_slot postgresql_physical_replication_slot} Resource.
func NewPostgresqlProvider_Override ¶
func NewPostgresqlProvider_Override(p PostgresqlProvider, scope constructs.Construct, id *string, config *PostgresqlProviderConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql postgresql} Resource.
func NewPublication_Override ¶
func NewPublication_Override(p Publication, scope constructs.Construct, id *string, config *PublicationConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/publication postgresql_publication} Resource.
func NewReplicationSlot_Override ¶
func NewReplicationSlot_Override(r ReplicationSlot, scope constructs.Construct, id *string, config *ReplicationSlotConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/replication_slot postgresql_replication_slot} Resource.
func NewRole_Override ¶
func NewRole_Override(r Role, scope constructs.Construct, id *string, config *RoleConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/role postgresql_role} Resource.
func NewSchemaPolicyList_Override ¶
func NewSchemaPolicyList_Override(s SchemaPolicyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewSchemaPolicyOutputReference_Override ¶
func NewSchemaPolicyOutputReference_Override(s SchemaPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewSchema_Override ¶
func NewSchema_Override(s Schema, scope constructs.Construct, id *string, config *SchemaConfig)
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/schema postgresql_schema} Resource.
func PhysicalReplicationSlot_IsConstruct ¶
func PhysicalReplicationSlot_IsConstruct(x interface{}) *bool
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 PhysicalReplicationSlot_TfResourceType ¶
func PhysicalReplicationSlot_TfResourceType() *string
func PostgresqlProvider_IsConstruct ¶
func PostgresqlProvider_IsConstruct(x interface{}) *bool
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 PostgresqlProvider_TfResourceType ¶
func PostgresqlProvider_TfResourceType() *string
func Publication_IsConstruct ¶
func Publication_IsConstruct(x interface{}) *bool
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 Publication_TfResourceType ¶
func Publication_TfResourceType() *string
func ReplicationSlot_IsConstruct ¶
func ReplicationSlot_IsConstruct(x interface{}) *bool
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 ReplicationSlot_TfResourceType ¶
func ReplicationSlot_TfResourceType() *string
func Role_IsConstruct ¶
func Role_IsConstruct(x interface{}) *bool
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 Role_TfResourceType ¶
func Role_TfResourceType() *string
func Schema_IsConstruct ¶
func Schema_IsConstruct(x interface{}) *bool
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 Schema_TfResourceType ¶
func Schema_TfResourceType() *string
Types ¶
type Database ¶
type Database interface { cdktf.TerraformResource AllowConnections() interface{} SetAllowConnections(val interface{}) AllowConnectionsInput() 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() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Encoding() *string SetEncoding(val *string) EncodingInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string IsTemplate() interface{} SetIsTemplate(val interface{}) IsTemplateInput() interface{} LcCollate() *string SetLcCollate(val *string) LcCollateInput() *string LcCtype() *string SetLcCtype(val *string) LcCtypeInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Owner() *string SetOwner(val *string) OwnerInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} TablespaceName() *string SetTablespaceName(val *string) TablespaceNameInput() *string Template() *string SetTemplate(val *string) TemplateInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAllowConnections() ResetConnectionLimit() ResetEncoding() ResetId() ResetIsTemplate() ResetLcCollate() ResetLcCtype() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetOwner() ResetTablespaceName() ResetTemplate() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/database postgresql_database}.
func NewDatabase ¶
func NewDatabase(scope constructs.Construct, id *string, config *DatabaseConfig) Database
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/database postgresql_database} Resource.
type DatabaseConfig ¶
type DatabaseConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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 PostgreSQL database name to connect to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/database#allow_connections Database#allow_connections} AllowConnections interface{} `field:"optional" json:"allowConnections" yaml:"allowConnections"` // How many concurrent connections can be made to this database. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/database#encoding Database#encoding} Encoding *string `field:"optional" json:"encoding" yaml:"encoding"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/database#template Database#template} Template *string `field:"optional" json:"template" yaml:"template"` }
type DefaultPrivileges ¶
type DefaultPrivileges interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) Database() *string SetDatabase(val *string) DatabaseInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) // The tree node. Node() constructs.Node ObjectType() *string SetObjectType(val *string) ObjectTypeInput() *string Owner() *string SetOwner(val *string) OwnerInput() *string Privileges() *[]*string SetPrivileges(val *[]*string) PrivilegesInput() *[]*string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Role() *string SetRole(val *string) RoleInput() *string Schema() *string SetSchema(val *string) SchemaInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string WithGrantOption() interface{} SetWithGrantOption(val interface{}) WithGrantOptionInput() interface{} // 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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetSchema() ResetWithGrantOption() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/default_privileges postgresql_default_privileges}.
func NewDefaultPrivileges ¶
func NewDefaultPrivileges(scope constructs.Construct, id *string, config *DefaultPrivilegesConfig) DefaultPrivileges
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/default_privileges postgresql_default_privileges} Resource.
type DefaultPrivilegesConfig ¶
type DefaultPrivilegesConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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 database to grant default privileges for this role. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/default_privileges#role DefaultPrivileges#role} Role *string `field:"required" json:"role" yaml:"role"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/default_privileges#with_grant_option DefaultPrivileges#with_grant_option} WithGrantOption interface{} `field:"optional" json:"withGrantOption" yaml:"withGrantOption"` }
type Extension ¶
type Extension interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CreateCascade() interface{} SetCreateCascade(val interface{}) CreateCascadeInput() interface{} Database() *string SetDatabase(val *string) DatabaseInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DropCascade() interface{} SetDropCascade(val interface{}) DropCascadeInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Schema() *string SetSchema(val *string) SchemaInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Version() *string SetVersion(val *string) VersionInput() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetCreateCascade() ResetDatabase() ResetDropCascade() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetSchema() ResetVersion() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/extension postgresql_extension}.
func NewExtension ¶
func NewExtension(scope constructs.Construct, id *string, config *ExtensionConfig) Extension
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/extension postgresql_extension} Resource.
type ExtensionConfig ¶
type ExtensionConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/extension#drop_cascade Extension#drop_cascade} DropCascade interface{} `field:"optional" json:"dropCascade" yaml:"dropCascade"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/extension#version Extension#version} Version *string `field:"optional" json:"version" yaml:"version"` }
type Function ¶
type Function interface { cdktf.TerraformResource Arg() FunctionArgList ArgInput() interface{} Body() *string SetBody(val *string) BodyInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) Database() *string SetDatabase(val *string) DatabaseInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DropCascade() interface{} SetDropCascade(val interface{}) DropCascadeInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Returns() *string SetReturns(val *string) ReturnsInput() *string Schema() *string SetSchema(val *string) SchemaInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutArg(value interface{}) ResetArg() ResetDatabase() ResetDropCascade() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetReturns() ResetSchema() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/function postgresql_function}.
func NewFunction ¶
func NewFunction(scope constructs.Construct, id *string, config *FunctionConfig) Function
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/function postgresql_function} Resource.
type FunctionArg ¶
type FunctionArg struct { // The argument type. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/function#type Function#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://www.terraform.io/docs/providers/postgresql/r/function#default Function#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://www.terraform.io/docs/providers/postgresql/r/function#mode Function#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://www.terraform.io/docs/providers/postgresql/r/function#name Function#name} Name *string `field:"optional" json:"name" yaml:"name"` }
type FunctionArgList ¶
type FunctionArgList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) FunctionArgOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewFunctionArgList ¶
func NewFunctionArgList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) FunctionArgList
type FunctionArgOutputReference ¶
type FunctionArgOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Default() *string SetDefault(val *string) DefaultInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Mode() *string SetMode(val *string) ModeInput() *string Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string // Experimental. ComputeFqn() *string // 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. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDefault() ResetMode() ResetName() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewFunctionArgOutputReference ¶
func NewFunctionArgOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) FunctionArgOutputReference
type FunctionConfig ¶
type FunctionConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // Body of the function. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/function#body Function#body} Body *string `field:"required" json:"body" yaml:"body"` // Name of the function. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/function#name Function#name} Name *string `field:"required" json:"name" yaml:"name"` // arg block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/function#arg Function#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://www.terraform.io/docs/providers/postgresql/r/function#database Function#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://www.terraform.io/docs/providers/postgresql/r/function#drop_cascade Function#drop_cascade} DropCascade interface{} `field:"optional" json:"dropCascade" yaml:"dropCascade"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/function#id Function#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"` // Function return type. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/function#returns Function#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://www.terraform.io/docs/providers/postgresql/r/function#schema Function#schema} Schema *string `field:"optional" json:"schema" yaml:"schema"` }
type Grant ¶
type Grant interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) Database() *string SetDatabase(val *string) DatabaseInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) // The tree node. Node() constructs.Node Objects() *[]*string SetObjects(val *[]*string) ObjectsInput() *[]*string ObjectType() *string SetObjectType(val *string) ObjectTypeInput() *string Privileges() *[]*string SetPrivileges(val *[]*string) PrivilegesInput() *[]*string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Role() *string SetRole(val *string) RoleInput() *string Schema() *string SetSchema(val *string) SchemaInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string WithGrantOption() interface{} SetWithGrantOption(val interface{}) WithGrantOptionInput() interface{} // 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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetId() ResetObjects() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetSchema() ResetWithGrantOption() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/grant postgresql_grant}.
func NewGrant ¶
func NewGrant(scope constructs.Construct, id *string, config *GrantConfig) Grant
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/grant postgresql_grant} Resource.
type GrantConfig ¶
type GrantConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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 database to grant privileges on for this role. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/grant#role Grant#role} Role *string `field:"required" json:"role" yaml:"role"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/grant#with_grant_option Grant#with_grant_option} WithGrantOption interface{} `field:"optional" json:"withGrantOption" yaml:"withGrantOption"` }
type GrantRole ¶
type GrantRole interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GrantRole() *string SetGrantRole(val *string) GrantRoleInput() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Role() *string SetRole(val *string) RoleInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string WithAdminOption() interface{} SetWithAdminOption(val interface{}) WithAdminOptionInput() interface{} // 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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetWithAdminOption() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/grant_role postgresql_grant_role}.
func NewGrantRole ¶
func NewGrantRole(scope constructs.Construct, id *string, config *GrantRoleConfig) GrantRole
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/grant_role postgresql_grant_role} Resource.
type GrantRoleConfig ¶
type GrantRoleConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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 that is granted to role. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/grant_role#role GrantRole#role} Role *string `field:"required" json:"role" yaml:"role"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/grant_role#with_admin_option GrantRole#with_admin_option} WithAdminOption interface{} `field:"optional" json:"withAdminOption" yaml:"withAdminOption"` }
type PhysicalReplicationSlot ¶
type PhysicalReplicationSlot interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/physical_replication_slot postgresql_physical_replication_slot}.
func NewPhysicalReplicationSlot ¶
func NewPhysicalReplicationSlot(scope constructs.Construct, id *string, config *PhysicalReplicationSlotConfig) PhysicalReplicationSlot
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/physical_replication_slot postgresql_physical_replication_slot} Resource.
type PhysicalReplicationSlotConfig ¶
type PhysicalReplicationSlotConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/physical_replication_slot#name PhysicalReplicationSlot#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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. Id *string `field:"optional" json:"id" yaml:"id"` }
type PostgresqlProvider ¶
type PostgresqlProvider interface { cdktf.TerraformProvider Alias() *string SetAlias(val *string) AliasInput() *string AwsRdsIamAuth() interface{} SetAwsRdsIamAuth(val interface{}) AwsRdsIamAuthInput() interface{} AwsRdsIamProfile() *string SetAwsRdsIamProfile(val *string) AwsRdsIamProfileInput() *string // Experimental. CdktfStack() cdktf.TerraformStack Clientcert() *PostgresqlProviderClientcert SetClientcert(val *PostgresqlProviderClientcert) ClientcertInput() *PostgresqlProviderClientcert ConnectTimeout() *float64 SetConnectTimeout(val *float64) ConnectTimeoutInput() *float64 // Experimental. ConstructNodeMetadata() *map[string]interface{} Database() *string SetDatabase(val *string) DatabaseInput() *string DatabaseUsername() *string SetDatabaseUsername(val *string) DatabaseUsernameInput() *string ExpectedVersion() *string SetExpectedVersion(val *string) ExpectedVersionInput() *string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Host() *string SetHost(val *string) HostInput() *string MaxConnections() *float64 SetMaxConnections(val *float64) MaxConnectionsInput() *float64 // Experimental. MetaAttributes() *map[string]interface{} // The tree node. Node() constructs.Node Password() *string SetPassword(val *string) PasswordInput() *string Port() *float64 SetPort(val *float64) PortInput() *float64 // Experimental. RawOverrides() interface{} Scheme() *string SetScheme(val *string) SchemeInput() *string Sslmode() *string SetSslmode(val *string) SslMode() *string SetSslMode(val *string) SslmodeInput() *string SslModeInput() *string Sslrootcert() *string SetSslrootcert(val *string) SslrootcertInput() *string Superuser() interface{} SetSuperuser(val interface{}) SuperuserInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformProviderSource() *string // Experimental. TerraformResourceType() *string Username() *string SetUsername(val *string) UsernameInput() *string // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAlias() ResetAwsRdsIamAuth() ResetAwsRdsIamProfile() ResetClientcert() ResetConnectTimeout() ResetDatabase() ResetDatabaseUsername() ResetExpectedVersion() ResetHost() ResetMaxConnections() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPassword() ResetPort() ResetScheme() ResetSslmode() ResetSslMode() ResetSslrootcert() ResetSuperuser() ResetUsername() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql postgresql}.
func NewPostgresqlProvider ¶
func NewPostgresqlProvider(scope constructs.Construct, id *string, config *PostgresqlProviderConfig) PostgresqlProvider
Create a new {@link https://www.terraform.io/docs/providers/postgresql postgresql} Resource.
type PostgresqlProviderClientcert ¶
type PostgresqlProviderClientcert struct { // The SSL client certificate file path. The file must contain PEM encoded data. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#key PostgresqlProvider#key} Key *string `field:"required" json:"key" yaml:"key"` }
type PostgresqlProviderConfig ¶
type PostgresqlProviderConfig struct { // Alias name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#aws_rds_iam_profile PostgresqlProvider#aws_rds_iam_profile} AwsRdsIamProfile *string `field:"optional" json:"awsRdsIamProfile" yaml:"awsRdsIamProfile"` // clientcert block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#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`). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#expected_version PostgresqlProvider#expected_version} ExpectedVersion *string `field:"optional" json:"expectedVersion" yaml:"expectedVersion"` // Name of PostgreSQL server address to connect to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#port PostgresqlProvider#port} Port *float64 `field:"optional" json:"port" yaml:"port"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#sslmode PostgresqlProvider#sslmode} Sslmode *string `field:"optional" json:"sslmode" yaml:"sslmode"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#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://www.terraform.io/docs/providers/postgresql#superuser PostgresqlProvider#superuser} Superuser interface{} `field:"optional" json:"superuser" yaml:"superuser"` // PostgreSQL user name to connect as. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql#username PostgresqlProvider#username} Username *string `field:"optional" json:"username" yaml:"username"` }
type Publication ¶
type Publication interface { cdktf.TerraformResource AllTables() interface{} SetAllTables(val interface{}) AllTablesInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) Database() *string SetDatabase(val *string) DatabaseInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DropCascade() interface{} SetDropCascade(val interface{}) DropCascadeInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Owner() *string SetOwner(val *string) OwnerInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) PublishParam() *[]*string SetPublishParam(val *[]*string) PublishParamInput() *[]*string PublishViaPartitionRootParam() interface{} SetPublishViaPartitionRootParam(val interface{}) PublishViaPartitionRootParamInput() interface{} // Experimental. RawOverrides() interface{} Tables() *[]*string SetTables(val *[]*string) TablesInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAllTables() ResetDatabase() ResetDropCascade() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetOwner() ResetPublishParam() ResetPublishViaPartitionRootParam() ResetTables() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/publication postgresql_publication}.
func NewPublication ¶
func NewPublication(scope constructs.Construct, id *string, config *PublicationConfig) Publication
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/publication postgresql_publication} Resource.
type PublicationConfig ¶
type PublicationConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/publication#drop_cascade Publication#drop_cascade} DropCascade interface{} `field:"optional" json:"dropCascade" yaml:"dropCascade"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/publication#tables Publication#tables} Tables *[]*string `field:"optional" json:"tables" yaml:"tables"` }
type ReplicationSlot ¶
type ReplicationSlot interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) Database() *string SetDatabase(val *string) DatabaseInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Plugin() *string SetPlugin(val *string) PluginInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetDatabase() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/replication_slot postgresql_replication_slot}.
func NewReplicationSlot ¶
func NewReplicationSlot(scope constructs.Construct, id *string, config *ReplicationSlotConfig) ReplicationSlot
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/replication_slot postgresql_replication_slot} Resource.
type ReplicationSlotConfig ¶
type ReplicationSlotConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/replication_slot#database ReplicationSlot#database} Database *string `field:"optional" json:"database" yaml:"database"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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. Id *string `field:"optional" json:"id" yaml:"id"` }
type Role ¶
type Role 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() *float64 // Experimental. SetCount(val *float64) CreateDatabase() interface{} SetCreateDatabase(val interface{}) CreateDatabaseInput() interface{} CreateRole() interface{} SetCreateRole(val interface{}) CreateRoleInput() interface{} // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Encrypted() *string SetEncrypted(val *string) EncryptedInput() *string EncryptedPassword() interface{} SetEncryptedPassword(val interface{}) EncryptedPasswordInput() interface{} // 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{} Roles() *[]*string SetRoles(val *[]*string) RolesInput() *[]*string SearchPath() *[]*string SetSearchPath(val *[]*string) SearchPathInput() *[]*string SkipDropRole() interface{} SetSkipDropRole(val interface{}) SkipDropRoleInput() interface{} SkipReassignOwned() interface{} SetSkipReassignOwned(val interface{}) SkipReassignOwnedInput() interface{} 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 // 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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAssumeRole() ResetBypassRowLevelSecurity() ResetConnectionLimit() ResetCreateDatabase() ResetCreateRole() ResetEncrypted() ResetEncryptedPassword() ResetId() ResetIdleInTransactionSessionTimeout() ResetInherit() ResetLogin() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPassword() ResetReplication() ResetRoles() ResetSearchPath() ResetSkipDropRole() ResetSkipReassignOwned() ResetStatementTimeout() ResetSuperuser() ResetValidUntil() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/role postgresql_role}.
func NewRole ¶
func NewRole(scope constructs.Construct, id *string, config *RoleConfig) Role
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/role postgresql_role} Resource.
type RoleConfig ¶
type RoleConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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://www.terraform.io/docs/providers/postgresql/r/role#name Role#name} Name *string `field:"required" json:"name" yaml:"name"` // Role to switch to at login. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/role#create_role Role#create_role} CreateRole interface{} `field:"optional" json:"createRole" yaml:"createRole"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/role#encrypted_password Role#encrypted_password} EncryptedPassword interface{} `field:"optional" json:"encryptedPassword" yaml:"encryptedPassword"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/role#login Role#login} Login interface{} `field:"optional" json:"login" yaml:"login"` // Sets the role's password. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/role#roles Role#roles} Roles *[]*string `field:"optional" json:"roles" yaml:"roles"` // Sets the role's search path. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/role#valid_until Role#valid_until} ValidUntil *string `field:"optional" json:"validUntil" yaml:"validUntil"` }
type Schema ¶
type Schema interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) Database() *string SetDatabase(val *string) DatabaseInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DropCascade() interface{} SetDropCascade(val interface{}) DropCascadeInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string IfNotExists() interface{} SetIfNotExists(val interface{}) IfNotExistsInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Owner() *string SetOwner(val *string) OwnerInput() *string Policy() SchemaPolicyList PolicyInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutPolicy(value interface{}) ResetDatabase() ResetDropCascade() ResetId() ResetIfNotExists() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetOwner() ResetPolicy() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/postgresql/r/schema postgresql_schema}.
func NewSchema ¶
func NewSchema(scope constructs.Construct, id *string, config *SchemaConfig) Schema
Create a new {@link https://www.terraform.io/docs/providers/postgresql/r/schema postgresql_schema} Resource.
type SchemaConfig ¶
type SchemaConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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 schema. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/schema#name Schema#name} Name *string `field:"required" json:"name" yaml:"name"` // The database name to alter schema. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/schema#drop_cascade Schema#drop_cascade} DropCascade interface{} `field:"optional" json:"dropCascade" yaml:"dropCascade"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/schema#owner Schema#owner} Owner *string `field:"optional" json:"owner" yaml:"owner"` // policy block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/schema#policy Schema#policy} Policy interface{} `field:"optional" json:"policy" yaml:"policy"` }
type SchemaPolicy ¶
type SchemaPolicy struct { // If true, allow the specified ROLEs to CREATE new objects within the schema(s). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/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://www.terraform.io/docs/providers/postgresql/r/schema#usage_with_grant Schema#usage_with_grant} UsageWithGrant interface{} `field:"optional" json:"usageWithGrant" yaml:"usageWithGrant"` }
type SchemaPolicyList ¶
type SchemaPolicyList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) SchemaPolicyOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewSchemaPolicyList ¶
func NewSchemaPolicyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SchemaPolicyList
type SchemaPolicyOutputReference ¶
type SchemaPolicyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() interface{} SetCreate(val interface{}) CreateInput() interface{} CreateWithGrant() interface{} SetCreateWithGrant(val interface{}) CreateWithGrantInput() interface{} // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Role() *string SetRole(val *string) RoleInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Usage() interface{} SetUsage(val interface{}) UsageInput() interface{} UsageWithGrant() interface{} SetUsageWithGrant(val interface{}) UsageWithGrantInput() interface{} // Experimental. ComputeFqn() *string // 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. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetCreateWithGrant() ResetRole() ResetUsage() ResetUsageWithGrant() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewSchemaPolicyOutputReference ¶
func NewSchemaPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) SchemaPolicyOutputReference
Source Files ¶
- postgresql.go
- postgresql_Database.go
- postgresql_DatabaseConfig.go
- postgresql_DefaultPrivileges.go
- postgresql_DefaultPrivilegesConfig.go
- postgresql_Extension.go
- postgresql_ExtensionConfig.go
- postgresql_Function.go
- postgresql_FunctionArg.go
- postgresql_FunctionArgList.go
- postgresql_FunctionArgOutputReference.go
- postgresql_FunctionConfig.go
- postgresql_Grant.go
- postgresql_GrantConfig.go
- postgresql_GrantRole.go
- postgresql_GrantRoleConfig.go
- postgresql_PhysicalReplicationSlot.go
- postgresql_PhysicalReplicationSlotConfig.go
- postgresql_PostgresqlProvider.go
- postgresql_PostgresqlProviderClientcert.go
- postgresql_PostgresqlProviderConfig.go
- postgresql_Publication.go
- postgresql_PublicationConfig.go
- postgresql_ReplicationSlot.go
- postgresql_ReplicationSlotConfig.go
- postgresql_Role.go
- postgresql_RoleConfig.go
- postgresql_Schema.go
- postgresql_SchemaConfig.go
- postgresql_SchemaPolicy.go
- postgresql_SchemaPolicyList.go
- postgresql_SchemaPolicyOutputReference.go