DatabaseOpensearchConfigArgs

data class DatabaseOpensearchConfigArgs(val actionAutoCreateIndexEnabled: Output<Boolean>? = null, val actionDestructiveRequiresName: Output<Boolean>? = null, val clusterId: Output<String>? = null, val clusterMaxShardsPerNode: Output<Int>? = null, val clusterRoutingAllocationNodeConcurrentRecoveries: Output<Int>? = null, val enableSecurityAudit: Output<Boolean>? = null, val httpMaxContentLengthBytes: Output<Int>? = null, val httpMaxHeaderSizeBytes: Output<Int>? = null, val httpMaxInitialLineLengthBytes: Output<Int>? = null, val indicesFielddataCacheSizePercentage: Output<Int>? = null, val indicesMemoryIndexBufferSizePercentage: Output<Int>? = null, val indicesMemoryMaxIndexBufferSizeMb: Output<Int>? = null, val indicesMemoryMinIndexBufferSizeMb: Output<Int>? = null, val indicesQueriesCacheSizePercentage: Output<Int>? = null, val indicesQueryBoolMaxClauseCount: Output<Int>? = null, val indicesRecoveryMaxConcurrentFileChunks: Output<Int>? = null, val indicesRecoveryMaxMbPerSec: Output<Int>? = null, val ismEnabled: Output<Boolean>? = null, val ismHistoryEnabled: Output<Boolean>? = null, val ismHistoryMaxAgeHours: Output<Int>? = null, val ismHistoryMaxDocs: Output<Int>? = null, val ismHistoryRolloverCheckPeriodHours: Output<Int>? = null, val ismHistoryRolloverRetentionPeriodDays: Output<Int>? = null, val overrideMainResponseVersion: Output<Boolean>? = null, val pluginsAlertingFilterByBackendRolesEnabled: Output<Boolean>? = null, val reindexRemoteWhitelists: Output<List<String>>? = null, val scriptMaxCompilationsRate: Output<String>? = null, val searchMaxBuckets: Output<Int>? = null, val threadPoolAnalyzeQueueSize: Output<Int>? = null, val threadPoolAnalyzeSize: Output<Int>? = null, val threadPoolForceMergeSize: Output<Int>? = null, val threadPoolGetQueueSize: Output<Int>? = null, val threadPoolGetSize: Output<Int>? = null, val threadPoolSearchQueueSize: Output<Int>? = null, val threadPoolSearchSize: Output<Int>? = null, val threadPoolSearchThrottledQueueSize: Output<Int>? = null, val threadPoolSearchThrottledSize: Output<Int>? = null, val threadPoolWriteQueueSize: Output<Int>? = null, val threadPoolWriteSize: Output<Int>? = null) : ConvertibleToJava<DatabaseOpensearchConfigArgs>

Provides a virtual resource that can be used to change advanced configuration options for a DigitalOcean managed Opensearch database cluster.

Note Opensearch configurations are only removed from state when destroyed. The remote configuration is not unset.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const exampleDatabaseCluster = new digitalocean.DatabaseCluster("example", {
name: "example-opensearch-cluster",
engine: "opensearch",
version: "2",
size: digitalocean.DatabaseSlug.DB_1VPCU2GB,
region: digitalocean.Region.NYC3,
nodeCount: 1,
});
const example = new digitalocean.DatabaseOpensearchConfig("example", {
clusterId: exampleDatabaseCluster.id,
ismEnabled: true,
ismHistoryEnabled: true,
ismHistoryMaxAgeHours: 24,
ismHistoryMaxDocs: 2500000,
ismHistoryRolloverCheckPeriodHours: 8,
ismHistoryRolloverRetentionPeriodDays: 30,
httpMaxContentLengthBytes: 100000000,
httpMaxHeaderSizeBytes: 8192,
httpMaxInitialLineLengthBytes: 4096,
indicesQueryBoolMaxClauseCount: 1024,
searchMaxBuckets: 10000,
indicesFielddataCacheSizePercentage: 3,
indicesMemoryIndexBufferSizePercentage: 10,
indicesMemoryMinIndexBufferSizeMb: 48,
indicesMemoryMaxIndexBufferSizeMb: 3,
indicesQueriesCacheSizePercentage: 10,
indicesRecoveryMaxMbPerSec: 40,
indicesRecoveryMaxConcurrentFileChunks: 2,
actionAutoCreateIndexEnabled: true,
actionDestructiveRequiresName: false,
enableSecurityAudit: false,
threadPoolSearchSize: 1,
threadPoolSearchThrottledSize: 1,
threadPoolSearchThrottledQueueSize: 10,
threadPoolSearchQueueSize: 10,
threadPoolGetSize: 1,
threadPoolGetQueueSize: 10,
threadPoolAnalyzeSize: 1,
threadPoolAnalyzeQueueSize: 10,
threadPoolWriteSize: 1,
threadPoolWriteQueueSize: 10,
threadPoolForceMergeSize: 1,
overrideMainResponseVersion: false,
scriptMaxCompilationsRate: "use-context",
clusterMaxShardsPerNode: 100,
clusterRoutingAllocationNodeConcurrentRecoveries: 2,
pluginsAlertingFilterByBackendRolesEnabled: false,
reindexRemoteWhitelists: ["cloud&#46;digitalocean&#46;com:8080"],
});
import pulumi
import pulumi_digitalocean as digitalocean
example_database_cluster = digitalocean.DatabaseCluster("example",
name="example-opensearch-cluster",
engine="opensearch",
version="2",
size=digitalocean.DatabaseSlug.D_B_1_VPCU2_GB,
region=digitalocean.Region.NYC3,
node_count=1)
example = digitalocean.DatabaseOpensearchConfig("example",
cluster_id=example_database_cluster.id,
ism_enabled=True,
ism_history_enabled=True,
ism_history_max_age_hours=24,
ism_history_max_docs=2500000,
ism_history_rollover_check_period_hours=8,
ism_history_rollover_retention_period_days=30,
http_max_content_length_bytes=100000000,
http_max_header_size_bytes=8192,
http_max_initial_line_length_bytes=4096,
indices_query_bool_max_clause_count=1024,
search_max_buckets=10000,
indices_fielddata_cache_size_percentage=3,
indices_memory_index_buffer_size_percentage=10,
indices_memory_min_index_buffer_size_mb=48,
indices_memory_max_index_buffer_size_mb=3,
indices_queries_cache_size_percentage=10,
indices_recovery_max_mb_per_sec=40,
indices_recovery_max_concurrent_file_chunks=2,
action_auto_create_index_enabled=True,
action_destructive_requires_name=False,
enable_security_audit=False,
thread_pool_search_size=1,
thread_pool_search_throttled_size=1,
thread_pool_search_throttled_queue_size=10,
thread_pool_search_queue_size=10,
thread_pool_get_size=1,
thread_pool_get_queue_size=10,
thread_pool_analyze_size=1,
thread_pool_analyze_queue_size=10,
thread_pool_write_size=1,
thread_pool_write_queue_size=10,
thread_pool_force_merge_size=1,
override_main_response_version=False,
script_max_compilations_rate="use-context",
cluster_max_shards_per_node=100,
cluster_routing_allocation_node_concurrent_recoveries=2,
plugins_alerting_filter_by_backend_roles_enabled=False,
reindex_remote_whitelists=["cloud&#46;digitalocean&#46;com:8080"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() =>
{
var exampleDatabaseCluster = new DigitalOcean.DatabaseCluster("example", new()
{
Name = "example-opensearch-cluster",
Engine = "opensearch",
Version = "2",
Size = DigitalOcean.DatabaseSlug.DB_1VPCU2GB,
Region = DigitalOcean.Region.NYC3,
NodeCount = 1,
});
var example = new DigitalOcean.DatabaseOpensearchConfig("example", new()
{
ClusterId = exampleDatabaseCluster.Id,
IsmEnabled = true,
IsmHistoryEnabled = true,
IsmHistoryMaxAgeHours = 24,
IsmHistoryMaxDocs = 2500000,
IsmHistoryRolloverCheckPeriodHours = 8,
IsmHistoryRolloverRetentionPeriodDays = 30,
HttpMaxContentLengthBytes = 100000000,
HttpMaxHeaderSizeBytes = 8192,
HttpMaxInitialLineLengthBytes = 4096,
IndicesQueryBoolMaxClauseCount = 1024,
SearchMaxBuckets = 10000,
IndicesFielddataCacheSizePercentage = 3,
IndicesMemoryIndexBufferSizePercentage = 10,
IndicesMemoryMinIndexBufferSizeMb = 48,
IndicesMemoryMaxIndexBufferSizeMb = 3,
IndicesQueriesCacheSizePercentage = 10,
IndicesRecoveryMaxMbPerSec = 40,
IndicesRecoveryMaxConcurrentFileChunks = 2,
ActionAutoCreateIndexEnabled = true,
ActionDestructiveRequiresName = false,
EnableSecurityAudit = false,
ThreadPoolSearchSize = 1,
ThreadPoolSearchThrottledSize = 1,
ThreadPoolSearchThrottledQueueSize = 10,
ThreadPoolSearchQueueSize = 10,
ThreadPoolGetSize = 1,
ThreadPoolGetQueueSize = 10,
ThreadPoolAnalyzeSize = 1,
ThreadPoolAnalyzeQueueSize = 10,
ThreadPoolWriteSize = 1,
ThreadPoolWriteQueueSize = 10,
ThreadPoolForceMergeSize = 1,
OverrideMainResponseVersion = false,
ScriptMaxCompilationsRate = "use-context",
ClusterMaxShardsPerNode = 100,
ClusterRoutingAllocationNodeConcurrentRecoveries = 2,
PluginsAlertingFilterByBackendRolesEnabled = false,
ReindexRemoteWhitelists = new[]
{
"cloud.digitalocean.com:8080",
},
});
});
package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleDatabaseCluster, err := digitalocean.NewDatabaseCluster(ctx, "example", &digitalocean.DatabaseClusterArgs{
Name: pulumi.String("example-opensearch-cluster"),
Engine: pulumi.String("opensearch"),
Version: pulumi.String("2"),
Size: pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU2GB),
Region: pulumi.String(digitalocean.RegionNYC3),
NodeCount: pulumi.Int(1),
})
if err != nil {
return err
}
_, err = digitalocean.NewDatabaseOpensearchConfig(ctx, "example", &digitalocean.DatabaseOpensearchConfigArgs{
ClusterId: exampleDatabaseCluster.ID(),
IsmEnabled: pulumi.Bool(true),
IsmHistoryEnabled: pulumi.Bool(true),
IsmHistoryMaxAgeHours: pulumi.Int(24),
IsmHistoryMaxDocs: pulumi.Int(2500000),
IsmHistoryRolloverCheckPeriodHours: pulumi.Int(8),
IsmHistoryRolloverRetentionPeriodDays: pulumi.Int(30),
HttpMaxContentLengthBytes: pulumi.Int(100000000),
HttpMaxHeaderSizeBytes: pulumi.Int(8192),
HttpMaxInitialLineLengthBytes: pulumi.Int(4096),
IndicesQueryBoolMaxClauseCount: pulumi.Int(1024),
SearchMaxBuckets: pulumi.Int(10000),
IndicesFielddataCacheSizePercentage: pulumi.Int(3),
IndicesMemoryIndexBufferSizePercentage: pulumi.Int(10),
IndicesMemoryMinIndexBufferSizeMb: pulumi.Int(48),
IndicesMemoryMaxIndexBufferSizeMb: pulumi.Int(3),
IndicesQueriesCacheSizePercentage: pulumi.Int(10),
IndicesRecoveryMaxMbPerSec: pulumi.Int(40),
IndicesRecoveryMaxConcurrentFileChunks: pulumi.Int(2),
ActionAutoCreateIndexEnabled: pulumi.Bool(true),
ActionDestructiveRequiresName: pulumi.Bool(false),
EnableSecurityAudit: pulumi.Bool(false),
ThreadPoolSearchSize: pulumi.Int(1),
ThreadPoolSearchThrottledSize: pulumi.Int(1),
ThreadPoolSearchThrottledQueueSize: pulumi.Int(10),
ThreadPoolSearchQueueSize: pulumi.Int(10),
ThreadPoolGetSize: pulumi.Int(1),
ThreadPoolGetQueueSize: pulumi.Int(10),
ThreadPoolAnalyzeSize: pulumi.Int(1),
ThreadPoolAnalyzeQueueSize: pulumi.Int(10),
ThreadPoolWriteSize: pulumi.Int(1),
ThreadPoolWriteQueueSize: pulumi.Int(10),
ThreadPoolForceMergeSize: pulumi.Int(1),
OverrideMainResponseVersion: pulumi.Bool(false),
ScriptMaxCompilationsRate: pulumi.String("use-context"),
ClusterMaxShardsPerNode: pulumi.Int(100),
ClusterRoutingAllocationNodeConcurrentRecoveries: pulumi.Int(2),
PluginsAlertingFilterByBackendRolesEnabled: pulumi.Bool(false),
ReindexRemoteWhitelists: pulumi.StringArray{
pulumi.String("cloud.digitalocean.com:8080"),
},
})
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.digitalocean.DatabaseCluster;
import com.pulumi.digitalocean.DatabaseClusterArgs;
import com.pulumi.digitalocean.DatabaseOpensearchConfig;
import com.pulumi.digitalocean.DatabaseOpensearchConfigArgs;
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) {
var exampleDatabaseCluster = new DatabaseCluster("exampleDatabaseCluster", DatabaseClusterArgs.builder()
.name("example-opensearch-cluster")
.engine("opensearch")
.version("2")
.size("db-s-1vcpu-2gb")
.region("nyc3")
.nodeCount(1)
.build());
var example = new DatabaseOpensearchConfig("example", DatabaseOpensearchConfigArgs.builder()
.clusterId(exampleDatabaseCluster.id())
.ismEnabled(true)
.ismHistoryEnabled(true)
.ismHistoryMaxAgeHours(24)
.ismHistoryMaxDocs(2500000)
.ismHistoryRolloverCheckPeriodHours(8)
.ismHistoryRolloverRetentionPeriodDays(30)
.httpMaxContentLengthBytes(100000000)
.httpMaxHeaderSizeBytes(8192)
.httpMaxInitialLineLengthBytes(4096)
.indicesQueryBoolMaxClauseCount(1024)
.searchMaxBuckets(10000)
.indicesFielddataCacheSizePercentage(3)
.indicesMemoryIndexBufferSizePercentage(10)
.indicesMemoryMinIndexBufferSizeMb(48)
.indicesMemoryMaxIndexBufferSizeMb(3)
.indicesQueriesCacheSizePercentage(10)
.indicesRecoveryMaxMbPerSec(40)
.indicesRecoveryMaxConcurrentFileChunks(2)
.actionAutoCreateIndexEnabled(true)
.actionDestructiveRequiresName(false)
.enableSecurityAudit(false)
.threadPoolSearchSize(1)
.threadPoolSearchThrottledSize(1)
.threadPoolSearchThrottledQueueSize(10)
.threadPoolSearchQueueSize(10)
.threadPoolGetSize(1)
.threadPoolGetQueueSize(10)
.threadPoolAnalyzeSize(1)
.threadPoolAnalyzeQueueSize(10)
.threadPoolWriteSize(1)
.threadPoolWriteQueueSize(10)
.threadPoolForceMergeSize(1)
.overrideMainResponseVersion(false)
.scriptMaxCompilationsRate("use-context")
.clusterMaxShardsPerNode(100)
.clusterRoutingAllocationNodeConcurrentRecoveries(2)
.pluginsAlertingFilterByBackendRolesEnabled(false)
.reindexRemoteWhitelists("cloud.digitalocean.com:8080")
.build());
}
}
resources:
example:
type: digitalocean:DatabaseOpensearchConfig
properties:
clusterId: ${exampleDatabaseCluster.id}
ismEnabled: true
ismHistoryEnabled: true
ismHistoryMaxAgeHours: 24
ismHistoryMaxDocs: 2.5e+06
ismHistoryRolloverCheckPeriodHours: 8
ismHistoryRolloverRetentionPeriodDays: 30
httpMaxContentLengthBytes: 1e+08
httpMaxHeaderSizeBytes: 8192
httpMaxInitialLineLengthBytes: 4096
indicesQueryBoolMaxClauseCount: 1024
searchMaxBuckets: 10000
indicesFielddataCacheSizePercentage: 3
indicesMemoryIndexBufferSizePercentage: 10
indicesMemoryMinIndexBufferSizeMb: 48
indicesMemoryMaxIndexBufferSizeMb: 3
indicesQueriesCacheSizePercentage: 10
indicesRecoveryMaxMbPerSec: 40
indicesRecoveryMaxConcurrentFileChunks: 2
actionAutoCreateIndexEnabled: true
actionDestructiveRequiresName: false
enableSecurityAudit: false
threadPoolSearchSize: 1
threadPoolSearchThrottledSize: 1
threadPoolSearchThrottledQueueSize: 10
threadPoolSearchQueueSize: 10
threadPoolGetSize: 1
threadPoolGetQueueSize: 10
threadPoolAnalyzeSize: 1
threadPoolAnalyzeQueueSize: 10
threadPoolWriteSize: 1
threadPoolWriteQueueSize: 10
threadPoolForceMergeSize: 1
overrideMainResponseVersion: false
scriptMaxCompilationsRate: use-context
clusterMaxShardsPerNode: 100
clusterRoutingAllocationNodeConcurrentRecoveries: 2
pluginsAlertingFilterByBackendRolesEnabled: false
reindexRemoteWhitelists:
- cloud.digitalocean.com:8080
exampleDatabaseCluster:
type: digitalocean:DatabaseCluster
name: example
properties:
name: example-opensearch-cluster
engine: opensearch
version: '2'
size: db-s-1vcpu-2gb
region: nyc3
nodeCount: 1

Import

A Opensearch database cluster's configuration can be imported using the id the parent cluster, e.g.

$ pulumi import digitalocean:index/databaseOpensearchConfig:DatabaseOpensearchConfig example 4b62829a-9c42-465b-aaa3-84051048e712

Constructors

Link copied to clipboard
constructor(actionAutoCreateIndexEnabled: Output<Boolean>? = null, actionDestructiveRequiresName: Output<Boolean>? = null, clusterId: Output<String>? = null, clusterMaxShardsPerNode: Output<Int>? = null, clusterRoutingAllocationNodeConcurrentRecoveries: Output<Int>? = null, enableSecurityAudit: Output<Boolean>? = null, httpMaxContentLengthBytes: Output<Int>? = null, httpMaxHeaderSizeBytes: Output<Int>? = null, httpMaxInitialLineLengthBytes: Output<Int>? = null, indicesFielddataCacheSizePercentage: Output<Int>? = null, indicesMemoryIndexBufferSizePercentage: Output<Int>? = null, indicesMemoryMaxIndexBufferSizeMb: Output<Int>? = null, indicesMemoryMinIndexBufferSizeMb: Output<Int>? = null, indicesQueriesCacheSizePercentage: Output<Int>? = null, indicesQueryBoolMaxClauseCount: Output<Int>? = null, indicesRecoveryMaxConcurrentFileChunks: Output<Int>? = null, indicesRecoveryMaxMbPerSec: Output<Int>? = null, ismEnabled: Output<Boolean>? = null, ismHistoryEnabled: Output<Boolean>? = null, ismHistoryMaxAgeHours: Output<Int>? = null, ismHistoryMaxDocs: Output<Int>? = null, ismHistoryRolloverCheckPeriodHours: Output<Int>? = null, ismHistoryRolloverRetentionPeriodDays: Output<Int>? = null, overrideMainResponseVersion: Output<Boolean>? = null, pluginsAlertingFilterByBackendRolesEnabled: Output<Boolean>? = null, reindexRemoteWhitelists: Output<List<String>>? = null, scriptMaxCompilationsRate: Output<String>? = null, searchMaxBuckets: Output<Int>? = null, threadPoolAnalyzeQueueSize: Output<Int>? = null, threadPoolAnalyzeSize: Output<Int>? = null, threadPoolForceMergeSize: Output<Int>? = null, threadPoolGetQueueSize: Output<Int>? = null, threadPoolGetSize: Output<Int>? = null, threadPoolSearchQueueSize: Output<Int>? = null, threadPoolSearchSize: Output<Int>? = null, threadPoolSearchThrottledQueueSize: Output<Int>? = null, threadPoolSearchThrottledSize: Output<Int>? = null, threadPoolWriteQueueSize: Output<Int>? = null, threadPoolWriteSize: Output<Int>? = null)

Properties

Link copied to clipboard

Specifices whether to allow automatic creation of indices. Default: true

Link copied to clipboard

Specifies whether to require explicit index names when deleting indices.

Link copied to clipboard
val clusterId: Output<String>? = null

The ID of the target Opensearch cluster.

Link copied to clipboard
val clusterMaxShardsPerNode: Output<Int>? = null

Maximum number of shards allowed per data node.

Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node. Default: 2

Link copied to clipboard
val enableSecurityAudit: Output<Boolean>? = null

Specifies whether to allow security audit logging. Default: false

Link copied to clipboard
val httpMaxContentLengthBytes: Output<Int>? = null

Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes. Default: 100000000

Link copied to clipboard
val httpMaxHeaderSizeBytes: Output<Int>? = null

Maximum size of allowed headers, in bytes. Default: 8192

Link copied to clipboard
val httpMaxInitialLineLengthBytes: Output<Int>? = null

Maximum length of an HTTP URL, in bytes. Default: 4096

Link copied to clipboard

Maximum amount of heap memory used for field data cache, expressed as a percentage. Decreasing the value too much will increase overhead of loading field data. Increasing the value too much will decrease amount of heap available for other operations.

Link copied to clipboard

Total amount of heap used for indexing buffer before writing segments to disk, expressed as a percentage. Too low value will slow down indexing; too high value will increase indexing performance but causes performance issues for query performance. Default: 10

Link copied to clipboard

Maximum amount of heap used for indexing buffer before writing segments to disk, in mb. Works in conjunction with indices_memory_index_buffer_size_percentage, each being enforced. The default is unbounded.

Link copied to clipboard

Minimum amount of heap used for indexing buffer before writing segments to disk, in mb. Works in conjunction with indices_memory_index_buffer_size_percentage, each being enforced. Default: 48

Link copied to clipboard

Maximum amount of heap used for query cache. Too low value will decrease query performance and increase performance for other operations; too high value will cause issues with other functionality. Default: 10

Link copied to clipboard
val indicesQueryBoolMaxClauseCount: Output<Int>? = null

Maximum number of clauses Lucene BooleanQuery can have. Only increase it if necessary, as it may cause performance issues. Default: 1024

Link copied to clipboard

Maximum number of file chunks sent in parallel for each recovery. Default: 2

Link copied to clipboard
val indicesRecoveryMaxMbPerSec: Output<Int>? = null

Limits total inbound and outbound recovery traffic for each node, expressed in mb per second. Applies to both peer recoveries as well as snapshot recoveries (i.e., restores from a snapshot). Default: 40

Link copied to clipboard
val ismEnabled: Output<Boolean>? = null

Specifies whether ISM is enabled or not. Default: true

Link copied to clipboard
val ismHistoryEnabled: Output<Boolean>? = null

Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document. Default: true

Link copied to clipboard
val ismHistoryMaxAgeHours: Output<Int>? = null

Maximum age before rolling over the audit history index, in hours. Default: 24

Link copied to clipboard
val ismHistoryMaxDocs: Output<Int>? = null

Maximum number of documents before rolling over the audit history index. Default: 2500000

Link copied to clipboard

The time between rollover checks for the audit history index, in hours. Default: 8

Link copied to clipboard

Length of time long audit history indices are kept, in days. Default: 30

Link copied to clipboard

Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default: false

Enable or disable filtering of alerting by backend roles. Default: false

Link copied to clipboard
val reindexRemoteWhitelists: Output<List<String>>? = null

Allowlist of remote IP addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.

Link copied to clipboard
val scriptMaxCompilationsRate: Output<String>? = null

Limits the number of inline script compilations within a period of time. Default is use-context

Link copied to clipboard
val searchMaxBuckets: Output<Int>? = null

Maximum number of aggregation buckets allowed in a single response. Default: 10000

Link copied to clipboard
val threadPoolAnalyzeQueueSize: Output<Int>? = null

Size of queue for operations in the analyze thread pool.

Link copied to clipboard
val threadPoolAnalyzeSize: Output<Int>? = null

Number of workers in the analyze operation thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.

Link copied to clipboard
val threadPoolForceMergeSize: Output<Int>? = null

Number of workers in the force merge operation thread pool. This pool is used for forcing a merge between shards of one or more indices. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.

Link copied to clipboard
val threadPoolGetQueueSize: Output<Int>? = null

Size of queue for operations in the get thread pool.

Link copied to clipboard
val threadPoolGetSize: Output<Int>? = null

Number of workers in the get operation thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.

Link copied to clipboard
val threadPoolSearchQueueSize: Output<Int>? = null

Size of queue for operations in the search thread pool.

Link copied to clipboard
val threadPoolSearchSize: Output<Int>? = null

Number of workers in the search operation thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.

Link copied to clipboard

Size of queue for operations in the search throttled thread pool.

Link copied to clipboard
val threadPoolSearchThrottledSize: Output<Int>? = null

Number of workers in the search throttled operation thread pool. This pool is used for searching frozen indices. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.

Link copied to clipboard
val threadPoolWriteQueueSize: Output<Int>? = null

Size of queue for operations in the write thread pool.

Link copied to clipboard
val threadPoolWriteSize: Output<Int>? = null

Number of workers in the write operation thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.

Functions

Link copied to clipboard
open override fun toJava(): DatabaseOpensearchConfigArgs