pulumi-aiven 6.8.0a1696284100__py3-none-any.whl → 6.8.0a1696359310__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-aiven might be problematic. Click here for more details.

Files changed (141) hide show
  1. pulumi_aiven/_inputs.py +5916 -1115
  2. pulumi_aiven/account.py +49 -14
  3. pulumi_aiven/account_authentication.py +117 -32
  4. pulumi_aiven/account_team.py +40 -8
  5. pulumi_aiven/account_team_member.py +46 -10
  6. pulumi_aiven/account_team_project.py +43 -9
  7. pulumi_aiven/aws_privatelink.py +43 -9
  8. pulumi_aiven/aws_vpc_peering_connection.py +52 -12
  9. pulumi_aiven/azure_privatelink.py +49 -11
  10. pulumi_aiven/azure_privatelink_connection_approval.py +43 -9
  11. pulumi_aiven/azure_vpc_peering_connection.py +64 -16
  12. pulumi_aiven/billing_group.py +109 -34
  13. pulumi_aiven/cassandra.py +158 -56
  14. pulumi_aiven/cassandra_user.py +52 -12
  15. pulumi_aiven/clickhouse.py +158 -56
  16. pulumi_aiven/clickhouse_database.py +43 -9
  17. pulumi_aiven/clickhouse_grant.py +62 -20
  18. pulumi_aiven/clickhouse_role.py +37 -7
  19. pulumi_aiven/clickhouse_user.py +46 -10
  20. pulumi_aiven/config/vars.py +1 -1
  21. pulumi_aiven/connection_pool.py +64 -16
  22. pulumi_aiven/flink.py +162 -53
  23. pulumi_aiven/flink_application.py +52 -12
  24. pulumi_aiven/flink_application_deployment.py +67 -17
  25. pulumi_aiven/flink_application_version.py +79 -27
  26. pulumi_aiven/gcp_privatelink.py +40 -8
  27. pulumi_aiven/gcp_privatelink_connection_approval.py +46 -10
  28. pulumi_aiven/gcp_vpc_peering_connection.py +46 -10
  29. pulumi_aiven/get_account.py +1 -1
  30. pulumi_aiven/get_account_authentication.py +1 -1
  31. pulumi_aiven/get_account_team.py +1 -1
  32. pulumi_aiven/get_account_team_member.py +1 -1
  33. pulumi_aiven/get_account_team_project.py +1 -1
  34. pulumi_aiven/get_aws_privatelink.py +1 -1
  35. pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
  36. pulumi_aiven/get_azure_privatelink.py +1 -1
  37. pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
  38. pulumi_aiven/get_billing_group.py +1 -1
  39. pulumi_aiven/get_cassanda.py +1 -1
  40. pulumi_aiven/get_cassandra.py +1 -1
  41. pulumi_aiven/get_cassandra_user.py +1 -1
  42. pulumi_aiven/get_clickhouse.py +1 -1
  43. pulumi_aiven/get_clickhouse_database.py +1 -1
  44. pulumi_aiven/get_clickhouse_user.py +1 -1
  45. pulumi_aiven/get_connection_pool.py +1 -1
  46. pulumi_aiven/get_flink.py +1 -1
  47. pulumi_aiven/get_flink_application.py +1 -1
  48. pulumi_aiven/get_flink_application_version.py +1 -1
  49. pulumi_aiven/get_gcp_privatelink.py +1 -1
  50. pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
  51. pulumi_aiven/get_grafana.py +1 -1
  52. pulumi_aiven/get_influx_db.py +1 -1
  53. pulumi_aiven/get_influxdb_database.py +1 -1
  54. pulumi_aiven/get_influxdb_user.py +1 -1
  55. pulumi_aiven/get_kafka.py +1 -1
  56. pulumi_aiven/get_kafka_acl.py +1 -1
  57. pulumi_aiven/get_kafka_connect.py +1 -1
  58. pulumi_aiven/get_kafka_connector.py +1 -1
  59. pulumi_aiven/get_kafka_mirror_maker.py +1 -1
  60. pulumi_aiven/get_kafka_schema.py +1 -1
  61. pulumi_aiven/get_kafka_schema_configuration.py +1 -1
  62. pulumi_aiven/get_kafka_schema_registry_acl.py +1 -1
  63. pulumi_aiven/get_kafka_topic.py +1 -1
  64. pulumi_aiven/get_kafka_user.py +1 -1
  65. pulumi_aiven/get_m3_aggregator.py +1 -1
  66. pulumi_aiven/get_m3_db.py +1 -1
  67. pulumi_aiven/get_m3db_user.py +1 -1
  68. pulumi_aiven/get_mirror_maker_replication_flow.py +1 -1
  69. pulumi_aiven/get_my_sql.py +1 -1
  70. pulumi_aiven/get_mysql_database.py +1 -1
  71. pulumi_aiven/get_mysql_user.py +1 -1
  72. pulumi_aiven/get_open_search.py +1 -1
  73. pulumi_aiven/get_open_search_acl_config.py +1 -1
  74. pulumi_aiven/get_open_search_acl_rule.py +1 -1
  75. pulumi_aiven/get_opensearch_security_plugin_config.py +1 -1
  76. pulumi_aiven/get_opensearch_user.py +1 -1
  77. pulumi_aiven/get_organization.py +1 -1
  78. pulumi_aiven/get_organization_user.py +1 -1
  79. pulumi_aiven/get_organization_user_group.py +1 -1
  80. pulumi_aiven/get_organizational_unit.py +1 -1
  81. pulumi_aiven/get_pg.py +1 -1
  82. pulumi_aiven/get_pg_database.py +1 -1
  83. pulumi_aiven/get_pg_user.py +1 -1
  84. pulumi_aiven/get_project.py +1 -1
  85. pulumi_aiven/get_project_user.py +1 -1
  86. pulumi_aiven/get_project_vpc.py +1 -1
  87. pulumi_aiven/get_redis.py +1 -1
  88. pulumi_aiven/get_redis_user.py +1 -1
  89. pulumi_aiven/get_service_component.py +1 -1
  90. pulumi_aiven/get_service_integration.py +1 -1
  91. pulumi_aiven/get_service_integration_endpoint.py +1 -1
  92. pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
  93. pulumi_aiven/grafana.py +147 -45
  94. pulumi_aiven/influx_db.py +158 -56
  95. pulumi_aiven/influxdb_database.py +43 -9
  96. pulumi_aiven/influxdb_user.py +52 -12
  97. pulumi_aiven/kafka.py +170 -63
  98. pulumi_aiven/kafka_acl.py +52 -12
  99. pulumi_aiven/kafka_connect.py +147 -45
  100. pulumi_aiven/kafka_connector.py +64 -16
  101. pulumi_aiven/kafka_mirror_maker.py +147 -45
  102. pulumi_aiven/kafka_schema.py +58 -14
  103. pulumi_aiven/kafka_schema_configuration.py +37 -7
  104. pulumi_aiven/kafka_schema_registry_acl.py +52 -12
  105. pulumi_aiven/kafka_topic.py +72 -17
  106. pulumi_aiven/kafka_user.py +52 -12
  107. pulumi_aiven/m3_aggregator.py +147 -45
  108. pulumi_aiven/m3_db.py +147 -45
  109. pulumi_aiven/m3db_user.py +46 -10
  110. pulumi_aiven/mirror_maker_replication_flow.py +91 -25
  111. pulumi_aiven/my_sql.py +147 -45
  112. pulumi_aiven/mysql_database.py +43 -9
  113. pulumi_aiven/mysql_user.py +58 -14
  114. pulumi_aiven/open_search.py +158 -56
  115. pulumi_aiven/open_search_acl_config.py +43 -9
  116. pulumi_aiven/open_search_acl_rule.py +49 -11
  117. pulumi_aiven/opensearch_security_plugin_config.py +46 -10
  118. pulumi_aiven/opensearch_user.py +46 -10
  119. pulumi_aiven/organization.py +45 -8
  120. pulumi_aiven/organization_user.py +40 -8
  121. pulumi_aiven/organization_user_group.py +43 -9
  122. pulumi_aiven/organizational_unit.py +40 -8
  123. pulumi_aiven/outputs.py +10584 -2482
  124. pulumi_aiven/pg.py +169 -60
  125. pulumi_aiven/pg_database.py +55 -13
  126. pulumi_aiven/pg_user.py +58 -14
  127. pulumi_aiven/project.py +91 -34
  128. pulumi_aiven/project_user.py +40 -8
  129. pulumi_aiven/project_vpc.py +40 -8
  130. pulumi_aiven/provider.py +15 -2
  131. pulumi_aiven/redis.py +147 -45
  132. pulumi_aiven/redis_user.py +70 -18
  133. pulumi_aiven/service_integration.py +157 -32
  134. pulumi_aiven/service_integration_endpoint.py +161 -30
  135. pulumi_aiven/static_ip.py +43 -9
  136. pulumi_aiven/transit_gateway_vpc_attachment.py +58 -17
  137. {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/METADATA +1 -1
  138. pulumi_aiven-6.8.0a1696359310.dist-info/RECORD +145 -0
  139. pulumi_aiven-6.8.0a1696284100.dist-info/RECORD +0 -145
  140. {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/WHEEL +0 -0
  141. {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/top_level.txt +0 -0
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
  from . import outputs
12
12
  from ._inputs import *
@@ -43,38 +43,73 @@ class OpenSearchArgs:
43
43
  :param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings
44
44
  :param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
45
45
  :param pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
46
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
46
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
47
47
  :param pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
48
48
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
49
49
  """
50
- pulumi.set(__self__, "plan", plan)
51
- pulumi.set(__self__, "project", project)
52
- pulumi.set(__self__, "service_name", service_name)
50
+ OpenSearchArgs._configure(
51
+ lambda key, value: pulumi.set(__self__, key, value),
52
+ plan=plan,
53
+ project=project,
54
+ service_name=service_name,
55
+ additional_disk_space=additional_disk_space,
56
+ cloud_name=cloud_name,
57
+ disk_space=disk_space,
58
+ maintenance_window_dow=maintenance_window_dow,
59
+ maintenance_window_time=maintenance_window_time,
60
+ opensearch_user_config=opensearch_user_config,
61
+ project_vpc_id=project_vpc_id,
62
+ service_integrations=service_integrations,
63
+ static_ips=static_ips,
64
+ tags=tags,
65
+ termination_protection=termination_protection,
66
+ )
67
+ @staticmethod
68
+ def _configure(
69
+ _setter: Callable[[Any, Any], None],
70
+ plan: pulumi.Input[str],
71
+ project: pulumi.Input[str],
72
+ service_name: pulumi.Input[str],
73
+ additional_disk_space: Optional[pulumi.Input[str]] = None,
74
+ cloud_name: Optional[pulumi.Input[str]] = None,
75
+ disk_space: Optional[pulumi.Input[str]] = None,
76
+ maintenance_window_dow: Optional[pulumi.Input[str]] = None,
77
+ maintenance_window_time: Optional[pulumi.Input[str]] = None,
78
+ opensearch_user_config: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']] = None,
79
+ project_vpc_id: Optional[pulumi.Input[str]] = None,
80
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]] = None,
81
+ static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
82
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]]] = None,
83
+ termination_protection: Optional[pulumi.Input[bool]] = None,
84
+ opts: Optional[pulumi.ResourceOptions]=None):
85
+ _setter("plan", plan)
86
+ _setter("project", project)
87
+ _setter("service_name", service_name)
53
88
  if additional_disk_space is not None:
54
- pulumi.set(__self__, "additional_disk_space", additional_disk_space)
89
+ _setter("additional_disk_space", additional_disk_space)
55
90
  if cloud_name is not None:
56
- pulumi.set(__self__, "cloud_name", cloud_name)
91
+ _setter("cloud_name", cloud_name)
57
92
  if disk_space is not None:
58
93
  warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
59
94
  pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
60
95
  if disk_space is not None:
61
- pulumi.set(__self__, "disk_space", disk_space)
96
+ _setter("disk_space", disk_space)
62
97
  if maintenance_window_dow is not None:
63
- pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
98
+ _setter("maintenance_window_dow", maintenance_window_dow)
64
99
  if maintenance_window_time is not None:
65
- pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
100
+ _setter("maintenance_window_time", maintenance_window_time)
66
101
  if opensearch_user_config is not None:
67
- pulumi.set(__self__, "opensearch_user_config", opensearch_user_config)
102
+ _setter("opensearch_user_config", opensearch_user_config)
68
103
  if project_vpc_id is not None:
69
- pulumi.set(__self__, "project_vpc_id", project_vpc_id)
104
+ _setter("project_vpc_id", project_vpc_id)
70
105
  if service_integrations is not None:
71
- pulumi.set(__self__, "service_integrations", service_integrations)
106
+ _setter("service_integrations", service_integrations)
72
107
  if static_ips is not None:
73
- pulumi.set(__self__, "static_ips", static_ips)
108
+ _setter("static_ips", static_ips)
74
109
  if tags is not None:
75
- pulumi.set(__self__, "tags", tags)
110
+ _setter("tags", tags)
76
111
  if termination_protection is not None:
77
- pulumi.set(__self__, "termination_protection", termination_protection)
112
+ _setter("termination_protection", termination_protection)
78
113
 
79
114
  @property
80
115
  @pulumi.getter
@@ -215,7 +250,7 @@ class OpenSearchArgs:
215
250
  @pulumi.getter(name="staticIps")
216
251
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
217
252
  """
218
- Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
253
+ Use static public IP addresses.
219
254
  """
220
255
  return pulumi.get(self, "static_ips")
221
256
 
@@ -291,7 +326,7 @@ class _OpenSearchState:
291
326
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
292
327
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
293
328
  :param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings
294
- :param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch server provided values
329
+ :param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch settings.
295
330
  :param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
296
331
  :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
297
332
  :param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
@@ -304,67 +339,128 @@ class _OpenSearchState:
304
339
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
305
340
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
306
341
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
307
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
342
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
308
343
  :param pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
309
344
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
310
345
  """
346
+ _OpenSearchState._configure(
347
+ lambda key, value: pulumi.set(__self__, key, value),
348
+ additional_disk_space=additional_disk_space,
349
+ cloud_name=cloud_name,
350
+ components=components,
351
+ disk_space=disk_space,
352
+ disk_space_cap=disk_space_cap,
353
+ disk_space_default=disk_space_default,
354
+ disk_space_step=disk_space_step,
355
+ disk_space_used=disk_space_used,
356
+ maintenance_window_dow=maintenance_window_dow,
357
+ maintenance_window_time=maintenance_window_time,
358
+ opensearch_user_config=opensearch_user_config,
359
+ opensearches=opensearches,
360
+ plan=plan,
361
+ project=project,
362
+ project_vpc_id=project_vpc_id,
363
+ service_host=service_host,
364
+ service_integrations=service_integrations,
365
+ service_name=service_name,
366
+ service_password=service_password,
367
+ service_port=service_port,
368
+ service_type=service_type,
369
+ service_uri=service_uri,
370
+ service_username=service_username,
371
+ state=state,
372
+ static_ips=static_ips,
373
+ tags=tags,
374
+ termination_protection=termination_protection,
375
+ )
376
+ @staticmethod
377
+ def _configure(
378
+ _setter: Callable[[Any, Any], None],
379
+ additional_disk_space: Optional[pulumi.Input[str]] = None,
380
+ cloud_name: Optional[pulumi.Input[str]] = None,
381
+ components: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchComponentArgs']]]] = None,
382
+ disk_space: Optional[pulumi.Input[str]] = None,
383
+ disk_space_cap: Optional[pulumi.Input[str]] = None,
384
+ disk_space_default: Optional[pulumi.Input[str]] = None,
385
+ disk_space_step: Optional[pulumi.Input[str]] = None,
386
+ disk_space_used: Optional[pulumi.Input[str]] = None,
387
+ maintenance_window_dow: Optional[pulumi.Input[str]] = None,
388
+ maintenance_window_time: Optional[pulumi.Input[str]] = None,
389
+ opensearch_user_config: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']] = None,
390
+ opensearches: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]] = None,
391
+ plan: Optional[pulumi.Input[str]] = None,
392
+ project: Optional[pulumi.Input[str]] = None,
393
+ project_vpc_id: Optional[pulumi.Input[str]] = None,
394
+ service_host: Optional[pulumi.Input[str]] = None,
395
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]] = None,
396
+ service_name: Optional[pulumi.Input[str]] = None,
397
+ service_password: Optional[pulumi.Input[str]] = None,
398
+ service_port: Optional[pulumi.Input[int]] = None,
399
+ service_type: Optional[pulumi.Input[str]] = None,
400
+ service_uri: Optional[pulumi.Input[str]] = None,
401
+ service_username: Optional[pulumi.Input[str]] = None,
402
+ state: Optional[pulumi.Input[str]] = None,
403
+ static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
404
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]]] = None,
405
+ termination_protection: Optional[pulumi.Input[bool]] = None,
406
+ opts: Optional[pulumi.ResourceOptions]=None):
311
407
  if additional_disk_space is not None:
312
- pulumi.set(__self__, "additional_disk_space", additional_disk_space)
408
+ _setter("additional_disk_space", additional_disk_space)
313
409
  if cloud_name is not None:
314
- pulumi.set(__self__, "cloud_name", cloud_name)
410
+ _setter("cloud_name", cloud_name)
315
411
  if components is not None:
316
- pulumi.set(__self__, "components", components)
412
+ _setter("components", components)
317
413
  if disk_space is not None:
318
414
  warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
319
415
  pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
320
416
  if disk_space is not None:
321
- pulumi.set(__self__, "disk_space", disk_space)
417
+ _setter("disk_space", disk_space)
322
418
  if disk_space_cap is not None:
323
- pulumi.set(__self__, "disk_space_cap", disk_space_cap)
419
+ _setter("disk_space_cap", disk_space_cap)
324
420
  if disk_space_default is not None:
325
- pulumi.set(__self__, "disk_space_default", disk_space_default)
421
+ _setter("disk_space_default", disk_space_default)
326
422
  if disk_space_step is not None:
327
- pulumi.set(__self__, "disk_space_step", disk_space_step)
423
+ _setter("disk_space_step", disk_space_step)
328
424
  if disk_space_used is not None:
329
- pulumi.set(__self__, "disk_space_used", disk_space_used)
425
+ _setter("disk_space_used", disk_space_used)
330
426
  if maintenance_window_dow is not None:
331
- pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
427
+ _setter("maintenance_window_dow", maintenance_window_dow)
332
428
  if maintenance_window_time is not None:
333
- pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
429
+ _setter("maintenance_window_time", maintenance_window_time)
334
430
  if opensearch_user_config is not None:
335
- pulumi.set(__self__, "opensearch_user_config", opensearch_user_config)
431
+ _setter("opensearch_user_config", opensearch_user_config)
336
432
  if opensearches is not None:
337
- pulumi.set(__self__, "opensearches", opensearches)
433
+ _setter("opensearches", opensearches)
338
434
  if plan is not None:
339
- pulumi.set(__self__, "plan", plan)
435
+ _setter("plan", plan)
340
436
  if project is not None:
341
- pulumi.set(__self__, "project", project)
437
+ _setter("project", project)
342
438
  if project_vpc_id is not None:
343
- pulumi.set(__self__, "project_vpc_id", project_vpc_id)
439
+ _setter("project_vpc_id", project_vpc_id)
344
440
  if service_host is not None:
345
- pulumi.set(__self__, "service_host", service_host)
441
+ _setter("service_host", service_host)
346
442
  if service_integrations is not None:
347
- pulumi.set(__self__, "service_integrations", service_integrations)
443
+ _setter("service_integrations", service_integrations)
348
444
  if service_name is not None:
349
- pulumi.set(__self__, "service_name", service_name)
445
+ _setter("service_name", service_name)
350
446
  if service_password is not None:
351
- pulumi.set(__self__, "service_password", service_password)
447
+ _setter("service_password", service_password)
352
448
  if service_port is not None:
353
- pulumi.set(__self__, "service_port", service_port)
449
+ _setter("service_port", service_port)
354
450
  if service_type is not None:
355
- pulumi.set(__self__, "service_type", service_type)
451
+ _setter("service_type", service_type)
356
452
  if service_uri is not None:
357
- pulumi.set(__self__, "service_uri", service_uri)
453
+ _setter("service_uri", service_uri)
358
454
  if service_username is not None:
359
- pulumi.set(__self__, "service_username", service_username)
455
+ _setter("service_username", service_username)
360
456
  if state is not None:
361
- pulumi.set(__self__, "state", state)
457
+ _setter("state", state)
362
458
  if static_ips is not None:
363
- pulumi.set(__self__, "static_ips", static_ips)
459
+ _setter("static_ips", static_ips)
364
460
  if tags is not None:
365
- pulumi.set(__self__, "tags", tags)
461
+ _setter("tags", tags)
366
462
  if termination_protection is not None:
367
- pulumi.set(__self__, "termination_protection", termination_protection)
463
+ _setter("termination_protection", termination_protection)
368
464
 
369
465
  @property
370
466
  @pulumi.getter(name="additionalDiskSpace")
@@ -505,7 +601,7 @@ class _OpenSearchState:
505
601
  @pulumi.getter
506
602
  def opensearches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]:
507
603
  """
508
- OpenSearch server provided values
604
+ OpenSearch settings.
509
605
  """
510
606
  return pulumi.get(self, "opensearches")
511
607
 
@@ -661,7 +757,7 @@ class _OpenSearchState:
661
757
  @pulumi.getter(name="staticIps")
662
758
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
663
759
  """
664
- Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
760
+ Use static public IP addresses.
665
761
  """
666
762
  return pulumi.get(self, "static_ips")
667
763
 
@@ -762,7 +858,7 @@ class OpenSearch(pulumi.CustomResource):
762
858
  :param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
763
859
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenSearchServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
764
860
  :param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
765
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
861
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
766
862
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenSearchTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
767
863
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
768
864
  """
@@ -817,6 +913,10 @@ class OpenSearch(pulumi.CustomResource):
817
913
  if resource_args is not None:
818
914
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
819
915
  else:
916
+ kwargs = kwargs or {}
917
+ def _setter(key, value):
918
+ kwargs[key] = value
919
+ OpenSearchArgs._configure(_setter, **kwargs)
820
920
  __self__._internal_init(resource_name, *args, **kwargs)
821
921
 
822
922
  def _internal_init(__self__,
@@ -847,12 +947,14 @@ class OpenSearch(pulumi.CustomResource):
847
947
 
848
948
  __props__.__dict__["additional_disk_space"] = additional_disk_space
849
949
  __props__.__dict__["cloud_name"] = cloud_name
850
- if disk_space is not None and not opts.urn:
851
- warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
852
- pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
853
950
  __props__.__dict__["disk_space"] = disk_space
854
951
  __props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
855
952
  __props__.__dict__["maintenance_window_time"] = maintenance_window_time
953
+ if opensearch_user_config is not None and not isinstance(opensearch_user_config, OpenSearchOpensearchUserConfigArgs):
954
+ opensearch_user_config = opensearch_user_config or {}
955
+ def _setter(key, value):
956
+ opensearch_user_config[key] = value
957
+ OpenSearchOpensearchUserConfigArgs._configure(_setter, **opensearch_user_config)
856
958
  __props__.__dict__["opensearch_user_config"] = opensearch_user_config
857
959
  if plan is None and not opts.urn:
858
960
  raise TypeError("Missing required property 'plan'")
@@ -938,7 +1040,7 @@ class OpenSearch(pulumi.CustomResource):
938
1040
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
939
1041
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
940
1042
  :param pulumi.Input[pulumi.InputType['OpenSearchOpensearchUserConfigArgs']] opensearch_user_config: Opensearch user configurable settings
941
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenSearchOpensearchArgs']]]] opensearches: OpenSearch server provided values
1043
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenSearchOpensearchArgs']]]] opensearches: OpenSearch settings.
942
1044
  :param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
943
1045
  :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
944
1046
  :param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
@@ -951,7 +1053,7 @@ class OpenSearch(pulumi.CustomResource):
951
1053
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
952
1054
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
953
1055
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
954
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
1056
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
955
1057
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenSearchTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
956
1058
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
957
1059
  """
@@ -1083,7 +1185,7 @@ class OpenSearch(pulumi.CustomResource):
1083
1185
  @pulumi.getter
1084
1186
  def opensearches(self) -> pulumi.Output[Sequence['outputs.OpenSearchOpensearch']]:
1085
1187
  """
1086
- OpenSearch server provided values
1188
+ OpenSearch settings.
1087
1189
  """
1088
1190
  return pulumi.get(self, "opensearches")
1089
1191
 
@@ -1187,7 +1289,7 @@ class OpenSearch(pulumi.CustomResource):
1187
1289
  @pulumi.getter(name="staticIps")
1188
1290
  def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
1189
1291
  """
1190
- Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
1292
+ Use static public IP addresses.
1191
1293
  """
1192
1294
  return pulumi.get(self, "static_ips")
1193
1295
 
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['OpenSearchAclConfigArgs', 'OpenSearchAclConfig']
@@ -25,12 +25,27 @@ class OpenSearchAclConfigArgs:
25
25
  :param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
26
26
  :param pulumi.Input[bool] extended_acl: Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
27
27
  """
28
- pulumi.set(__self__, "project", project)
29
- pulumi.set(__self__, "service_name", service_name)
28
+ OpenSearchAclConfigArgs._configure(
29
+ lambda key, value: pulumi.set(__self__, key, value),
30
+ project=project,
31
+ service_name=service_name,
32
+ enabled=enabled,
33
+ extended_acl=extended_acl,
34
+ )
35
+ @staticmethod
36
+ def _configure(
37
+ _setter: Callable[[Any, Any], None],
38
+ project: pulumi.Input[str],
39
+ service_name: pulumi.Input[str],
40
+ enabled: Optional[pulumi.Input[bool]] = None,
41
+ extended_acl: Optional[pulumi.Input[bool]] = None,
42
+ opts: Optional[pulumi.ResourceOptions]=None):
43
+ _setter("project", project)
44
+ _setter("service_name", service_name)
30
45
  if enabled is not None:
31
- pulumi.set(__self__, "enabled", enabled)
46
+ _setter("enabled", enabled)
32
47
  if extended_acl is not None:
33
- pulumi.set(__self__, "extended_acl", extended_acl)
48
+ _setter("extended_acl", extended_acl)
34
49
 
35
50
  @property
36
51
  @pulumi.getter
@@ -95,14 +110,29 @@ class _OpenSearchAclConfigState:
95
110
  :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
96
111
  :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
97
112
  """
113
+ _OpenSearchAclConfigState._configure(
114
+ lambda key, value: pulumi.set(__self__, key, value),
115
+ enabled=enabled,
116
+ extended_acl=extended_acl,
117
+ project=project,
118
+ service_name=service_name,
119
+ )
120
+ @staticmethod
121
+ def _configure(
122
+ _setter: Callable[[Any, Any], None],
123
+ enabled: Optional[pulumi.Input[bool]] = None,
124
+ extended_acl: Optional[pulumi.Input[bool]] = None,
125
+ project: Optional[pulumi.Input[str]] = None,
126
+ service_name: Optional[pulumi.Input[str]] = None,
127
+ opts: Optional[pulumi.ResourceOptions]=None):
98
128
  if enabled is not None:
99
- pulumi.set(__self__, "enabled", enabled)
129
+ _setter("enabled", enabled)
100
130
  if extended_acl is not None:
101
- pulumi.set(__self__, "extended_acl", extended_acl)
131
+ _setter("extended_acl", extended_acl)
102
132
  if project is not None:
103
- pulumi.set(__self__, "project", project)
133
+ _setter("project", project)
104
134
  if service_name is not None:
105
- pulumi.set(__self__, "service_name", service_name)
135
+ _setter("service_name", service_name)
106
136
 
107
137
  @property
108
138
  @pulumi.getter
@@ -254,6 +284,10 @@ class OpenSearchAclConfig(pulumi.CustomResource):
254
284
  if resource_args is not None:
255
285
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
256
286
  else:
287
+ kwargs = kwargs or {}
288
+ def _setter(key, value):
289
+ kwargs[key] = value
290
+ OpenSearchAclConfigArgs._configure(_setter, **kwargs)
257
291
  __self__._internal_init(resource_name, *args, **kwargs)
258
292
 
259
293
  def _internal_init(__self__,
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['OpenSearchAclRuleArgs', 'OpenSearchAclRule']
@@ -27,11 +27,28 @@ class OpenSearchAclRuleArgs:
27
27
  :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
28
28
  :param pulumi.Input[str] username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
29
29
  """
30
- pulumi.set(__self__, "index", index)
31
- pulumi.set(__self__, "permission", permission)
32
- pulumi.set(__self__, "project", project)
33
- pulumi.set(__self__, "service_name", service_name)
34
- pulumi.set(__self__, "username", username)
30
+ OpenSearchAclRuleArgs._configure(
31
+ lambda key, value: pulumi.set(__self__, key, value),
32
+ index=index,
33
+ permission=permission,
34
+ project=project,
35
+ service_name=service_name,
36
+ username=username,
37
+ )
38
+ @staticmethod
39
+ def _configure(
40
+ _setter: Callable[[Any, Any], None],
41
+ index: pulumi.Input[str],
42
+ permission: pulumi.Input[str],
43
+ project: pulumi.Input[str],
44
+ service_name: pulumi.Input[str],
45
+ username: pulumi.Input[str],
46
+ opts: Optional[pulumi.ResourceOptions]=None):
47
+ _setter("index", index)
48
+ _setter("permission", permission)
49
+ _setter("project", project)
50
+ _setter("service_name", service_name)
51
+ _setter("username", username)
35
52
 
36
53
  @property
37
54
  @pulumi.getter
@@ -110,16 +127,33 @@ class _OpenSearchAclRuleState:
110
127
  :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
111
128
  :param pulumi.Input[str] username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
112
129
  """
130
+ _OpenSearchAclRuleState._configure(
131
+ lambda key, value: pulumi.set(__self__, key, value),
132
+ index=index,
133
+ permission=permission,
134
+ project=project,
135
+ service_name=service_name,
136
+ username=username,
137
+ )
138
+ @staticmethod
139
+ def _configure(
140
+ _setter: Callable[[Any, Any], None],
141
+ index: Optional[pulumi.Input[str]] = None,
142
+ permission: Optional[pulumi.Input[str]] = None,
143
+ project: Optional[pulumi.Input[str]] = None,
144
+ service_name: Optional[pulumi.Input[str]] = None,
145
+ username: Optional[pulumi.Input[str]] = None,
146
+ opts: Optional[pulumi.ResourceOptions]=None):
113
147
  if index is not None:
114
- pulumi.set(__self__, "index", index)
148
+ _setter("index", index)
115
149
  if permission is not None:
116
- pulumi.set(__self__, "permission", permission)
150
+ _setter("permission", permission)
117
151
  if project is not None:
118
- pulumi.set(__self__, "project", project)
152
+ _setter("project", project)
119
153
  if service_name is not None:
120
- pulumi.set(__self__, "service_name", service_name)
154
+ _setter("service_name", service_name)
121
155
  if username is not None:
122
- pulumi.set(__self__, "username", username)
156
+ _setter("username", username)
123
157
 
124
158
  @property
125
159
  @pulumi.getter
@@ -353,6 +387,10 @@ class OpenSearchAclRule(pulumi.CustomResource):
353
387
  if resource_args is not None:
354
388
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
355
389
  else:
390
+ kwargs = kwargs or {}
391
+ def _setter(key, value):
392
+ kwargs[key] = value
393
+ OpenSearchAclRuleArgs._configure(_setter, **kwargs)
356
394
  __self__._internal_init(resource_name, *args, **kwargs)
357
395
 
358
396
  def _internal_init(__self__,
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['OpensearchSecurityPluginConfigArgs', 'OpensearchSecurityPluginConfig']
@@ -23,9 +23,22 @@ class OpensearchSecurityPluginConfigArgs:
23
23
  :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
24
24
  :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
25
25
  """
26
- pulumi.set(__self__, "admin_password", admin_password)
27
- pulumi.set(__self__, "project", project)
28
- pulumi.set(__self__, "service_name", service_name)
26
+ OpensearchSecurityPluginConfigArgs._configure(
27
+ lambda key, value: pulumi.set(__self__, key, value),
28
+ admin_password=admin_password,
29
+ project=project,
30
+ service_name=service_name,
31
+ )
32
+ @staticmethod
33
+ def _configure(
34
+ _setter: Callable[[Any, Any], None],
35
+ admin_password: pulumi.Input[str],
36
+ project: pulumi.Input[str],
37
+ service_name: pulumi.Input[str],
38
+ opts: Optional[pulumi.ResourceOptions]=None):
39
+ _setter("admin_password", admin_password)
40
+ _setter("project", project)
41
+ _setter("service_name", service_name)
29
42
 
30
43
  @property
31
44
  @pulumi.getter(name="adminPassword")
@@ -82,18 +95,37 @@ class _OpensearchSecurityPluginConfigState:
82
95
  :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
83
96
  :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
84
97
  """
98
+ _OpensearchSecurityPluginConfigState._configure(
99
+ lambda key, value: pulumi.set(__self__, key, value),
100
+ admin_enabled=admin_enabled,
101
+ admin_password=admin_password,
102
+ available=available,
103
+ enabled=enabled,
104
+ project=project,
105
+ service_name=service_name,
106
+ )
107
+ @staticmethod
108
+ def _configure(
109
+ _setter: Callable[[Any, Any], None],
110
+ admin_enabled: Optional[pulumi.Input[bool]] = None,
111
+ admin_password: Optional[pulumi.Input[str]] = None,
112
+ available: Optional[pulumi.Input[bool]] = None,
113
+ enabled: Optional[pulumi.Input[bool]] = None,
114
+ project: Optional[pulumi.Input[str]] = None,
115
+ service_name: Optional[pulumi.Input[str]] = None,
116
+ opts: Optional[pulumi.ResourceOptions]=None):
85
117
  if admin_enabled is not None:
86
- pulumi.set(__self__, "admin_enabled", admin_enabled)
118
+ _setter("admin_enabled", admin_enabled)
87
119
  if admin_password is not None:
88
- pulumi.set(__self__, "admin_password", admin_password)
120
+ _setter("admin_password", admin_password)
89
121
  if available is not None:
90
- pulumi.set(__self__, "available", available)
122
+ _setter("available", available)
91
123
  if enabled is not None:
92
- pulumi.set(__self__, "enabled", enabled)
124
+ _setter("enabled", enabled)
93
125
  if project is not None:
94
- pulumi.set(__self__, "project", project)
126
+ _setter("project", project)
95
127
  if service_name is not None:
96
- pulumi.set(__self__, "service_name", service_name)
128
+ _setter("service_name", service_name)
97
129
 
98
130
  @property
99
131
  @pulumi.getter(name="adminEnabled")
@@ -217,6 +249,10 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
217
249
  if resource_args is not None:
218
250
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
219
251
  else:
252
+ kwargs = kwargs or {}
253
+ def _setter(key, value):
254
+ kwargs[key] = value
255
+ OpensearchSecurityPluginConfigArgs._configure(_setter, **kwargs)
220
256
  __self__._internal_init(resource_name, *args, **kwargs)
221
257
 
222
258
  def _internal_init(__self__,