Documentation
¶
Index ¶
- func NewPgClusterConnectionPoolerOutputReference_Override(p PgClusterConnectionPoolerOutputReference, ...)
- func NewPgClusterConnectionsOutputReference_Override(p PgClusterConnectionsOutputReference, ...)
- func NewPgClusterCredentialsOutputReference_Override(p PgClusterCredentialsOutputReference, ...)
- func NewPgClusterFromBackupOutputReference_Override(p PgClusterFromBackupOutputReference, ...)
- func NewPgClusterMaintenanceWindowOutputReference_Override(p PgClusterMaintenanceWindowOutputReference, ...)
- func NewPgClusterTimeoutsOutputReference_Override(p PgClusterTimeoutsOutputReference, ...)
- func NewPgCluster_Override(p PgCluster, scope constructs.Construct, id *string, config *PgClusterConfig)
- func PgCluster_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func PgCluster_IsConstruct(x interface{}) *bool
- func PgCluster_IsTerraformElement(x interface{}) *bool
- func PgCluster_IsTerraformResource(x interface{}) *bool
- func PgCluster_TfResourceType() *string
- type PgCluster
- type PgClusterConfig
- type PgClusterConnectionPooler
- type PgClusterConnectionPoolerOutputReference
- type PgClusterConnections
- type PgClusterConnectionsOutputReference
- type PgClusterCredentials
- type PgClusterCredentialsOutputReference
- type PgClusterFromBackup
- type PgClusterFromBackupOutputReference
- type PgClusterMaintenanceWindow
- type PgClusterMaintenanceWindowOutputReference
- type PgClusterTimeouts
- type PgClusterTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPgClusterConnectionPoolerOutputReference_Override ¶ added in v11.1.6
func NewPgClusterConnectionPoolerOutputReference_Override(p PgClusterConnectionPoolerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewPgClusterConnectionsOutputReference_Override ¶
func NewPgClusterConnectionsOutputReference_Override(p PgClusterConnectionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewPgClusterCredentialsOutputReference_Override ¶
func NewPgClusterCredentialsOutputReference_Override(p PgClusterCredentialsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewPgClusterFromBackupOutputReference_Override ¶
func NewPgClusterFromBackupOutputReference_Override(p PgClusterFromBackupOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewPgClusterMaintenanceWindowOutputReference_Override ¶
func NewPgClusterMaintenanceWindowOutputReference_Override(p PgClusterMaintenanceWindowOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewPgClusterTimeoutsOutputReference_Override ¶
func NewPgClusterTimeoutsOutputReference_Override(p PgClusterTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewPgCluster_Override ¶
func NewPgCluster_Override(p PgCluster, scope constructs.Construct, id *string, config *PgClusterConfig)
Create a new {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster ionoscloud_pg_cluster} Resource.
func PgCluster_GenerateConfigForImport ¶
func PgCluster_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a PgCluster resource upon running "cdktf plan <stack-name>".
func PgCluster_IsConstruct ¶
func PgCluster_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 PgCluster_IsTerraformElement ¶
func PgCluster_IsTerraformElement(x interface{}) *bool
Experimental.
func PgCluster_IsTerraformResource ¶
func PgCluster_IsTerraformResource(x interface{}) *bool
Experimental.
func PgCluster_TfResourceType ¶
func PgCluster_TfResourceType() *string
Types ¶
type PgCluster ¶
type PgCluster interface { cdktf.TerraformResource AllowReplace() interface{} SetAllowReplace(val interface{}) AllowReplaceInput() interface{} BackupLocation() *string SetBackupLocation(val *string) BackupLocationInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) ConnectionPooler() PgClusterConnectionPoolerOutputReference ConnectionPoolerInput() *PgClusterConnectionPooler Connections() PgClusterConnectionsOutputReference ConnectionsInput() *PgClusterConnections // Experimental. ConstructNodeMetadata() *map[string]interface{} Cores() *float64 SetCores(val *float64) CoresInput() *float64 // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) Credentials() PgClusterCredentialsOutputReference CredentialsInput() *PgClusterCredentials // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DisplayName() *string SetDisplayName(val *string) DisplayNameInput() *string DnsName() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string FromBackup() PgClusterFromBackupOutputReference FromBackupInput() *PgClusterFromBackup Id() *string SetId(val *string) IdInput() *string Instances() *float64 SetInstances(val *float64) InstancesInput() *float64 // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Location() *string SetLocation(val *string) LocationInput() *string MaintenanceWindow() PgClusterMaintenanceWindowOutputReference MaintenanceWindowInput() *PgClusterMaintenanceWindow // The tree node. Node() constructs.Node PostgresVersion() *string SetPostgresVersion(val *string) PostgresVersionInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) Ram() *float64 SetRam(val *float64) RamInput() *float64 // Experimental. RawOverrides() interface{} StorageSize() *float64 SetStorageSize(val *float64) StorageSizeInput() *float64 StorageType() *string SetStorageType(val *string) StorageTypeInput() *string SynchronizationMode() *string SetSynchronizationMode(val *string) SynchronizationModeInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() PgClusterTimeoutsOutputReference TimeoutsInput() interface{} // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutConnectionPooler(value *PgClusterConnectionPooler) PutConnections(value *PgClusterConnections) PutCredentials(value *PgClusterCredentials) PutFromBackup(value *PgClusterFromBackup) PutMaintenanceWindow(value *PgClusterMaintenanceWindow) PutTimeouts(value *PgClusterTimeouts) ResetAllowReplace() ResetBackupLocation() ResetConnectionPooler() ResetConnections() ResetFromBackup() ResetId() ResetMaintenanceWindow() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster ionoscloud_pg_cluster}.
func NewPgCluster ¶
func NewPgCluster(scope constructs.Construct, id *string, config *PgClusterConfig) PgCluster
Create a new {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster ionoscloud_pg_cluster} Resource.
type PgClusterConfig ¶
type PgClusterConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The number of CPU cores per replica. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#cores PgCluster#cores} Cores *float64 `field:"required" json:"cores" yaml:"cores"` // credentials block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#credentials PgCluster#credentials} Credentials *PgClusterCredentials `field:"required" json:"credentials" yaml:"credentials"` // The friendly name of your cluster. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#display_name PgCluster#display_name} DisplayName *string `field:"required" json:"displayName" yaml:"displayName"` // The total number of instances in the cluster (one master and n-1 standbys). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#instances PgCluster#instances} Instances *float64 `field:"required" json:"instances" yaml:"instances"` // The physical location where the cluster will be created. // // This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests) // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#location PgCluster#location} Location *string `field:"required" json:"location" yaml:"location"` // The PostgreSQL version of your cluster. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#postgres_version PgCluster#postgres_version} PostgresVersion *string `field:"required" json:"postgresVersion" yaml:"postgresVersion"` // The amount of memory per instance in megabytes. Has to be a multiple of 1024. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#ram PgCluster#ram} Ram *float64 `field:"required" json:"ram" yaml:"ram"` // The amount of storage per instance in megabytes. Has to be a multiple of 2048. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#storage_size PgCluster#storage_size} StorageSize *float64 `field:"required" json:"storageSize" yaml:"storageSize"` // The storage type used in your cluster. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#storage_type PgCluster#storage_type} StorageType *string `field:"required" json:"storageType" yaml:"storageType"` // Represents different modes of replication. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#synchronization_mode PgCluster#synchronization_mode} SynchronizationMode *string `field:"required" json:"synchronizationMode" yaml:"synchronizationMode"` // When set to true, allows the update of immutable fields by destroying and re-creating the cluster. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#allow_replace PgCluster#allow_replace} AllowReplace interface{} `field:"optional" json:"allowReplace" yaml:"allowReplace"` // The Object Storage location where the backups will be stored. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#backup_location PgCluster#backup_location} BackupLocation *string `field:"optional" json:"backupLocation" yaml:"backupLocation"` // connection_pooler block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#connection_pooler PgCluster#connection_pooler} ConnectionPooler *PgClusterConnectionPooler `field:"optional" json:"connectionPooler" yaml:"connectionPooler"` // connections block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#connections PgCluster#connections} Connections *PgClusterConnections `field:"optional" json:"connections" yaml:"connections"` // from_backup block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#from_backup PgCluster#from_backup} FromBackup *PgClusterFromBackup `field:"optional" json:"fromBackup" yaml:"fromBackup"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#id PgCluster#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"` // maintenance_window block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#maintenance_window PgCluster#maintenance_window} MaintenanceWindow *PgClusterMaintenanceWindow `field:"optional" json:"maintenanceWindow" yaml:"maintenanceWindow"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#timeouts PgCluster#timeouts} Timeouts *PgClusterTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type PgClusterConnectionPooler ¶ added in v11.1.6
type PgClusterConnectionPooler struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#enabled PgCluster#enabled}. Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"` // Represents different modes of connection pooling for the connection pooler. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#pool_mode PgCluster#pool_mode} PoolMode *string `field:"required" json:"poolMode" yaml:"poolMode"` }
type PgClusterConnectionPoolerOutputReference ¶ added in v11.1.6
type PgClusterConnectionPoolerOutputReference 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 Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} // Experimental. Fqn() *string InternalValue() *PgClusterConnectionPooler SetInternalValue(val *PgClusterConnectionPooler) PoolMode() *string SetPoolMode(val *string) PoolModeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // 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 // 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 NewPgClusterConnectionPoolerOutputReference ¶ added in v11.1.6
func NewPgClusterConnectionPoolerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) PgClusterConnectionPoolerOutputReference
type PgClusterConnections ¶
type PgClusterConnections struct { // The IP and subnet for the database. // // Note the following unavailable IP ranges: // 10.233.64.0/18 // 10.233.0.0/18 // 10.233.114.0/24 // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#cidr PgCluster#cidr} Cidr *string `field:"required" json:"cidr" yaml:"cidr"` // The datacenter to connect your cluster to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#datacenter_id PgCluster#datacenter_id} DatacenterId *string `field:"required" json:"datacenterId" yaml:"datacenterId"` // The LAN to connect your cluster to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#lan_id PgCluster#lan_id} LanId *string `field:"required" json:"lanId" yaml:"lanId"` }
type PgClusterConnectionsOutputReference ¶
type PgClusterConnectionsOutputReference interface { cdktf.ComplexObject Cidr() *string SetCidr(val *string) CidrInput() *string // 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 DatacenterId() *string SetDatacenterId(val *string) DatacenterIdInput() *string // Experimental. Fqn() *string InternalValue() *PgClusterConnections SetInternalValue(val *PgClusterConnections) LanId() *string SetLanId(val *string) LanIdInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // 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 // 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 NewPgClusterConnectionsOutputReference ¶
func NewPgClusterConnectionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) PgClusterConnectionsOutputReference
type PgClusterCredentials ¶
type PgClusterCredentials struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#password PgCluster#password}. Password *string `field:"required" json:"password" yaml:"password"` // the username for the initial postgres user. some system usernames are restricted (e.g. "postgres", "admin", "standby"). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#username PgCluster#username} Username *string `field:"required" json:"username" yaml:"username"` }
type PgClusterCredentialsOutputReference ¶
type PgClusterCredentialsOutputReference 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 // Experimental. Fqn() *string InternalValue() *PgClusterCredentials SetInternalValue(val *PgClusterCredentials) Password() *string SetPassword(val *string) PasswordInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Username() *string SetUsername(val *string) UsernameInput() *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 // 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 NewPgClusterCredentialsOutputReference ¶
func NewPgClusterCredentialsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) PgClusterCredentialsOutputReference
type PgClusterFromBackup ¶
type PgClusterFromBackup struct { // The unique ID of the backup you want to restore. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#backup_id PgCluster#backup_id} BackupId *string `field:"required" json:"backupId" yaml:"backupId"` // If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. // // If empty, the backup will be applied completely. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#recovery_target_time PgCluster#recovery_target_time} RecoveryTargetTime *string `field:"optional" json:"recoveryTargetTime" yaml:"recoveryTargetTime"` }
type PgClusterFromBackupOutputReference ¶
type PgClusterFromBackupOutputReference interface { cdktf.ComplexObject BackupId() *string SetBackupId(val *string) BackupIdInput() *string // 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 // Experimental. Fqn() *string InternalValue() *PgClusterFromBackup SetInternalValue(val *PgClusterFromBackup) RecoveryTargetTime() *string SetRecoveryTargetTime(val *string) RecoveryTargetTimeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // 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 ResetRecoveryTargetTime() // 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 NewPgClusterFromBackupOutputReference ¶
func NewPgClusterFromBackupOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) PgClusterFromBackupOutputReference
type PgClusterMaintenanceWindow ¶
type PgClusterMaintenanceWindow struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#day_of_the_week PgCluster#day_of_the_week}. DayOfTheWeek *string `field:"required" json:"dayOfTheWeek" yaml:"dayOfTheWeek"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#time PgCluster#time}. Time *string `field:"required" json:"time" yaml:"time"` }
type PgClusterMaintenanceWindowOutputReference ¶
type PgClusterMaintenanceWindowOutputReference 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 DayOfTheWeek() *string SetDayOfTheWeek(val *string) DayOfTheWeekInput() *string // Experimental. Fqn() *string InternalValue() *PgClusterMaintenanceWindow SetInternalValue(val *PgClusterMaintenanceWindow) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Time() *string SetTime(val *string) TimeInput() *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 // 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 NewPgClusterMaintenanceWindowOutputReference ¶
func NewPgClusterMaintenanceWindowOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) PgClusterMaintenanceWindowOutputReference
type PgClusterTimeouts ¶
type PgClusterTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#create PgCluster#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#default PgCluster#default}. Default *string `field:"optional" json:"default" yaml:"default"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#delete PgCluster#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.7.1/docs/resources/pg_cluster#update PgCluster#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type PgClusterTimeoutsOutputReference ¶
type PgClusterTimeoutsOutputReference 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() *string SetCreate(val *string) CreateInput() *string // 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 Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *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 ResetCreate() ResetDefault() ResetDelete() ResetUpdate() // 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 NewPgClusterTimeoutsOutputReference ¶
func NewPgClusterTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) PgClusterTimeoutsOutputReference
Source Files
¶
- PgCluster.go
- PgClusterConfig.go
- PgClusterConnectionPooler.go
- PgClusterConnectionPoolerOutputReference.go
- PgClusterConnectionPoolerOutputReference__checks.go
- PgClusterConnections.go
- PgClusterConnectionsOutputReference.go
- PgClusterConnectionsOutputReference__checks.go
- PgClusterCredentials.go
- PgClusterCredentialsOutputReference.go
- PgClusterCredentialsOutputReference__checks.go
- PgClusterFromBackup.go
- PgClusterFromBackupOutputReference.go
- PgClusterFromBackupOutputReference__checks.go
- PgClusterMaintenanceWindow.go
- PgClusterMaintenanceWindowOutputReference.go
- PgClusterMaintenanceWindowOutputReference__checks.go
- PgClusterTimeouts.go
- PgClusterTimeoutsOutputReference.go
- PgClusterTimeoutsOutputReference__checks.go
- PgCluster__checks.go
- main.go