pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__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 (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32826 -13922
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +34 -43
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +37 -12
  7. pulumi_aiven/account_team_member.py +48 -35
  8. pulumi_aiven/account_team_project.py +42 -25
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -39
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -57
  14. pulumi_aiven/azure_privatelink.py +54 -49
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -73
  17. pulumi_aiven/billing_group.py +33 -30
  18. pulumi_aiven/cassandra.py +145 -122
  19. pulumi_aiven/cassandra_user.py +59 -54
  20. pulumi_aiven/clickhouse.py +133 -110
  21. pulumi_aiven/clickhouse_database.py +58 -58
  22. pulumi_aiven/clickhouse_grant.py +135 -130
  23. pulumi_aiven/clickhouse_role.py +36 -45
  24. pulumi_aiven/clickhouse_user.py +50 -45
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -62
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -100
  30. pulumi_aiven/flink_application.py +58 -51
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
  36. pulumi_aiven/get_account.py +20 -5
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -20
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
  46. pulumi_aiven/get_azure_privatelink.py +37 -22
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -19
  50. pulumi_aiven/get_cassandra.py +55 -19
  51. pulumi_aiven/get_cassandra_user.py +42 -26
  52. pulumi_aiven/get_clickhouse.py +55 -19
  53. pulumi_aiven/get_clickhouse_database.py +35 -22
  54. pulumi_aiven/get_clickhouse_user.py +40 -25
  55. pulumi_aiven/get_connection_pool.py +43 -26
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -19
  59. pulumi_aiven/get_flink_application.py +44 -27
  60. pulumi_aiven/get_flink_application_version.py +55 -33
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
  63. pulumi_aiven/get_grafana.py +55 -19
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -21
  68. pulumi_aiven/get_kafka_acl.py +50 -33
  69. pulumi_aiven/get_kafka_connect.py +54 -32
  70. pulumi_aiven/get_kafka_connector.py +44 -24
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -28
  72. pulumi_aiven/get_kafka_schema.py +35 -19
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -17
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -25
  76. pulumi_aiven/get_kafka_user.py +42 -26
  77. pulumi_aiven/get_m3_aggregator.py +51 -15
  78. pulumi_aiven/get_m3_db.py +55 -19
  79. pulumi_aiven/get_m3db_user.py +38 -24
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
  81. pulumi_aiven/get_my_sql.py +50 -14
  82. pulumi_aiven/get_mysql_database.py +31 -18
  83. pulumi_aiven/get_mysql_user.py +36 -19
  84. pulumi_aiven/get_open_search.py +50 -14
  85. pulumi_aiven/get_open_search_acl_config.py +27 -15
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -21
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
  88. pulumi_aiven/get_opensearch_user.py +32 -18
  89. pulumi_aiven/get_organization.py +25 -13
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -19
  96. pulumi_aiven/get_pg_database.py +39 -24
  97. pulumi_aiven/get_pg_user.py +44 -27
  98. pulumi_aiven/get_project.py +43 -22
  99. pulumi_aiven/get_project_user.py +27 -15
  100. pulumi_aiven/get_project_vpc.py +31 -19
  101. pulumi_aiven/get_redis.py +50 -14
  102. pulumi_aiven/get_redis_user.py +40 -22
  103. pulumi_aiven/get_service_component.py +40 -18
  104. pulumi_aiven/get_service_integration.py +163 -49
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -33
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -318
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -140
  115. pulumi_aiven/kafka_acl.py +64 -53
  116. pulumi_aiven/kafka_connect.py +201 -328
  117. pulumi_aiven/kafka_connector.py +67 -56
  118. pulumi_aiven/kafka_mirror_maker.py +139 -318
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +65 -56
  121. pulumi_aiven/kafka_schema_configuration.py +25 -20
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -54
  125. pulumi_aiven/m3_aggregator.py +176 -308
  126. pulumi_aiven/m3_db.py +190 -322
  127. pulumi_aiven/m3db_user.py +51 -46
  128. pulumi_aiven/mirror_maker_replication_flow.py +217 -53
  129. pulumi_aiven/my_sql.py +190 -322
  130. pulumi_aiven/mysql_database.py +32 -47
  131. pulumi_aiven/mysql_user.py +37 -32
  132. pulumi_aiven/open_search.py +128 -105
  133. pulumi_aiven/open_search_acl_config.py +33 -32
  134. pulumi_aiven/open_search_acl_rule.py +55 -50
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -25
  137. pulumi_aiven/organization.py +18 -13
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -32
  146. pulumi_aiven/outputs.py +38509 -21612
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -67
  149. pulumi_aiven/pg_user.py +80 -61
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -31
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +163 -295
  156. pulumi_aiven/redis_user.py +58 -53
  157. pulumi_aiven/service_integration.py +511 -161
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -22,10 +27,10 @@ class KafkaConnectorArgs:
22
27
  service_name: pulumi.Input[str]):
23
28
  """
24
29
  The set of arguments for constructing a KafkaConnector resource.
25
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The Kafka Connector configuration parameters.
26
- :param pulumi.Input[str] connector_name: The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
27
- :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.
28
- :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.
30
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The Kafka connector configuration parameters.
31
+ :param pulumi.Input[str] connector_name: The Kafka connector name. Changing this property forces recreation of the resource.
32
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
33
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
29
34
  """
30
35
  pulumi.set(__self__, "config", config)
31
36
  pulumi.set(__self__, "connector_name", connector_name)
@@ -36,7 +41,7 @@ class KafkaConnectorArgs:
36
41
  @pulumi.getter
37
42
  def config(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
38
43
  """
39
- The Kafka Connector configuration parameters.
44
+ The Kafka connector configuration parameters.
40
45
  """
41
46
  return pulumi.get(self, "config")
42
47
 
@@ -48,7 +53,7 @@ class KafkaConnectorArgs:
48
53
  @pulumi.getter(name="connectorName")
49
54
  def connector_name(self) -> pulumi.Input[str]:
50
55
  """
51
- The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
56
+ The Kafka connector name. Changing this property forces recreation of the resource.
52
57
  """
53
58
  return pulumi.get(self, "connector_name")
54
59
 
@@ -60,7 +65,7 @@ class KafkaConnectorArgs:
60
65
  @pulumi.getter
61
66
  def project(self) -> pulumi.Input[str]:
62
67
  """
63
- 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.
68
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
64
69
  """
65
70
  return pulumi.get(self, "project")
66
71
 
@@ -72,7 +77,7 @@ class KafkaConnectorArgs:
72
77
  @pulumi.getter(name="serviceName")
73
78
  def service_name(self) -> pulumi.Input[str]:
74
79
  """
75
- 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.
80
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
76
81
  """
77
82
  return pulumi.get(self, "service_name")
78
83
 
@@ -97,16 +102,16 @@ class _KafkaConnectorState:
97
102
  tasks: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaConnectorTaskArgs']]]] = None):
98
103
  """
99
104
  Input properties used for looking up and filtering KafkaConnector resources.
100
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The Kafka Connector configuration parameters.
101
- :param pulumi.Input[str] connector_name: The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
105
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The Kafka connector configuration parameters.
106
+ :param pulumi.Input[str] connector_name: The Kafka connector name. Changing this property forces recreation of the resource.
102
107
  :param pulumi.Input[str] plugin_author: The Kafka connector author.
103
108
  :param pulumi.Input[str] plugin_class: The Kafka connector Java class.
104
109
  :param pulumi.Input[str] plugin_doc_url: The Kafka connector documentation URL.
105
110
  :param pulumi.Input[str] plugin_title: The Kafka connector title.
106
111
  :param pulumi.Input[str] plugin_type: The Kafka connector type.
107
- :param pulumi.Input[str] plugin_version: The version of the kafka connector.
108
- :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.
109
- :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.
112
+ :param pulumi.Input[str] plugin_version: The version of the Kafka connector.
113
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
114
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
110
115
  :param pulumi.Input[Sequence[pulumi.Input['KafkaConnectorTaskArgs']]] tasks: List of tasks of a connector.
111
116
  """
112
117
  if config is not None:
@@ -136,7 +141,7 @@ class _KafkaConnectorState:
136
141
  @pulumi.getter
137
142
  def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
138
143
  """
139
- The Kafka Connector configuration parameters.
144
+ The Kafka connector configuration parameters.
140
145
  """
141
146
  return pulumi.get(self, "config")
142
147
 
@@ -148,7 +153,7 @@ class _KafkaConnectorState:
148
153
  @pulumi.getter(name="connectorName")
149
154
  def connector_name(self) -> Optional[pulumi.Input[str]]:
150
155
  """
151
- The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
156
+ The Kafka connector name. Changing this property forces recreation of the resource.
152
157
  """
153
158
  return pulumi.get(self, "connector_name")
154
159
 
@@ -220,7 +225,7 @@ class _KafkaConnectorState:
220
225
  @pulumi.getter(name="pluginVersion")
221
226
  def plugin_version(self) -> Optional[pulumi.Input[str]]:
222
227
  """
223
- The version of the kafka connector.
228
+ The version of the Kafka connector.
224
229
  """
225
230
  return pulumi.get(self, "plugin_version")
226
231
 
@@ -232,7 +237,7 @@ class _KafkaConnectorState:
232
237
  @pulumi.getter
233
238
  def project(self) -> Optional[pulumi.Input[str]]:
234
239
  """
235
- 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.
240
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
236
241
  """
237
242
  return pulumi.get(self, "project")
238
243
 
@@ -244,7 +249,7 @@ class _KafkaConnectorState:
244
249
  @pulumi.getter(name="serviceName")
245
250
  def service_name(self) -> Optional[pulumi.Input[str]]:
246
251
  """
247
- 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.
252
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
248
253
  """
249
254
  return pulumi.get(self, "service_name")
250
255
 
@@ -276,7 +281,10 @@ class KafkaConnector(pulumi.CustomResource):
276
281
  service_name: Optional[pulumi.Input[str]] = None,
277
282
  __props__=None):
278
283
  """
279
- The Kafka connectors resource allows the creation and management of Aiven Kafka connectors.
284
+ Creates and manages Aiven for Apache Kafka® [connectors](https://aiven.io/docs/products/kafka/kafka-connect/concepts/list-of-connector-plugins).
285
+ Source connectors let you import data from an external system into a Kafka topic. Sink connectors let you export data from a topic to an external system.
286
+
287
+ You can use connectors with any Aiven for Apache Kafka® service that is integrated with an Aiven for Apache Kafka® Connect service.
280
288
 
281
289
  ## Example Usage
282
290
 
@@ -284,33 +292,33 @@ class KafkaConnector(pulumi.CustomResource):
284
292
  import pulumi
285
293
  import pulumi_aiven as aiven
286
294
 
287
- kafka_os_con1 = aiven.KafkaConnector("kafka-os-con1",
288
- project=aiven_project["kafka-con-project1"]["project"],
289
- service_name=aiven_kafka["kafka-service1"]["service_name"],
290
- connector_name="kafka-os-con1",
295
+ kafka_os_connector = aiven.KafkaConnector("kafka-os-connector",
296
+ project=example_project["project"],
297
+ service_name=example_kafka["serviceName"],
298
+ connector_name="kafka-opensearch-connector",
291
299
  config={
292
- "topics": aiven_kafka_topic["kafka-topic1"]["topic_name"],
300
+ "name": "kafka-opensearch-connector",
301
+ "topics": example_topic["topicName"],
293
302
  "connector.class": "io.aiven.kafka.connect.opensearch.OpensearchSinkConnector",
294
303
  "type.name": "os-connector",
295
- "name": "kafka-os-con1",
296
- "connection.url": aiven_opensearch["os-service1"]["service_uri"],
297
- "connection.username": aiven_opensearch["os-service1"]["service_username"],
298
- "connection.password": aiven_opensearch["os-service1"]["service_password"],
304
+ "connection.url": example_os["serviceUri"],
305
+ "connection.username": example_os["serviceUsername"],
306
+ "connection.password": example_os["servicePassword"],
299
307
  })
300
308
  ```
301
309
 
302
310
  ## Import
303
311
 
304
312
  ```sh
305
- $ pulumi import aiven:index/kafkaConnector:KafkaConnector kafka-os-con1 project/service_name/connector_name
313
+ $ pulumi import aiven:index/kafkaConnector:KafkaConnector kafka-os-connector PROJECT/SERVICE_NAME/CONNECTOR_NAME
306
314
  ```
307
315
 
308
316
  :param str resource_name: The name of the resource.
309
317
  :param pulumi.ResourceOptions opts: Options for the resource.
310
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The Kafka Connector configuration parameters.
311
- :param pulumi.Input[str] connector_name: The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
312
- :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.
313
- :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.
318
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The Kafka connector configuration parameters.
319
+ :param pulumi.Input[str] connector_name: The Kafka connector name. Changing this property forces recreation of the resource.
320
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
321
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
314
322
  """
315
323
  ...
316
324
  @overload
@@ -319,7 +327,10 @@ class KafkaConnector(pulumi.CustomResource):
319
327
  args: KafkaConnectorArgs,
320
328
  opts: Optional[pulumi.ResourceOptions] = None):
321
329
  """
322
- The Kafka connectors resource allows the creation and management of Aiven Kafka connectors.
330
+ Creates and manages Aiven for Apache Kafka® [connectors](https://aiven.io/docs/products/kafka/kafka-connect/concepts/list-of-connector-plugins).
331
+ Source connectors let you import data from an external system into a Kafka topic. Sink connectors let you export data from a topic to an external system.
332
+
333
+ You can use connectors with any Aiven for Apache Kafka® service that is integrated with an Aiven for Apache Kafka® Connect service.
323
334
 
324
335
  ## Example Usage
325
336
 
@@ -327,25 +338,25 @@ class KafkaConnector(pulumi.CustomResource):
327
338
  import pulumi
328
339
  import pulumi_aiven as aiven
329
340
 
330
- kafka_os_con1 = aiven.KafkaConnector("kafka-os-con1",
331
- project=aiven_project["kafka-con-project1"]["project"],
332
- service_name=aiven_kafka["kafka-service1"]["service_name"],
333
- connector_name="kafka-os-con1",
341
+ kafka_os_connector = aiven.KafkaConnector("kafka-os-connector",
342
+ project=example_project["project"],
343
+ service_name=example_kafka["serviceName"],
344
+ connector_name="kafka-opensearch-connector",
334
345
  config={
335
- "topics": aiven_kafka_topic["kafka-topic1"]["topic_name"],
346
+ "name": "kafka-opensearch-connector",
347
+ "topics": example_topic["topicName"],
336
348
  "connector.class": "io.aiven.kafka.connect.opensearch.OpensearchSinkConnector",
337
349
  "type.name": "os-connector",
338
- "name": "kafka-os-con1",
339
- "connection.url": aiven_opensearch["os-service1"]["service_uri"],
340
- "connection.username": aiven_opensearch["os-service1"]["service_username"],
341
- "connection.password": aiven_opensearch["os-service1"]["service_password"],
350
+ "connection.url": example_os["serviceUri"],
351
+ "connection.username": example_os["serviceUsername"],
352
+ "connection.password": example_os["servicePassword"],
342
353
  })
343
354
  ```
344
355
 
345
356
  ## Import
346
357
 
347
358
  ```sh
348
- $ pulumi import aiven:index/kafkaConnector:KafkaConnector kafka-os-con1 project/service_name/connector_name
359
+ $ pulumi import aiven:index/kafkaConnector:KafkaConnector kafka-os-connector PROJECT/SERVICE_NAME/CONNECTOR_NAME
349
360
  ```
350
361
 
351
362
  :param str resource_name: The name of the resource.
@@ -415,7 +426,7 @@ class KafkaConnector(pulumi.CustomResource):
415
426
  plugin_version: Optional[pulumi.Input[str]] = None,
416
427
  project: Optional[pulumi.Input[str]] = None,
417
428
  service_name: Optional[pulumi.Input[str]] = None,
418
- tasks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectorTaskArgs']]]]] = None) -> 'KafkaConnector':
429
+ tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectorTaskArgs', 'KafkaConnectorTaskArgsDict']]]]] = None) -> 'KafkaConnector':
419
430
  """
420
431
  Get an existing KafkaConnector resource's state with the given name, id, and optional extra
421
432
  properties used to qualify the lookup.
@@ -423,17 +434,17 @@ class KafkaConnector(pulumi.CustomResource):
423
434
  :param str resource_name: The unique name of the resulting resource.
424
435
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
425
436
  :param pulumi.ResourceOptions opts: Options for the resource.
426
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The Kafka Connector configuration parameters.
427
- :param pulumi.Input[str] connector_name: The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
437
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The Kafka connector configuration parameters.
438
+ :param pulumi.Input[str] connector_name: The Kafka connector name. Changing this property forces recreation of the resource.
428
439
  :param pulumi.Input[str] plugin_author: The Kafka connector author.
429
440
  :param pulumi.Input[str] plugin_class: The Kafka connector Java class.
430
441
  :param pulumi.Input[str] plugin_doc_url: The Kafka connector documentation URL.
431
442
  :param pulumi.Input[str] plugin_title: The Kafka connector title.
432
443
  :param pulumi.Input[str] plugin_type: The Kafka connector type.
433
- :param pulumi.Input[str] plugin_version: The version of the kafka connector.
434
- :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.
435
- :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.
436
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectorTaskArgs']]]] tasks: List of tasks of a connector.
444
+ :param pulumi.Input[str] plugin_version: The version of the Kafka connector.
445
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
446
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
447
+ :param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectorTaskArgs', 'KafkaConnectorTaskArgsDict']]]] tasks: List of tasks of a connector.
437
448
  """
438
449
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
439
450
 
@@ -456,7 +467,7 @@ class KafkaConnector(pulumi.CustomResource):
456
467
  @pulumi.getter
457
468
  def config(self) -> pulumi.Output[Mapping[str, str]]:
458
469
  """
459
- The Kafka Connector configuration parameters.
470
+ The Kafka connector configuration parameters.
460
471
  """
461
472
  return pulumi.get(self, "config")
462
473
 
@@ -464,7 +475,7 @@ class KafkaConnector(pulumi.CustomResource):
464
475
  @pulumi.getter(name="connectorName")
465
476
  def connector_name(self) -> pulumi.Output[str]:
466
477
  """
467
- The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
478
+ The Kafka connector name. Changing this property forces recreation of the resource.
468
479
  """
469
480
  return pulumi.get(self, "connector_name")
470
481
 
@@ -512,7 +523,7 @@ class KafkaConnector(pulumi.CustomResource):
512
523
  @pulumi.getter(name="pluginVersion")
513
524
  def plugin_version(self) -> pulumi.Output[str]:
514
525
  """
515
- The version of the kafka connector.
526
+ The version of the Kafka connector.
516
527
  """
517
528
  return pulumi.get(self, "plugin_version")
518
529
 
@@ -520,7 +531,7 @@ class KafkaConnector(pulumi.CustomResource):
520
531
  @pulumi.getter
521
532
  def project(self) -> pulumi.Output[str]:
522
533
  """
523
- 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.
534
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
524
535
  """
525
536
  return pulumi.get(self, "project")
526
537
 
@@ -528,7 +539,7 @@ class KafkaConnector(pulumi.CustomResource):
528
539
  @pulumi.getter(name="serviceName")
529
540
  def service_name(self) -> pulumi.Output[str]:
530
541
  """
531
- 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.
542
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
532
543
  """
533
544
  return pulumi.get(self, "service_name")
534
545