Viewing docs for Aiven v5.6.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Aiven v5.6.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The Opensearch data source provides information about the existing Aiven Opensearch service.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var os1 = Aiven.GetOpenSearch.Invoke(new()
{
Project = data.Aiven_project.Pr1.Project,
ServiceName = "my-os1",
});
});
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v5/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupOpenSearch(ctx, &aiven.LookupOpenSearchArgs{
Project: data.Aiven_project.Pr1.Project,
ServiceName: "my-os1",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetOpenSearchArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var os1 = AivenFunctions.getOpenSearch(GetOpenSearchArgs.builder()
.project(data.aiven_project().pr1().project())
.serviceName("my-os1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const os1 = aiven.getOpenSearch({
project: data.aiven_project.pr1.project,
serviceName: "my-os1",
});
import pulumi
import pulumi_aiven as aiven
os1 = aiven.get_open_search(project=data["aiven_project"]["pr1"]["project"],
service_name="my-os1")
variables:
os1:
fn::invoke:
Function: aiven:getOpenSearch
Arguments:
project: ${data.aiven_project.pr1.project}
serviceName: my-os1
Using getOpenSearch
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOpenSearch(args: GetOpenSearchArgs, opts?: InvokeOptions): Promise<GetOpenSearchResult>
function getOpenSearchOutput(args: GetOpenSearchOutputArgs, opts?: InvokeOptions): Output<GetOpenSearchResult>def get_open_search(project: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOpenSearchResult
def get_open_search_output(project: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOpenSearchResult]func LookupOpenSearch(ctx *Context, args *LookupOpenSearchArgs, opts ...InvokeOption) (*LookupOpenSearchResult, error)
func LookupOpenSearchOutput(ctx *Context, args *LookupOpenSearchOutputArgs, opts ...InvokeOption) LookupOpenSearchResultOutput> Note: This function is named LookupOpenSearch in the Go SDK.
public static class GetOpenSearch
{
public static Task<GetOpenSearchResult> InvokeAsync(GetOpenSearchArgs args, InvokeOptions? opts = null)
public static Output<GetOpenSearchResult> Invoke(GetOpenSearchInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOpenSearchResult> getOpenSearch(GetOpenSearchArgs args, InvokeOptions options)
public static Output<GetOpenSearchResult> getOpenSearch(GetOpenSearchArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getOpenSearch:getOpenSearch
arguments:
# arguments dictionaryThe following arguments are supported:
- 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.
- Service
Name 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.
- 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.
- Service
Name 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.
- 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.
- service
Name 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.
- 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.
- service
Name 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.
- 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.
- 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.
- service
Name 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.
getOpenSearch Result
The following output properties are available:
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name 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,dogoogle,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<Get
Open Search Component> - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - 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 stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Opensearch
User List<GetConfigs Open Search Opensearch User Config> - Opensearch user configurable settings
- Opensearches
List<Get
Open Search Opensearch> - Opensearch server provided values
- 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-xandpremium-xwherexis (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.
- Project
Vpc stringId - 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 string - The hostname of the service.
- Service
Integrations List<GetOpen Search Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name 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.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - Static
Ips 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
-
List<Get
Open Search Tag> - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor 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.
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name 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,dogoogle,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
[]Get
Open Search Component - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - 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 stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Opensearch
User []GetConfigs Open Search Opensearch User Config - Opensearch user configurable settings
- Opensearches
[]Get
Open Search Opensearch - Opensearch server provided values
- 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-xandpremium-xwherexis (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.
- Project
Vpc stringId - 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 string - The hostname of the service.
- Service
Integrations []GetOpen Search Service Integration - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name 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.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - Static
Ips []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
-
[]Get
Open Search Tag - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor 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.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name 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,dogoogle,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<Get
Open Search Component> - Service component information objects
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - 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 StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- opensearch
User List<GetConfigs Open Search Opensearch User Config> - Opensearch user configurable settings
- opensearches
List<Get
Open Search Opensearch> - Opensearch server provided values
- 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-xandpremium-xwherexis (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.
- project
Vpc StringId - 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 String - The hostname of the service.
- service
Integrations List<GetOpen Search Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name 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.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Integer - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static
Ips 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
-
List<Get
Open Search Tag> - Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor 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.
- additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name 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,dogoogle,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
Get
Open Search Component[] - Service component information objects
- disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space stringDefault - 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 stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space stringUsed - Disk space that service is currently using
- id string
- The provider-assigned unique ID for this managed resource.
- maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- opensearch
User GetConfigs Open Search Opensearch User Config[] - Opensearch user configurable settings
- opensearches
Get
Open Search Opensearch[] - Opensearch server provided values
- 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-xandpremium-xwherexis (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.
- project
Vpc stringId - 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 string - The hostname of the service.
- service
Integrations GetOpen Search Service Integration[] - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name 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.
- service
Password string - Password used for connecting to the service, if applicable
- service
Port number - The port of the service
- service
Type string - Aiven internal service type code
- service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username string - Username used for connecting to the service, if applicable
- state string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static
Ips 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
-
Get
Open Search Tag[] - Tags are key-value pairs that allow you to categorize services.
- termination
Protection boolean - Prevents the service from being deleted. It is recommended to set this to
truefor 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.
- additional_
disk_ strspace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- 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,dogoogle,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[Get
Open Search Component] - Service component information objects
- disk_
space str - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk_
space_ strcap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault - 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_ strstep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk_
space_ strused - Disk space that service is currently using
- id str
- The provider-assigned unique ID for this managed resource.
- maintenance_
window_ strdow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- opensearch_
user_ Sequence[Getconfigs Open Search Opensearch User Config] - Opensearch user configurable settings
- opensearches
Sequence[Get
Open Search Opensearch] - Opensearch server provided values
- 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-xandpremium-xwherexis (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_ strid - 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[GetOpen Search Service Integration] - 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,REBUILDINGorRUNNING - 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
-
Sequence[Get
Open Search Tag] - Tags are key-value pairs that allow you to categorize services.
- termination_
protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor 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.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name 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,dogoogle,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
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - 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 StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- opensearch
User List<Property Map>Configs - Opensearch user configurable settings
- opensearches List<Property Map>
- Opensearch server provided values
- 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-xandpremium-xwherexis (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.
- project
Vpc StringId - 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 String - The hostname of the service.
- service
Integrations List<Property Map> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name 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.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Number - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static
Ips 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
- List<Property Map>
- Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor 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
GetOpenSearchComponent
GetOpenSearchOpensearch
- Opensearch
Dashboards stringUri
- Opensearch
Dashboards stringUri
- opensearch
Dashboards StringUri
- opensearch
Dashboards stringUri
- opensearch
Dashboards StringUri
GetOpenSearchOpensearchUserConfig
- Additional
Backup stringRegions - Custom
Domain string - Disable
Replication stringFactor Adjustment - Index
Patterns List<GetOpen Search Opensearch User Config Index Pattern> - Index
Template GetOpen Search Opensearch User Config Index Template - Ip
Filter List<GetObjects Open Search Opensearch User Config Ip Filter Object> - Ip
Filters List<string> - Keep
Index stringRefresh Interval - Max
Index stringCount - Opensearch
Get
Open Search Opensearch User Config Opensearch - Opensearch server provided values
- Opensearch
Dashboards GetOpen Search Opensearch User Config Opensearch Dashboards - Opensearch
Version string - Private
Access GetOpen Search Opensearch User Config Private Access - Privatelink
Access GetOpen Search Opensearch User Config Privatelink Access - Project
To stringFork From - Public
Access GetOpen Search Opensearch User Config Public Access - Recovery
Basebackup stringName - Service
To stringFork From - Static
Ips 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
- Additional
Backup stringRegions - Custom
Domain string - Disable
Replication stringFactor Adjustment - Index
Patterns []GetOpen Search Opensearch User Config Index Pattern - Index
Template GetOpen Search Opensearch User Config Index Template - Ip
Filter []GetObjects Open Search Opensearch User Config Ip Filter Object - Ip
Filters []string - Keep
Index stringRefresh Interval - Max
Index stringCount - Opensearch
Get
Open Search Opensearch User Config Opensearch - Opensearch server provided values
- Opensearch
Dashboards GetOpen Search Opensearch User Config Opensearch Dashboards - Opensearch
Version string - Private
Access GetOpen Search Opensearch User Config Private Access - Privatelink
Access GetOpen Search Opensearch User Config Privatelink Access - Project
To stringFork From - Public
Access GetOpen Search Opensearch User Config Public Access - Recovery
Basebackup stringName - Service
To stringFork From - Static
Ips 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
- additional
Backup StringRegions - custom
Domain String - disable
Replication StringFactor Adjustment - index
Patterns List<GetOpen Search Opensearch User Config Index Pattern> - index
Template GetOpen Search Opensearch User Config Index Template - ip
Filter List<GetObjects Open Search Opensearch User Config Ip Filter Object> - ip
Filters List<String> - keep
Index StringRefresh Interval - max
Index StringCount - opensearch
Get
Open Search Opensearch User Config Opensearch - Opensearch server provided values
- opensearch
Dashboards GetOpen Search Opensearch User Config Opensearch Dashboards - opensearch
Version String - private
Access GetOpen Search Opensearch User Config Private Access - privatelink
Access GetOpen Search Opensearch User Config Privatelink Access - project
To StringFork From - public
Access GetOpen Search Opensearch User Config Public Access - recovery
Basebackup StringName - service
To StringFork From - static
Ips 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
- additional
Backup stringRegions - custom
Domain string - disable
Replication stringFactor Adjustment - index
Patterns GetOpen Search Opensearch User Config Index Pattern[] - index
Template GetOpen Search Opensearch User Config Index Template - ip
Filter GetObjects Open Search Opensearch User Config Ip Filter Object[] - ip
Filters string[] - keep
Index stringRefresh Interval - max
Index stringCount - opensearch
Get
Open Search Opensearch User Config Opensearch - Opensearch server provided values
- opensearch
Dashboards GetOpen Search Opensearch User Config Opensearch Dashboards - opensearch
Version string - private
Access GetOpen Search Opensearch User Config Private Access - privatelink
Access GetOpen Search Opensearch User Config Privatelink Access - project
To stringFork From - public
Access GetOpen Search Opensearch User Config Public Access - recovery
Basebackup stringName - service
To stringFork From - static
Ips 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
- additional_
backup_ strregions - custom_
domain str - disable_
replication_ strfactor_ adjustment - index_
patterns Sequence[GetOpen Search Opensearch User Config Index Pattern] - index_
template GetOpen Search Opensearch User Config Index Template - ip_
filter_ Sequence[Getobjects Open Search Opensearch User Config Ip Filter Object] - ip_
filters Sequence[str] - keep_
index_ strrefresh_ interval - max_
index_ strcount - opensearch
Get
Open Search Opensearch User Config Opensearch - Opensearch server provided values
- opensearch_
dashboards GetOpen Search Opensearch User Config Opensearch Dashboards - opensearch_
version str - private_
access GetOpen Search Opensearch User Config Private Access - privatelink_
access GetOpen Search Opensearch User Config Privatelink Access - project_
to_ strfork_ from - public_
access GetOpen Search Opensearch User Config Public Access - recovery_
basebackup_ strname - service_
to_ strfork_ from - static_
ips 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
- additional
Backup StringRegions - custom
Domain String - disable
Replication StringFactor Adjustment - index
Patterns List<Property Map> - index
Template Property Map - ip
Filter List<Property Map>Objects - ip
Filters List<String> - keep
Index StringRefresh Interval - max
Index StringCount - opensearch Property Map
- Opensearch server provided values
- opensearch
Dashboards Property Map - opensearch
Version String - private
Access Property Map - privatelink
Access Property Map - project
To StringFork From - public
Access Property Map - recovery
Basebackup StringName - service
To StringFork From - static
Ips 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
GetOpenSearchOpensearchUserConfigIndexPattern
- Max
Index stringCount - Pattern string
- Sorting
Algorithm string
- Max
Index stringCount - Pattern string
- Sorting
Algorithm string
- max
Index StringCount - pattern String
- sorting
Algorithm String
- max
Index stringCount - pattern string
- sorting
Algorithm string
- max_
index_ strcount - pattern str
- sorting_
algorithm str
- max
Index StringCount - pattern String
- sorting
Algorithm String
GetOpenSearchOpensearchUserConfigIndexTemplate
- Mapping
Nested stringObjects Limit - Number
Of stringReplicas - Number
Of stringShards
- Mapping
Nested stringObjects Limit - Number
Of stringReplicas - Number
Of stringShards
- mapping
Nested StringObjects Limit - number
Of StringReplicas - number
Of StringShards
- mapping
Nested stringObjects Limit - number
Of stringReplicas - number
Of stringShards
- mapping
Nested StringObjects Limit - number
Of StringReplicas - number
Of StringShards
GetOpenSearchOpensearchUserConfigIpFilterObject
- Description string
- Network string
- Description string
- Network string
- description String
- network String
- description string
- network string
- description str
- network str
- description String
- network String
GetOpenSearchOpensearchUserConfigOpensearch
- Action
Auto stringCreate Index Enabled - Action
Destructive stringRequires Name - Cluster
Max stringShards Per Node - Cluster
Routing stringAllocation Node Concurrent Recoveries - Email
Sender stringName - Email
Sender stringPassword - Email
Sender stringUsername - Http
Max stringContent Length - Http
Max stringHeader Size - Http
Max stringInitial Line Length - Indices
Fielddata stringCache Size - Indices
Memory stringIndex Buffer Size - Indices
Queries stringCache Size - Indices
Query stringBool Max Clause Count - Indices
Recovery stringMax Bytes Per Sec - Indices
Recovery stringMax Concurrent File Chunks - Override
Main stringResponse Version - Reindex
Remote List<string>Whitelists - Script
Max stringCompilations Rate - Search
Max stringBuckets - Thread
Pool stringAnalyze Queue Size - Thread
Pool stringAnalyze Size - Thread
Pool stringForce Merge Size - Thread
Pool stringGet Queue Size - Thread
Pool stringGet Size - Thread
Pool stringSearch Queue Size - Thread
Pool stringSearch Size - Thread
Pool stringSearch Throttled Queue Size - Thread
Pool stringSearch Throttled Size - Thread
Pool stringWrite Queue Size - Thread
Pool stringWrite Size
- Action
Auto stringCreate Index Enabled - Action
Destructive stringRequires Name - Cluster
Max stringShards Per Node - Cluster
Routing stringAllocation Node Concurrent Recoveries - Email
Sender stringName - Email
Sender stringPassword - Email
Sender stringUsername - Http
Max stringContent Length - Http
Max stringHeader Size - Http
Max stringInitial Line Length - Indices
Fielddata stringCache Size - Indices
Memory stringIndex Buffer Size - Indices
Queries stringCache Size - Indices
Query stringBool Max Clause Count - Indices
Recovery stringMax Bytes Per Sec - Indices
Recovery stringMax Concurrent File Chunks - Override
Main stringResponse Version - Reindex
Remote []stringWhitelists - Script
Max stringCompilations Rate - Search
Max stringBuckets - Thread
Pool stringAnalyze Queue Size - Thread
Pool stringAnalyze Size - Thread
Pool stringForce Merge Size - Thread
Pool stringGet Queue Size - Thread
Pool stringGet Size - Thread
Pool stringSearch Queue Size - Thread
Pool stringSearch Size - Thread
Pool stringSearch Throttled Queue Size - Thread
Pool stringSearch Throttled Size - Thread
Pool stringWrite Queue Size - Thread
Pool stringWrite Size
- action
Auto StringCreate Index Enabled - action
Destructive StringRequires Name - cluster
Max StringShards Per Node - cluster
Routing StringAllocation Node Concurrent Recoveries - email
Sender StringName - email
Sender StringPassword - email
Sender StringUsername - http
Max StringContent Length - http
Max StringHeader Size - http
Max StringInitial Line Length - indices
Fielddata StringCache Size - indices
Memory StringIndex Buffer Size - indices
Queries StringCache Size - indices
Query StringBool Max Clause Count - indices
Recovery StringMax Bytes Per Sec - indices
Recovery StringMax Concurrent File Chunks - override
Main StringResponse Version - reindex
Remote List<String>Whitelists - script
Max StringCompilations Rate - search
Max StringBuckets - thread
Pool StringAnalyze Queue Size - thread
Pool StringAnalyze Size - thread
Pool StringForce Merge Size - thread
Pool StringGet Queue Size - thread
Pool StringGet Size - thread
Pool StringSearch Queue Size - thread
Pool StringSearch Size - thread
Pool StringSearch Throttled Queue Size - thread
Pool StringSearch Throttled Size - thread
Pool StringWrite Queue Size - thread
Pool StringWrite Size
- action
Auto stringCreate Index Enabled - action
Destructive stringRequires Name - cluster
Max stringShards Per Node - cluster
Routing stringAllocation Node Concurrent Recoveries - email
Sender stringName - email
Sender stringPassword - email
Sender stringUsername - http
Max stringContent Length - http
Max stringHeader Size - http
Max stringInitial Line Length - indices
Fielddata stringCache Size - indices
Memory stringIndex Buffer Size - indices
Queries stringCache Size - indices
Query stringBool Max Clause Count - indices
Recovery stringMax Bytes Per Sec - indices
Recovery stringMax Concurrent File Chunks - override
Main stringResponse Version - reindex
Remote string[]Whitelists - script
Max stringCompilations Rate - search
Max stringBuckets - thread
Pool stringAnalyze Queue Size - thread
Pool stringAnalyze Size - thread
Pool stringForce Merge Size - thread
Pool stringGet Queue Size - thread
Pool stringGet Size - thread
Pool stringSearch Queue Size - thread
Pool stringSearch Size - thread
Pool stringSearch Throttled Queue Size - thread
Pool stringSearch Throttled Size - thread
Pool stringWrite Queue Size - thread
Pool stringWrite Size
- action_
auto_ strcreate_ index_ enabled - action_
destructive_ strrequires_ name - cluster_
max_ strshards_ per_ node - cluster_
routing_ strallocation_ node_ concurrent_ recoveries - email_
sender_ strname - email_
sender_ strpassword - email_
sender_ strusername - http_
max_ strcontent_ length - http_
max_ strheader_ size - http_
max_ strinitial_ line_ length - indices_
fielddata_ strcache_ size - indices_
memory_ strindex_ buffer_ size - indices_
queries_ strcache_ size - indices_
query_ strbool_ max_ clause_ count - indices_
recovery_ strmax_ bytes_ per_ sec - indices_
recovery_ strmax_ concurrent_ file_ chunks - override_
main_ strresponse_ version - reindex_
remote_ Sequence[str]whitelists - script_
max_ strcompilations_ rate - search_
max_ strbuckets - thread_
pool_ stranalyze_ queue_ size - thread_
pool_ stranalyze_ size - thread_
pool_ strforce_ merge_ size - thread_
pool_ strget_ queue_ size - thread_
pool_ strget_ size - thread_
pool_ strsearch_ queue_ size - thread_
pool_ strsearch_ size - thread_
pool_ strsearch_ throttled_ queue_ size - thread_
pool_ strsearch_ throttled_ size - thread_
pool_ strwrite_ queue_ size - thread_
pool_ strwrite_ size
- action
Auto StringCreate Index Enabled - action
Destructive StringRequires Name - cluster
Max StringShards Per Node - cluster
Routing StringAllocation Node Concurrent Recoveries - email
Sender StringName - email
Sender StringPassword - email
Sender StringUsername - http
Max StringContent Length - http
Max StringHeader Size - http
Max StringInitial Line Length - indices
Fielddata StringCache Size - indices
Memory StringIndex Buffer Size - indices
Queries StringCache Size - indices
Query StringBool Max Clause Count - indices
Recovery StringMax Bytes Per Sec - indices
Recovery StringMax Concurrent File Chunks - override
Main StringResponse Version - reindex
Remote List<String>Whitelists - script
Max StringCompilations Rate - search
Max StringBuckets - thread
Pool StringAnalyze Queue Size - thread
Pool StringAnalyze Size - thread
Pool StringForce Merge Size - thread
Pool StringGet Queue Size - thread
Pool StringGet Size - thread
Pool StringSearch Queue Size - thread
Pool StringSearch Size - thread
Pool StringSearch Throttled Queue Size - thread
Pool StringSearch Throttled Size - thread
Pool StringWrite Queue Size - thread
Pool StringWrite Size
GetOpenSearchOpensearchUserConfigOpensearchDashboards
- Enabled string
- Max
Old stringSpace Size - Opensearch
Request stringTimeout
- Enabled string
- Max
Old stringSpace Size - Opensearch
Request stringTimeout
- enabled String
- max
Old StringSpace Size - opensearch
Request StringTimeout
- enabled string
- max
Old stringSpace Size - opensearch
Request stringTimeout
- enabled String
- max
Old StringSpace Size - opensearch
Request StringTimeout
GetOpenSearchOpensearchUserConfigPrivateAccess
- Opensearch string
- Opensearch server provided values
- Opensearch
Dashboards string - Prometheus string
- Opensearch string
- Opensearch server provided values
- Opensearch
Dashboards string - Prometheus string
- opensearch String
- Opensearch server provided values
- opensearch
Dashboards String - prometheus String
- opensearch string
- Opensearch server provided values
- opensearch
Dashboards string - prometheus string
- opensearch str
- Opensearch server provided values
- opensearch_
dashboards str - prometheus str
- opensearch String
- Opensearch server provided values
- opensearch
Dashboards String - prometheus String
GetOpenSearchOpensearchUserConfigPrivatelinkAccess
- Opensearch string
- Opensearch server provided values
- Opensearch
Dashboards string - Prometheus string
- Opensearch string
- Opensearch server provided values
- Opensearch
Dashboards string - Prometheus string
- opensearch String
- Opensearch server provided values
- opensearch
Dashboards String - prometheus String
- opensearch string
- Opensearch server provided values
- opensearch
Dashboards string - prometheus string
- opensearch str
- Opensearch server provided values
- opensearch_
dashboards str - prometheus str
- opensearch String
- Opensearch server provided values
- opensearch
Dashboards String - prometheus String
GetOpenSearchOpensearchUserConfigPublicAccess
- Opensearch string
- Opensearch server provided values
- Opensearch
Dashboards string - Prometheus string
- Opensearch string
- Opensearch server provided values
- Opensearch
Dashboards string - Prometheus string
- opensearch String
- Opensearch server provided values
- opensearch
Dashboards String - prometheus String
- opensearch string
- Opensearch server provided values
- opensearch
Dashboards string - prometheus string
- opensearch str
- Opensearch server provided values
- opensearch_
dashboards str - prometheus str
- opensearch String
- Opensearch server provided values
- opensearch
Dashboards String - prometheus String
GetOpenSearchServiceIntegration
- Integration
Type string - Source
Service stringName
- Integration
Type string - Source
Service stringName
- integration
Type String - source
Service StringName
- integration
Type string - source
Service stringName
- integration
Type String - source
Service StringName
GetOpenSearchTag
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
Viewing docs for Aiven v5.6.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
