pulumi-digitalocean 4.27.0a1710332933__py3-none-any.whl → 4.39.0a1736849637__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-digitalocean might be problematic. Click here for more details.

Files changed (107) hide show
  1. pulumi_digitalocean/__init__.py +75 -0
  2. pulumi_digitalocean/_enums.py +131 -52
  3. pulumi_digitalocean/_inputs.py +5767 -399
  4. pulumi_digitalocean/_utilities.py +41 -5
  5. pulumi_digitalocean/app.py +199 -67
  6. pulumi_digitalocean/cdn.py +20 -23
  7. pulumi_digitalocean/certificate.py +45 -42
  8. pulumi_digitalocean/config/__init__.pyi +5 -0
  9. pulumi_digitalocean/config/vars.py +5 -0
  10. pulumi_digitalocean/container_registry.py +11 -6
  11. pulumi_digitalocean/container_registry_docker_credentials.py +53 -12
  12. pulumi_digitalocean/custom_image.py +13 -8
  13. pulumi_digitalocean/database_cluster.py +298 -120
  14. pulumi_digitalocean/database_connection_pool.py +15 -10
  15. pulumi_digitalocean/database_db.py +19 -12
  16. pulumi_digitalocean/database_firewall.py +78 -75
  17. pulumi_digitalocean/database_kafka_config.py +1040 -0
  18. pulumi_digitalocean/database_kafka_topic.py +66 -61
  19. pulumi_digitalocean/database_mongodb_config.py +452 -0
  20. pulumi_digitalocean/database_mysql_config.py +15 -12
  21. pulumi_digitalocean/database_opensearch_config.py +2069 -0
  22. pulumi_digitalocean/database_postgresql_config.py +2614 -0
  23. pulumi_digitalocean/database_redis_config.py +29 -12
  24. pulumi_digitalocean/database_replica.py +29 -24
  25. pulumi_digitalocean/database_user.py +90 -75
  26. pulumi_digitalocean/dns_record.py +13 -8
  27. pulumi_digitalocean/domain.py +7 -6
  28. pulumi_digitalocean/droplet.py +89 -31
  29. pulumi_digitalocean/droplet_autoscale.py +474 -0
  30. pulumi_digitalocean/droplet_snapshot.py +23 -14
  31. pulumi_digitalocean/firewall.py +118 -106
  32. pulumi_digitalocean/floating_ip.py +19 -16
  33. pulumi_digitalocean/floating_ip_assignment.py +19 -16
  34. pulumi_digitalocean/get_account.py +18 -9
  35. pulumi_digitalocean/get_app.py +57 -10
  36. pulumi_digitalocean/get_certificate.py +19 -9
  37. pulumi_digitalocean/get_container_registry.py +19 -9
  38. pulumi_digitalocean/get_database_ca.py +14 -9
  39. pulumi_digitalocean/get_database_cluster.py +119 -11
  40. pulumi_digitalocean/get_database_connection_pool.py +25 -9
  41. pulumi_digitalocean/get_database_replica.py +29 -9
  42. pulumi_digitalocean/get_database_user.py +21 -9
  43. pulumi_digitalocean/get_domain.py +16 -9
  44. pulumi_digitalocean/get_domains.py +34 -27
  45. pulumi_digitalocean/get_droplet.py +66 -23
  46. pulumi_digitalocean/get_droplet_autoscale.py +197 -0
  47. pulumi_digitalocean/get_droplet_snapshot.py +36 -23
  48. pulumi_digitalocean/get_droplets.py +80 -54
  49. pulumi_digitalocean/get_firewall.py +29 -13
  50. pulumi_digitalocean/get_floating_ip.py +16 -9
  51. pulumi_digitalocean/get_image.py +42 -27
  52. pulumi_digitalocean/get_images.py +56 -53
  53. pulumi_digitalocean/get_kubernetes_cluster.py +53 -6
  54. pulumi_digitalocean/get_kubernetes_versions.py +43 -41
  55. pulumi_digitalocean/get_load_balancer.py +81 -17
  56. pulumi_digitalocean/get_project.py +23 -9
  57. pulumi_digitalocean/get_projects.py +56 -53
  58. pulumi_digitalocean/get_record.py +23 -9
  59. pulumi_digitalocean/get_records.py +62 -13
  60. pulumi_digitalocean/get_region.py +17 -9
  61. pulumi_digitalocean/get_regions.py +56 -53
  62. pulumi_digitalocean/get_reserved_ip.py +16 -9
  63. pulumi_digitalocean/get_reserved_ipv6.py +118 -0
  64. pulumi_digitalocean/get_sizes.py +24 -13
  65. pulumi_digitalocean/get_spaces_bucket.py +18 -9
  66. pulumi_digitalocean/get_spaces_bucket_object.py +41 -14
  67. pulumi_digitalocean/get_spaces_bucket_objects.py +26 -5
  68. pulumi_digitalocean/get_spaces_buckets.py +48 -45
  69. pulumi_digitalocean/get_ssh_key.py +27 -19
  70. pulumi_digitalocean/get_ssh_keys.py +40 -37
  71. pulumi_digitalocean/get_tag.py +31 -19
  72. pulumi_digitalocean/get_tags.py +32 -25
  73. pulumi_digitalocean/get_volume.py +35 -23
  74. pulumi_digitalocean/get_volume_snapshot.py +35 -21
  75. pulumi_digitalocean/get_vpc.py +33 -23
  76. pulumi_digitalocean/get_vpc_peering.py +244 -0
  77. pulumi_digitalocean/kubernetes_cluster.py +86 -35
  78. pulumi_digitalocean/kubernetes_node_pool.py +46 -43
  79. pulumi_digitalocean/load_balancer.py +320 -157
  80. pulumi_digitalocean/monitor_alert.py +17 -12
  81. pulumi_digitalocean/outputs.py +3419 -344
  82. pulumi_digitalocean/project.py +19 -16
  83. pulumi_digitalocean/project_resources.py +11 -8
  84. pulumi_digitalocean/provider.py +5 -0
  85. pulumi_digitalocean/pulumi-plugin.json +2 -1
  86. pulumi_digitalocean/reserved_ip.py +19 -16
  87. pulumi_digitalocean/reserved_ip_assignment.py +19 -16
  88. pulumi_digitalocean/reserved_ipv6.py +232 -0
  89. pulumi_digitalocean/reserved_ipv6_assignment.py +171 -0
  90. pulumi_digitalocean/spaces_bucket.py +70 -79
  91. pulumi_digitalocean/spaces_bucket_cors_configuration.py +30 -25
  92. pulumi_digitalocean/spaces_bucket_object.py +11 -12
  93. pulumi_digitalocean/spaces_bucket_policy.py +21 -16
  94. pulumi_digitalocean/ssh_key.py +19 -10
  95. pulumi_digitalocean/tag.py +13 -10
  96. pulumi_digitalocean/uptime_alert.py +10 -5
  97. pulumi_digitalocean/uptime_check.py +5 -0
  98. pulumi_digitalocean/volume.py +47 -50
  99. pulumi_digitalocean/volume_attachment.py +25 -20
  100. pulumi_digitalocean/volume_snapshot.py +17 -10
  101. pulumi_digitalocean/vpc.py +27 -22
  102. pulumi_digitalocean/vpc_peering.py +378 -0
  103. {pulumi_digitalocean-4.27.0a1710332933.dist-info → pulumi_digitalocean-4.39.0a1736849637.dist-info}/METADATA +7 -6
  104. pulumi_digitalocean-4.39.0a1736849637.dist-info/RECORD +108 -0
  105. {pulumi_digitalocean-4.27.0a1710332933.dist-info → pulumi_digitalocean-4.39.0a1736849637.dist-info}/WHEEL +1 -1
  106. pulumi_digitalocean-4.27.0a1710332933.dist-info/RECORD +0 -97
  107. {pulumi_digitalocean-4.27.0a1710332933.dist-info → pulumi_digitalocean-4.39.0a1736849637.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2069 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = ['DatabaseOpensearchConfigArgs', 'DatabaseOpensearchConfig']
18
+
19
+ @pulumi.input_type
20
+ class DatabaseOpensearchConfigArgs:
21
+ def __init__(__self__, *,
22
+ cluster_id: pulumi.Input[str],
23
+ action_auto_create_index_enabled: Optional[pulumi.Input[bool]] = None,
24
+ action_destructive_requires_name: Optional[pulumi.Input[bool]] = None,
25
+ cluster_max_shards_per_node: Optional[pulumi.Input[int]] = None,
26
+ cluster_routing_allocation_node_concurrent_recoveries: Optional[pulumi.Input[int]] = None,
27
+ enable_security_audit: Optional[pulumi.Input[bool]] = None,
28
+ http_max_content_length_bytes: Optional[pulumi.Input[int]] = None,
29
+ http_max_header_size_bytes: Optional[pulumi.Input[int]] = None,
30
+ http_max_initial_line_length_bytes: Optional[pulumi.Input[int]] = None,
31
+ indices_fielddata_cache_size_percentage: Optional[pulumi.Input[int]] = None,
32
+ indices_memory_index_buffer_size_percentage: Optional[pulumi.Input[int]] = None,
33
+ indices_memory_max_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
34
+ indices_memory_min_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
35
+ indices_queries_cache_size_percentage: Optional[pulumi.Input[int]] = None,
36
+ indices_query_bool_max_clause_count: Optional[pulumi.Input[int]] = None,
37
+ indices_recovery_max_concurrent_file_chunks: Optional[pulumi.Input[int]] = None,
38
+ indices_recovery_max_mb_per_sec: Optional[pulumi.Input[int]] = None,
39
+ ism_enabled: Optional[pulumi.Input[bool]] = None,
40
+ ism_history_enabled: Optional[pulumi.Input[bool]] = None,
41
+ ism_history_max_age_hours: Optional[pulumi.Input[int]] = None,
42
+ ism_history_max_docs: Optional[pulumi.Input[int]] = None,
43
+ ism_history_rollover_check_period_hours: Optional[pulumi.Input[int]] = None,
44
+ ism_history_rollover_retention_period_days: Optional[pulumi.Input[int]] = None,
45
+ override_main_response_version: Optional[pulumi.Input[bool]] = None,
46
+ plugins_alerting_filter_by_backend_roles_enabled: Optional[pulumi.Input[bool]] = None,
47
+ reindex_remote_whitelists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
48
+ script_max_compilations_rate: Optional[pulumi.Input[str]] = None,
49
+ search_max_buckets: Optional[pulumi.Input[int]] = None,
50
+ thread_pool_analyze_queue_size: Optional[pulumi.Input[int]] = None,
51
+ thread_pool_analyze_size: Optional[pulumi.Input[int]] = None,
52
+ thread_pool_force_merge_size: Optional[pulumi.Input[int]] = None,
53
+ thread_pool_get_queue_size: Optional[pulumi.Input[int]] = None,
54
+ thread_pool_get_size: Optional[pulumi.Input[int]] = None,
55
+ thread_pool_search_queue_size: Optional[pulumi.Input[int]] = None,
56
+ thread_pool_search_size: Optional[pulumi.Input[int]] = None,
57
+ thread_pool_search_throttled_queue_size: Optional[pulumi.Input[int]] = None,
58
+ thread_pool_search_throttled_size: Optional[pulumi.Input[int]] = None,
59
+ thread_pool_write_queue_size: Optional[pulumi.Input[int]] = None,
60
+ thread_pool_write_size: Optional[pulumi.Input[int]] = None):
61
+ """
62
+ The set of arguments for constructing a DatabaseOpensearchConfig resource.
63
+ :param pulumi.Input[str] cluster_id: The ID of the target Opensearch cluster.
64
+ :param pulumi.Input[bool] action_auto_create_index_enabled: Specifices whether to allow automatic creation of indices. Default: `true`
65
+ :param pulumi.Input[bool] action_destructive_requires_name: Specifies whether to require explicit index names when deleting indices.
66
+ :param pulumi.Input[int] cluster_max_shards_per_node: Maximum number of shards allowed per data node.
67
+ :param pulumi.Input[int] cluster_routing_allocation_node_concurrent_recoveries: Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node. Default: `2`
68
+ :param pulumi.Input[bool] enable_security_audit: Specifies whether to allow security audit logging. Default: `false`
69
+ :param pulumi.Input[int] http_max_content_length_bytes: Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes. Default: `100000000`
70
+ :param pulumi.Input[int] http_max_header_size_bytes: Maximum size of allowed headers, in bytes. Default: `8192`
71
+ :param pulumi.Input[int] http_max_initial_line_length_bytes: Maximum length of an HTTP URL, in bytes. Default: `4096`
72
+ :param pulumi.Input[int] indices_fielddata_cache_size_percentage: 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.
73
+ :param pulumi.Input[int] indices_memory_index_buffer_size_percentage: 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`
74
+ :param pulumi.Input[int] indices_memory_max_index_buffer_size_mb: 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.
75
+ :param pulumi.Input[int] indices_memory_min_index_buffer_size_mb: 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`
76
+ :param pulumi.Input[int] indices_queries_cache_size_percentage: 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`
77
+ :param pulumi.Input[int] indices_query_bool_max_clause_count: Maximum number of clauses Lucene BooleanQuery can have. Only increase it if necessary, as it may cause performance issues. Default: `1024`
78
+ :param pulumi.Input[int] indices_recovery_max_concurrent_file_chunks: Maximum number of file chunks sent in parallel for each recovery. Default: `2`
79
+ :param pulumi.Input[int] indices_recovery_max_mb_per_sec: 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`
80
+ :param pulumi.Input[bool] ism_enabled: Specifies whether ISM is enabled or not. Default: `true`
81
+ :param pulumi.Input[bool] ism_history_enabled: Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document. Default: `true`
82
+ :param pulumi.Input[int] ism_history_max_age_hours: Maximum age before rolling over the audit history index, in hours. Default: `24`
83
+ :param pulumi.Input[int] ism_history_max_docs: Maximum number of documents before rolling over the audit history index. Default: `2500000`
84
+ :param pulumi.Input[int] ism_history_rollover_check_period_hours: The time between rollover checks for the audit history index, in hours. Default: `8`
85
+ :param pulumi.Input[int] ism_history_rollover_retention_period_days: Length of time long audit history indices are kept, in days. Default: `30`
86
+ :param pulumi.Input[bool] override_main_response_version: Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default: `false`
87
+ :param pulumi.Input[bool] plugins_alerting_filter_by_backend_roles_enabled: Enable or disable filtering of alerting by backend roles. Default: `false`
88
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] reindex_remote_whitelists: Allowlist of remote IP addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
89
+ :param pulumi.Input[str] script_max_compilations_rate: Limits the number of inline script compilations within a period of time. Default is `use-context`
90
+ :param pulumi.Input[int] search_max_buckets: Maximum number of aggregation buckets allowed in a single response. Default: `10000`
91
+ :param pulumi.Input[int] thread_pool_analyze_queue_size: Size of queue for operations in the analyze thread pool.
92
+ :param pulumi.Input[int] thread_pool_analyze_size: 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.
93
+ :param pulumi.Input[int] thread_pool_force_merge_size: 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.
94
+ :param pulumi.Input[int] thread_pool_get_queue_size: Size of queue for operations in the get thread pool.
95
+ :param pulumi.Input[int] thread_pool_get_size: 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.
96
+ :param pulumi.Input[int] thread_pool_search_queue_size: Size of queue for operations in the search thread pool.
97
+ :param pulumi.Input[int] thread_pool_search_size: 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.
98
+ :param pulumi.Input[int] thread_pool_search_throttled_queue_size: Size of queue for operations in the search throttled thread pool.
99
+ :param pulumi.Input[int] thread_pool_search_throttled_size: 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.
100
+ :param pulumi.Input[int] thread_pool_write_queue_size: Size of queue for operations in the write thread pool.
101
+ :param pulumi.Input[int] thread_pool_write_size: 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.
102
+ """
103
+ pulumi.set(__self__, "cluster_id", cluster_id)
104
+ if action_auto_create_index_enabled is not None:
105
+ pulumi.set(__self__, "action_auto_create_index_enabled", action_auto_create_index_enabled)
106
+ if action_destructive_requires_name is not None:
107
+ pulumi.set(__self__, "action_destructive_requires_name", action_destructive_requires_name)
108
+ if cluster_max_shards_per_node is not None:
109
+ pulumi.set(__self__, "cluster_max_shards_per_node", cluster_max_shards_per_node)
110
+ if cluster_routing_allocation_node_concurrent_recoveries is not None:
111
+ pulumi.set(__self__, "cluster_routing_allocation_node_concurrent_recoveries", cluster_routing_allocation_node_concurrent_recoveries)
112
+ if enable_security_audit is not None:
113
+ pulumi.set(__self__, "enable_security_audit", enable_security_audit)
114
+ if http_max_content_length_bytes is not None:
115
+ pulumi.set(__self__, "http_max_content_length_bytes", http_max_content_length_bytes)
116
+ if http_max_header_size_bytes is not None:
117
+ pulumi.set(__self__, "http_max_header_size_bytes", http_max_header_size_bytes)
118
+ if http_max_initial_line_length_bytes is not None:
119
+ pulumi.set(__self__, "http_max_initial_line_length_bytes", http_max_initial_line_length_bytes)
120
+ if indices_fielddata_cache_size_percentage is not None:
121
+ pulumi.set(__self__, "indices_fielddata_cache_size_percentage", indices_fielddata_cache_size_percentage)
122
+ if indices_memory_index_buffer_size_percentage is not None:
123
+ pulumi.set(__self__, "indices_memory_index_buffer_size_percentage", indices_memory_index_buffer_size_percentage)
124
+ if indices_memory_max_index_buffer_size_mb is not None:
125
+ pulumi.set(__self__, "indices_memory_max_index_buffer_size_mb", indices_memory_max_index_buffer_size_mb)
126
+ if indices_memory_min_index_buffer_size_mb is not None:
127
+ pulumi.set(__self__, "indices_memory_min_index_buffer_size_mb", indices_memory_min_index_buffer_size_mb)
128
+ if indices_queries_cache_size_percentage is not None:
129
+ pulumi.set(__self__, "indices_queries_cache_size_percentage", indices_queries_cache_size_percentage)
130
+ if indices_query_bool_max_clause_count is not None:
131
+ pulumi.set(__self__, "indices_query_bool_max_clause_count", indices_query_bool_max_clause_count)
132
+ if indices_recovery_max_concurrent_file_chunks is not None:
133
+ pulumi.set(__self__, "indices_recovery_max_concurrent_file_chunks", indices_recovery_max_concurrent_file_chunks)
134
+ if indices_recovery_max_mb_per_sec is not None:
135
+ pulumi.set(__self__, "indices_recovery_max_mb_per_sec", indices_recovery_max_mb_per_sec)
136
+ if ism_enabled is not None:
137
+ pulumi.set(__self__, "ism_enabled", ism_enabled)
138
+ if ism_history_enabled is not None:
139
+ pulumi.set(__self__, "ism_history_enabled", ism_history_enabled)
140
+ if ism_history_max_age_hours is not None:
141
+ pulumi.set(__self__, "ism_history_max_age_hours", ism_history_max_age_hours)
142
+ if ism_history_max_docs is not None:
143
+ pulumi.set(__self__, "ism_history_max_docs", ism_history_max_docs)
144
+ if ism_history_rollover_check_period_hours is not None:
145
+ pulumi.set(__self__, "ism_history_rollover_check_period_hours", ism_history_rollover_check_period_hours)
146
+ if ism_history_rollover_retention_period_days is not None:
147
+ pulumi.set(__self__, "ism_history_rollover_retention_period_days", ism_history_rollover_retention_period_days)
148
+ if override_main_response_version is not None:
149
+ pulumi.set(__self__, "override_main_response_version", override_main_response_version)
150
+ if plugins_alerting_filter_by_backend_roles_enabled is not None:
151
+ pulumi.set(__self__, "plugins_alerting_filter_by_backend_roles_enabled", plugins_alerting_filter_by_backend_roles_enabled)
152
+ if reindex_remote_whitelists is not None:
153
+ pulumi.set(__self__, "reindex_remote_whitelists", reindex_remote_whitelists)
154
+ if script_max_compilations_rate is not None:
155
+ pulumi.set(__self__, "script_max_compilations_rate", script_max_compilations_rate)
156
+ if search_max_buckets is not None:
157
+ pulumi.set(__self__, "search_max_buckets", search_max_buckets)
158
+ if thread_pool_analyze_queue_size is not None:
159
+ pulumi.set(__self__, "thread_pool_analyze_queue_size", thread_pool_analyze_queue_size)
160
+ if thread_pool_analyze_size is not None:
161
+ pulumi.set(__self__, "thread_pool_analyze_size", thread_pool_analyze_size)
162
+ if thread_pool_force_merge_size is not None:
163
+ pulumi.set(__self__, "thread_pool_force_merge_size", thread_pool_force_merge_size)
164
+ if thread_pool_get_queue_size is not None:
165
+ pulumi.set(__self__, "thread_pool_get_queue_size", thread_pool_get_queue_size)
166
+ if thread_pool_get_size is not None:
167
+ pulumi.set(__self__, "thread_pool_get_size", thread_pool_get_size)
168
+ if thread_pool_search_queue_size is not None:
169
+ pulumi.set(__self__, "thread_pool_search_queue_size", thread_pool_search_queue_size)
170
+ if thread_pool_search_size is not None:
171
+ pulumi.set(__self__, "thread_pool_search_size", thread_pool_search_size)
172
+ if thread_pool_search_throttled_queue_size is not None:
173
+ pulumi.set(__self__, "thread_pool_search_throttled_queue_size", thread_pool_search_throttled_queue_size)
174
+ if thread_pool_search_throttled_size is not None:
175
+ pulumi.set(__self__, "thread_pool_search_throttled_size", thread_pool_search_throttled_size)
176
+ if thread_pool_write_queue_size is not None:
177
+ pulumi.set(__self__, "thread_pool_write_queue_size", thread_pool_write_queue_size)
178
+ if thread_pool_write_size is not None:
179
+ pulumi.set(__self__, "thread_pool_write_size", thread_pool_write_size)
180
+
181
+ @property
182
+ @pulumi.getter(name="clusterId")
183
+ def cluster_id(self) -> pulumi.Input[str]:
184
+ """
185
+ The ID of the target Opensearch cluster.
186
+ """
187
+ return pulumi.get(self, "cluster_id")
188
+
189
+ @cluster_id.setter
190
+ def cluster_id(self, value: pulumi.Input[str]):
191
+ pulumi.set(self, "cluster_id", value)
192
+
193
+ @property
194
+ @pulumi.getter(name="actionAutoCreateIndexEnabled")
195
+ def action_auto_create_index_enabled(self) -> Optional[pulumi.Input[bool]]:
196
+ """
197
+ Specifices whether to allow automatic creation of indices. Default: `true`
198
+ """
199
+ return pulumi.get(self, "action_auto_create_index_enabled")
200
+
201
+ @action_auto_create_index_enabled.setter
202
+ def action_auto_create_index_enabled(self, value: Optional[pulumi.Input[bool]]):
203
+ pulumi.set(self, "action_auto_create_index_enabled", value)
204
+
205
+ @property
206
+ @pulumi.getter(name="actionDestructiveRequiresName")
207
+ def action_destructive_requires_name(self) -> Optional[pulumi.Input[bool]]:
208
+ """
209
+ Specifies whether to require explicit index names when deleting indices.
210
+ """
211
+ return pulumi.get(self, "action_destructive_requires_name")
212
+
213
+ @action_destructive_requires_name.setter
214
+ def action_destructive_requires_name(self, value: Optional[pulumi.Input[bool]]):
215
+ pulumi.set(self, "action_destructive_requires_name", value)
216
+
217
+ @property
218
+ @pulumi.getter(name="clusterMaxShardsPerNode")
219
+ def cluster_max_shards_per_node(self) -> Optional[pulumi.Input[int]]:
220
+ """
221
+ Maximum number of shards allowed per data node.
222
+ """
223
+ return pulumi.get(self, "cluster_max_shards_per_node")
224
+
225
+ @cluster_max_shards_per_node.setter
226
+ def cluster_max_shards_per_node(self, value: Optional[pulumi.Input[int]]):
227
+ pulumi.set(self, "cluster_max_shards_per_node", value)
228
+
229
+ @property
230
+ @pulumi.getter(name="clusterRoutingAllocationNodeConcurrentRecoveries")
231
+ def cluster_routing_allocation_node_concurrent_recoveries(self) -> Optional[pulumi.Input[int]]:
232
+ """
233
+ Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node. Default: `2`
234
+ """
235
+ return pulumi.get(self, "cluster_routing_allocation_node_concurrent_recoveries")
236
+
237
+ @cluster_routing_allocation_node_concurrent_recoveries.setter
238
+ def cluster_routing_allocation_node_concurrent_recoveries(self, value: Optional[pulumi.Input[int]]):
239
+ pulumi.set(self, "cluster_routing_allocation_node_concurrent_recoveries", value)
240
+
241
+ @property
242
+ @pulumi.getter(name="enableSecurityAudit")
243
+ def enable_security_audit(self) -> Optional[pulumi.Input[bool]]:
244
+ """
245
+ Specifies whether to allow security audit logging. Default: `false`
246
+ """
247
+ return pulumi.get(self, "enable_security_audit")
248
+
249
+ @enable_security_audit.setter
250
+ def enable_security_audit(self, value: Optional[pulumi.Input[bool]]):
251
+ pulumi.set(self, "enable_security_audit", value)
252
+
253
+ @property
254
+ @pulumi.getter(name="httpMaxContentLengthBytes")
255
+ def http_max_content_length_bytes(self) -> Optional[pulumi.Input[int]]:
256
+ """
257
+ Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes. Default: `100000000`
258
+ """
259
+ return pulumi.get(self, "http_max_content_length_bytes")
260
+
261
+ @http_max_content_length_bytes.setter
262
+ def http_max_content_length_bytes(self, value: Optional[pulumi.Input[int]]):
263
+ pulumi.set(self, "http_max_content_length_bytes", value)
264
+
265
+ @property
266
+ @pulumi.getter(name="httpMaxHeaderSizeBytes")
267
+ def http_max_header_size_bytes(self) -> Optional[pulumi.Input[int]]:
268
+ """
269
+ Maximum size of allowed headers, in bytes. Default: `8192`
270
+ """
271
+ return pulumi.get(self, "http_max_header_size_bytes")
272
+
273
+ @http_max_header_size_bytes.setter
274
+ def http_max_header_size_bytes(self, value: Optional[pulumi.Input[int]]):
275
+ pulumi.set(self, "http_max_header_size_bytes", value)
276
+
277
+ @property
278
+ @pulumi.getter(name="httpMaxInitialLineLengthBytes")
279
+ def http_max_initial_line_length_bytes(self) -> Optional[pulumi.Input[int]]:
280
+ """
281
+ Maximum length of an HTTP URL, in bytes. Default: `4096`
282
+ """
283
+ return pulumi.get(self, "http_max_initial_line_length_bytes")
284
+
285
+ @http_max_initial_line_length_bytes.setter
286
+ def http_max_initial_line_length_bytes(self, value: Optional[pulumi.Input[int]]):
287
+ pulumi.set(self, "http_max_initial_line_length_bytes", value)
288
+
289
+ @property
290
+ @pulumi.getter(name="indicesFielddataCacheSizePercentage")
291
+ def indices_fielddata_cache_size_percentage(self) -> Optional[pulumi.Input[int]]:
292
+ """
293
+ 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.
294
+ """
295
+ return pulumi.get(self, "indices_fielddata_cache_size_percentage")
296
+
297
+ @indices_fielddata_cache_size_percentage.setter
298
+ def indices_fielddata_cache_size_percentage(self, value: Optional[pulumi.Input[int]]):
299
+ pulumi.set(self, "indices_fielddata_cache_size_percentage", value)
300
+
301
+ @property
302
+ @pulumi.getter(name="indicesMemoryIndexBufferSizePercentage")
303
+ def indices_memory_index_buffer_size_percentage(self) -> Optional[pulumi.Input[int]]:
304
+ """
305
+ 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`
306
+ """
307
+ return pulumi.get(self, "indices_memory_index_buffer_size_percentage")
308
+
309
+ @indices_memory_index_buffer_size_percentage.setter
310
+ def indices_memory_index_buffer_size_percentage(self, value: Optional[pulumi.Input[int]]):
311
+ pulumi.set(self, "indices_memory_index_buffer_size_percentage", value)
312
+
313
+ @property
314
+ @pulumi.getter(name="indicesMemoryMaxIndexBufferSizeMb")
315
+ def indices_memory_max_index_buffer_size_mb(self) -> Optional[pulumi.Input[int]]:
316
+ """
317
+ 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.
318
+ """
319
+ return pulumi.get(self, "indices_memory_max_index_buffer_size_mb")
320
+
321
+ @indices_memory_max_index_buffer_size_mb.setter
322
+ def indices_memory_max_index_buffer_size_mb(self, value: Optional[pulumi.Input[int]]):
323
+ pulumi.set(self, "indices_memory_max_index_buffer_size_mb", value)
324
+
325
+ @property
326
+ @pulumi.getter(name="indicesMemoryMinIndexBufferSizeMb")
327
+ def indices_memory_min_index_buffer_size_mb(self) -> Optional[pulumi.Input[int]]:
328
+ """
329
+ 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`
330
+ """
331
+ return pulumi.get(self, "indices_memory_min_index_buffer_size_mb")
332
+
333
+ @indices_memory_min_index_buffer_size_mb.setter
334
+ def indices_memory_min_index_buffer_size_mb(self, value: Optional[pulumi.Input[int]]):
335
+ pulumi.set(self, "indices_memory_min_index_buffer_size_mb", value)
336
+
337
+ @property
338
+ @pulumi.getter(name="indicesQueriesCacheSizePercentage")
339
+ def indices_queries_cache_size_percentage(self) -> Optional[pulumi.Input[int]]:
340
+ """
341
+ 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`
342
+ """
343
+ return pulumi.get(self, "indices_queries_cache_size_percentage")
344
+
345
+ @indices_queries_cache_size_percentage.setter
346
+ def indices_queries_cache_size_percentage(self, value: Optional[pulumi.Input[int]]):
347
+ pulumi.set(self, "indices_queries_cache_size_percentage", value)
348
+
349
+ @property
350
+ @pulumi.getter(name="indicesQueryBoolMaxClauseCount")
351
+ def indices_query_bool_max_clause_count(self) -> Optional[pulumi.Input[int]]:
352
+ """
353
+ Maximum number of clauses Lucene BooleanQuery can have. Only increase it if necessary, as it may cause performance issues. Default: `1024`
354
+ """
355
+ return pulumi.get(self, "indices_query_bool_max_clause_count")
356
+
357
+ @indices_query_bool_max_clause_count.setter
358
+ def indices_query_bool_max_clause_count(self, value: Optional[pulumi.Input[int]]):
359
+ pulumi.set(self, "indices_query_bool_max_clause_count", value)
360
+
361
+ @property
362
+ @pulumi.getter(name="indicesRecoveryMaxConcurrentFileChunks")
363
+ def indices_recovery_max_concurrent_file_chunks(self) -> Optional[pulumi.Input[int]]:
364
+ """
365
+ Maximum number of file chunks sent in parallel for each recovery. Default: `2`
366
+ """
367
+ return pulumi.get(self, "indices_recovery_max_concurrent_file_chunks")
368
+
369
+ @indices_recovery_max_concurrent_file_chunks.setter
370
+ def indices_recovery_max_concurrent_file_chunks(self, value: Optional[pulumi.Input[int]]):
371
+ pulumi.set(self, "indices_recovery_max_concurrent_file_chunks", value)
372
+
373
+ @property
374
+ @pulumi.getter(name="indicesRecoveryMaxMbPerSec")
375
+ def indices_recovery_max_mb_per_sec(self) -> Optional[pulumi.Input[int]]:
376
+ """
377
+ 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`
378
+ """
379
+ return pulumi.get(self, "indices_recovery_max_mb_per_sec")
380
+
381
+ @indices_recovery_max_mb_per_sec.setter
382
+ def indices_recovery_max_mb_per_sec(self, value: Optional[pulumi.Input[int]]):
383
+ pulumi.set(self, "indices_recovery_max_mb_per_sec", value)
384
+
385
+ @property
386
+ @pulumi.getter(name="ismEnabled")
387
+ def ism_enabled(self) -> Optional[pulumi.Input[bool]]:
388
+ """
389
+ Specifies whether ISM is enabled or not. Default: `true`
390
+ """
391
+ return pulumi.get(self, "ism_enabled")
392
+
393
+ @ism_enabled.setter
394
+ def ism_enabled(self, value: Optional[pulumi.Input[bool]]):
395
+ pulumi.set(self, "ism_enabled", value)
396
+
397
+ @property
398
+ @pulumi.getter(name="ismHistoryEnabled")
399
+ def ism_history_enabled(self) -> Optional[pulumi.Input[bool]]:
400
+ """
401
+ Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document. Default: `true`
402
+ """
403
+ return pulumi.get(self, "ism_history_enabled")
404
+
405
+ @ism_history_enabled.setter
406
+ def ism_history_enabled(self, value: Optional[pulumi.Input[bool]]):
407
+ pulumi.set(self, "ism_history_enabled", value)
408
+
409
+ @property
410
+ @pulumi.getter(name="ismHistoryMaxAgeHours")
411
+ def ism_history_max_age_hours(self) -> Optional[pulumi.Input[int]]:
412
+ """
413
+ Maximum age before rolling over the audit history index, in hours. Default: `24`
414
+ """
415
+ return pulumi.get(self, "ism_history_max_age_hours")
416
+
417
+ @ism_history_max_age_hours.setter
418
+ def ism_history_max_age_hours(self, value: Optional[pulumi.Input[int]]):
419
+ pulumi.set(self, "ism_history_max_age_hours", value)
420
+
421
+ @property
422
+ @pulumi.getter(name="ismHistoryMaxDocs")
423
+ def ism_history_max_docs(self) -> Optional[pulumi.Input[int]]:
424
+ """
425
+ Maximum number of documents before rolling over the audit history index. Default: `2500000`
426
+ """
427
+ return pulumi.get(self, "ism_history_max_docs")
428
+
429
+ @ism_history_max_docs.setter
430
+ def ism_history_max_docs(self, value: Optional[pulumi.Input[int]]):
431
+ pulumi.set(self, "ism_history_max_docs", value)
432
+
433
+ @property
434
+ @pulumi.getter(name="ismHistoryRolloverCheckPeriodHours")
435
+ def ism_history_rollover_check_period_hours(self) -> Optional[pulumi.Input[int]]:
436
+ """
437
+ The time between rollover checks for the audit history index, in hours. Default: `8`
438
+ """
439
+ return pulumi.get(self, "ism_history_rollover_check_period_hours")
440
+
441
+ @ism_history_rollover_check_period_hours.setter
442
+ def ism_history_rollover_check_period_hours(self, value: Optional[pulumi.Input[int]]):
443
+ pulumi.set(self, "ism_history_rollover_check_period_hours", value)
444
+
445
+ @property
446
+ @pulumi.getter(name="ismHistoryRolloverRetentionPeriodDays")
447
+ def ism_history_rollover_retention_period_days(self) -> Optional[pulumi.Input[int]]:
448
+ """
449
+ Length of time long audit history indices are kept, in days. Default: `30`
450
+ """
451
+ return pulumi.get(self, "ism_history_rollover_retention_period_days")
452
+
453
+ @ism_history_rollover_retention_period_days.setter
454
+ def ism_history_rollover_retention_period_days(self, value: Optional[pulumi.Input[int]]):
455
+ pulumi.set(self, "ism_history_rollover_retention_period_days", value)
456
+
457
+ @property
458
+ @pulumi.getter(name="overrideMainResponseVersion")
459
+ def override_main_response_version(self) -> Optional[pulumi.Input[bool]]:
460
+ """
461
+ Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default: `false`
462
+ """
463
+ return pulumi.get(self, "override_main_response_version")
464
+
465
+ @override_main_response_version.setter
466
+ def override_main_response_version(self, value: Optional[pulumi.Input[bool]]):
467
+ pulumi.set(self, "override_main_response_version", value)
468
+
469
+ @property
470
+ @pulumi.getter(name="pluginsAlertingFilterByBackendRolesEnabled")
471
+ def plugins_alerting_filter_by_backend_roles_enabled(self) -> Optional[pulumi.Input[bool]]:
472
+ """
473
+ Enable or disable filtering of alerting by backend roles. Default: `false`
474
+ """
475
+ return pulumi.get(self, "plugins_alerting_filter_by_backend_roles_enabled")
476
+
477
+ @plugins_alerting_filter_by_backend_roles_enabled.setter
478
+ def plugins_alerting_filter_by_backend_roles_enabled(self, value: Optional[pulumi.Input[bool]]):
479
+ pulumi.set(self, "plugins_alerting_filter_by_backend_roles_enabled", value)
480
+
481
+ @property
482
+ @pulumi.getter(name="reindexRemoteWhitelists")
483
+ def reindex_remote_whitelists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
484
+ """
485
+ Allowlist of remote IP addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
486
+ """
487
+ return pulumi.get(self, "reindex_remote_whitelists")
488
+
489
+ @reindex_remote_whitelists.setter
490
+ def reindex_remote_whitelists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
491
+ pulumi.set(self, "reindex_remote_whitelists", value)
492
+
493
+ @property
494
+ @pulumi.getter(name="scriptMaxCompilationsRate")
495
+ def script_max_compilations_rate(self) -> Optional[pulumi.Input[str]]:
496
+ """
497
+ Limits the number of inline script compilations within a period of time. Default is `use-context`
498
+ """
499
+ return pulumi.get(self, "script_max_compilations_rate")
500
+
501
+ @script_max_compilations_rate.setter
502
+ def script_max_compilations_rate(self, value: Optional[pulumi.Input[str]]):
503
+ pulumi.set(self, "script_max_compilations_rate", value)
504
+
505
+ @property
506
+ @pulumi.getter(name="searchMaxBuckets")
507
+ def search_max_buckets(self) -> Optional[pulumi.Input[int]]:
508
+ """
509
+ Maximum number of aggregation buckets allowed in a single response. Default: `10000`
510
+ """
511
+ return pulumi.get(self, "search_max_buckets")
512
+
513
+ @search_max_buckets.setter
514
+ def search_max_buckets(self, value: Optional[pulumi.Input[int]]):
515
+ pulumi.set(self, "search_max_buckets", value)
516
+
517
+ @property
518
+ @pulumi.getter(name="threadPoolAnalyzeQueueSize")
519
+ def thread_pool_analyze_queue_size(self) -> Optional[pulumi.Input[int]]:
520
+ """
521
+ Size of queue for operations in the analyze thread pool.
522
+ """
523
+ return pulumi.get(self, "thread_pool_analyze_queue_size")
524
+
525
+ @thread_pool_analyze_queue_size.setter
526
+ def thread_pool_analyze_queue_size(self, value: Optional[pulumi.Input[int]]):
527
+ pulumi.set(self, "thread_pool_analyze_queue_size", value)
528
+
529
+ @property
530
+ @pulumi.getter(name="threadPoolAnalyzeSize")
531
+ def thread_pool_analyze_size(self) -> Optional[pulumi.Input[int]]:
532
+ """
533
+ 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.
534
+ """
535
+ return pulumi.get(self, "thread_pool_analyze_size")
536
+
537
+ @thread_pool_analyze_size.setter
538
+ def thread_pool_analyze_size(self, value: Optional[pulumi.Input[int]]):
539
+ pulumi.set(self, "thread_pool_analyze_size", value)
540
+
541
+ @property
542
+ @pulumi.getter(name="threadPoolForceMergeSize")
543
+ def thread_pool_force_merge_size(self) -> Optional[pulumi.Input[int]]:
544
+ """
545
+ 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.
546
+ """
547
+ return pulumi.get(self, "thread_pool_force_merge_size")
548
+
549
+ @thread_pool_force_merge_size.setter
550
+ def thread_pool_force_merge_size(self, value: Optional[pulumi.Input[int]]):
551
+ pulumi.set(self, "thread_pool_force_merge_size", value)
552
+
553
+ @property
554
+ @pulumi.getter(name="threadPoolGetQueueSize")
555
+ def thread_pool_get_queue_size(self) -> Optional[pulumi.Input[int]]:
556
+ """
557
+ Size of queue for operations in the get thread pool.
558
+ """
559
+ return pulumi.get(self, "thread_pool_get_queue_size")
560
+
561
+ @thread_pool_get_queue_size.setter
562
+ def thread_pool_get_queue_size(self, value: Optional[pulumi.Input[int]]):
563
+ pulumi.set(self, "thread_pool_get_queue_size", value)
564
+
565
+ @property
566
+ @pulumi.getter(name="threadPoolGetSize")
567
+ def thread_pool_get_size(self) -> Optional[pulumi.Input[int]]:
568
+ """
569
+ 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.
570
+ """
571
+ return pulumi.get(self, "thread_pool_get_size")
572
+
573
+ @thread_pool_get_size.setter
574
+ def thread_pool_get_size(self, value: Optional[pulumi.Input[int]]):
575
+ pulumi.set(self, "thread_pool_get_size", value)
576
+
577
+ @property
578
+ @pulumi.getter(name="threadPoolSearchQueueSize")
579
+ def thread_pool_search_queue_size(self) -> Optional[pulumi.Input[int]]:
580
+ """
581
+ Size of queue for operations in the search thread pool.
582
+ """
583
+ return pulumi.get(self, "thread_pool_search_queue_size")
584
+
585
+ @thread_pool_search_queue_size.setter
586
+ def thread_pool_search_queue_size(self, value: Optional[pulumi.Input[int]]):
587
+ pulumi.set(self, "thread_pool_search_queue_size", value)
588
+
589
+ @property
590
+ @pulumi.getter(name="threadPoolSearchSize")
591
+ def thread_pool_search_size(self) -> Optional[pulumi.Input[int]]:
592
+ """
593
+ 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.
594
+ """
595
+ return pulumi.get(self, "thread_pool_search_size")
596
+
597
+ @thread_pool_search_size.setter
598
+ def thread_pool_search_size(self, value: Optional[pulumi.Input[int]]):
599
+ pulumi.set(self, "thread_pool_search_size", value)
600
+
601
+ @property
602
+ @pulumi.getter(name="threadPoolSearchThrottledQueueSize")
603
+ def thread_pool_search_throttled_queue_size(self) -> Optional[pulumi.Input[int]]:
604
+ """
605
+ Size of queue for operations in the search throttled thread pool.
606
+ """
607
+ return pulumi.get(self, "thread_pool_search_throttled_queue_size")
608
+
609
+ @thread_pool_search_throttled_queue_size.setter
610
+ def thread_pool_search_throttled_queue_size(self, value: Optional[pulumi.Input[int]]):
611
+ pulumi.set(self, "thread_pool_search_throttled_queue_size", value)
612
+
613
+ @property
614
+ @pulumi.getter(name="threadPoolSearchThrottledSize")
615
+ def thread_pool_search_throttled_size(self) -> Optional[pulumi.Input[int]]:
616
+ """
617
+ 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.
618
+ """
619
+ return pulumi.get(self, "thread_pool_search_throttled_size")
620
+
621
+ @thread_pool_search_throttled_size.setter
622
+ def thread_pool_search_throttled_size(self, value: Optional[pulumi.Input[int]]):
623
+ pulumi.set(self, "thread_pool_search_throttled_size", value)
624
+
625
+ @property
626
+ @pulumi.getter(name="threadPoolWriteQueueSize")
627
+ def thread_pool_write_queue_size(self) -> Optional[pulumi.Input[int]]:
628
+ """
629
+ Size of queue for operations in the write thread pool.
630
+ """
631
+ return pulumi.get(self, "thread_pool_write_queue_size")
632
+
633
+ @thread_pool_write_queue_size.setter
634
+ def thread_pool_write_queue_size(self, value: Optional[pulumi.Input[int]]):
635
+ pulumi.set(self, "thread_pool_write_queue_size", value)
636
+
637
+ @property
638
+ @pulumi.getter(name="threadPoolWriteSize")
639
+ def thread_pool_write_size(self) -> Optional[pulumi.Input[int]]:
640
+ """
641
+ 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.
642
+ """
643
+ return pulumi.get(self, "thread_pool_write_size")
644
+
645
+ @thread_pool_write_size.setter
646
+ def thread_pool_write_size(self, value: Optional[pulumi.Input[int]]):
647
+ pulumi.set(self, "thread_pool_write_size", value)
648
+
649
+
650
+ @pulumi.input_type
651
+ class _DatabaseOpensearchConfigState:
652
+ def __init__(__self__, *,
653
+ action_auto_create_index_enabled: Optional[pulumi.Input[bool]] = None,
654
+ action_destructive_requires_name: Optional[pulumi.Input[bool]] = None,
655
+ cluster_id: Optional[pulumi.Input[str]] = None,
656
+ cluster_max_shards_per_node: Optional[pulumi.Input[int]] = None,
657
+ cluster_routing_allocation_node_concurrent_recoveries: Optional[pulumi.Input[int]] = None,
658
+ enable_security_audit: Optional[pulumi.Input[bool]] = None,
659
+ http_max_content_length_bytes: Optional[pulumi.Input[int]] = None,
660
+ http_max_header_size_bytes: Optional[pulumi.Input[int]] = None,
661
+ http_max_initial_line_length_bytes: Optional[pulumi.Input[int]] = None,
662
+ indices_fielddata_cache_size_percentage: Optional[pulumi.Input[int]] = None,
663
+ indices_memory_index_buffer_size_percentage: Optional[pulumi.Input[int]] = None,
664
+ indices_memory_max_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
665
+ indices_memory_min_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
666
+ indices_queries_cache_size_percentage: Optional[pulumi.Input[int]] = None,
667
+ indices_query_bool_max_clause_count: Optional[pulumi.Input[int]] = None,
668
+ indices_recovery_max_concurrent_file_chunks: Optional[pulumi.Input[int]] = None,
669
+ indices_recovery_max_mb_per_sec: Optional[pulumi.Input[int]] = None,
670
+ ism_enabled: Optional[pulumi.Input[bool]] = None,
671
+ ism_history_enabled: Optional[pulumi.Input[bool]] = None,
672
+ ism_history_max_age_hours: Optional[pulumi.Input[int]] = None,
673
+ ism_history_max_docs: Optional[pulumi.Input[int]] = None,
674
+ ism_history_rollover_check_period_hours: Optional[pulumi.Input[int]] = None,
675
+ ism_history_rollover_retention_period_days: Optional[pulumi.Input[int]] = None,
676
+ override_main_response_version: Optional[pulumi.Input[bool]] = None,
677
+ plugins_alerting_filter_by_backend_roles_enabled: Optional[pulumi.Input[bool]] = None,
678
+ reindex_remote_whitelists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
679
+ script_max_compilations_rate: Optional[pulumi.Input[str]] = None,
680
+ search_max_buckets: Optional[pulumi.Input[int]] = None,
681
+ thread_pool_analyze_queue_size: Optional[pulumi.Input[int]] = None,
682
+ thread_pool_analyze_size: Optional[pulumi.Input[int]] = None,
683
+ thread_pool_force_merge_size: Optional[pulumi.Input[int]] = None,
684
+ thread_pool_get_queue_size: Optional[pulumi.Input[int]] = None,
685
+ thread_pool_get_size: Optional[pulumi.Input[int]] = None,
686
+ thread_pool_search_queue_size: Optional[pulumi.Input[int]] = None,
687
+ thread_pool_search_size: Optional[pulumi.Input[int]] = None,
688
+ thread_pool_search_throttled_queue_size: Optional[pulumi.Input[int]] = None,
689
+ thread_pool_search_throttled_size: Optional[pulumi.Input[int]] = None,
690
+ thread_pool_write_queue_size: Optional[pulumi.Input[int]] = None,
691
+ thread_pool_write_size: Optional[pulumi.Input[int]] = None):
692
+ """
693
+ Input properties used for looking up and filtering DatabaseOpensearchConfig resources.
694
+ :param pulumi.Input[bool] action_auto_create_index_enabled: Specifices whether to allow automatic creation of indices. Default: `true`
695
+ :param pulumi.Input[bool] action_destructive_requires_name: Specifies whether to require explicit index names when deleting indices.
696
+ :param pulumi.Input[str] cluster_id: The ID of the target Opensearch cluster.
697
+ :param pulumi.Input[int] cluster_max_shards_per_node: Maximum number of shards allowed per data node.
698
+ :param pulumi.Input[int] cluster_routing_allocation_node_concurrent_recoveries: Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node. Default: `2`
699
+ :param pulumi.Input[bool] enable_security_audit: Specifies whether to allow security audit logging. Default: `false`
700
+ :param pulumi.Input[int] http_max_content_length_bytes: Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes. Default: `100000000`
701
+ :param pulumi.Input[int] http_max_header_size_bytes: Maximum size of allowed headers, in bytes. Default: `8192`
702
+ :param pulumi.Input[int] http_max_initial_line_length_bytes: Maximum length of an HTTP URL, in bytes. Default: `4096`
703
+ :param pulumi.Input[int] indices_fielddata_cache_size_percentage: 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.
704
+ :param pulumi.Input[int] indices_memory_index_buffer_size_percentage: 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`
705
+ :param pulumi.Input[int] indices_memory_max_index_buffer_size_mb: 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.
706
+ :param pulumi.Input[int] indices_memory_min_index_buffer_size_mb: 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`
707
+ :param pulumi.Input[int] indices_queries_cache_size_percentage: 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`
708
+ :param pulumi.Input[int] indices_query_bool_max_clause_count: Maximum number of clauses Lucene BooleanQuery can have. Only increase it if necessary, as it may cause performance issues. Default: `1024`
709
+ :param pulumi.Input[int] indices_recovery_max_concurrent_file_chunks: Maximum number of file chunks sent in parallel for each recovery. Default: `2`
710
+ :param pulumi.Input[int] indices_recovery_max_mb_per_sec: 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`
711
+ :param pulumi.Input[bool] ism_enabled: Specifies whether ISM is enabled or not. Default: `true`
712
+ :param pulumi.Input[bool] ism_history_enabled: Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document. Default: `true`
713
+ :param pulumi.Input[int] ism_history_max_age_hours: Maximum age before rolling over the audit history index, in hours. Default: `24`
714
+ :param pulumi.Input[int] ism_history_max_docs: Maximum number of documents before rolling over the audit history index. Default: `2500000`
715
+ :param pulumi.Input[int] ism_history_rollover_check_period_hours: The time between rollover checks for the audit history index, in hours. Default: `8`
716
+ :param pulumi.Input[int] ism_history_rollover_retention_period_days: Length of time long audit history indices are kept, in days. Default: `30`
717
+ :param pulumi.Input[bool] override_main_response_version: Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default: `false`
718
+ :param pulumi.Input[bool] plugins_alerting_filter_by_backend_roles_enabled: Enable or disable filtering of alerting by backend roles. Default: `false`
719
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] reindex_remote_whitelists: Allowlist of remote IP addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
720
+ :param pulumi.Input[str] script_max_compilations_rate: Limits the number of inline script compilations within a period of time. Default is `use-context`
721
+ :param pulumi.Input[int] search_max_buckets: Maximum number of aggregation buckets allowed in a single response. Default: `10000`
722
+ :param pulumi.Input[int] thread_pool_analyze_queue_size: Size of queue for operations in the analyze thread pool.
723
+ :param pulumi.Input[int] thread_pool_analyze_size: 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.
724
+ :param pulumi.Input[int] thread_pool_force_merge_size: 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.
725
+ :param pulumi.Input[int] thread_pool_get_queue_size: Size of queue for operations in the get thread pool.
726
+ :param pulumi.Input[int] thread_pool_get_size: 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.
727
+ :param pulumi.Input[int] thread_pool_search_queue_size: Size of queue for operations in the search thread pool.
728
+ :param pulumi.Input[int] thread_pool_search_size: 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.
729
+ :param pulumi.Input[int] thread_pool_search_throttled_queue_size: Size of queue for operations in the search throttled thread pool.
730
+ :param pulumi.Input[int] thread_pool_search_throttled_size: 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.
731
+ :param pulumi.Input[int] thread_pool_write_queue_size: Size of queue for operations in the write thread pool.
732
+ :param pulumi.Input[int] thread_pool_write_size: 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.
733
+ """
734
+ if action_auto_create_index_enabled is not None:
735
+ pulumi.set(__self__, "action_auto_create_index_enabled", action_auto_create_index_enabled)
736
+ if action_destructive_requires_name is not None:
737
+ pulumi.set(__self__, "action_destructive_requires_name", action_destructive_requires_name)
738
+ if cluster_id is not None:
739
+ pulumi.set(__self__, "cluster_id", cluster_id)
740
+ if cluster_max_shards_per_node is not None:
741
+ pulumi.set(__self__, "cluster_max_shards_per_node", cluster_max_shards_per_node)
742
+ if cluster_routing_allocation_node_concurrent_recoveries is not None:
743
+ pulumi.set(__self__, "cluster_routing_allocation_node_concurrent_recoveries", cluster_routing_allocation_node_concurrent_recoveries)
744
+ if enable_security_audit is not None:
745
+ pulumi.set(__self__, "enable_security_audit", enable_security_audit)
746
+ if http_max_content_length_bytes is not None:
747
+ pulumi.set(__self__, "http_max_content_length_bytes", http_max_content_length_bytes)
748
+ if http_max_header_size_bytes is not None:
749
+ pulumi.set(__self__, "http_max_header_size_bytes", http_max_header_size_bytes)
750
+ if http_max_initial_line_length_bytes is not None:
751
+ pulumi.set(__self__, "http_max_initial_line_length_bytes", http_max_initial_line_length_bytes)
752
+ if indices_fielddata_cache_size_percentage is not None:
753
+ pulumi.set(__self__, "indices_fielddata_cache_size_percentage", indices_fielddata_cache_size_percentage)
754
+ if indices_memory_index_buffer_size_percentage is not None:
755
+ pulumi.set(__self__, "indices_memory_index_buffer_size_percentage", indices_memory_index_buffer_size_percentage)
756
+ if indices_memory_max_index_buffer_size_mb is not None:
757
+ pulumi.set(__self__, "indices_memory_max_index_buffer_size_mb", indices_memory_max_index_buffer_size_mb)
758
+ if indices_memory_min_index_buffer_size_mb is not None:
759
+ pulumi.set(__self__, "indices_memory_min_index_buffer_size_mb", indices_memory_min_index_buffer_size_mb)
760
+ if indices_queries_cache_size_percentage is not None:
761
+ pulumi.set(__self__, "indices_queries_cache_size_percentage", indices_queries_cache_size_percentage)
762
+ if indices_query_bool_max_clause_count is not None:
763
+ pulumi.set(__self__, "indices_query_bool_max_clause_count", indices_query_bool_max_clause_count)
764
+ if indices_recovery_max_concurrent_file_chunks is not None:
765
+ pulumi.set(__self__, "indices_recovery_max_concurrent_file_chunks", indices_recovery_max_concurrent_file_chunks)
766
+ if indices_recovery_max_mb_per_sec is not None:
767
+ pulumi.set(__self__, "indices_recovery_max_mb_per_sec", indices_recovery_max_mb_per_sec)
768
+ if ism_enabled is not None:
769
+ pulumi.set(__self__, "ism_enabled", ism_enabled)
770
+ if ism_history_enabled is not None:
771
+ pulumi.set(__self__, "ism_history_enabled", ism_history_enabled)
772
+ if ism_history_max_age_hours is not None:
773
+ pulumi.set(__self__, "ism_history_max_age_hours", ism_history_max_age_hours)
774
+ if ism_history_max_docs is not None:
775
+ pulumi.set(__self__, "ism_history_max_docs", ism_history_max_docs)
776
+ if ism_history_rollover_check_period_hours is not None:
777
+ pulumi.set(__self__, "ism_history_rollover_check_period_hours", ism_history_rollover_check_period_hours)
778
+ if ism_history_rollover_retention_period_days is not None:
779
+ pulumi.set(__self__, "ism_history_rollover_retention_period_days", ism_history_rollover_retention_period_days)
780
+ if override_main_response_version is not None:
781
+ pulumi.set(__self__, "override_main_response_version", override_main_response_version)
782
+ if plugins_alerting_filter_by_backend_roles_enabled is not None:
783
+ pulumi.set(__self__, "plugins_alerting_filter_by_backend_roles_enabled", plugins_alerting_filter_by_backend_roles_enabled)
784
+ if reindex_remote_whitelists is not None:
785
+ pulumi.set(__self__, "reindex_remote_whitelists", reindex_remote_whitelists)
786
+ if script_max_compilations_rate is not None:
787
+ pulumi.set(__self__, "script_max_compilations_rate", script_max_compilations_rate)
788
+ if search_max_buckets is not None:
789
+ pulumi.set(__self__, "search_max_buckets", search_max_buckets)
790
+ if thread_pool_analyze_queue_size is not None:
791
+ pulumi.set(__self__, "thread_pool_analyze_queue_size", thread_pool_analyze_queue_size)
792
+ if thread_pool_analyze_size is not None:
793
+ pulumi.set(__self__, "thread_pool_analyze_size", thread_pool_analyze_size)
794
+ if thread_pool_force_merge_size is not None:
795
+ pulumi.set(__self__, "thread_pool_force_merge_size", thread_pool_force_merge_size)
796
+ if thread_pool_get_queue_size is not None:
797
+ pulumi.set(__self__, "thread_pool_get_queue_size", thread_pool_get_queue_size)
798
+ if thread_pool_get_size is not None:
799
+ pulumi.set(__self__, "thread_pool_get_size", thread_pool_get_size)
800
+ if thread_pool_search_queue_size is not None:
801
+ pulumi.set(__self__, "thread_pool_search_queue_size", thread_pool_search_queue_size)
802
+ if thread_pool_search_size is not None:
803
+ pulumi.set(__self__, "thread_pool_search_size", thread_pool_search_size)
804
+ if thread_pool_search_throttled_queue_size is not None:
805
+ pulumi.set(__self__, "thread_pool_search_throttled_queue_size", thread_pool_search_throttled_queue_size)
806
+ if thread_pool_search_throttled_size is not None:
807
+ pulumi.set(__self__, "thread_pool_search_throttled_size", thread_pool_search_throttled_size)
808
+ if thread_pool_write_queue_size is not None:
809
+ pulumi.set(__self__, "thread_pool_write_queue_size", thread_pool_write_queue_size)
810
+ if thread_pool_write_size is not None:
811
+ pulumi.set(__self__, "thread_pool_write_size", thread_pool_write_size)
812
+
813
+ @property
814
+ @pulumi.getter(name="actionAutoCreateIndexEnabled")
815
+ def action_auto_create_index_enabled(self) -> Optional[pulumi.Input[bool]]:
816
+ """
817
+ Specifices whether to allow automatic creation of indices. Default: `true`
818
+ """
819
+ return pulumi.get(self, "action_auto_create_index_enabled")
820
+
821
+ @action_auto_create_index_enabled.setter
822
+ def action_auto_create_index_enabled(self, value: Optional[pulumi.Input[bool]]):
823
+ pulumi.set(self, "action_auto_create_index_enabled", value)
824
+
825
+ @property
826
+ @pulumi.getter(name="actionDestructiveRequiresName")
827
+ def action_destructive_requires_name(self) -> Optional[pulumi.Input[bool]]:
828
+ """
829
+ Specifies whether to require explicit index names when deleting indices.
830
+ """
831
+ return pulumi.get(self, "action_destructive_requires_name")
832
+
833
+ @action_destructive_requires_name.setter
834
+ def action_destructive_requires_name(self, value: Optional[pulumi.Input[bool]]):
835
+ pulumi.set(self, "action_destructive_requires_name", value)
836
+
837
+ @property
838
+ @pulumi.getter(name="clusterId")
839
+ def cluster_id(self) -> Optional[pulumi.Input[str]]:
840
+ """
841
+ The ID of the target Opensearch cluster.
842
+ """
843
+ return pulumi.get(self, "cluster_id")
844
+
845
+ @cluster_id.setter
846
+ def cluster_id(self, value: Optional[pulumi.Input[str]]):
847
+ pulumi.set(self, "cluster_id", value)
848
+
849
+ @property
850
+ @pulumi.getter(name="clusterMaxShardsPerNode")
851
+ def cluster_max_shards_per_node(self) -> Optional[pulumi.Input[int]]:
852
+ """
853
+ Maximum number of shards allowed per data node.
854
+ """
855
+ return pulumi.get(self, "cluster_max_shards_per_node")
856
+
857
+ @cluster_max_shards_per_node.setter
858
+ def cluster_max_shards_per_node(self, value: Optional[pulumi.Input[int]]):
859
+ pulumi.set(self, "cluster_max_shards_per_node", value)
860
+
861
+ @property
862
+ @pulumi.getter(name="clusterRoutingAllocationNodeConcurrentRecoveries")
863
+ def cluster_routing_allocation_node_concurrent_recoveries(self) -> Optional[pulumi.Input[int]]:
864
+ """
865
+ Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node. Default: `2`
866
+ """
867
+ return pulumi.get(self, "cluster_routing_allocation_node_concurrent_recoveries")
868
+
869
+ @cluster_routing_allocation_node_concurrent_recoveries.setter
870
+ def cluster_routing_allocation_node_concurrent_recoveries(self, value: Optional[pulumi.Input[int]]):
871
+ pulumi.set(self, "cluster_routing_allocation_node_concurrent_recoveries", value)
872
+
873
+ @property
874
+ @pulumi.getter(name="enableSecurityAudit")
875
+ def enable_security_audit(self) -> Optional[pulumi.Input[bool]]:
876
+ """
877
+ Specifies whether to allow security audit logging. Default: `false`
878
+ """
879
+ return pulumi.get(self, "enable_security_audit")
880
+
881
+ @enable_security_audit.setter
882
+ def enable_security_audit(self, value: Optional[pulumi.Input[bool]]):
883
+ pulumi.set(self, "enable_security_audit", value)
884
+
885
+ @property
886
+ @pulumi.getter(name="httpMaxContentLengthBytes")
887
+ def http_max_content_length_bytes(self) -> Optional[pulumi.Input[int]]:
888
+ """
889
+ Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes. Default: `100000000`
890
+ """
891
+ return pulumi.get(self, "http_max_content_length_bytes")
892
+
893
+ @http_max_content_length_bytes.setter
894
+ def http_max_content_length_bytes(self, value: Optional[pulumi.Input[int]]):
895
+ pulumi.set(self, "http_max_content_length_bytes", value)
896
+
897
+ @property
898
+ @pulumi.getter(name="httpMaxHeaderSizeBytes")
899
+ def http_max_header_size_bytes(self) -> Optional[pulumi.Input[int]]:
900
+ """
901
+ Maximum size of allowed headers, in bytes. Default: `8192`
902
+ """
903
+ return pulumi.get(self, "http_max_header_size_bytes")
904
+
905
+ @http_max_header_size_bytes.setter
906
+ def http_max_header_size_bytes(self, value: Optional[pulumi.Input[int]]):
907
+ pulumi.set(self, "http_max_header_size_bytes", value)
908
+
909
+ @property
910
+ @pulumi.getter(name="httpMaxInitialLineLengthBytes")
911
+ def http_max_initial_line_length_bytes(self) -> Optional[pulumi.Input[int]]:
912
+ """
913
+ Maximum length of an HTTP URL, in bytes. Default: `4096`
914
+ """
915
+ return pulumi.get(self, "http_max_initial_line_length_bytes")
916
+
917
+ @http_max_initial_line_length_bytes.setter
918
+ def http_max_initial_line_length_bytes(self, value: Optional[pulumi.Input[int]]):
919
+ pulumi.set(self, "http_max_initial_line_length_bytes", value)
920
+
921
+ @property
922
+ @pulumi.getter(name="indicesFielddataCacheSizePercentage")
923
+ def indices_fielddata_cache_size_percentage(self) -> Optional[pulumi.Input[int]]:
924
+ """
925
+ 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.
926
+ """
927
+ return pulumi.get(self, "indices_fielddata_cache_size_percentage")
928
+
929
+ @indices_fielddata_cache_size_percentage.setter
930
+ def indices_fielddata_cache_size_percentage(self, value: Optional[pulumi.Input[int]]):
931
+ pulumi.set(self, "indices_fielddata_cache_size_percentage", value)
932
+
933
+ @property
934
+ @pulumi.getter(name="indicesMemoryIndexBufferSizePercentage")
935
+ def indices_memory_index_buffer_size_percentage(self) -> Optional[pulumi.Input[int]]:
936
+ """
937
+ 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`
938
+ """
939
+ return pulumi.get(self, "indices_memory_index_buffer_size_percentage")
940
+
941
+ @indices_memory_index_buffer_size_percentage.setter
942
+ def indices_memory_index_buffer_size_percentage(self, value: Optional[pulumi.Input[int]]):
943
+ pulumi.set(self, "indices_memory_index_buffer_size_percentage", value)
944
+
945
+ @property
946
+ @pulumi.getter(name="indicesMemoryMaxIndexBufferSizeMb")
947
+ def indices_memory_max_index_buffer_size_mb(self) -> Optional[pulumi.Input[int]]:
948
+ """
949
+ 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.
950
+ """
951
+ return pulumi.get(self, "indices_memory_max_index_buffer_size_mb")
952
+
953
+ @indices_memory_max_index_buffer_size_mb.setter
954
+ def indices_memory_max_index_buffer_size_mb(self, value: Optional[pulumi.Input[int]]):
955
+ pulumi.set(self, "indices_memory_max_index_buffer_size_mb", value)
956
+
957
+ @property
958
+ @pulumi.getter(name="indicesMemoryMinIndexBufferSizeMb")
959
+ def indices_memory_min_index_buffer_size_mb(self) -> Optional[pulumi.Input[int]]:
960
+ """
961
+ 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`
962
+ """
963
+ return pulumi.get(self, "indices_memory_min_index_buffer_size_mb")
964
+
965
+ @indices_memory_min_index_buffer_size_mb.setter
966
+ def indices_memory_min_index_buffer_size_mb(self, value: Optional[pulumi.Input[int]]):
967
+ pulumi.set(self, "indices_memory_min_index_buffer_size_mb", value)
968
+
969
+ @property
970
+ @pulumi.getter(name="indicesQueriesCacheSizePercentage")
971
+ def indices_queries_cache_size_percentage(self) -> Optional[pulumi.Input[int]]:
972
+ """
973
+ 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`
974
+ """
975
+ return pulumi.get(self, "indices_queries_cache_size_percentage")
976
+
977
+ @indices_queries_cache_size_percentage.setter
978
+ def indices_queries_cache_size_percentage(self, value: Optional[pulumi.Input[int]]):
979
+ pulumi.set(self, "indices_queries_cache_size_percentage", value)
980
+
981
+ @property
982
+ @pulumi.getter(name="indicesQueryBoolMaxClauseCount")
983
+ def indices_query_bool_max_clause_count(self) -> Optional[pulumi.Input[int]]:
984
+ """
985
+ Maximum number of clauses Lucene BooleanQuery can have. Only increase it if necessary, as it may cause performance issues. Default: `1024`
986
+ """
987
+ return pulumi.get(self, "indices_query_bool_max_clause_count")
988
+
989
+ @indices_query_bool_max_clause_count.setter
990
+ def indices_query_bool_max_clause_count(self, value: Optional[pulumi.Input[int]]):
991
+ pulumi.set(self, "indices_query_bool_max_clause_count", value)
992
+
993
+ @property
994
+ @pulumi.getter(name="indicesRecoveryMaxConcurrentFileChunks")
995
+ def indices_recovery_max_concurrent_file_chunks(self) -> Optional[pulumi.Input[int]]:
996
+ """
997
+ Maximum number of file chunks sent in parallel for each recovery. Default: `2`
998
+ """
999
+ return pulumi.get(self, "indices_recovery_max_concurrent_file_chunks")
1000
+
1001
+ @indices_recovery_max_concurrent_file_chunks.setter
1002
+ def indices_recovery_max_concurrent_file_chunks(self, value: Optional[pulumi.Input[int]]):
1003
+ pulumi.set(self, "indices_recovery_max_concurrent_file_chunks", value)
1004
+
1005
+ @property
1006
+ @pulumi.getter(name="indicesRecoveryMaxMbPerSec")
1007
+ def indices_recovery_max_mb_per_sec(self) -> Optional[pulumi.Input[int]]:
1008
+ """
1009
+ 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`
1010
+ """
1011
+ return pulumi.get(self, "indices_recovery_max_mb_per_sec")
1012
+
1013
+ @indices_recovery_max_mb_per_sec.setter
1014
+ def indices_recovery_max_mb_per_sec(self, value: Optional[pulumi.Input[int]]):
1015
+ pulumi.set(self, "indices_recovery_max_mb_per_sec", value)
1016
+
1017
+ @property
1018
+ @pulumi.getter(name="ismEnabled")
1019
+ def ism_enabled(self) -> Optional[pulumi.Input[bool]]:
1020
+ """
1021
+ Specifies whether ISM is enabled or not. Default: `true`
1022
+ """
1023
+ return pulumi.get(self, "ism_enabled")
1024
+
1025
+ @ism_enabled.setter
1026
+ def ism_enabled(self, value: Optional[pulumi.Input[bool]]):
1027
+ pulumi.set(self, "ism_enabled", value)
1028
+
1029
+ @property
1030
+ @pulumi.getter(name="ismHistoryEnabled")
1031
+ def ism_history_enabled(self) -> Optional[pulumi.Input[bool]]:
1032
+ """
1033
+ Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document. Default: `true`
1034
+ """
1035
+ return pulumi.get(self, "ism_history_enabled")
1036
+
1037
+ @ism_history_enabled.setter
1038
+ def ism_history_enabled(self, value: Optional[pulumi.Input[bool]]):
1039
+ pulumi.set(self, "ism_history_enabled", value)
1040
+
1041
+ @property
1042
+ @pulumi.getter(name="ismHistoryMaxAgeHours")
1043
+ def ism_history_max_age_hours(self) -> Optional[pulumi.Input[int]]:
1044
+ """
1045
+ Maximum age before rolling over the audit history index, in hours. Default: `24`
1046
+ """
1047
+ return pulumi.get(self, "ism_history_max_age_hours")
1048
+
1049
+ @ism_history_max_age_hours.setter
1050
+ def ism_history_max_age_hours(self, value: Optional[pulumi.Input[int]]):
1051
+ pulumi.set(self, "ism_history_max_age_hours", value)
1052
+
1053
+ @property
1054
+ @pulumi.getter(name="ismHistoryMaxDocs")
1055
+ def ism_history_max_docs(self) -> Optional[pulumi.Input[int]]:
1056
+ """
1057
+ Maximum number of documents before rolling over the audit history index. Default: `2500000`
1058
+ """
1059
+ return pulumi.get(self, "ism_history_max_docs")
1060
+
1061
+ @ism_history_max_docs.setter
1062
+ def ism_history_max_docs(self, value: Optional[pulumi.Input[int]]):
1063
+ pulumi.set(self, "ism_history_max_docs", value)
1064
+
1065
+ @property
1066
+ @pulumi.getter(name="ismHistoryRolloverCheckPeriodHours")
1067
+ def ism_history_rollover_check_period_hours(self) -> Optional[pulumi.Input[int]]:
1068
+ """
1069
+ The time between rollover checks for the audit history index, in hours. Default: `8`
1070
+ """
1071
+ return pulumi.get(self, "ism_history_rollover_check_period_hours")
1072
+
1073
+ @ism_history_rollover_check_period_hours.setter
1074
+ def ism_history_rollover_check_period_hours(self, value: Optional[pulumi.Input[int]]):
1075
+ pulumi.set(self, "ism_history_rollover_check_period_hours", value)
1076
+
1077
+ @property
1078
+ @pulumi.getter(name="ismHistoryRolloverRetentionPeriodDays")
1079
+ def ism_history_rollover_retention_period_days(self) -> Optional[pulumi.Input[int]]:
1080
+ """
1081
+ Length of time long audit history indices are kept, in days. Default: `30`
1082
+ """
1083
+ return pulumi.get(self, "ism_history_rollover_retention_period_days")
1084
+
1085
+ @ism_history_rollover_retention_period_days.setter
1086
+ def ism_history_rollover_retention_period_days(self, value: Optional[pulumi.Input[int]]):
1087
+ pulumi.set(self, "ism_history_rollover_retention_period_days", value)
1088
+
1089
+ @property
1090
+ @pulumi.getter(name="overrideMainResponseVersion")
1091
+ def override_main_response_version(self) -> Optional[pulumi.Input[bool]]:
1092
+ """
1093
+ Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default: `false`
1094
+ """
1095
+ return pulumi.get(self, "override_main_response_version")
1096
+
1097
+ @override_main_response_version.setter
1098
+ def override_main_response_version(self, value: Optional[pulumi.Input[bool]]):
1099
+ pulumi.set(self, "override_main_response_version", value)
1100
+
1101
+ @property
1102
+ @pulumi.getter(name="pluginsAlertingFilterByBackendRolesEnabled")
1103
+ def plugins_alerting_filter_by_backend_roles_enabled(self) -> Optional[pulumi.Input[bool]]:
1104
+ """
1105
+ Enable or disable filtering of alerting by backend roles. Default: `false`
1106
+ """
1107
+ return pulumi.get(self, "plugins_alerting_filter_by_backend_roles_enabled")
1108
+
1109
+ @plugins_alerting_filter_by_backend_roles_enabled.setter
1110
+ def plugins_alerting_filter_by_backend_roles_enabled(self, value: Optional[pulumi.Input[bool]]):
1111
+ pulumi.set(self, "plugins_alerting_filter_by_backend_roles_enabled", value)
1112
+
1113
+ @property
1114
+ @pulumi.getter(name="reindexRemoteWhitelists")
1115
+ def reindex_remote_whitelists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1116
+ """
1117
+ Allowlist of remote IP addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
1118
+ """
1119
+ return pulumi.get(self, "reindex_remote_whitelists")
1120
+
1121
+ @reindex_remote_whitelists.setter
1122
+ def reindex_remote_whitelists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1123
+ pulumi.set(self, "reindex_remote_whitelists", value)
1124
+
1125
+ @property
1126
+ @pulumi.getter(name="scriptMaxCompilationsRate")
1127
+ def script_max_compilations_rate(self) -> Optional[pulumi.Input[str]]:
1128
+ """
1129
+ Limits the number of inline script compilations within a period of time. Default is `use-context`
1130
+ """
1131
+ return pulumi.get(self, "script_max_compilations_rate")
1132
+
1133
+ @script_max_compilations_rate.setter
1134
+ def script_max_compilations_rate(self, value: Optional[pulumi.Input[str]]):
1135
+ pulumi.set(self, "script_max_compilations_rate", value)
1136
+
1137
+ @property
1138
+ @pulumi.getter(name="searchMaxBuckets")
1139
+ def search_max_buckets(self) -> Optional[pulumi.Input[int]]:
1140
+ """
1141
+ Maximum number of aggregation buckets allowed in a single response. Default: `10000`
1142
+ """
1143
+ return pulumi.get(self, "search_max_buckets")
1144
+
1145
+ @search_max_buckets.setter
1146
+ def search_max_buckets(self, value: Optional[pulumi.Input[int]]):
1147
+ pulumi.set(self, "search_max_buckets", value)
1148
+
1149
+ @property
1150
+ @pulumi.getter(name="threadPoolAnalyzeQueueSize")
1151
+ def thread_pool_analyze_queue_size(self) -> Optional[pulumi.Input[int]]:
1152
+ """
1153
+ Size of queue for operations in the analyze thread pool.
1154
+ """
1155
+ return pulumi.get(self, "thread_pool_analyze_queue_size")
1156
+
1157
+ @thread_pool_analyze_queue_size.setter
1158
+ def thread_pool_analyze_queue_size(self, value: Optional[pulumi.Input[int]]):
1159
+ pulumi.set(self, "thread_pool_analyze_queue_size", value)
1160
+
1161
+ @property
1162
+ @pulumi.getter(name="threadPoolAnalyzeSize")
1163
+ def thread_pool_analyze_size(self) -> Optional[pulumi.Input[int]]:
1164
+ """
1165
+ 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.
1166
+ """
1167
+ return pulumi.get(self, "thread_pool_analyze_size")
1168
+
1169
+ @thread_pool_analyze_size.setter
1170
+ def thread_pool_analyze_size(self, value: Optional[pulumi.Input[int]]):
1171
+ pulumi.set(self, "thread_pool_analyze_size", value)
1172
+
1173
+ @property
1174
+ @pulumi.getter(name="threadPoolForceMergeSize")
1175
+ def thread_pool_force_merge_size(self) -> Optional[pulumi.Input[int]]:
1176
+ """
1177
+ 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.
1178
+ """
1179
+ return pulumi.get(self, "thread_pool_force_merge_size")
1180
+
1181
+ @thread_pool_force_merge_size.setter
1182
+ def thread_pool_force_merge_size(self, value: Optional[pulumi.Input[int]]):
1183
+ pulumi.set(self, "thread_pool_force_merge_size", value)
1184
+
1185
+ @property
1186
+ @pulumi.getter(name="threadPoolGetQueueSize")
1187
+ def thread_pool_get_queue_size(self) -> Optional[pulumi.Input[int]]:
1188
+ """
1189
+ Size of queue for operations in the get thread pool.
1190
+ """
1191
+ return pulumi.get(self, "thread_pool_get_queue_size")
1192
+
1193
+ @thread_pool_get_queue_size.setter
1194
+ def thread_pool_get_queue_size(self, value: Optional[pulumi.Input[int]]):
1195
+ pulumi.set(self, "thread_pool_get_queue_size", value)
1196
+
1197
+ @property
1198
+ @pulumi.getter(name="threadPoolGetSize")
1199
+ def thread_pool_get_size(self) -> Optional[pulumi.Input[int]]:
1200
+ """
1201
+ 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.
1202
+ """
1203
+ return pulumi.get(self, "thread_pool_get_size")
1204
+
1205
+ @thread_pool_get_size.setter
1206
+ def thread_pool_get_size(self, value: Optional[pulumi.Input[int]]):
1207
+ pulumi.set(self, "thread_pool_get_size", value)
1208
+
1209
+ @property
1210
+ @pulumi.getter(name="threadPoolSearchQueueSize")
1211
+ def thread_pool_search_queue_size(self) -> Optional[pulumi.Input[int]]:
1212
+ """
1213
+ Size of queue for operations in the search thread pool.
1214
+ """
1215
+ return pulumi.get(self, "thread_pool_search_queue_size")
1216
+
1217
+ @thread_pool_search_queue_size.setter
1218
+ def thread_pool_search_queue_size(self, value: Optional[pulumi.Input[int]]):
1219
+ pulumi.set(self, "thread_pool_search_queue_size", value)
1220
+
1221
+ @property
1222
+ @pulumi.getter(name="threadPoolSearchSize")
1223
+ def thread_pool_search_size(self) -> Optional[pulumi.Input[int]]:
1224
+ """
1225
+ 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.
1226
+ """
1227
+ return pulumi.get(self, "thread_pool_search_size")
1228
+
1229
+ @thread_pool_search_size.setter
1230
+ def thread_pool_search_size(self, value: Optional[pulumi.Input[int]]):
1231
+ pulumi.set(self, "thread_pool_search_size", value)
1232
+
1233
+ @property
1234
+ @pulumi.getter(name="threadPoolSearchThrottledQueueSize")
1235
+ def thread_pool_search_throttled_queue_size(self) -> Optional[pulumi.Input[int]]:
1236
+ """
1237
+ Size of queue for operations in the search throttled thread pool.
1238
+ """
1239
+ return pulumi.get(self, "thread_pool_search_throttled_queue_size")
1240
+
1241
+ @thread_pool_search_throttled_queue_size.setter
1242
+ def thread_pool_search_throttled_queue_size(self, value: Optional[pulumi.Input[int]]):
1243
+ pulumi.set(self, "thread_pool_search_throttled_queue_size", value)
1244
+
1245
+ @property
1246
+ @pulumi.getter(name="threadPoolSearchThrottledSize")
1247
+ def thread_pool_search_throttled_size(self) -> Optional[pulumi.Input[int]]:
1248
+ """
1249
+ 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.
1250
+ """
1251
+ return pulumi.get(self, "thread_pool_search_throttled_size")
1252
+
1253
+ @thread_pool_search_throttled_size.setter
1254
+ def thread_pool_search_throttled_size(self, value: Optional[pulumi.Input[int]]):
1255
+ pulumi.set(self, "thread_pool_search_throttled_size", value)
1256
+
1257
+ @property
1258
+ @pulumi.getter(name="threadPoolWriteQueueSize")
1259
+ def thread_pool_write_queue_size(self) -> Optional[pulumi.Input[int]]:
1260
+ """
1261
+ Size of queue for operations in the write thread pool.
1262
+ """
1263
+ return pulumi.get(self, "thread_pool_write_queue_size")
1264
+
1265
+ @thread_pool_write_queue_size.setter
1266
+ def thread_pool_write_queue_size(self, value: Optional[pulumi.Input[int]]):
1267
+ pulumi.set(self, "thread_pool_write_queue_size", value)
1268
+
1269
+ @property
1270
+ @pulumi.getter(name="threadPoolWriteSize")
1271
+ def thread_pool_write_size(self) -> Optional[pulumi.Input[int]]:
1272
+ """
1273
+ 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.
1274
+ """
1275
+ return pulumi.get(self, "thread_pool_write_size")
1276
+
1277
+ @thread_pool_write_size.setter
1278
+ def thread_pool_write_size(self, value: Optional[pulumi.Input[int]]):
1279
+ pulumi.set(self, "thread_pool_write_size", value)
1280
+
1281
+
1282
+ class DatabaseOpensearchConfig(pulumi.CustomResource):
1283
+ @overload
1284
+ def __init__(__self__,
1285
+ resource_name: str,
1286
+ opts: Optional[pulumi.ResourceOptions] = None,
1287
+ action_auto_create_index_enabled: Optional[pulumi.Input[bool]] = None,
1288
+ action_destructive_requires_name: Optional[pulumi.Input[bool]] = None,
1289
+ cluster_id: Optional[pulumi.Input[str]] = None,
1290
+ cluster_max_shards_per_node: Optional[pulumi.Input[int]] = None,
1291
+ cluster_routing_allocation_node_concurrent_recoveries: Optional[pulumi.Input[int]] = None,
1292
+ enable_security_audit: Optional[pulumi.Input[bool]] = None,
1293
+ http_max_content_length_bytes: Optional[pulumi.Input[int]] = None,
1294
+ http_max_header_size_bytes: Optional[pulumi.Input[int]] = None,
1295
+ http_max_initial_line_length_bytes: Optional[pulumi.Input[int]] = None,
1296
+ indices_fielddata_cache_size_percentage: Optional[pulumi.Input[int]] = None,
1297
+ indices_memory_index_buffer_size_percentage: Optional[pulumi.Input[int]] = None,
1298
+ indices_memory_max_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
1299
+ indices_memory_min_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
1300
+ indices_queries_cache_size_percentage: Optional[pulumi.Input[int]] = None,
1301
+ indices_query_bool_max_clause_count: Optional[pulumi.Input[int]] = None,
1302
+ indices_recovery_max_concurrent_file_chunks: Optional[pulumi.Input[int]] = None,
1303
+ indices_recovery_max_mb_per_sec: Optional[pulumi.Input[int]] = None,
1304
+ ism_enabled: Optional[pulumi.Input[bool]] = None,
1305
+ ism_history_enabled: Optional[pulumi.Input[bool]] = None,
1306
+ ism_history_max_age_hours: Optional[pulumi.Input[int]] = None,
1307
+ ism_history_max_docs: Optional[pulumi.Input[int]] = None,
1308
+ ism_history_rollover_check_period_hours: Optional[pulumi.Input[int]] = None,
1309
+ ism_history_rollover_retention_period_days: Optional[pulumi.Input[int]] = None,
1310
+ override_main_response_version: Optional[pulumi.Input[bool]] = None,
1311
+ plugins_alerting_filter_by_backend_roles_enabled: Optional[pulumi.Input[bool]] = None,
1312
+ reindex_remote_whitelists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1313
+ script_max_compilations_rate: Optional[pulumi.Input[str]] = None,
1314
+ search_max_buckets: Optional[pulumi.Input[int]] = None,
1315
+ thread_pool_analyze_queue_size: Optional[pulumi.Input[int]] = None,
1316
+ thread_pool_analyze_size: Optional[pulumi.Input[int]] = None,
1317
+ thread_pool_force_merge_size: Optional[pulumi.Input[int]] = None,
1318
+ thread_pool_get_queue_size: Optional[pulumi.Input[int]] = None,
1319
+ thread_pool_get_size: Optional[pulumi.Input[int]] = None,
1320
+ thread_pool_search_queue_size: Optional[pulumi.Input[int]] = None,
1321
+ thread_pool_search_size: Optional[pulumi.Input[int]] = None,
1322
+ thread_pool_search_throttled_queue_size: Optional[pulumi.Input[int]] = None,
1323
+ thread_pool_search_throttled_size: Optional[pulumi.Input[int]] = None,
1324
+ thread_pool_write_queue_size: Optional[pulumi.Input[int]] = None,
1325
+ thread_pool_write_size: Optional[pulumi.Input[int]] = None,
1326
+ __props__=None):
1327
+ """
1328
+ Provides a virtual resource that can be used to change advanced configuration
1329
+ options for a DigitalOcean managed Opensearch database cluster.
1330
+
1331
+ > **Note** Opensearch configurations are only removed from state when destroyed. The remote configuration is not unset.
1332
+
1333
+ ## Example Usage
1334
+
1335
+ ```python
1336
+ import pulumi
1337
+ import pulumi_digitalocean as digitalocean
1338
+
1339
+ example_database_cluster = digitalocean.DatabaseCluster("example",
1340
+ name="example-opensearch-cluster",
1341
+ engine="opensearch",
1342
+ version="2",
1343
+ size=digitalocean.DatabaseSlug.D_B_1_VPCU2_GB,
1344
+ region=digitalocean.Region.NYC3,
1345
+ node_count=1)
1346
+ example = digitalocean.DatabaseOpensearchConfig("example",
1347
+ cluster_id=example_database_cluster.id,
1348
+ ism_enabled=True,
1349
+ ism_history_enabled=True,
1350
+ ism_history_max_age_hours=24,
1351
+ ism_history_max_docs=2500000,
1352
+ ism_history_rollover_check_period_hours=8,
1353
+ ism_history_rollover_retention_period_days=30,
1354
+ http_max_content_length_bytes=100000000,
1355
+ http_max_header_size_bytes=8192,
1356
+ http_max_initial_line_length_bytes=4096,
1357
+ indices_query_bool_max_clause_count=1024,
1358
+ search_max_buckets=10000,
1359
+ indices_fielddata_cache_size_percentage=3,
1360
+ indices_memory_index_buffer_size_percentage=10,
1361
+ indices_memory_min_index_buffer_size_mb=48,
1362
+ indices_memory_max_index_buffer_size_mb=3,
1363
+ indices_queries_cache_size_percentage=10,
1364
+ indices_recovery_max_mb_per_sec=40,
1365
+ indices_recovery_max_concurrent_file_chunks=2,
1366
+ action_auto_create_index_enabled=True,
1367
+ action_destructive_requires_name=False,
1368
+ enable_security_audit=False,
1369
+ thread_pool_search_size=1,
1370
+ thread_pool_search_throttled_size=1,
1371
+ thread_pool_search_throttled_queue_size=10,
1372
+ thread_pool_search_queue_size=10,
1373
+ thread_pool_get_size=1,
1374
+ thread_pool_get_queue_size=10,
1375
+ thread_pool_analyze_size=1,
1376
+ thread_pool_analyze_queue_size=10,
1377
+ thread_pool_write_size=1,
1378
+ thread_pool_write_queue_size=10,
1379
+ thread_pool_force_merge_size=1,
1380
+ override_main_response_version=False,
1381
+ script_max_compilations_rate="use-context",
1382
+ cluster_max_shards_per_node=100,
1383
+ cluster_routing_allocation_node_concurrent_recoveries=2,
1384
+ plugins_alerting_filter_by_backend_roles_enabled=False,
1385
+ reindex_remote_whitelists=["cloud.digitalocean.com:8080"])
1386
+ ```
1387
+
1388
+ ## Import
1389
+
1390
+ A Opensearch database cluster's configuration can be imported using the `id` the parent cluster, e.g.
1391
+
1392
+ ```sh
1393
+ $ pulumi import digitalocean:index/databaseOpensearchConfig:DatabaseOpensearchConfig example 4b62829a-9c42-465b-aaa3-84051048e712
1394
+ ```
1395
+
1396
+ :param str resource_name: The name of the resource.
1397
+ :param pulumi.ResourceOptions opts: Options for the resource.
1398
+ :param pulumi.Input[bool] action_auto_create_index_enabled: Specifices whether to allow automatic creation of indices. Default: `true`
1399
+ :param pulumi.Input[bool] action_destructive_requires_name: Specifies whether to require explicit index names when deleting indices.
1400
+ :param pulumi.Input[str] cluster_id: The ID of the target Opensearch cluster.
1401
+ :param pulumi.Input[int] cluster_max_shards_per_node: Maximum number of shards allowed per data node.
1402
+ :param pulumi.Input[int] cluster_routing_allocation_node_concurrent_recoveries: Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node. Default: `2`
1403
+ :param pulumi.Input[bool] enable_security_audit: Specifies whether to allow security audit logging. Default: `false`
1404
+ :param pulumi.Input[int] http_max_content_length_bytes: Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes. Default: `100000000`
1405
+ :param pulumi.Input[int] http_max_header_size_bytes: Maximum size of allowed headers, in bytes. Default: `8192`
1406
+ :param pulumi.Input[int] http_max_initial_line_length_bytes: Maximum length of an HTTP URL, in bytes. Default: `4096`
1407
+ :param pulumi.Input[int] indices_fielddata_cache_size_percentage: 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.
1408
+ :param pulumi.Input[int] indices_memory_index_buffer_size_percentage: 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`
1409
+ :param pulumi.Input[int] indices_memory_max_index_buffer_size_mb: 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.
1410
+ :param pulumi.Input[int] indices_memory_min_index_buffer_size_mb: 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`
1411
+ :param pulumi.Input[int] indices_queries_cache_size_percentage: 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`
1412
+ :param pulumi.Input[int] indices_query_bool_max_clause_count: Maximum number of clauses Lucene BooleanQuery can have. Only increase it if necessary, as it may cause performance issues. Default: `1024`
1413
+ :param pulumi.Input[int] indices_recovery_max_concurrent_file_chunks: Maximum number of file chunks sent in parallel for each recovery. Default: `2`
1414
+ :param pulumi.Input[int] indices_recovery_max_mb_per_sec: 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`
1415
+ :param pulumi.Input[bool] ism_enabled: Specifies whether ISM is enabled or not. Default: `true`
1416
+ :param pulumi.Input[bool] ism_history_enabled: Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document. Default: `true`
1417
+ :param pulumi.Input[int] ism_history_max_age_hours: Maximum age before rolling over the audit history index, in hours. Default: `24`
1418
+ :param pulumi.Input[int] ism_history_max_docs: Maximum number of documents before rolling over the audit history index. Default: `2500000`
1419
+ :param pulumi.Input[int] ism_history_rollover_check_period_hours: The time between rollover checks for the audit history index, in hours. Default: `8`
1420
+ :param pulumi.Input[int] ism_history_rollover_retention_period_days: Length of time long audit history indices are kept, in days. Default: `30`
1421
+ :param pulumi.Input[bool] override_main_response_version: Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default: `false`
1422
+ :param pulumi.Input[bool] plugins_alerting_filter_by_backend_roles_enabled: Enable or disable filtering of alerting by backend roles. Default: `false`
1423
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] reindex_remote_whitelists: Allowlist of remote IP addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
1424
+ :param pulumi.Input[str] script_max_compilations_rate: Limits the number of inline script compilations within a period of time. Default is `use-context`
1425
+ :param pulumi.Input[int] search_max_buckets: Maximum number of aggregation buckets allowed in a single response. Default: `10000`
1426
+ :param pulumi.Input[int] thread_pool_analyze_queue_size: Size of queue for operations in the analyze thread pool.
1427
+ :param pulumi.Input[int] thread_pool_analyze_size: 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.
1428
+ :param pulumi.Input[int] thread_pool_force_merge_size: 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.
1429
+ :param pulumi.Input[int] thread_pool_get_queue_size: Size of queue for operations in the get thread pool.
1430
+ :param pulumi.Input[int] thread_pool_get_size: 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.
1431
+ :param pulumi.Input[int] thread_pool_search_queue_size: Size of queue for operations in the search thread pool.
1432
+ :param pulumi.Input[int] thread_pool_search_size: 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.
1433
+ :param pulumi.Input[int] thread_pool_search_throttled_queue_size: Size of queue for operations in the search throttled thread pool.
1434
+ :param pulumi.Input[int] thread_pool_search_throttled_size: 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.
1435
+ :param pulumi.Input[int] thread_pool_write_queue_size: Size of queue for operations in the write thread pool.
1436
+ :param pulumi.Input[int] thread_pool_write_size: 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.
1437
+ """
1438
+ ...
1439
+ @overload
1440
+ def __init__(__self__,
1441
+ resource_name: str,
1442
+ args: DatabaseOpensearchConfigArgs,
1443
+ opts: Optional[pulumi.ResourceOptions] = None):
1444
+ """
1445
+ Provides a virtual resource that can be used to change advanced configuration
1446
+ options for a DigitalOcean managed Opensearch database cluster.
1447
+
1448
+ > **Note** Opensearch configurations are only removed from state when destroyed. The remote configuration is not unset.
1449
+
1450
+ ## Example Usage
1451
+
1452
+ ```python
1453
+ import pulumi
1454
+ import pulumi_digitalocean as digitalocean
1455
+
1456
+ example_database_cluster = digitalocean.DatabaseCluster("example",
1457
+ name="example-opensearch-cluster",
1458
+ engine="opensearch",
1459
+ version="2",
1460
+ size=digitalocean.DatabaseSlug.D_B_1_VPCU2_GB,
1461
+ region=digitalocean.Region.NYC3,
1462
+ node_count=1)
1463
+ example = digitalocean.DatabaseOpensearchConfig("example",
1464
+ cluster_id=example_database_cluster.id,
1465
+ ism_enabled=True,
1466
+ ism_history_enabled=True,
1467
+ ism_history_max_age_hours=24,
1468
+ ism_history_max_docs=2500000,
1469
+ ism_history_rollover_check_period_hours=8,
1470
+ ism_history_rollover_retention_period_days=30,
1471
+ http_max_content_length_bytes=100000000,
1472
+ http_max_header_size_bytes=8192,
1473
+ http_max_initial_line_length_bytes=4096,
1474
+ indices_query_bool_max_clause_count=1024,
1475
+ search_max_buckets=10000,
1476
+ indices_fielddata_cache_size_percentage=3,
1477
+ indices_memory_index_buffer_size_percentage=10,
1478
+ indices_memory_min_index_buffer_size_mb=48,
1479
+ indices_memory_max_index_buffer_size_mb=3,
1480
+ indices_queries_cache_size_percentage=10,
1481
+ indices_recovery_max_mb_per_sec=40,
1482
+ indices_recovery_max_concurrent_file_chunks=2,
1483
+ action_auto_create_index_enabled=True,
1484
+ action_destructive_requires_name=False,
1485
+ enable_security_audit=False,
1486
+ thread_pool_search_size=1,
1487
+ thread_pool_search_throttled_size=1,
1488
+ thread_pool_search_throttled_queue_size=10,
1489
+ thread_pool_search_queue_size=10,
1490
+ thread_pool_get_size=1,
1491
+ thread_pool_get_queue_size=10,
1492
+ thread_pool_analyze_size=1,
1493
+ thread_pool_analyze_queue_size=10,
1494
+ thread_pool_write_size=1,
1495
+ thread_pool_write_queue_size=10,
1496
+ thread_pool_force_merge_size=1,
1497
+ override_main_response_version=False,
1498
+ script_max_compilations_rate="use-context",
1499
+ cluster_max_shards_per_node=100,
1500
+ cluster_routing_allocation_node_concurrent_recoveries=2,
1501
+ plugins_alerting_filter_by_backend_roles_enabled=False,
1502
+ reindex_remote_whitelists=["cloud.digitalocean.com:8080"])
1503
+ ```
1504
+
1505
+ ## Import
1506
+
1507
+ A Opensearch database cluster's configuration can be imported using the `id` the parent cluster, e.g.
1508
+
1509
+ ```sh
1510
+ $ pulumi import digitalocean:index/databaseOpensearchConfig:DatabaseOpensearchConfig example 4b62829a-9c42-465b-aaa3-84051048e712
1511
+ ```
1512
+
1513
+ :param str resource_name: The name of the resource.
1514
+ :param DatabaseOpensearchConfigArgs args: The arguments to use to populate this resource's properties.
1515
+ :param pulumi.ResourceOptions opts: Options for the resource.
1516
+ """
1517
+ ...
1518
+ def __init__(__self__, resource_name: str, *args, **kwargs):
1519
+ resource_args, opts = _utilities.get_resource_args_opts(DatabaseOpensearchConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
1520
+ if resource_args is not None:
1521
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
1522
+ else:
1523
+ __self__._internal_init(resource_name, *args, **kwargs)
1524
+
1525
+ def _internal_init(__self__,
1526
+ resource_name: str,
1527
+ opts: Optional[pulumi.ResourceOptions] = None,
1528
+ action_auto_create_index_enabled: Optional[pulumi.Input[bool]] = None,
1529
+ action_destructive_requires_name: Optional[pulumi.Input[bool]] = None,
1530
+ cluster_id: Optional[pulumi.Input[str]] = None,
1531
+ cluster_max_shards_per_node: Optional[pulumi.Input[int]] = None,
1532
+ cluster_routing_allocation_node_concurrent_recoveries: Optional[pulumi.Input[int]] = None,
1533
+ enable_security_audit: Optional[pulumi.Input[bool]] = None,
1534
+ http_max_content_length_bytes: Optional[pulumi.Input[int]] = None,
1535
+ http_max_header_size_bytes: Optional[pulumi.Input[int]] = None,
1536
+ http_max_initial_line_length_bytes: Optional[pulumi.Input[int]] = None,
1537
+ indices_fielddata_cache_size_percentage: Optional[pulumi.Input[int]] = None,
1538
+ indices_memory_index_buffer_size_percentage: Optional[pulumi.Input[int]] = None,
1539
+ indices_memory_max_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
1540
+ indices_memory_min_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
1541
+ indices_queries_cache_size_percentage: Optional[pulumi.Input[int]] = None,
1542
+ indices_query_bool_max_clause_count: Optional[pulumi.Input[int]] = None,
1543
+ indices_recovery_max_concurrent_file_chunks: Optional[pulumi.Input[int]] = None,
1544
+ indices_recovery_max_mb_per_sec: Optional[pulumi.Input[int]] = None,
1545
+ ism_enabled: Optional[pulumi.Input[bool]] = None,
1546
+ ism_history_enabled: Optional[pulumi.Input[bool]] = None,
1547
+ ism_history_max_age_hours: Optional[pulumi.Input[int]] = None,
1548
+ ism_history_max_docs: Optional[pulumi.Input[int]] = None,
1549
+ ism_history_rollover_check_period_hours: Optional[pulumi.Input[int]] = None,
1550
+ ism_history_rollover_retention_period_days: Optional[pulumi.Input[int]] = None,
1551
+ override_main_response_version: Optional[pulumi.Input[bool]] = None,
1552
+ plugins_alerting_filter_by_backend_roles_enabled: Optional[pulumi.Input[bool]] = None,
1553
+ reindex_remote_whitelists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1554
+ script_max_compilations_rate: Optional[pulumi.Input[str]] = None,
1555
+ search_max_buckets: Optional[pulumi.Input[int]] = None,
1556
+ thread_pool_analyze_queue_size: Optional[pulumi.Input[int]] = None,
1557
+ thread_pool_analyze_size: Optional[pulumi.Input[int]] = None,
1558
+ thread_pool_force_merge_size: Optional[pulumi.Input[int]] = None,
1559
+ thread_pool_get_queue_size: Optional[pulumi.Input[int]] = None,
1560
+ thread_pool_get_size: Optional[pulumi.Input[int]] = None,
1561
+ thread_pool_search_queue_size: Optional[pulumi.Input[int]] = None,
1562
+ thread_pool_search_size: Optional[pulumi.Input[int]] = None,
1563
+ thread_pool_search_throttled_queue_size: Optional[pulumi.Input[int]] = None,
1564
+ thread_pool_search_throttled_size: Optional[pulumi.Input[int]] = None,
1565
+ thread_pool_write_queue_size: Optional[pulumi.Input[int]] = None,
1566
+ thread_pool_write_size: Optional[pulumi.Input[int]] = None,
1567
+ __props__=None):
1568
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
1569
+ if not isinstance(opts, pulumi.ResourceOptions):
1570
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
1571
+ if opts.id is None:
1572
+ if __props__ is not None:
1573
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
1574
+ __props__ = DatabaseOpensearchConfigArgs.__new__(DatabaseOpensearchConfigArgs)
1575
+
1576
+ __props__.__dict__["action_auto_create_index_enabled"] = action_auto_create_index_enabled
1577
+ __props__.__dict__["action_destructive_requires_name"] = action_destructive_requires_name
1578
+ if cluster_id is None and not opts.urn:
1579
+ raise TypeError("Missing required property 'cluster_id'")
1580
+ __props__.__dict__["cluster_id"] = cluster_id
1581
+ __props__.__dict__["cluster_max_shards_per_node"] = cluster_max_shards_per_node
1582
+ __props__.__dict__["cluster_routing_allocation_node_concurrent_recoveries"] = cluster_routing_allocation_node_concurrent_recoveries
1583
+ __props__.__dict__["enable_security_audit"] = enable_security_audit
1584
+ __props__.__dict__["http_max_content_length_bytes"] = http_max_content_length_bytes
1585
+ __props__.__dict__["http_max_header_size_bytes"] = http_max_header_size_bytes
1586
+ __props__.__dict__["http_max_initial_line_length_bytes"] = http_max_initial_line_length_bytes
1587
+ __props__.__dict__["indices_fielddata_cache_size_percentage"] = indices_fielddata_cache_size_percentage
1588
+ __props__.__dict__["indices_memory_index_buffer_size_percentage"] = indices_memory_index_buffer_size_percentage
1589
+ __props__.__dict__["indices_memory_max_index_buffer_size_mb"] = indices_memory_max_index_buffer_size_mb
1590
+ __props__.__dict__["indices_memory_min_index_buffer_size_mb"] = indices_memory_min_index_buffer_size_mb
1591
+ __props__.__dict__["indices_queries_cache_size_percentage"] = indices_queries_cache_size_percentage
1592
+ __props__.__dict__["indices_query_bool_max_clause_count"] = indices_query_bool_max_clause_count
1593
+ __props__.__dict__["indices_recovery_max_concurrent_file_chunks"] = indices_recovery_max_concurrent_file_chunks
1594
+ __props__.__dict__["indices_recovery_max_mb_per_sec"] = indices_recovery_max_mb_per_sec
1595
+ __props__.__dict__["ism_enabled"] = ism_enabled
1596
+ __props__.__dict__["ism_history_enabled"] = ism_history_enabled
1597
+ __props__.__dict__["ism_history_max_age_hours"] = ism_history_max_age_hours
1598
+ __props__.__dict__["ism_history_max_docs"] = ism_history_max_docs
1599
+ __props__.__dict__["ism_history_rollover_check_period_hours"] = ism_history_rollover_check_period_hours
1600
+ __props__.__dict__["ism_history_rollover_retention_period_days"] = ism_history_rollover_retention_period_days
1601
+ __props__.__dict__["override_main_response_version"] = override_main_response_version
1602
+ __props__.__dict__["plugins_alerting_filter_by_backend_roles_enabled"] = plugins_alerting_filter_by_backend_roles_enabled
1603
+ __props__.__dict__["reindex_remote_whitelists"] = reindex_remote_whitelists
1604
+ __props__.__dict__["script_max_compilations_rate"] = script_max_compilations_rate
1605
+ __props__.__dict__["search_max_buckets"] = search_max_buckets
1606
+ __props__.__dict__["thread_pool_analyze_queue_size"] = thread_pool_analyze_queue_size
1607
+ __props__.__dict__["thread_pool_analyze_size"] = thread_pool_analyze_size
1608
+ __props__.__dict__["thread_pool_force_merge_size"] = thread_pool_force_merge_size
1609
+ __props__.__dict__["thread_pool_get_queue_size"] = thread_pool_get_queue_size
1610
+ __props__.__dict__["thread_pool_get_size"] = thread_pool_get_size
1611
+ __props__.__dict__["thread_pool_search_queue_size"] = thread_pool_search_queue_size
1612
+ __props__.__dict__["thread_pool_search_size"] = thread_pool_search_size
1613
+ __props__.__dict__["thread_pool_search_throttled_queue_size"] = thread_pool_search_throttled_queue_size
1614
+ __props__.__dict__["thread_pool_search_throttled_size"] = thread_pool_search_throttled_size
1615
+ __props__.__dict__["thread_pool_write_queue_size"] = thread_pool_write_queue_size
1616
+ __props__.__dict__["thread_pool_write_size"] = thread_pool_write_size
1617
+ super(DatabaseOpensearchConfig, __self__).__init__(
1618
+ 'digitalocean:index/databaseOpensearchConfig:DatabaseOpensearchConfig',
1619
+ resource_name,
1620
+ __props__,
1621
+ opts)
1622
+
1623
+ @staticmethod
1624
+ def get(resource_name: str,
1625
+ id: pulumi.Input[str],
1626
+ opts: Optional[pulumi.ResourceOptions] = None,
1627
+ action_auto_create_index_enabled: Optional[pulumi.Input[bool]] = None,
1628
+ action_destructive_requires_name: Optional[pulumi.Input[bool]] = None,
1629
+ cluster_id: Optional[pulumi.Input[str]] = None,
1630
+ cluster_max_shards_per_node: Optional[pulumi.Input[int]] = None,
1631
+ cluster_routing_allocation_node_concurrent_recoveries: Optional[pulumi.Input[int]] = None,
1632
+ enable_security_audit: Optional[pulumi.Input[bool]] = None,
1633
+ http_max_content_length_bytes: Optional[pulumi.Input[int]] = None,
1634
+ http_max_header_size_bytes: Optional[pulumi.Input[int]] = None,
1635
+ http_max_initial_line_length_bytes: Optional[pulumi.Input[int]] = None,
1636
+ indices_fielddata_cache_size_percentage: Optional[pulumi.Input[int]] = None,
1637
+ indices_memory_index_buffer_size_percentage: Optional[pulumi.Input[int]] = None,
1638
+ indices_memory_max_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
1639
+ indices_memory_min_index_buffer_size_mb: Optional[pulumi.Input[int]] = None,
1640
+ indices_queries_cache_size_percentage: Optional[pulumi.Input[int]] = None,
1641
+ indices_query_bool_max_clause_count: Optional[pulumi.Input[int]] = None,
1642
+ indices_recovery_max_concurrent_file_chunks: Optional[pulumi.Input[int]] = None,
1643
+ indices_recovery_max_mb_per_sec: Optional[pulumi.Input[int]] = None,
1644
+ ism_enabled: Optional[pulumi.Input[bool]] = None,
1645
+ ism_history_enabled: Optional[pulumi.Input[bool]] = None,
1646
+ ism_history_max_age_hours: Optional[pulumi.Input[int]] = None,
1647
+ ism_history_max_docs: Optional[pulumi.Input[int]] = None,
1648
+ ism_history_rollover_check_period_hours: Optional[pulumi.Input[int]] = None,
1649
+ ism_history_rollover_retention_period_days: Optional[pulumi.Input[int]] = None,
1650
+ override_main_response_version: Optional[pulumi.Input[bool]] = None,
1651
+ plugins_alerting_filter_by_backend_roles_enabled: Optional[pulumi.Input[bool]] = None,
1652
+ reindex_remote_whitelists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1653
+ script_max_compilations_rate: Optional[pulumi.Input[str]] = None,
1654
+ search_max_buckets: Optional[pulumi.Input[int]] = None,
1655
+ thread_pool_analyze_queue_size: Optional[pulumi.Input[int]] = None,
1656
+ thread_pool_analyze_size: Optional[pulumi.Input[int]] = None,
1657
+ thread_pool_force_merge_size: Optional[pulumi.Input[int]] = None,
1658
+ thread_pool_get_queue_size: Optional[pulumi.Input[int]] = None,
1659
+ thread_pool_get_size: Optional[pulumi.Input[int]] = None,
1660
+ thread_pool_search_queue_size: Optional[pulumi.Input[int]] = None,
1661
+ thread_pool_search_size: Optional[pulumi.Input[int]] = None,
1662
+ thread_pool_search_throttled_queue_size: Optional[pulumi.Input[int]] = None,
1663
+ thread_pool_search_throttled_size: Optional[pulumi.Input[int]] = None,
1664
+ thread_pool_write_queue_size: Optional[pulumi.Input[int]] = None,
1665
+ thread_pool_write_size: Optional[pulumi.Input[int]] = None) -> 'DatabaseOpensearchConfig':
1666
+ """
1667
+ Get an existing DatabaseOpensearchConfig resource's state with the given name, id, and optional extra
1668
+ properties used to qualify the lookup.
1669
+
1670
+ :param str resource_name: The unique name of the resulting resource.
1671
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1672
+ :param pulumi.ResourceOptions opts: Options for the resource.
1673
+ :param pulumi.Input[bool] action_auto_create_index_enabled: Specifices whether to allow automatic creation of indices. Default: `true`
1674
+ :param pulumi.Input[bool] action_destructive_requires_name: Specifies whether to require explicit index names when deleting indices.
1675
+ :param pulumi.Input[str] cluster_id: The ID of the target Opensearch cluster.
1676
+ :param pulumi.Input[int] cluster_max_shards_per_node: Maximum number of shards allowed per data node.
1677
+ :param pulumi.Input[int] cluster_routing_allocation_node_concurrent_recoveries: Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node. Default: `2`
1678
+ :param pulumi.Input[bool] enable_security_audit: Specifies whether to allow security audit logging. Default: `false`
1679
+ :param pulumi.Input[int] http_max_content_length_bytes: Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes. Default: `100000000`
1680
+ :param pulumi.Input[int] http_max_header_size_bytes: Maximum size of allowed headers, in bytes. Default: `8192`
1681
+ :param pulumi.Input[int] http_max_initial_line_length_bytes: Maximum length of an HTTP URL, in bytes. Default: `4096`
1682
+ :param pulumi.Input[int] indices_fielddata_cache_size_percentage: 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.
1683
+ :param pulumi.Input[int] indices_memory_index_buffer_size_percentage: 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`
1684
+ :param pulumi.Input[int] indices_memory_max_index_buffer_size_mb: 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.
1685
+ :param pulumi.Input[int] indices_memory_min_index_buffer_size_mb: 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`
1686
+ :param pulumi.Input[int] indices_queries_cache_size_percentage: 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`
1687
+ :param pulumi.Input[int] indices_query_bool_max_clause_count: Maximum number of clauses Lucene BooleanQuery can have. Only increase it if necessary, as it may cause performance issues. Default: `1024`
1688
+ :param pulumi.Input[int] indices_recovery_max_concurrent_file_chunks: Maximum number of file chunks sent in parallel for each recovery. Default: `2`
1689
+ :param pulumi.Input[int] indices_recovery_max_mb_per_sec: 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`
1690
+ :param pulumi.Input[bool] ism_enabled: Specifies whether ISM is enabled or not. Default: `true`
1691
+ :param pulumi.Input[bool] ism_history_enabled: Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document. Default: `true`
1692
+ :param pulumi.Input[int] ism_history_max_age_hours: Maximum age before rolling over the audit history index, in hours. Default: `24`
1693
+ :param pulumi.Input[int] ism_history_max_docs: Maximum number of documents before rolling over the audit history index. Default: `2500000`
1694
+ :param pulumi.Input[int] ism_history_rollover_check_period_hours: The time between rollover checks for the audit history index, in hours. Default: `8`
1695
+ :param pulumi.Input[int] ism_history_rollover_retention_period_days: Length of time long audit history indices are kept, in days. Default: `30`
1696
+ :param pulumi.Input[bool] override_main_response_version: Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default: `false`
1697
+ :param pulumi.Input[bool] plugins_alerting_filter_by_backend_roles_enabled: Enable or disable filtering of alerting by backend roles. Default: `false`
1698
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] reindex_remote_whitelists: Allowlist of remote IP addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
1699
+ :param pulumi.Input[str] script_max_compilations_rate: Limits the number of inline script compilations within a period of time. Default is `use-context`
1700
+ :param pulumi.Input[int] search_max_buckets: Maximum number of aggregation buckets allowed in a single response. Default: `10000`
1701
+ :param pulumi.Input[int] thread_pool_analyze_queue_size: Size of queue for operations in the analyze thread pool.
1702
+ :param pulumi.Input[int] thread_pool_analyze_size: 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.
1703
+ :param pulumi.Input[int] thread_pool_force_merge_size: 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.
1704
+ :param pulumi.Input[int] thread_pool_get_queue_size: Size of queue for operations in the get thread pool.
1705
+ :param pulumi.Input[int] thread_pool_get_size: 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.
1706
+ :param pulumi.Input[int] thread_pool_search_queue_size: Size of queue for operations in the search thread pool.
1707
+ :param pulumi.Input[int] thread_pool_search_size: 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.
1708
+ :param pulumi.Input[int] thread_pool_search_throttled_queue_size: Size of queue for operations in the search throttled thread pool.
1709
+ :param pulumi.Input[int] thread_pool_search_throttled_size: 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.
1710
+ :param pulumi.Input[int] thread_pool_write_queue_size: Size of queue for operations in the write thread pool.
1711
+ :param pulumi.Input[int] thread_pool_write_size: 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.
1712
+ """
1713
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1714
+
1715
+ __props__ = _DatabaseOpensearchConfigState.__new__(_DatabaseOpensearchConfigState)
1716
+
1717
+ __props__.__dict__["action_auto_create_index_enabled"] = action_auto_create_index_enabled
1718
+ __props__.__dict__["action_destructive_requires_name"] = action_destructive_requires_name
1719
+ __props__.__dict__["cluster_id"] = cluster_id
1720
+ __props__.__dict__["cluster_max_shards_per_node"] = cluster_max_shards_per_node
1721
+ __props__.__dict__["cluster_routing_allocation_node_concurrent_recoveries"] = cluster_routing_allocation_node_concurrent_recoveries
1722
+ __props__.__dict__["enable_security_audit"] = enable_security_audit
1723
+ __props__.__dict__["http_max_content_length_bytes"] = http_max_content_length_bytes
1724
+ __props__.__dict__["http_max_header_size_bytes"] = http_max_header_size_bytes
1725
+ __props__.__dict__["http_max_initial_line_length_bytes"] = http_max_initial_line_length_bytes
1726
+ __props__.__dict__["indices_fielddata_cache_size_percentage"] = indices_fielddata_cache_size_percentage
1727
+ __props__.__dict__["indices_memory_index_buffer_size_percentage"] = indices_memory_index_buffer_size_percentage
1728
+ __props__.__dict__["indices_memory_max_index_buffer_size_mb"] = indices_memory_max_index_buffer_size_mb
1729
+ __props__.__dict__["indices_memory_min_index_buffer_size_mb"] = indices_memory_min_index_buffer_size_mb
1730
+ __props__.__dict__["indices_queries_cache_size_percentage"] = indices_queries_cache_size_percentage
1731
+ __props__.__dict__["indices_query_bool_max_clause_count"] = indices_query_bool_max_clause_count
1732
+ __props__.__dict__["indices_recovery_max_concurrent_file_chunks"] = indices_recovery_max_concurrent_file_chunks
1733
+ __props__.__dict__["indices_recovery_max_mb_per_sec"] = indices_recovery_max_mb_per_sec
1734
+ __props__.__dict__["ism_enabled"] = ism_enabled
1735
+ __props__.__dict__["ism_history_enabled"] = ism_history_enabled
1736
+ __props__.__dict__["ism_history_max_age_hours"] = ism_history_max_age_hours
1737
+ __props__.__dict__["ism_history_max_docs"] = ism_history_max_docs
1738
+ __props__.__dict__["ism_history_rollover_check_period_hours"] = ism_history_rollover_check_period_hours
1739
+ __props__.__dict__["ism_history_rollover_retention_period_days"] = ism_history_rollover_retention_period_days
1740
+ __props__.__dict__["override_main_response_version"] = override_main_response_version
1741
+ __props__.__dict__["plugins_alerting_filter_by_backend_roles_enabled"] = plugins_alerting_filter_by_backend_roles_enabled
1742
+ __props__.__dict__["reindex_remote_whitelists"] = reindex_remote_whitelists
1743
+ __props__.__dict__["script_max_compilations_rate"] = script_max_compilations_rate
1744
+ __props__.__dict__["search_max_buckets"] = search_max_buckets
1745
+ __props__.__dict__["thread_pool_analyze_queue_size"] = thread_pool_analyze_queue_size
1746
+ __props__.__dict__["thread_pool_analyze_size"] = thread_pool_analyze_size
1747
+ __props__.__dict__["thread_pool_force_merge_size"] = thread_pool_force_merge_size
1748
+ __props__.__dict__["thread_pool_get_queue_size"] = thread_pool_get_queue_size
1749
+ __props__.__dict__["thread_pool_get_size"] = thread_pool_get_size
1750
+ __props__.__dict__["thread_pool_search_queue_size"] = thread_pool_search_queue_size
1751
+ __props__.__dict__["thread_pool_search_size"] = thread_pool_search_size
1752
+ __props__.__dict__["thread_pool_search_throttled_queue_size"] = thread_pool_search_throttled_queue_size
1753
+ __props__.__dict__["thread_pool_search_throttled_size"] = thread_pool_search_throttled_size
1754
+ __props__.__dict__["thread_pool_write_queue_size"] = thread_pool_write_queue_size
1755
+ __props__.__dict__["thread_pool_write_size"] = thread_pool_write_size
1756
+ return DatabaseOpensearchConfig(resource_name, opts=opts, __props__=__props__)
1757
+
1758
+ @property
1759
+ @pulumi.getter(name="actionAutoCreateIndexEnabled")
1760
+ def action_auto_create_index_enabled(self) -> pulumi.Output[bool]:
1761
+ """
1762
+ Specifices whether to allow automatic creation of indices. Default: `true`
1763
+ """
1764
+ return pulumi.get(self, "action_auto_create_index_enabled")
1765
+
1766
+ @property
1767
+ @pulumi.getter(name="actionDestructiveRequiresName")
1768
+ def action_destructive_requires_name(self) -> pulumi.Output[bool]:
1769
+ """
1770
+ Specifies whether to require explicit index names when deleting indices.
1771
+ """
1772
+ return pulumi.get(self, "action_destructive_requires_name")
1773
+
1774
+ @property
1775
+ @pulumi.getter(name="clusterId")
1776
+ def cluster_id(self) -> pulumi.Output[str]:
1777
+ """
1778
+ The ID of the target Opensearch cluster.
1779
+ """
1780
+ return pulumi.get(self, "cluster_id")
1781
+
1782
+ @property
1783
+ @pulumi.getter(name="clusterMaxShardsPerNode")
1784
+ def cluster_max_shards_per_node(self) -> pulumi.Output[int]:
1785
+ """
1786
+ Maximum number of shards allowed per data node.
1787
+ """
1788
+ return pulumi.get(self, "cluster_max_shards_per_node")
1789
+
1790
+ @property
1791
+ @pulumi.getter(name="clusterRoutingAllocationNodeConcurrentRecoveries")
1792
+ def cluster_routing_allocation_node_concurrent_recoveries(self) -> pulumi.Output[int]:
1793
+ """
1794
+ Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node. Default: `2`
1795
+ """
1796
+ return pulumi.get(self, "cluster_routing_allocation_node_concurrent_recoveries")
1797
+
1798
+ @property
1799
+ @pulumi.getter(name="enableSecurityAudit")
1800
+ def enable_security_audit(self) -> pulumi.Output[bool]:
1801
+ """
1802
+ Specifies whether to allow security audit logging. Default: `false`
1803
+ """
1804
+ return pulumi.get(self, "enable_security_audit")
1805
+
1806
+ @property
1807
+ @pulumi.getter(name="httpMaxContentLengthBytes")
1808
+ def http_max_content_length_bytes(self) -> pulumi.Output[int]:
1809
+ """
1810
+ Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes. Default: `100000000`
1811
+ """
1812
+ return pulumi.get(self, "http_max_content_length_bytes")
1813
+
1814
+ @property
1815
+ @pulumi.getter(name="httpMaxHeaderSizeBytes")
1816
+ def http_max_header_size_bytes(self) -> pulumi.Output[int]:
1817
+ """
1818
+ Maximum size of allowed headers, in bytes. Default: `8192`
1819
+ """
1820
+ return pulumi.get(self, "http_max_header_size_bytes")
1821
+
1822
+ @property
1823
+ @pulumi.getter(name="httpMaxInitialLineLengthBytes")
1824
+ def http_max_initial_line_length_bytes(self) -> pulumi.Output[int]:
1825
+ """
1826
+ Maximum length of an HTTP URL, in bytes. Default: `4096`
1827
+ """
1828
+ return pulumi.get(self, "http_max_initial_line_length_bytes")
1829
+
1830
+ @property
1831
+ @pulumi.getter(name="indicesFielddataCacheSizePercentage")
1832
+ def indices_fielddata_cache_size_percentage(self) -> pulumi.Output[int]:
1833
+ """
1834
+ 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.
1835
+ """
1836
+ return pulumi.get(self, "indices_fielddata_cache_size_percentage")
1837
+
1838
+ @property
1839
+ @pulumi.getter(name="indicesMemoryIndexBufferSizePercentage")
1840
+ def indices_memory_index_buffer_size_percentage(self) -> pulumi.Output[int]:
1841
+ """
1842
+ 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`
1843
+ """
1844
+ return pulumi.get(self, "indices_memory_index_buffer_size_percentage")
1845
+
1846
+ @property
1847
+ @pulumi.getter(name="indicesMemoryMaxIndexBufferSizeMb")
1848
+ def indices_memory_max_index_buffer_size_mb(self) -> pulumi.Output[int]:
1849
+ """
1850
+ 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.
1851
+ """
1852
+ return pulumi.get(self, "indices_memory_max_index_buffer_size_mb")
1853
+
1854
+ @property
1855
+ @pulumi.getter(name="indicesMemoryMinIndexBufferSizeMb")
1856
+ def indices_memory_min_index_buffer_size_mb(self) -> pulumi.Output[int]:
1857
+ """
1858
+ 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`
1859
+ """
1860
+ return pulumi.get(self, "indices_memory_min_index_buffer_size_mb")
1861
+
1862
+ @property
1863
+ @pulumi.getter(name="indicesQueriesCacheSizePercentage")
1864
+ def indices_queries_cache_size_percentage(self) -> pulumi.Output[int]:
1865
+ """
1866
+ 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`
1867
+ """
1868
+ return pulumi.get(self, "indices_queries_cache_size_percentage")
1869
+
1870
+ @property
1871
+ @pulumi.getter(name="indicesQueryBoolMaxClauseCount")
1872
+ def indices_query_bool_max_clause_count(self) -> pulumi.Output[int]:
1873
+ """
1874
+ Maximum number of clauses Lucene BooleanQuery can have. Only increase it if necessary, as it may cause performance issues. Default: `1024`
1875
+ """
1876
+ return pulumi.get(self, "indices_query_bool_max_clause_count")
1877
+
1878
+ @property
1879
+ @pulumi.getter(name="indicesRecoveryMaxConcurrentFileChunks")
1880
+ def indices_recovery_max_concurrent_file_chunks(self) -> pulumi.Output[int]:
1881
+ """
1882
+ Maximum number of file chunks sent in parallel for each recovery. Default: `2`
1883
+ """
1884
+ return pulumi.get(self, "indices_recovery_max_concurrent_file_chunks")
1885
+
1886
+ @property
1887
+ @pulumi.getter(name="indicesRecoveryMaxMbPerSec")
1888
+ def indices_recovery_max_mb_per_sec(self) -> pulumi.Output[int]:
1889
+ """
1890
+ 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`
1891
+ """
1892
+ return pulumi.get(self, "indices_recovery_max_mb_per_sec")
1893
+
1894
+ @property
1895
+ @pulumi.getter(name="ismEnabled")
1896
+ def ism_enabled(self) -> pulumi.Output[bool]:
1897
+ """
1898
+ Specifies whether ISM is enabled or not. Default: `true`
1899
+ """
1900
+ return pulumi.get(self, "ism_enabled")
1901
+
1902
+ @property
1903
+ @pulumi.getter(name="ismHistoryEnabled")
1904
+ def ism_history_enabled(self) -> pulumi.Output[bool]:
1905
+ """
1906
+ Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document. Default: `true`
1907
+ """
1908
+ return pulumi.get(self, "ism_history_enabled")
1909
+
1910
+ @property
1911
+ @pulumi.getter(name="ismHistoryMaxAgeHours")
1912
+ def ism_history_max_age_hours(self) -> pulumi.Output[int]:
1913
+ """
1914
+ Maximum age before rolling over the audit history index, in hours. Default: `24`
1915
+ """
1916
+ return pulumi.get(self, "ism_history_max_age_hours")
1917
+
1918
+ @property
1919
+ @pulumi.getter(name="ismHistoryMaxDocs")
1920
+ def ism_history_max_docs(self) -> pulumi.Output[int]:
1921
+ """
1922
+ Maximum number of documents before rolling over the audit history index. Default: `2500000`
1923
+ """
1924
+ return pulumi.get(self, "ism_history_max_docs")
1925
+
1926
+ @property
1927
+ @pulumi.getter(name="ismHistoryRolloverCheckPeriodHours")
1928
+ def ism_history_rollover_check_period_hours(self) -> pulumi.Output[int]:
1929
+ """
1930
+ The time between rollover checks for the audit history index, in hours. Default: `8`
1931
+ """
1932
+ return pulumi.get(self, "ism_history_rollover_check_period_hours")
1933
+
1934
+ @property
1935
+ @pulumi.getter(name="ismHistoryRolloverRetentionPeriodDays")
1936
+ def ism_history_rollover_retention_period_days(self) -> pulumi.Output[int]:
1937
+ """
1938
+ Length of time long audit history indices are kept, in days. Default: `30`
1939
+ """
1940
+ return pulumi.get(self, "ism_history_rollover_retention_period_days")
1941
+
1942
+ @property
1943
+ @pulumi.getter(name="overrideMainResponseVersion")
1944
+ def override_main_response_version(self) -> pulumi.Output[bool]:
1945
+ """
1946
+ Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default: `false`
1947
+ """
1948
+ return pulumi.get(self, "override_main_response_version")
1949
+
1950
+ @property
1951
+ @pulumi.getter(name="pluginsAlertingFilterByBackendRolesEnabled")
1952
+ def plugins_alerting_filter_by_backend_roles_enabled(self) -> pulumi.Output[bool]:
1953
+ """
1954
+ Enable or disable filtering of alerting by backend roles. Default: `false`
1955
+ """
1956
+ return pulumi.get(self, "plugins_alerting_filter_by_backend_roles_enabled")
1957
+
1958
+ @property
1959
+ @pulumi.getter(name="reindexRemoteWhitelists")
1960
+ def reindex_remote_whitelists(self) -> pulumi.Output[Optional[Sequence[str]]]:
1961
+ """
1962
+ Allowlist of remote IP addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
1963
+ """
1964
+ return pulumi.get(self, "reindex_remote_whitelists")
1965
+
1966
+ @property
1967
+ @pulumi.getter(name="scriptMaxCompilationsRate")
1968
+ def script_max_compilations_rate(self) -> pulumi.Output[str]:
1969
+ """
1970
+ Limits the number of inline script compilations within a period of time. Default is `use-context`
1971
+ """
1972
+ return pulumi.get(self, "script_max_compilations_rate")
1973
+
1974
+ @property
1975
+ @pulumi.getter(name="searchMaxBuckets")
1976
+ def search_max_buckets(self) -> pulumi.Output[int]:
1977
+ """
1978
+ Maximum number of aggregation buckets allowed in a single response. Default: `10000`
1979
+ """
1980
+ return pulumi.get(self, "search_max_buckets")
1981
+
1982
+ @property
1983
+ @pulumi.getter(name="threadPoolAnalyzeQueueSize")
1984
+ def thread_pool_analyze_queue_size(self) -> pulumi.Output[int]:
1985
+ """
1986
+ Size of queue for operations in the analyze thread pool.
1987
+ """
1988
+ return pulumi.get(self, "thread_pool_analyze_queue_size")
1989
+
1990
+ @property
1991
+ @pulumi.getter(name="threadPoolAnalyzeSize")
1992
+ def thread_pool_analyze_size(self) -> pulumi.Output[int]:
1993
+ """
1994
+ 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.
1995
+ """
1996
+ return pulumi.get(self, "thread_pool_analyze_size")
1997
+
1998
+ @property
1999
+ @pulumi.getter(name="threadPoolForceMergeSize")
2000
+ def thread_pool_force_merge_size(self) -> pulumi.Output[int]:
2001
+ """
2002
+ 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.
2003
+ """
2004
+ return pulumi.get(self, "thread_pool_force_merge_size")
2005
+
2006
+ @property
2007
+ @pulumi.getter(name="threadPoolGetQueueSize")
2008
+ def thread_pool_get_queue_size(self) -> pulumi.Output[int]:
2009
+ """
2010
+ Size of queue for operations in the get thread pool.
2011
+ """
2012
+ return pulumi.get(self, "thread_pool_get_queue_size")
2013
+
2014
+ @property
2015
+ @pulumi.getter(name="threadPoolGetSize")
2016
+ def thread_pool_get_size(self) -> pulumi.Output[int]:
2017
+ """
2018
+ 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.
2019
+ """
2020
+ return pulumi.get(self, "thread_pool_get_size")
2021
+
2022
+ @property
2023
+ @pulumi.getter(name="threadPoolSearchQueueSize")
2024
+ def thread_pool_search_queue_size(self) -> pulumi.Output[int]:
2025
+ """
2026
+ Size of queue for operations in the search thread pool.
2027
+ """
2028
+ return pulumi.get(self, "thread_pool_search_queue_size")
2029
+
2030
+ @property
2031
+ @pulumi.getter(name="threadPoolSearchSize")
2032
+ def thread_pool_search_size(self) -> pulumi.Output[int]:
2033
+ """
2034
+ 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.
2035
+ """
2036
+ return pulumi.get(self, "thread_pool_search_size")
2037
+
2038
+ @property
2039
+ @pulumi.getter(name="threadPoolSearchThrottledQueueSize")
2040
+ def thread_pool_search_throttled_queue_size(self) -> pulumi.Output[int]:
2041
+ """
2042
+ Size of queue for operations in the search throttled thread pool.
2043
+ """
2044
+ return pulumi.get(self, "thread_pool_search_throttled_queue_size")
2045
+
2046
+ @property
2047
+ @pulumi.getter(name="threadPoolSearchThrottledSize")
2048
+ def thread_pool_search_throttled_size(self) -> pulumi.Output[int]:
2049
+ """
2050
+ 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.
2051
+ """
2052
+ return pulumi.get(self, "thread_pool_search_throttled_size")
2053
+
2054
+ @property
2055
+ @pulumi.getter(name="threadPoolWriteQueueSize")
2056
+ def thread_pool_write_queue_size(self) -> pulumi.Output[int]:
2057
+ """
2058
+ Size of queue for operations in the write thread pool.
2059
+ """
2060
+ return pulumi.get(self, "thread_pool_write_queue_size")
2061
+
2062
+ @property
2063
+ @pulumi.getter(name="threadPoolWriteSize")
2064
+ def thread_pool_write_size(self) -> pulumi.Output[int]:
2065
+ """
2066
+ 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.
2067
+ """
2068
+ return pulumi.get(self, "thread_pool_write_size")
2069
+