1. Packages
  2. Aiven Provider
  3. API Docs
  4. Pg
Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
aiven logo
Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    The PG resource allows the creation and management of Aiven PostgreSQL services.

    Create Pg Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Pg(name: string, args: PgArgs, opts?: CustomResourceOptions);
    @overload
    def Pg(resource_name: str,
           args: PgArgs,
           opts: Optional[ResourceOptions] = None)
    
    @overload
    def Pg(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           project: Optional[str] = None,
           service_name: Optional[str] = None,
           plan: Optional[str] = None,
           maintenance_window_time: Optional[str] = None,
           pg: Optional[PgPgArgs] = None,
           pg_user_config: Optional[PgPgUserConfigArgs] = None,
           cloud_name: Optional[str] = None,
           maintenance_window_dow: Optional[str] = None,
           project_vpc_id: Optional[str] = None,
           service_integrations: Optional[Sequence[PgServiceIntegrationArgs]] = None,
           disk_space: Optional[str] = None,
           static_ips: Optional[Sequence[str]] = None,
           termination_protection: Optional[bool] = None)
    func NewPg(ctx *Context, name string, args PgArgs, opts ...ResourceOption) (*Pg, error)
    public Pg(string name, PgArgs args, CustomResourceOptions? opts = null)
    public Pg(String name, PgArgs args)
    public Pg(String name, PgArgs args, CustomResourceOptions options)
    
    type: aiven:Pg
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PgArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PgArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PgArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PgArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PgArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var pgResource = new Aiven.Pg("pgResource", new()
    {
        Project = "string",
        ServiceName = "string",
        Plan = "string",
        MaintenanceWindowTime = "string",
        PgServer = new Aiven.Inputs.PgPgArgs
        {
            Dbname = "string",
            Host = "string",
            Password = "string",
            Port = 0,
            ReplicaUri = "string",
            Sslmode = "string",
            Uri = "string",
            User = "string",
        },
        PgUserConfig = new Aiven.Inputs.PgPgUserConfigArgs
        {
            AdminPassword = "string",
            AdminUsername = "string",
            BackupHour = "string",
            BackupMinute = "string",
            EnableIpv6 = "string",
            IpFilters = new[]
            {
                "string",
            },
            Migration = new Aiven.Inputs.PgPgUserConfigMigrationArgs
            {
                Dbname = "string",
                Host = "string",
                IgnoreDbs = "string",
                Method = "string",
                Password = "string",
                Port = "string",
                Ssl = "string",
                Username = "string",
            },
            Pg = new Aiven.Inputs.PgPgUserConfigPgArgs
            {
                AutovacuumAnalyzeScaleFactor = "string",
                AutovacuumAnalyzeThreshold = "string",
                AutovacuumFreezeMaxAge = "string",
                AutovacuumMaxWorkers = "string",
                AutovacuumNaptime = "string",
                AutovacuumVacuumCostDelay = "string",
                AutovacuumVacuumCostLimit = "string",
                AutovacuumVacuumScaleFactor = "string",
                AutovacuumVacuumThreshold = "string",
                BgwriterDelay = "string",
                BgwriterFlushAfter = "string",
                BgwriterLruMaxpages = "string",
                BgwriterLruMultiplier = "string",
                DeadlockTimeout = "string",
                DefaultToastCompression = "string",
                IdleInTransactionSessionTimeout = "string",
                Jit = "string",
                LogAutovacuumMinDuration = "string",
                LogErrorVerbosity = "string",
                LogLinePrefix = "string",
                LogMinDurationStatement = "string",
                MaxFilesPerProcess = "string",
                MaxLocksPerTransaction = "string",
                MaxLogicalReplicationWorkers = "string",
                MaxParallelWorkers = "string",
                MaxParallelWorkersPerGather = "string",
                MaxPredLocksPerTransaction = "string",
                MaxPreparedTransactions = "string",
                MaxReplicationSlots = "string",
                MaxSlotWalKeepSize = "string",
                MaxStackDepth = "string",
                MaxStandbyArchiveDelay = "string",
                MaxStandbyStreamingDelay = "string",
                MaxWalSenders = "string",
                MaxWorkerProcesses = "string",
                PgPartmanBgwDotInterval = "string",
                PgPartmanBgwDotRole = "string",
                PgStatStatementsDotTrack = "string",
                TempFileLimit = "string",
                Timezone = "string",
                TrackActivityQuerySize = "string",
                TrackCommitTimestamp = "string",
                TrackFunctions = "string",
                TrackIoTiming = "string",
                WalSenderTimeout = "string",
                WalWriterDelay = "string",
            },
            PgReadReplica = "string",
            PgServiceToForkFrom = "string",
            PgVersion = "string",
            Pgbouncer = new Aiven.Inputs.PgPgUserConfigPgbouncerArgs
            {
                AutodbIdleTimeout = "string",
                AutodbMaxDbConnections = "string",
                AutodbPoolMode = "string",
                AutodbPoolSize = "string",
                IgnoreStartupParameters = new[]
                {
                    "string",
                },
                MinPoolSize = "string",
                ServerIdleTimeout = "string",
                ServerLifetime = "string",
                ServerResetQueryAlways = "string",
            },
            Pglookout = new Aiven.Inputs.PgPgUserConfigPglookoutArgs
            {
                MaxFailoverReplicationTimeLag = "string",
            },
            PrivateAccess = new Aiven.Inputs.PgPgUserConfigPrivateAccessArgs
            {
                Pg = "string",
                Pgbouncer = "string",
                Prometheus = "string",
            },
            PrivatelinkAccess = new Aiven.Inputs.PgPgUserConfigPrivatelinkAccessArgs
            {
                Pg = "string",
                Pgbouncer = "string",
                Prometheus = "string",
            },
            ProjectToForkFrom = "string",
            PublicAccess = new Aiven.Inputs.PgPgUserConfigPublicAccessArgs
            {
                Pg = "string",
                Pgbouncer = "string",
                Prometheus = "string",
            },
            RecoveryTargetTime = "string",
            ServiceToForkFrom = "string",
            SharedBuffersPercentage = "string",
            StaticIps = "string",
            SynchronousReplication = "string",
            Timescaledb = new Aiven.Inputs.PgPgUserConfigTimescaledbArgs
            {
                MaxBackgroundWorkers = "string",
            },
            Variant = "string",
            WorkMem = "string",
        },
        CloudName = "string",
        MaintenanceWindowDow = "string",
        ProjectVpcId = "string",
        ServiceIntegrations = new[]
        {
            new Aiven.Inputs.PgServiceIntegrationArgs
            {
                IntegrationType = "string",
                SourceServiceName = "string",
            },
        },
        DiskSpace = "string",
        StaticIps = new[]
        {
            "string",
        },
        TerminationProtection = false,
    });
    
    example, err := aiven.NewPg(ctx, "pgResource", &aiven.PgArgs{
    	Project:               pulumi.String("string"),
    	ServiceName:           pulumi.String("string"),
    	Plan:                  pulumi.String("string"),
    	MaintenanceWindowTime: pulumi.String("string"),
    	Pg: &aiven.PgPgArgs{
    		Dbname:     pulumi.String("string"),
    		Host:       pulumi.String("string"),
    		Password:   pulumi.String("string"),
    		Port:       pulumi.Int(0),
    		ReplicaUri: pulumi.String("string"),
    		Sslmode:    pulumi.String("string"),
    		Uri:        pulumi.String("string"),
    		User:       pulumi.String("string"),
    	},
    	PgUserConfig: &aiven.PgPgUserConfigArgs{
    		AdminPassword: pulumi.String("string"),
    		AdminUsername: pulumi.String("string"),
    		BackupHour:    pulumi.String("string"),
    		BackupMinute:  pulumi.String("string"),
    		EnableIpv6:    pulumi.String("string"),
    		IpFilters: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Migration: &aiven.PgPgUserConfigMigrationArgs{
    			Dbname:    pulumi.String("string"),
    			Host:      pulumi.String("string"),
    			IgnoreDbs: pulumi.String("string"),
    			Method:    pulumi.String("string"),
    			Password:  pulumi.String("string"),
    			Port:      pulumi.String("string"),
    			Ssl:       pulumi.String("string"),
    			Username:  pulumi.String("string"),
    		},
    		Pg: &aiven.PgPgUserConfigPgArgs{
    			AutovacuumAnalyzeScaleFactor:    pulumi.String("string"),
    			AutovacuumAnalyzeThreshold:      pulumi.String("string"),
    			AutovacuumFreezeMaxAge:          pulumi.String("string"),
    			AutovacuumMaxWorkers:            pulumi.String("string"),
    			AutovacuumNaptime:               pulumi.String("string"),
    			AutovacuumVacuumCostDelay:       pulumi.String("string"),
    			AutovacuumVacuumCostLimit:       pulumi.String("string"),
    			AutovacuumVacuumScaleFactor:     pulumi.String("string"),
    			AutovacuumVacuumThreshold:       pulumi.String("string"),
    			BgwriterDelay:                   pulumi.String("string"),
    			BgwriterFlushAfter:              pulumi.String("string"),
    			BgwriterLruMaxpages:             pulumi.String("string"),
    			BgwriterLruMultiplier:           pulumi.String("string"),
    			DeadlockTimeout:                 pulumi.String("string"),
    			DefaultToastCompression:         pulumi.String("string"),
    			IdleInTransactionSessionTimeout: pulumi.String("string"),
    			Jit:                             pulumi.String("string"),
    			LogAutovacuumMinDuration:        pulumi.String("string"),
    			LogErrorVerbosity:               pulumi.String("string"),
    			LogLinePrefix:                   pulumi.String("string"),
    			LogMinDurationStatement:         pulumi.String("string"),
    			MaxFilesPerProcess:              pulumi.String("string"),
    			MaxLocksPerTransaction:          pulumi.String("string"),
    			MaxLogicalReplicationWorkers:    pulumi.String("string"),
    			MaxParallelWorkers:              pulumi.String("string"),
    			MaxParallelWorkersPerGather:     pulumi.String("string"),
    			MaxPredLocksPerTransaction:      pulumi.String("string"),
    			MaxPreparedTransactions:         pulumi.String("string"),
    			MaxReplicationSlots:             pulumi.String("string"),
    			MaxSlotWalKeepSize:              pulumi.String("string"),
    			MaxStackDepth:                   pulumi.String("string"),
    			MaxStandbyArchiveDelay:          pulumi.String("string"),
    			MaxStandbyStreamingDelay:        pulumi.String("string"),
    			MaxWalSenders:                   pulumi.String("string"),
    			MaxWorkerProcesses:              pulumi.String("string"),
    			PgPartmanBgwDotInterval:         pulumi.String("string"),
    			PgPartmanBgwDotRole:             pulumi.String("string"),
    			PgStatStatementsDotTrack:        pulumi.String("string"),
    			TempFileLimit:                   pulumi.String("string"),
    			Timezone:                        pulumi.String("string"),
    			TrackActivityQuerySize:          pulumi.String("string"),
    			TrackCommitTimestamp:            pulumi.String("string"),
    			TrackFunctions:                  pulumi.String("string"),
    			TrackIoTiming:                   pulumi.String("string"),
    			WalSenderTimeout:                pulumi.String("string"),
    			WalWriterDelay:                  pulumi.String("string"),
    		},
    		PgReadReplica:       pulumi.String("string"),
    		PgServiceToForkFrom: pulumi.String("string"),
    		PgVersion:           pulumi.String("string"),
    		Pgbouncer: &aiven.PgPgUserConfigPgbouncerArgs{
    			AutodbIdleTimeout:      pulumi.String("string"),
    			AutodbMaxDbConnections: pulumi.String("string"),
    			AutodbPoolMode:         pulumi.String("string"),
    			AutodbPoolSize:         pulumi.String("string"),
    			IgnoreStartupParameters: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			MinPoolSize:            pulumi.String("string"),
    			ServerIdleTimeout:      pulumi.String("string"),
    			ServerLifetime:         pulumi.String("string"),
    			ServerResetQueryAlways: pulumi.String("string"),
    		},
    		Pglookout: &aiven.PgPgUserConfigPglookoutArgs{
    			MaxFailoverReplicationTimeLag: pulumi.String("string"),
    		},
    		PrivateAccess: &aiven.PgPgUserConfigPrivateAccessArgs{
    			Pg:         pulumi.String("string"),
    			Pgbouncer:  pulumi.String("string"),
    			Prometheus: pulumi.String("string"),
    		},
    		PrivatelinkAccess: &aiven.PgPgUserConfigPrivatelinkAccessArgs{
    			Pg:         pulumi.String("string"),
    			Pgbouncer:  pulumi.String("string"),
    			Prometheus: pulumi.String("string"),
    		},
    		ProjectToForkFrom: pulumi.String("string"),
    		PublicAccess: &aiven.PgPgUserConfigPublicAccessArgs{
    			Pg:         pulumi.String("string"),
    			Pgbouncer:  pulumi.String("string"),
    			Prometheus: pulumi.String("string"),
    		},
    		RecoveryTargetTime:      pulumi.String("string"),
    		ServiceToForkFrom:       pulumi.String("string"),
    		SharedBuffersPercentage: pulumi.String("string"),
    		StaticIps:               pulumi.String("string"),
    		SynchronousReplication:  pulumi.String("string"),
    		Timescaledb: &aiven.PgPgUserConfigTimescaledbArgs{
    			MaxBackgroundWorkers: pulumi.String("string"),
    		},
    		Variant: pulumi.String("string"),
    		WorkMem: pulumi.String("string"),
    	},
    	CloudName:            pulumi.String("string"),
    	MaintenanceWindowDow: pulumi.String("string"),
    	ProjectVpcId:         pulumi.String("string"),
    	ServiceIntegrations: aiven.PgServiceIntegrationArray{
    		&aiven.PgServiceIntegrationArgs{
    			IntegrationType:   pulumi.String("string"),
    			SourceServiceName: pulumi.String("string"),
    		},
    	},
    	DiskSpace: pulumi.String("string"),
    	StaticIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TerminationProtection: pulumi.Bool(false),
    })
    
    var pgResource = new Pg("pgResource", PgArgs.builder()
        .project("string")
        .serviceName("string")
        .plan("string")
        .maintenanceWindowTime("string")
        .pg(PgPgArgs.builder()
            .dbname("string")
            .host("string")
            .password("string")
            .port(0)
            .replicaUri("string")
            .sslmode("string")
            .uri("string")
            .user("string")
            .build())
        .pgUserConfig(PgPgUserConfigArgs.builder()
            .adminPassword("string")
            .adminUsername("string")
            .backupHour("string")
            .backupMinute("string")
            .enableIpv6("string")
            .ipFilters("string")
            .migration(PgPgUserConfigMigrationArgs.builder()
                .dbname("string")
                .host("string")
                .ignoreDbs("string")
                .method("string")
                .password("string")
                .port("string")
                .ssl("string")
                .username("string")
                .build())
            .pg(PgPgUserConfigPgArgs.builder()
                .autovacuumAnalyzeScaleFactor("string")
                .autovacuumAnalyzeThreshold("string")
                .autovacuumFreezeMaxAge("string")
                .autovacuumMaxWorkers("string")
                .autovacuumNaptime("string")
                .autovacuumVacuumCostDelay("string")
                .autovacuumVacuumCostLimit("string")
                .autovacuumVacuumScaleFactor("string")
                .autovacuumVacuumThreshold("string")
                .bgwriterDelay("string")
                .bgwriterFlushAfter("string")
                .bgwriterLruMaxpages("string")
                .bgwriterLruMultiplier("string")
                .deadlockTimeout("string")
                .defaultToastCompression("string")
                .idleInTransactionSessionTimeout("string")
                .jit("string")
                .logAutovacuumMinDuration("string")
                .logErrorVerbosity("string")
                .logLinePrefix("string")
                .logMinDurationStatement("string")
                .maxFilesPerProcess("string")
                .maxLocksPerTransaction("string")
                .maxLogicalReplicationWorkers("string")
                .maxParallelWorkers("string")
                .maxParallelWorkersPerGather("string")
                .maxPredLocksPerTransaction("string")
                .maxPreparedTransactions("string")
                .maxReplicationSlots("string")
                .maxSlotWalKeepSize("string")
                .maxStackDepth("string")
                .maxStandbyArchiveDelay("string")
                .maxStandbyStreamingDelay("string")
                .maxWalSenders("string")
                .maxWorkerProcesses("string")
                .pgPartmanBgwDotInterval("string")
                .pgPartmanBgwDotRole("string")
                .pgStatStatementsDotTrack("string")
                .tempFileLimit("string")
                .timezone("string")
                .trackActivityQuerySize("string")
                .trackCommitTimestamp("string")
                .trackFunctions("string")
                .trackIoTiming("string")
                .walSenderTimeout("string")
                .walWriterDelay("string")
                .build())
            .pgReadReplica("string")
            .pgServiceToForkFrom("string")
            .pgVersion("string")
            .pgbouncer(PgPgUserConfigPgbouncerArgs.builder()
                .autodbIdleTimeout("string")
                .autodbMaxDbConnections("string")
                .autodbPoolMode("string")
                .autodbPoolSize("string")
                .ignoreStartupParameters("string")
                .minPoolSize("string")
                .serverIdleTimeout("string")
                .serverLifetime("string")
                .serverResetQueryAlways("string")
                .build())
            .pglookout(PgPgUserConfigPglookoutArgs.builder()
                .maxFailoverReplicationTimeLag("string")
                .build())
            .privateAccess(PgPgUserConfigPrivateAccessArgs.builder()
                .pg("string")
                .pgbouncer("string")
                .prometheus("string")
                .build())
            .privatelinkAccess(PgPgUserConfigPrivatelinkAccessArgs.builder()
                .pg("string")
                .pgbouncer("string")
                .prometheus("string")
                .build())
            .projectToForkFrom("string")
            .publicAccess(PgPgUserConfigPublicAccessArgs.builder()
                .pg("string")
                .pgbouncer("string")
                .prometheus("string")
                .build())
            .recoveryTargetTime("string")
            .serviceToForkFrom("string")
            .sharedBuffersPercentage("string")
            .staticIps("string")
            .synchronousReplication("string")
            .timescaledb(PgPgUserConfigTimescaledbArgs.builder()
                .maxBackgroundWorkers("string")
                .build())
            .variant("string")
            .workMem("string")
            .build())
        .cloudName("string")
        .maintenanceWindowDow("string")
        .projectVpcId("string")
        .serviceIntegrations(PgServiceIntegrationArgs.builder()
            .integrationType("string")
            .sourceServiceName("string")
            .build())
        .diskSpace("string")
        .staticIps("string")
        .terminationProtection(false)
        .build());
    
    pg_resource = aiven.Pg("pgResource",
        project="string",
        service_name="string",
        plan="string",
        maintenance_window_time="string",
        pg={
            "dbname": "string",
            "host": "string",
            "password": "string",
            "port": 0,
            "replica_uri": "string",
            "sslmode": "string",
            "uri": "string",
            "user": "string",
        },
        pg_user_config={
            "admin_password": "string",
            "admin_username": "string",
            "backup_hour": "string",
            "backup_minute": "string",
            "enable_ipv6": "string",
            "ip_filters": ["string"],
            "migration": {
                "dbname": "string",
                "host": "string",
                "ignore_dbs": "string",
                "method": "string",
                "password": "string",
                "port": "string",
                "ssl": "string",
                "username": "string",
            },
            "pg": {
                "autovacuum_analyze_scale_factor": "string",
                "autovacuum_analyze_threshold": "string",
                "autovacuum_freeze_max_age": "string",
                "autovacuum_max_workers": "string",
                "autovacuum_naptime": "string",
                "autovacuum_vacuum_cost_delay": "string",
                "autovacuum_vacuum_cost_limit": "string",
                "autovacuum_vacuum_scale_factor": "string",
                "autovacuum_vacuum_threshold": "string",
                "bgwriter_delay": "string",
                "bgwriter_flush_after": "string",
                "bgwriter_lru_maxpages": "string",
                "bgwriter_lru_multiplier": "string",
                "deadlock_timeout": "string",
                "default_toast_compression": "string",
                "idle_in_transaction_session_timeout": "string",
                "jit": "string",
                "log_autovacuum_min_duration": "string",
                "log_error_verbosity": "string",
                "log_line_prefix": "string",
                "log_min_duration_statement": "string",
                "max_files_per_process": "string",
                "max_locks_per_transaction": "string",
                "max_logical_replication_workers": "string",
                "max_parallel_workers": "string",
                "max_parallel_workers_per_gather": "string",
                "max_pred_locks_per_transaction": "string",
                "max_prepared_transactions": "string",
                "max_replication_slots": "string",
                "max_slot_wal_keep_size": "string",
                "max_stack_depth": "string",
                "max_standby_archive_delay": "string",
                "max_standby_streaming_delay": "string",
                "max_wal_senders": "string",
                "max_worker_processes": "string",
                "pg_partman_bgw_dot_interval": "string",
                "pg_partman_bgw_dot_role": "string",
                "pg_stat_statements_dot_track": "string",
                "temp_file_limit": "string",
                "timezone": "string",
                "track_activity_query_size": "string",
                "track_commit_timestamp": "string",
                "track_functions": "string",
                "track_io_timing": "string",
                "wal_sender_timeout": "string",
                "wal_writer_delay": "string",
            },
            "pg_read_replica": "string",
            "pg_service_to_fork_from": "string",
            "pg_version": "string",
            "pgbouncer": {
                "autodb_idle_timeout": "string",
                "autodb_max_db_connections": "string",
                "autodb_pool_mode": "string",
                "autodb_pool_size": "string",
                "ignore_startup_parameters": ["string"],
                "min_pool_size": "string",
                "server_idle_timeout": "string",
                "server_lifetime": "string",
                "server_reset_query_always": "string",
            },
            "pglookout": {
                "max_failover_replication_time_lag": "string",
            },
            "private_access": {
                "pg": "string",
                "pgbouncer": "string",
                "prometheus": "string",
            },
            "privatelink_access": {
                "pg": "string",
                "pgbouncer": "string",
                "prometheus": "string",
            },
            "project_to_fork_from": "string",
            "public_access": {
                "pg": "string",
                "pgbouncer": "string",
                "prometheus": "string",
            },
            "recovery_target_time": "string",
            "service_to_fork_from": "string",
            "shared_buffers_percentage": "string",
            "static_ips": "string",
            "synchronous_replication": "string",
            "timescaledb": {
                "max_background_workers": "string",
            },
            "variant": "string",
            "work_mem": "string",
        },
        cloud_name="string",
        maintenance_window_dow="string",
        project_vpc_id="string",
        service_integrations=[{
            "integration_type": "string",
            "source_service_name": "string",
        }],
        disk_space="string",
        static_ips=["string"],
        termination_protection=False)
    
    const pgResource = new aiven.Pg("pgResource", {
        project: "string",
        serviceName: "string",
        plan: "string",
        maintenanceWindowTime: "string",
        pg: {
            dbname: "string",
            host: "string",
            password: "string",
            port: 0,
            replicaUri: "string",
            sslmode: "string",
            uri: "string",
            user: "string",
        },
        pgUserConfig: {
            adminPassword: "string",
            adminUsername: "string",
            backupHour: "string",
            backupMinute: "string",
            enableIpv6: "string",
            ipFilters: ["string"],
            migration: {
                dbname: "string",
                host: "string",
                ignoreDbs: "string",
                method: "string",
                password: "string",
                port: "string",
                ssl: "string",
                username: "string",
            },
            pg: {
                autovacuumAnalyzeScaleFactor: "string",
                autovacuumAnalyzeThreshold: "string",
                autovacuumFreezeMaxAge: "string",
                autovacuumMaxWorkers: "string",
                autovacuumNaptime: "string",
                autovacuumVacuumCostDelay: "string",
                autovacuumVacuumCostLimit: "string",
                autovacuumVacuumScaleFactor: "string",
                autovacuumVacuumThreshold: "string",
                bgwriterDelay: "string",
                bgwriterFlushAfter: "string",
                bgwriterLruMaxpages: "string",
                bgwriterLruMultiplier: "string",
                deadlockTimeout: "string",
                defaultToastCompression: "string",
                idleInTransactionSessionTimeout: "string",
                jit: "string",
                logAutovacuumMinDuration: "string",
                logErrorVerbosity: "string",
                logLinePrefix: "string",
                logMinDurationStatement: "string",
                maxFilesPerProcess: "string",
                maxLocksPerTransaction: "string",
                maxLogicalReplicationWorkers: "string",
                maxParallelWorkers: "string",
                maxParallelWorkersPerGather: "string",
                maxPredLocksPerTransaction: "string",
                maxPreparedTransactions: "string",
                maxReplicationSlots: "string",
                maxSlotWalKeepSize: "string",
                maxStackDepth: "string",
                maxStandbyArchiveDelay: "string",
                maxStandbyStreamingDelay: "string",
                maxWalSenders: "string",
                maxWorkerProcesses: "string",
                pgPartmanBgwDotInterval: "string",
                pgPartmanBgwDotRole: "string",
                pgStatStatementsDotTrack: "string",
                tempFileLimit: "string",
                timezone: "string",
                trackActivityQuerySize: "string",
                trackCommitTimestamp: "string",
                trackFunctions: "string",
                trackIoTiming: "string",
                walSenderTimeout: "string",
                walWriterDelay: "string",
            },
            pgReadReplica: "string",
            pgServiceToForkFrom: "string",
            pgVersion: "string",
            pgbouncer: {
                autodbIdleTimeout: "string",
                autodbMaxDbConnections: "string",
                autodbPoolMode: "string",
                autodbPoolSize: "string",
                ignoreStartupParameters: ["string"],
                minPoolSize: "string",
                serverIdleTimeout: "string",
                serverLifetime: "string",
                serverResetQueryAlways: "string",
            },
            pglookout: {
                maxFailoverReplicationTimeLag: "string",
            },
            privateAccess: {
                pg: "string",
                pgbouncer: "string",
                prometheus: "string",
            },
            privatelinkAccess: {
                pg: "string",
                pgbouncer: "string",
                prometheus: "string",
            },
            projectToForkFrom: "string",
            publicAccess: {
                pg: "string",
                pgbouncer: "string",
                prometheus: "string",
            },
            recoveryTargetTime: "string",
            serviceToForkFrom: "string",
            sharedBuffersPercentage: "string",
            staticIps: "string",
            synchronousReplication: "string",
            timescaledb: {
                maxBackgroundWorkers: "string",
            },
            variant: "string",
            workMem: "string",
        },
        cloudName: "string",
        maintenanceWindowDow: "string",
        projectVpcId: "string",
        serviceIntegrations: [{
            integrationType: "string",
            sourceServiceName: "string",
        }],
        diskSpace: "string",
        staticIps: ["string"],
        terminationProtection: false,
    });
    
    type: aiven:Pg
    properties:
        cloudName: string
        diskSpace: string
        maintenanceWindowDow: string
        maintenanceWindowTime: string
        pg:
            dbname: string
            host: string
            password: string
            port: 0
            replicaUri: string
            sslmode: string
            uri: string
            user: string
        pgUserConfig:
            adminPassword: string
            adminUsername: string
            backupHour: string
            backupMinute: string
            enableIpv6: string
            ipFilters:
                - string
            migration:
                dbname: string
                host: string
                ignoreDbs: string
                method: string
                password: string
                port: string
                ssl: string
                username: string
            pg:
                autovacuumAnalyzeScaleFactor: string
                autovacuumAnalyzeThreshold: string
                autovacuumFreezeMaxAge: string
                autovacuumMaxWorkers: string
                autovacuumNaptime: string
                autovacuumVacuumCostDelay: string
                autovacuumVacuumCostLimit: string
                autovacuumVacuumScaleFactor: string
                autovacuumVacuumThreshold: string
                bgwriterDelay: string
                bgwriterFlushAfter: string
                bgwriterLruMaxpages: string
                bgwriterLruMultiplier: string
                deadlockTimeout: string
                defaultToastCompression: string
                idleInTransactionSessionTimeout: string
                jit: string
                logAutovacuumMinDuration: string
                logErrorVerbosity: string
                logLinePrefix: string
                logMinDurationStatement: string
                maxFilesPerProcess: string
                maxLocksPerTransaction: string
                maxLogicalReplicationWorkers: string
                maxParallelWorkers: string
                maxParallelWorkersPerGather: string
                maxPredLocksPerTransaction: string
                maxPreparedTransactions: string
                maxReplicationSlots: string
                maxSlotWalKeepSize: string
                maxStackDepth: string
                maxStandbyArchiveDelay: string
                maxStandbyStreamingDelay: string
                maxWalSenders: string
                maxWorkerProcesses: string
                pgPartmanBgwDotInterval: string
                pgPartmanBgwDotRole: string
                pgStatStatementsDotTrack: string
                tempFileLimit: string
                timezone: string
                trackActivityQuerySize: string
                trackCommitTimestamp: string
                trackFunctions: string
                trackIoTiming: string
                walSenderTimeout: string
                walWriterDelay: string
            pgReadReplica: string
            pgServiceToForkFrom: string
            pgVersion: string
            pgbouncer:
                autodbIdleTimeout: string
                autodbMaxDbConnections: string
                autodbPoolMode: string
                autodbPoolSize: string
                ignoreStartupParameters:
                    - string
                minPoolSize: string
                serverIdleTimeout: string
                serverLifetime: string
                serverResetQueryAlways: string
            pglookout:
                maxFailoverReplicationTimeLag: string
            privateAccess:
                pg: string
                pgbouncer: string
                prometheus: string
            privatelinkAccess:
                pg: string
                pgbouncer: string
                prometheus: string
            projectToForkFrom: string
            publicAccess:
                pg: string
                pgbouncer: string
                prometheus: string
            recoveryTargetTime: string
            serviceToForkFrom: string
            sharedBuffersPercentage: string
            staticIps: string
            synchronousReplication: string
            timescaledb:
                maxBackgroundWorkers: string
            variant: string
            workMem: string
        plan: string
        project: string
        projectVpcId: string
        serviceIntegrations:
            - integrationType: string
              sourceServiceName: string
        serviceName: string
        staticIps:
            - string
        terminationProtection: false
    

    Pg Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Pg resource accepts the following input properties:

    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    CloudName string
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    DiskSpace string
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    MaintenanceWindowDow string
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    MaintenanceWindowTime string
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    PgServer PgPg
    PostgreSQL specific server provided values
    PgUserConfig PgPgUserConfig
    Pg user configurable settings
    Plan string
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    ProjectVpcId string
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    ServiceIntegrations List<PgServiceIntegration>
    Service integrations to specify when creating a service. Not applied after initial service creation
    StaticIps List<string>
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    TerminationProtection bool
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    CloudName string
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    DiskSpace string
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    MaintenanceWindowDow string
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    MaintenanceWindowTime string
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    Pg PgPgArgs
    PostgreSQL specific server provided values
    PgUserConfig PgPgUserConfigArgs
    Pg user configurable settings
    Plan string
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    ProjectVpcId string
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    ServiceIntegrations []PgServiceIntegrationArgs
    Service integrations to specify when creating a service. Not applied after initial service creation
    StaticIps []string
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    TerminationProtection bool
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    cloudName String
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    diskSpace String
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    maintenanceWindowDow String
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    maintenanceWindowTime String
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    pg PgPg
    PostgreSQL specific server provided values
    pgUserConfig PgPgUserConfig
    Pg user configurable settings
    plan String
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    projectVpcId String
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    serviceIntegrations List<PgServiceIntegration>
    Service integrations to specify when creating a service. Not applied after initial service creation
    staticIps List<String>
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    terminationProtection Boolean
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName string
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    cloudName string
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    diskSpace string
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    maintenanceWindowDow string
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    maintenanceWindowTime string
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    pg PgPg
    PostgreSQL specific server provided values
    pgUserConfig PgPgUserConfig
    Pg user configurable settings
    plan string
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    projectVpcId string
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    serviceIntegrations PgServiceIntegration[]
    Service integrations to specify when creating a service. Not applied after initial service creation
    staticIps string[]
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    terminationProtection boolean
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    service_name str
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    cloud_name str
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    disk_space str
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    maintenance_window_dow str
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    maintenance_window_time str
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    pg PgPgArgs
    PostgreSQL specific server provided values
    pg_user_config PgPgUserConfigArgs
    Pg user configurable settings
    plan str
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    project_vpc_id str
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    service_integrations Sequence[PgServiceIntegrationArgs]
    Service integrations to specify when creating a service. Not applied after initial service creation
    static_ips Sequence[str]
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    termination_protection bool
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    cloudName String
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    diskSpace String
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    maintenanceWindowDow String
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    maintenanceWindowTime String
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    pg Property Map
    PostgreSQL specific server provided values
    pgUserConfig Property Map
    Pg user configurable settings
    plan String
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    projectVpcId String
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    serviceIntegrations List<Property Map>
    Service integrations to specify when creating a service. Not applied after initial service creation
    staticIps List<String>
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    terminationProtection Boolean
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Pg resource produces the following output properties:

    Components List<PgComponent>
    Service component information objects
    DiskSpaceCap string
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    DiskSpaceDefault string
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    DiskSpaceStep string
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    DiskSpaceUsed string
    Disk space that service is currently using
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceHost string
    The hostname of the service.
    ServicePassword string
    Password used for connecting to the service, if applicable
    ServicePort int
    The port of the service
    ServiceType string
    Aiven internal service type code
    ServiceUri string
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    ServiceUsername string
    Username used for connecting to the service, if applicable
    State string
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    Components []PgComponent
    Service component information objects
    DiskSpaceCap string
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    DiskSpaceDefault string
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    DiskSpaceStep string
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    DiskSpaceUsed string
    Disk space that service is currently using
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceHost string
    The hostname of the service.
    ServicePassword string
    Password used for connecting to the service, if applicable
    ServicePort int
    The port of the service
    ServiceType string
    Aiven internal service type code
    ServiceUri string
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    ServiceUsername string
    Username used for connecting to the service, if applicable
    State string
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    components List<PgComponent>
    Service component information objects
    diskSpaceCap String
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    diskSpaceDefault String
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    diskSpaceStep String
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    diskSpaceUsed String
    Disk space that service is currently using
    id String
    The provider-assigned unique ID for this managed resource.
    serviceHost String
    The hostname of the service.
    servicePassword String
    Password used for connecting to the service, if applicable
    servicePort Integer
    The port of the service
    serviceType String
    Aiven internal service type code
    serviceUri String
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    serviceUsername String
    Username used for connecting to the service, if applicable
    state String
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    components PgComponent[]
    Service component information objects
    diskSpaceCap string
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    diskSpaceDefault string
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    diskSpaceStep string
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    diskSpaceUsed string
    Disk space that service is currently using
    id string
    The provider-assigned unique ID for this managed resource.
    serviceHost string
    The hostname of the service.
    servicePassword string
    Password used for connecting to the service, if applicable
    servicePort number
    The port of the service
    serviceType string
    Aiven internal service type code
    serviceUri string
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    serviceUsername string
    Username used for connecting to the service, if applicable
    state string
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    components Sequence[PgComponent]
    Service component information objects
    disk_space_cap str
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    disk_space_default str
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    disk_space_step str
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    disk_space_used str
    Disk space that service is currently using
    id str
    The provider-assigned unique ID for this managed resource.
    service_host str
    The hostname of the service.
    service_password str
    Password used for connecting to the service, if applicable
    service_port int
    The port of the service
    service_type str
    Aiven internal service type code
    service_uri str
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    service_username str
    Username used for connecting to the service, if applicable
    state str
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    components List<Property Map>
    Service component information objects
    diskSpaceCap String
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    diskSpaceDefault String
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    diskSpaceStep String
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    diskSpaceUsed String
    Disk space that service is currently using
    id String
    The provider-assigned unique ID for this managed resource.
    serviceHost String
    The hostname of the service.
    servicePassword String
    Password used for connecting to the service, if applicable
    servicePort Number
    The port of the service
    serviceType String
    Aiven internal service type code
    serviceUri String
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    serviceUsername String
    Username used for connecting to the service, if applicable
    state String
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING

    Look up Existing Pg Resource

    Get an existing Pg resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PgState, opts?: CustomResourceOptions): Pg
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloud_name: Optional[str] = None,
            components: Optional[Sequence[PgComponentArgs]] = None,
            disk_space: Optional[str] = None,
            disk_space_cap: Optional[str] = None,
            disk_space_default: Optional[str] = None,
            disk_space_step: Optional[str] = None,
            disk_space_used: Optional[str] = None,
            maintenance_window_dow: Optional[str] = None,
            maintenance_window_time: Optional[str] = None,
            pg: Optional[PgPgArgs] = None,
            pg_user_config: Optional[PgPgUserConfigArgs] = None,
            plan: Optional[str] = None,
            project: Optional[str] = None,
            project_vpc_id: Optional[str] = None,
            service_host: Optional[str] = None,
            service_integrations: Optional[Sequence[PgServiceIntegrationArgs]] = None,
            service_name: Optional[str] = None,
            service_password: Optional[str] = None,
            service_port: Optional[int] = None,
            service_type: Optional[str] = None,
            service_uri: Optional[str] = None,
            service_username: Optional[str] = None,
            state: Optional[str] = None,
            static_ips: Optional[Sequence[str]] = None,
            termination_protection: Optional[bool] = None) -> Pg
    func GetPg(ctx *Context, name string, id IDInput, state *PgState, opts ...ResourceOption) (*Pg, error)
    public static Pg Get(string name, Input<string> id, PgState? state, CustomResourceOptions? opts = null)
    public static Pg get(String name, Output<String> id, PgState state, CustomResourceOptions options)
    resources:  _:    type: aiven:Pg    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CloudName string
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    Components List<PgComponent>
    Service component information objects
    DiskSpace string
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    DiskSpaceCap string
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    DiskSpaceDefault string
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    DiskSpaceStep string
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    DiskSpaceUsed string
    Disk space that service is currently using
    MaintenanceWindowDow string
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    MaintenanceWindowTime string
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    PgServer PgPg
    PostgreSQL specific server provided values
    PgUserConfig PgPgUserConfig
    Pg user configurable settings
    Plan string
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ProjectVpcId string
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    ServiceHost string
    The hostname of the service.
    ServiceIntegrations List<PgServiceIntegration>
    Service integrations to specify when creating a service. Not applied after initial service creation
    ServiceName string
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    ServicePassword string
    Password used for connecting to the service, if applicable
    ServicePort int
    The port of the service
    ServiceType string
    Aiven internal service type code
    ServiceUri string
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    ServiceUsername string
    Username used for connecting to the service, if applicable
    State string
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    StaticIps List<string>
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    TerminationProtection bool
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    CloudName string
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    Components []PgComponentArgs
    Service component information objects
    DiskSpace string
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    DiskSpaceCap string
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    DiskSpaceDefault string
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    DiskSpaceStep string
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    DiskSpaceUsed string
    Disk space that service is currently using
    MaintenanceWindowDow string
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    MaintenanceWindowTime string
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    Pg PgPgArgs
    PostgreSQL specific server provided values
    PgUserConfig PgPgUserConfigArgs
    Pg user configurable settings
    Plan string
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ProjectVpcId string
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    ServiceHost string
    The hostname of the service.
    ServiceIntegrations []PgServiceIntegrationArgs
    Service integrations to specify when creating a service. Not applied after initial service creation
    ServiceName string
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    ServicePassword string
    Password used for connecting to the service, if applicable
    ServicePort int
    The port of the service
    ServiceType string
    Aiven internal service type code
    ServiceUri string
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    ServiceUsername string
    Username used for connecting to the service, if applicable
    State string
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    StaticIps []string
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    TerminationProtection bool
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    cloudName String
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    components List<PgComponent>
    Service component information objects
    diskSpace String
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    diskSpaceCap String
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    diskSpaceDefault String
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    diskSpaceStep String
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    diskSpaceUsed String
    Disk space that service is currently using
    maintenanceWindowDow String
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    maintenanceWindowTime String
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    pg PgPg
    PostgreSQL specific server provided values
    pgUserConfig PgPgUserConfig
    Pg user configurable settings
    plan String
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    projectVpcId String
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    serviceHost String
    The hostname of the service.
    serviceIntegrations List<PgServiceIntegration>
    Service integrations to specify when creating a service. Not applied after initial service creation
    serviceName String
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    servicePassword String
    Password used for connecting to the service, if applicable
    servicePort Integer
    The port of the service
    serviceType String
    Aiven internal service type code
    serviceUri String
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    serviceUsername String
    Username used for connecting to the service, if applicable
    state String
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    staticIps List<String>
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    terminationProtection Boolean
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    cloudName string
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    components PgComponent[]
    Service component information objects
    diskSpace string
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    diskSpaceCap string
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    diskSpaceDefault string
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    diskSpaceStep string
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    diskSpaceUsed string
    Disk space that service is currently using
    maintenanceWindowDow string
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    maintenanceWindowTime string
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    pg PgPg
    PostgreSQL specific server provided values
    pgUserConfig PgPgUserConfig
    Pg user configurable settings
    plan string
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    projectVpcId string
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    serviceHost string
    The hostname of the service.
    serviceIntegrations PgServiceIntegration[]
    Service integrations to specify when creating a service. Not applied after initial service creation
    serviceName string
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    servicePassword string
    Password used for connecting to the service, if applicable
    servicePort number
    The port of the service
    serviceType string
    Aiven internal service type code
    serviceUri string
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    serviceUsername string
    Username used for connecting to the service, if applicable
    state string
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    staticIps string[]
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    terminationProtection boolean
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    cloud_name str
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    components Sequence[PgComponentArgs]
    Service component information objects
    disk_space str
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    disk_space_cap str
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    disk_space_default str
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    disk_space_step str
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    disk_space_used str
    Disk space that service is currently using
    maintenance_window_dow str
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    maintenance_window_time str
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    pg PgPgArgs
    PostgreSQL specific server provided values
    pg_user_config PgPgUserConfigArgs
    Pg user configurable settings
    plan str
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    project_vpc_id str
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    service_host str
    The hostname of the service.
    service_integrations Sequence[PgServiceIntegrationArgs]
    Service integrations to specify when creating a service. Not applied after initial service creation
    service_name str
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    service_password str
    Password used for connecting to the service, if applicable
    service_port int
    The port of the service
    service_type str
    Aiven internal service type code
    service_uri str
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    service_username str
    Username used for connecting to the service, if applicable
    state str
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    static_ips Sequence[str]
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    termination_protection bool
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
    cloudName String
    Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (aws, azure, do google, upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS.
    components List<Property Map>
    Service component information objects
    diskSpace String
    The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
    diskSpaceCap String
    The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
    diskSpaceDefault String
    The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for disk_space
    diskSpaceStep String
    The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.
    diskSpaceUsed String
    Disk space that service is currently using
    maintenanceWindowDow String
    Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
    maintenanceWindowTime String
    Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
    pg Property Map
    PostgreSQL specific server provided values
    pgUserConfig Property Map
    Pg user configurable settings
    plan String
    Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are hobbyist, startup-x, business-x and premium-x where x is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    projectVpcId String
    Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
    serviceHost String
    The hostname of the service.
    serviceIntegrations List<Property Map>
    Service integrations to specify when creating a service. Not applied after initial service creation
    serviceName String
    Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
    servicePassword String
    Password used for connecting to the service, if applicable
    servicePort Number
    The port of the service
    serviceType String
    Aiven internal service type code
    serviceUri String
    URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
    serviceUsername String
    Username used for connecting to the service, if applicable
    state String
    Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING
    staticIps List<String>
    Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
    terminationProtection Boolean
    Prevents the service from being deleted. It is recommended to set this to true for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

    Supporting Types

    PgComponent, PgComponentArgs

    Component string
    Host string
    KafkaAuthenticationMethod string
    Port int
    Route string
    Ssl bool
    Usage string
    Component string
    Host string
    KafkaAuthenticationMethod string
    Port int
    Route string
    Ssl bool
    Usage string
    component String
    host String
    kafkaAuthenticationMethod String
    port Integer
    route String
    ssl Boolean
    usage String
    component string
    host string
    kafkaAuthenticationMethod string
    port number
    route string
    ssl boolean
    usage string
    component String
    host String
    kafkaAuthenticationMethod String
    port Number
    route String
    ssl Boolean
    usage String

    PgPg, PgPgArgs

    Dbname string
    Primary PostgreSQL database name
    Host string
    PostgreSQL master node host IP or name
    Password string
    PostgreSQL admin user password
    Port int
    PostgreSQL port
    ReplicaUri string
    PostgreSQL replica URI for services with a replica
    Sslmode string
    PostgreSQL sslmode setting (currently always "require")
    Uri string
    PostgreSQL master connection URI
    User string
    PostgreSQL admin user name
    Dbname string
    Primary PostgreSQL database name
    Host string
    PostgreSQL master node host IP or name
    Password string
    PostgreSQL admin user password
    Port int
    PostgreSQL port
    ReplicaUri string
    PostgreSQL replica URI for services with a replica
    Sslmode string
    PostgreSQL sslmode setting (currently always "require")
    Uri string
    PostgreSQL master connection URI
    User string
    PostgreSQL admin user name
    dbname String
    Primary PostgreSQL database name
    host String
    PostgreSQL master node host IP or name
    password String
    PostgreSQL admin user password
    port Integer
    PostgreSQL port
    replicaUri String
    PostgreSQL replica URI for services with a replica
    sslmode String
    PostgreSQL sslmode setting (currently always "require")
    uri String
    PostgreSQL master connection URI
    user String
    PostgreSQL admin user name
    dbname string
    Primary PostgreSQL database name
    host string
    PostgreSQL master node host IP or name
    password string
    PostgreSQL admin user password
    port number
    PostgreSQL port
    replicaUri string
    PostgreSQL replica URI for services with a replica
    sslmode string
    PostgreSQL sslmode setting (currently always "require")
    uri string
    PostgreSQL master connection URI
    user string
    PostgreSQL admin user name
    dbname str
    Primary PostgreSQL database name
    host str
    PostgreSQL master node host IP or name
    password str
    PostgreSQL admin user password
    port int
    PostgreSQL port
    replica_uri str
    PostgreSQL replica URI for services with a replica
    sslmode str
    PostgreSQL sslmode setting (currently always "require")
    uri str
    PostgreSQL master connection URI
    user str
    PostgreSQL admin user name
    dbname String
    Primary PostgreSQL database name
    host String
    PostgreSQL master node host IP or name
    password String
    PostgreSQL admin user password
    port Number
    PostgreSQL port
    replicaUri String
    PostgreSQL replica URI for services with a replica
    sslmode String
    PostgreSQL sslmode setting (currently always "require")
    uri String
    PostgreSQL master connection URI
    user String
    PostgreSQL admin user name

    PgPgUserConfig, PgPgUserConfigArgs

    AdminPassword string
    Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
    AdminUsername string
    Custom username for admin user. This must be set only when a new service is being created.
    BackupHour string
    The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
    BackupMinute string
    The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
    EnableIpv6 string
    Enable IPv6
    IpFilters List<string>
    IP filter
    Migration PgPgUserConfigMigration
    Migrate data from existing server
    Pg PgPgUserConfigPg
    postgresql.conf configuration values
    PgReadReplica string
    Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
    PgServiceToForkFrom string
    Name of the PG Service from which to fork (deprecated, use servicetofork_from). This has effect only when a new service is being created.
    PgVersion string
    PostgreSQL major version
    Pgbouncer PgPgUserConfigPgbouncer
    PGBouncer connection pooling settings
    Pglookout PgPgUserConfigPglookout
    PGLookout settings
    PrivateAccess PgPgUserConfigPrivateAccess
    Allow access to selected service ports from private networks
    PrivatelinkAccess PgPgUserConfigPrivatelinkAccess
    Allow access to selected service components through Privatelink
    ProjectToForkFrom string
    Name of another project to fork a service from. This has effect only when a new service is being created.
    PublicAccess PgPgUserConfigPublicAccess
    Allow access to selected service ports from the public Internet
    RecoveryTargetTime string
    Recovery target time when forking a service. This has effect only when a new service is being created.
    ServiceToForkFrom string
    Name of another service to fork from. This has effect only when a new service is being created.
    SharedBuffersPercentage string
    sharedbufferspercentage
    StaticIps string
    Static IP addresses
    SynchronousReplication string
    Synchronous replication type. Note that the service plan also needs to support synchronous replication.
    Timescaledb PgPgUserConfigTimescaledb
    TimescaleDB extension configuration values
    Variant string
    Variant of the PostgreSQL service, may affect the features that are exposed by default
    WorkMem string
    work_mem
    AdminPassword string
    Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
    AdminUsername string
    Custom username for admin user. This must be set only when a new service is being created.
    BackupHour string
    The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
    BackupMinute string
    The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
    EnableIpv6 string
    Enable IPv6
    IpFilters []string
    IP filter
    Migration PgPgUserConfigMigration
    Migrate data from existing server
    Pg PgPgUserConfigPg
    postgresql.conf configuration values
    PgReadReplica string
    Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
    PgServiceToForkFrom string
    Name of the PG Service from which to fork (deprecated, use servicetofork_from). This has effect only when a new service is being created.
    PgVersion string
    PostgreSQL major version
    Pgbouncer PgPgUserConfigPgbouncer
    PGBouncer connection pooling settings
    Pglookout PgPgUserConfigPglookout
    PGLookout settings
    PrivateAccess PgPgUserConfigPrivateAccess
    Allow access to selected service ports from private networks
    PrivatelinkAccess PgPgUserConfigPrivatelinkAccess
    Allow access to selected service components through Privatelink
    ProjectToForkFrom string
    Name of another project to fork a service from. This has effect only when a new service is being created.
    PublicAccess PgPgUserConfigPublicAccess
    Allow access to selected service ports from the public Internet
    RecoveryTargetTime string
    Recovery target time when forking a service. This has effect only when a new service is being created.
    ServiceToForkFrom string
    Name of another service to fork from. This has effect only when a new service is being created.
    SharedBuffersPercentage string
    sharedbufferspercentage
    StaticIps string
    Static IP addresses
    SynchronousReplication string
    Synchronous replication type. Note that the service plan also needs to support synchronous replication.
    Timescaledb PgPgUserConfigTimescaledb
    TimescaleDB extension configuration values
    Variant string
    Variant of the PostgreSQL service, may affect the features that are exposed by default
    WorkMem string
    work_mem
    adminPassword String
    Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
    adminUsername String
    Custom username for admin user. This must be set only when a new service is being created.
    backupHour String
    The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
    backupMinute String
    The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
    enableIpv6 String
    Enable IPv6
    ipFilters List<String>
    IP filter
    migration PgPgUserConfigMigration
    Migrate data from existing server
    pg PgPgUserConfigPg
    postgresql.conf configuration values
    pgReadReplica String
    Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
    pgServiceToForkFrom String
    Name of the PG Service from which to fork (deprecated, use servicetofork_from). This has effect only when a new service is being created.
    pgVersion String
    PostgreSQL major version
    pgbouncer PgPgUserConfigPgbouncer
    PGBouncer connection pooling settings
    pglookout PgPgUserConfigPglookout
    PGLookout settings
    privateAccess PgPgUserConfigPrivateAccess
    Allow access to selected service ports from private networks
    privatelinkAccess PgPgUserConfigPrivatelinkAccess
    Allow access to selected service components through Privatelink
    projectToForkFrom String
    Name of another project to fork a service from. This has effect only when a new service is being created.
    publicAccess PgPgUserConfigPublicAccess
    Allow access to selected service ports from the public Internet
    recoveryTargetTime String
    Recovery target time when forking a service. This has effect only when a new service is being created.
    serviceToForkFrom String
    Name of another service to fork from. This has effect only when a new service is being created.
    sharedBuffersPercentage String
    sharedbufferspercentage
    staticIps String
    Static IP addresses
    synchronousReplication String
    Synchronous replication type. Note that the service plan also needs to support synchronous replication.
    timescaledb PgPgUserConfigTimescaledb
    TimescaleDB extension configuration values
    variant String
    Variant of the PostgreSQL service, may affect the features that are exposed by default
    workMem String
    work_mem
    adminPassword string
    Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
    adminUsername string
    Custom username for admin user. This must be set only when a new service is being created.
    backupHour string
    The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
    backupMinute string
    The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
    enableIpv6 string
    Enable IPv6
    ipFilters string[]
    IP filter
    migration PgPgUserConfigMigration
    Migrate data from existing server
    pg PgPgUserConfigPg
    postgresql.conf configuration values
    pgReadReplica string
    Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
    pgServiceToForkFrom string
    Name of the PG Service from which to fork (deprecated, use servicetofork_from). This has effect only when a new service is being created.
    pgVersion string
    PostgreSQL major version
    pgbouncer PgPgUserConfigPgbouncer
    PGBouncer connection pooling settings
    pglookout PgPgUserConfigPglookout
    PGLookout settings
    privateAccess PgPgUserConfigPrivateAccess
    Allow access to selected service ports from private networks
    privatelinkAccess PgPgUserConfigPrivatelinkAccess
    Allow access to selected service components through Privatelink
    projectToForkFrom string
    Name of another project to fork a service from. This has effect only when a new service is being created.
    publicAccess PgPgUserConfigPublicAccess
    Allow access to selected service ports from the public Internet
    recoveryTargetTime string
    Recovery target time when forking a service. This has effect only when a new service is being created.
    serviceToForkFrom string
    Name of another service to fork from. This has effect only when a new service is being created.
    sharedBuffersPercentage string
    sharedbufferspercentage
    staticIps string
    Static IP addresses
    synchronousReplication string
    Synchronous replication type. Note that the service plan also needs to support synchronous replication.
    timescaledb PgPgUserConfigTimescaledb
    TimescaleDB extension configuration values
    variant string
    Variant of the PostgreSQL service, may affect the features that are exposed by default
    workMem string
    work_mem
    admin_password str
    Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
    admin_username str
    Custom username for admin user. This must be set only when a new service is being created.
    backup_hour str
    The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
    backup_minute str
    The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
    enable_ipv6 str
    Enable IPv6
    ip_filters Sequence[str]
    IP filter
    migration PgPgUserConfigMigration
    Migrate data from existing server
    pg PgPgUserConfigPg
    postgresql.conf configuration values
    pg_read_replica str
    Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
    pg_service_to_fork_from str
    Name of the PG Service from which to fork (deprecated, use servicetofork_from). This has effect only when a new service is being created.
    pg_version str
    PostgreSQL major version
    pgbouncer PgPgUserConfigPgbouncer
    PGBouncer connection pooling settings
    pglookout PgPgUserConfigPglookout
    PGLookout settings
    private_access PgPgUserConfigPrivateAccess
    Allow access to selected service ports from private networks
    privatelink_access PgPgUserConfigPrivatelinkAccess
    Allow access to selected service components through Privatelink
    project_to_fork_from str
    Name of another project to fork a service from. This has effect only when a new service is being created.
    public_access PgPgUserConfigPublicAccess
    Allow access to selected service ports from the public Internet
    recovery_target_time str
    Recovery target time when forking a service. This has effect only when a new service is being created.
    service_to_fork_from str
    Name of another service to fork from. This has effect only when a new service is being created.
    shared_buffers_percentage str
    sharedbufferspercentage
    static_ips str
    Static IP addresses
    synchronous_replication str
    Synchronous replication type. Note that the service plan also needs to support synchronous replication.
    timescaledb PgPgUserConfigTimescaledb
    TimescaleDB extension configuration values
    variant str
    Variant of the PostgreSQL service, may affect the features that are exposed by default
    work_mem str
    work_mem
    adminPassword String
    Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
    adminUsername String
    Custom username for admin user. This must be set only when a new service is being created.
    backupHour String
    The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
    backupMinute String
    The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
    enableIpv6 String
    Enable IPv6
    ipFilters List<String>
    IP filter
    migration Property Map
    Migrate data from existing server
    pg Property Map
    postgresql.conf configuration values
    pgReadReplica String
    Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
    pgServiceToForkFrom String
    Name of the PG Service from which to fork (deprecated, use servicetofork_from). This has effect only when a new service is being created.
    pgVersion String
    PostgreSQL major version
    pgbouncer Property Map
    PGBouncer connection pooling settings
    pglookout Property Map
    PGLookout settings
    privateAccess Property Map
    Allow access to selected service ports from private networks
    privatelinkAccess Property Map
    Allow access to selected service components through Privatelink
    projectToForkFrom String
    Name of another project to fork a service from. This has effect only when a new service is being created.
    publicAccess Property Map
    Allow access to selected service ports from the public Internet
    recoveryTargetTime String
    Recovery target time when forking a service. This has effect only when a new service is being created.
    serviceToForkFrom String
    Name of another service to fork from. This has effect only when a new service is being created.
    sharedBuffersPercentage String
    sharedbufferspercentage
    staticIps String
    Static IP addresses
    synchronousReplication String
    Synchronous replication type. Note that the service plan also needs to support synchronous replication.
    timescaledb Property Map
    TimescaleDB extension configuration values
    variant String
    Variant of the PostgreSQL service, may affect the features that are exposed by default
    workMem String
    work_mem

    PgPgUserConfigMigration, PgPgUserConfigMigrationArgs

    Dbname string
    Host string
    IgnoreDbs string
    Method string
    Password string
    Port string
    Ssl string
    Username string
    Dbname string
    Host string
    IgnoreDbs string
    Method string
    Password string
    Port string
    Ssl string
    Username string
    dbname String
    host String
    ignoreDbs String
    method String
    password String
    port String
    ssl String
    username String
    dbname string
    host string
    ignoreDbs string
    method string
    password string
    port string
    ssl string
    username string
    dbname String
    host String
    ignoreDbs String
    method String
    password String
    port String
    ssl String
    username String

    PgPgUserConfigPg, PgPgUserConfigPgArgs

    AutovacuumAnalyzeScaleFactor string
    AutovacuumAnalyzeThreshold string
    AutovacuumFreezeMaxAge string
    AutovacuumMaxWorkers string
    AutovacuumNaptime string
    AutovacuumVacuumCostDelay string
    AutovacuumVacuumCostLimit string
    AutovacuumVacuumScaleFactor string
    AutovacuumVacuumThreshold string
    BgwriterDelay string
    BgwriterFlushAfter string
    BgwriterLruMaxpages string
    BgwriterLruMultiplier string
    DeadlockTimeout string
    DefaultToastCompression string
    IdleInTransactionSessionTimeout string
    Jit string
    LogAutovacuumMinDuration string
    LogErrorVerbosity string
    LogLinePrefix string
    LogMinDurationStatement string
    MaxFilesPerProcess string
    MaxLocksPerTransaction string
    MaxLogicalReplicationWorkers string
    MaxParallelWorkers string
    MaxParallelWorkersPerGather string
    MaxPredLocksPerTransaction string
    MaxPreparedTransactions string
    MaxReplicationSlots string
    MaxSlotWalKeepSize string
    MaxStackDepth string
    MaxStandbyArchiveDelay string
    MaxStandbyStreamingDelay string
    MaxWalSenders string
    MaxWorkerProcesses string
    PgPartmanBgwDotInterval string
    PgPartmanBgwDotRole string
    PgStatStatementsDotTrack string
    TempFileLimit string
    Timezone string
    TrackActivityQuerySize string
    TrackCommitTimestamp string
    TrackFunctions string
    TrackIoTiming string
    WalSenderTimeout string
    WalWriterDelay string
    AutovacuumAnalyzeScaleFactor string
    AutovacuumAnalyzeThreshold string
    AutovacuumFreezeMaxAge string
    AutovacuumMaxWorkers string
    AutovacuumNaptime string
    AutovacuumVacuumCostDelay string
    AutovacuumVacuumCostLimit string
    AutovacuumVacuumScaleFactor string
    AutovacuumVacuumThreshold string
    BgwriterDelay string
    BgwriterFlushAfter string
    BgwriterLruMaxpages string
    BgwriterLruMultiplier string
    DeadlockTimeout string
    DefaultToastCompression string
    IdleInTransactionSessionTimeout string
    Jit string
    LogAutovacuumMinDuration string
    LogErrorVerbosity string
    LogLinePrefix string
    LogMinDurationStatement string
    MaxFilesPerProcess string
    MaxLocksPerTransaction string
    MaxLogicalReplicationWorkers string
    MaxParallelWorkers string
    MaxParallelWorkersPerGather string
    MaxPredLocksPerTransaction string
    MaxPreparedTransactions string
    MaxReplicationSlots string
    MaxSlotWalKeepSize string
    MaxStackDepth string
    MaxStandbyArchiveDelay string
    MaxStandbyStreamingDelay string
    MaxWalSenders string
    MaxWorkerProcesses string
    PgPartmanBgwDotInterval string
    PgPartmanBgwDotRole string
    PgStatStatementsDotTrack string
    TempFileLimit string
    Timezone string
    TrackActivityQuerySize string
    TrackCommitTimestamp string
    TrackFunctions string
    TrackIoTiming string
    WalSenderTimeout string
    WalWriterDelay string
    autovacuumAnalyzeScaleFactor String
    autovacuumAnalyzeThreshold String
    autovacuumFreezeMaxAge String
    autovacuumMaxWorkers String
    autovacuumNaptime String
    autovacuumVacuumCostDelay String
    autovacuumVacuumCostLimit String
    autovacuumVacuumScaleFactor String
    autovacuumVacuumThreshold String
    bgwriterDelay String
    bgwriterFlushAfter String
    bgwriterLruMaxpages String
    bgwriterLruMultiplier String
    deadlockTimeout String
    defaultToastCompression String
    idleInTransactionSessionTimeout String
    jit String
    logAutovacuumMinDuration String
    logErrorVerbosity String
    logLinePrefix String
    logMinDurationStatement String
    maxFilesPerProcess String
    maxLocksPerTransaction String
    maxLogicalReplicationWorkers String
    maxParallelWorkers String
    maxParallelWorkersPerGather String
    maxPredLocksPerTransaction String
    maxPreparedTransactions String
    maxReplicationSlots String
    maxSlotWalKeepSize String
    maxStackDepth String
    maxStandbyArchiveDelay String
    maxStandbyStreamingDelay String
    maxWalSenders String
    maxWorkerProcesses String
    pgPartmanBgwDotInterval String
    pgPartmanBgwDotRole String
    pgStatStatementsDotTrack String
    tempFileLimit String
    timezone String
    trackActivityQuerySize String
    trackCommitTimestamp String
    trackFunctions String
    trackIoTiming String
    walSenderTimeout String
    walWriterDelay String
    autovacuumAnalyzeScaleFactor string
    autovacuumAnalyzeThreshold string
    autovacuumFreezeMaxAge string
    autovacuumMaxWorkers string
    autovacuumNaptime string
    autovacuumVacuumCostDelay string
    autovacuumVacuumCostLimit string
    autovacuumVacuumScaleFactor string
    autovacuumVacuumThreshold string
    bgwriterDelay string
    bgwriterFlushAfter string
    bgwriterLruMaxpages string
    bgwriterLruMultiplier string
    deadlockTimeout string
    defaultToastCompression string
    idleInTransactionSessionTimeout string
    jit string
    logAutovacuumMinDuration string
    logErrorVerbosity string
    logLinePrefix string
    logMinDurationStatement string
    maxFilesPerProcess string
    maxLocksPerTransaction string
    maxLogicalReplicationWorkers string
    maxParallelWorkers string
    maxParallelWorkersPerGather string
    maxPredLocksPerTransaction string
    maxPreparedTransactions string
    maxReplicationSlots string
    maxSlotWalKeepSize string
    maxStackDepth string
    maxStandbyArchiveDelay string
    maxStandbyStreamingDelay string
    maxWalSenders string
    maxWorkerProcesses string
    pgPartmanBgwDotInterval string
    pgPartmanBgwDotRole string
    pgStatStatementsDotTrack string
    tempFileLimit string
    timezone string
    trackActivityQuerySize string
    trackCommitTimestamp string
    trackFunctions string
    trackIoTiming string
    walSenderTimeout string
    walWriterDelay string
    autovacuum_analyze_scale_factor str
    autovacuum_analyze_threshold str
    autovacuum_freeze_max_age str
    autovacuum_max_workers str
    autovacuum_naptime str
    autovacuum_vacuum_cost_delay str
    autovacuum_vacuum_cost_limit str
    autovacuum_vacuum_scale_factor str
    autovacuum_vacuum_threshold str
    bgwriter_delay str
    bgwriter_flush_after str
    bgwriter_lru_maxpages str
    bgwriter_lru_multiplier str
    deadlock_timeout str
    default_toast_compression str
    idle_in_transaction_session_timeout str
    jit str
    log_autovacuum_min_duration str
    log_error_verbosity str
    log_line_prefix str
    log_min_duration_statement str
    max_files_per_process str
    max_locks_per_transaction str
    max_logical_replication_workers str
    max_parallel_workers str
    max_parallel_workers_per_gather str
    max_pred_locks_per_transaction str
    max_prepared_transactions str
    max_replication_slots str
    max_slot_wal_keep_size str
    max_stack_depth str
    max_standby_archive_delay str
    max_standby_streaming_delay str
    max_wal_senders str
    max_worker_processes str
    pg_partman_bgw_dot_interval str
    pg_partman_bgw_dot_role str
    pg_stat_statements_dot_track str
    temp_file_limit str
    timezone str
    track_activity_query_size str
    track_commit_timestamp str
    track_functions str
    track_io_timing str
    wal_sender_timeout str
    wal_writer_delay str
    autovacuumAnalyzeScaleFactor String
    autovacuumAnalyzeThreshold String
    autovacuumFreezeMaxAge String
    autovacuumMaxWorkers String
    autovacuumNaptime String
    autovacuumVacuumCostDelay String
    autovacuumVacuumCostLimit String
    autovacuumVacuumScaleFactor String
    autovacuumVacuumThreshold String
    bgwriterDelay String
    bgwriterFlushAfter String
    bgwriterLruMaxpages String
    bgwriterLruMultiplier String
    deadlockTimeout String
    defaultToastCompression String
    idleInTransactionSessionTimeout String
    jit String
    logAutovacuumMinDuration String
    logErrorVerbosity String
    logLinePrefix String
    logMinDurationStatement String
    maxFilesPerProcess String
    maxLocksPerTransaction String
    maxLogicalReplicationWorkers String
    maxParallelWorkers String
    maxParallelWorkersPerGather String
    maxPredLocksPerTransaction String
    maxPreparedTransactions String
    maxReplicationSlots String
    maxSlotWalKeepSize String
    maxStackDepth String
    maxStandbyArchiveDelay String
    maxStandbyStreamingDelay String
    maxWalSenders String
    maxWorkerProcesses String
    pgPartmanBgwDotInterval String
    pgPartmanBgwDotRole String
    pgStatStatementsDotTrack String
    tempFileLimit String
    timezone String
    trackActivityQuerySize String
    trackCommitTimestamp String
    trackFunctions String
    trackIoTiming String
    walSenderTimeout String
    walWriterDelay String

    PgPgUserConfigPgbouncer, PgPgUserConfigPgbouncerArgs

    PgPgUserConfigPglookout, PgPgUserConfigPglookoutArgs

    PgPgUserConfigPrivateAccess, PgPgUserConfigPrivateAccessArgs

    Pg string
    PostgreSQL specific server provided values
    Pgbouncer string
    Prometheus string
    Pg string
    PostgreSQL specific server provided values
    Pgbouncer string
    Prometheus string
    pg String
    PostgreSQL specific server provided values
    pgbouncer String
    prometheus String
    pg string
    PostgreSQL specific server provided values
    pgbouncer string
    prometheus string
    pg str
    PostgreSQL specific server provided values
    pgbouncer str
    prometheus str
    pg String
    PostgreSQL specific server provided values
    pgbouncer String
    prometheus String

    PgPgUserConfigPrivatelinkAccess, PgPgUserConfigPrivatelinkAccessArgs

    Pg string
    PostgreSQL specific server provided values
    Pgbouncer string
    Prometheus string
    Pg string
    PostgreSQL specific server provided values
    Pgbouncer string
    Prometheus string
    pg String
    PostgreSQL specific server provided values
    pgbouncer String
    prometheus String
    pg string
    PostgreSQL specific server provided values
    pgbouncer string
    prometheus string
    pg str
    PostgreSQL specific server provided values
    pgbouncer str
    prometheus str
    pg String
    PostgreSQL specific server provided values
    pgbouncer String
    prometheus String

    PgPgUserConfigPublicAccess, PgPgUserConfigPublicAccessArgs

    Pg string
    PostgreSQL specific server provided values
    Pgbouncer string
    Prometheus string
    Pg string
    PostgreSQL specific server provided values
    Pgbouncer string
    Prometheus string
    pg String
    PostgreSQL specific server provided values
    pgbouncer String
    prometheus String
    pg string
    PostgreSQL specific server provided values
    pgbouncer string
    prometheus string
    pg str
    PostgreSQL specific server provided values
    pgbouncer str
    prometheus str
    pg String
    PostgreSQL specific server provided values
    pgbouncer String
    prometheus String

    PgPgUserConfigTimescaledb, PgPgUserConfigTimescaledbArgs

    PgServiceIntegration, PgServiceIntegrationArgs

    IntegrationType string
    Type of the service integration. The only supported value at the moment is read_replica
    SourceServiceName string
    Name of the source service
    IntegrationType string
    Type of the service integration. The only supported value at the moment is read_replica
    SourceServiceName string
    Name of the source service
    integrationType String
    Type of the service integration. The only supported value at the moment is read_replica
    sourceServiceName String
    Name of the source service
    integrationType string
    Type of the service integration. The only supported value at the moment is read_replica
    sourceServiceName string
    Name of the source service
    integration_type str
    Type of the service integration. The only supported value at the moment is read_replica
    source_service_name str
    Name of the source service
    integrationType String
    Type of the service integration. The only supported value at the moment is read_replica
    sourceServiceName String
    Name of the source service

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Viewing docs for Aiven v4.5.2 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.