pulumi-aiven 6.13.0a1710156545__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 +32615 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  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 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  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 -48
  36. pulumi_aiven/get_account.py +20 -9
  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 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  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 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  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 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  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 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  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 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +63 -58
  121. pulumi_aiven/kafka_schema_configuration.py +25 -24
  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 -58
  125. pulumi_aiven/m3_aggregator.py +174 -310
  126. pulumi_aiven/m3_db.py +190 -326
  127. pulumi_aiven/m3db_user.py +51 -50
  128. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  129. pulumi_aiven/my_sql.py +188 -324
  130. pulumi_aiven/mysql_database.py +32 -51
  131. pulumi_aiven/mysql_user.py +37 -36
  132. pulumi_aiven/open_search.py +126 -107
  133. pulumi_aiven/open_search_acl_config.py +33 -36
  134. pulumi_aiven/open_search_acl_rule.py +55 -54
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -29
  137. pulumi_aiven/organization.py +18 -17
  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 -36
  146. pulumi_aiven/outputs.py +38355 -21458
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -71
  149. pulumi_aiven/pg_user.py +80 -65
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -35
  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 +161 -297
  156. pulumi_aiven/redis_user.py +58 -57
  157. pulumi_aiven/service_integration.py +511 -165
  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 -58
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1710156545.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.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1710156545.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
 
12
17
  __all__ = ['FlinkApplicationDeploymentArgs', 'FlinkApplicationDeployment']
@@ -23,15 +28,13 @@ class FlinkApplicationDeploymentArgs:
23
28
  starting_savepoint: Optional[pulumi.Input[str]] = None):
24
29
  """
25
30
  The set of arguments for constructing a FlinkApplicationDeployment resource.
26
- :param pulumi.Input[str] application_id: Application ID
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
28
- reference. This property cannot be changed, doing so forces recreation of the resource.
29
- :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
30
- variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
31
- :param pulumi.Input[str] version_id: ApplicationVersion ID
32
- :param pulumi.Input[int] parallelism: Flink Job parallelism
33
- :param pulumi.Input[bool] restart_enabled: Specifies whether a Flink Job is restarted in case it fails
34
- :param pulumi.Input[str] starting_savepoint: Job savepoint
31
+ :param pulumi.Input[str] application_id: Application ID.
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.
34
+ :param pulumi.Input[str] version_id: Application version ID.
35
+ :param pulumi.Input[int] parallelism: The number of parallel instances for the task.
36
+ :param pulumi.Input[bool] restart_enabled: Restart a Flink job if it fails.
37
+ :param pulumi.Input[str] starting_savepoint: The savepoint to deploy from.
35
38
  """
36
39
  pulumi.set(__self__, "application_id", application_id)
37
40
  pulumi.set(__self__, "project", project)
@@ -48,7 +51,7 @@ class FlinkApplicationDeploymentArgs:
48
51
  @pulumi.getter(name="applicationId")
49
52
  def application_id(self) -> pulumi.Input[str]:
50
53
  """
51
- Application ID
54
+ Application ID.
52
55
  """
53
56
  return pulumi.get(self, "application_id")
54
57
 
@@ -60,8 +63,7 @@ class FlinkApplicationDeploymentArgs:
60
63
  @pulumi.getter
61
64
  def project(self) -> pulumi.Input[str]:
62
65
  """
63
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
64
- reference. This property cannot be changed, doing so forces recreation of the resource.
66
+ 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.
65
67
  """
66
68
  return pulumi.get(self, "project")
67
69
 
@@ -73,8 +75,7 @@ class FlinkApplicationDeploymentArgs:
73
75
  @pulumi.getter(name="serviceName")
74
76
  def service_name(self) -> pulumi.Input[str]:
75
77
  """
76
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
77
- variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
78
+ 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.
78
79
  """
79
80
  return pulumi.get(self, "service_name")
80
81
 
@@ -86,7 +87,7 @@ class FlinkApplicationDeploymentArgs:
86
87
  @pulumi.getter(name="versionId")
87
88
  def version_id(self) -> pulumi.Input[str]:
88
89
  """
89
- ApplicationVersion ID
90
+ Application version ID.
90
91
  """
91
92
  return pulumi.get(self, "version_id")
92
93
 
@@ -98,7 +99,7 @@ class FlinkApplicationDeploymentArgs:
98
99
  @pulumi.getter
99
100
  def parallelism(self) -> Optional[pulumi.Input[int]]:
100
101
  """
101
- Flink Job parallelism
102
+ The number of parallel instances for the task.
102
103
  """
103
104
  return pulumi.get(self, "parallelism")
104
105
 
@@ -110,7 +111,7 @@ class FlinkApplicationDeploymentArgs:
110
111
  @pulumi.getter(name="restartEnabled")
111
112
  def restart_enabled(self) -> Optional[pulumi.Input[bool]]:
112
113
  """
113
- Specifies whether a Flink Job is restarted in case it fails
114
+ Restart a Flink job if it fails.
114
115
  """
115
116
  return pulumi.get(self, "restart_enabled")
116
117
 
@@ -122,7 +123,7 @@ class FlinkApplicationDeploymentArgs:
122
123
  @pulumi.getter(name="startingSavepoint")
123
124
  def starting_savepoint(self) -> Optional[pulumi.Input[str]]:
124
125
  """
125
- Job savepoint
126
+ The savepoint to deploy from.
126
127
  """
127
128
  return pulumi.get(self, "starting_savepoint")
128
129
 
@@ -145,17 +146,15 @@ class _FlinkApplicationDeploymentState:
145
146
  version_id: Optional[pulumi.Input[str]] = None):
146
147
  """
147
148
  Input properties used for looking up and filtering FlinkApplicationDeployment resources.
148
- :param pulumi.Input[str] application_id: Application ID
149
- :param pulumi.Input[str] created_at: Application deployment creation time
150
- :param pulumi.Input[str] created_by: Application deployment creator
151
- :param pulumi.Input[int] parallelism: Flink Job parallelism
152
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
153
- reference. This property cannot be changed, doing so forces recreation of the resource.
154
- :param pulumi.Input[bool] restart_enabled: Specifies whether a Flink Job is restarted in case it fails
155
- :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
156
- variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
157
- :param pulumi.Input[str] starting_savepoint: Job savepoint
158
- :param pulumi.Input[str] version_id: ApplicationVersion ID
149
+ :param pulumi.Input[str] application_id: Application ID.
150
+ :param pulumi.Input[str] created_at: Application deployment creation time.
151
+ :param pulumi.Input[str] created_by: The user who deployed the application.
152
+ :param pulumi.Input[int] parallelism: The number of parallel instances for the task.
153
+ :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.
154
+ :param pulumi.Input[bool] restart_enabled: Restart a Flink job if it fails.
155
+ :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.
156
+ :param pulumi.Input[str] starting_savepoint: The savepoint to deploy from.
157
+ :param pulumi.Input[str] version_id: Application version ID.
159
158
  """
160
159
  if application_id is not None:
161
160
  pulumi.set(__self__, "application_id", application_id)
@@ -180,7 +179,7 @@ class _FlinkApplicationDeploymentState:
180
179
  @pulumi.getter(name="applicationId")
181
180
  def application_id(self) -> Optional[pulumi.Input[str]]:
182
181
  """
183
- Application ID
182
+ Application ID.
184
183
  """
185
184
  return pulumi.get(self, "application_id")
186
185
 
@@ -192,7 +191,7 @@ class _FlinkApplicationDeploymentState:
192
191
  @pulumi.getter(name="createdAt")
193
192
  def created_at(self) -> Optional[pulumi.Input[str]]:
194
193
  """
195
- Application deployment creation time
194
+ Application deployment creation time.
196
195
  """
197
196
  return pulumi.get(self, "created_at")
198
197
 
@@ -204,7 +203,7 @@ class _FlinkApplicationDeploymentState:
204
203
  @pulumi.getter(name="createdBy")
205
204
  def created_by(self) -> Optional[pulumi.Input[str]]:
206
205
  """
207
- Application deployment creator
206
+ The user who deployed the application.
208
207
  """
209
208
  return pulumi.get(self, "created_by")
210
209
 
@@ -216,7 +215,7 @@ class _FlinkApplicationDeploymentState:
216
215
  @pulumi.getter
217
216
  def parallelism(self) -> Optional[pulumi.Input[int]]:
218
217
  """
219
- Flink Job parallelism
218
+ The number of parallel instances for the task.
220
219
  """
221
220
  return pulumi.get(self, "parallelism")
222
221
 
@@ -228,8 +227,7 @@ class _FlinkApplicationDeploymentState:
228
227
  @pulumi.getter
229
228
  def project(self) -> Optional[pulumi.Input[str]]:
230
229
  """
231
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
232
- reference. This property cannot be changed, doing so forces recreation of the resource.
230
+ 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.
233
231
  """
234
232
  return pulumi.get(self, "project")
235
233
 
@@ -241,7 +239,7 @@ class _FlinkApplicationDeploymentState:
241
239
  @pulumi.getter(name="restartEnabled")
242
240
  def restart_enabled(self) -> Optional[pulumi.Input[bool]]:
243
241
  """
244
- Specifies whether a Flink Job is restarted in case it fails
242
+ Restart a Flink job if it fails.
245
243
  """
246
244
  return pulumi.get(self, "restart_enabled")
247
245
 
@@ -253,8 +251,7 @@ class _FlinkApplicationDeploymentState:
253
251
  @pulumi.getter(name="serviceName")
254
252
  def service_name(self) -> Optional[pulumi.Input[str]]:
255
253
  """
256
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
257
- variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
254
+ 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.
258
255
  """
259
256
  return pulumi.get(self, "service_name")
260
257
 
@@ -266,7 +263,7 @@ class _FlinkApplicationDeploymentState:
266
263
  @pulumi.getter(name="startingSavepoint")
267
264
  def starting_savepoint(self) -> Optional[pulumi.Input[str]]:
268
265
  """
269
- Job savepoint
266
+ The savepoint to deploy from.
270
267
  """
271
268
  return pulumi.get(self, "starting_savepoint")
272
269
 
@@ -278,7 +275,7 @@ class _FlinkApplicationDeploymentState:
278
275
  @pulumi.getter(name="versionId")
279
276
  def version_id(self) -> Optional[pulumi.Input[str]]:
280
277
  """
281
- ApplicationVersion ID
278
+ Application version ID.
282
279
  """
283
280
  return pulumi.get(self, "version_id")
284
281
 
@@ -301,18 +298,73 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
301
298
  version_id: Optional[pulumi.Input[str]] = None,
302
299
  __props__=None):
303
300
  """
304
- Create a FlinkApplicationDeployment resource with the given unique name, props, and options.
301
+ Creates and manages the deployment of an Aiven for Apache Flink® application.
302
+
303
+ ## Example Usage
304
+
305
+ ```python
306
+ import pulumi
307
+ import pulumi_aiven as aiven
308
+
309
+ example_app = aiven.FlinkApplication("example_app",
310
+ project=example_project["project"],
311
+ service_name="example-flink-service",
312
+ name="example-app")
313
+ main = aiven.FlinkApplicationVersion("main",
314
+ project=example_project["project"],
315
+ service_name=example_flink["serviceName"],
316
+ application_id=example_app.application_id,
317
+ statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
318
+ sinks=[{
319
+ "create_table": \"\"\" CREATE TABLE kafka_known_pizza (
320
+ shop STRING,
321
+ name STRING
322
+ ) WITH (
323
+ 'connector' = 'kafka',
324
+ 'properties.bootstrap.servers' = '',
325
+ 'scan.startup.mode' = 'earliest-offset',
326
+ 'topic' = 'sink_topic',
327
+ 'value.format' = 'json'
328
+ )
329
+ \"\"\",
330
+ "integration_id": flink_to_kafka["integrationId"],
331
+ }],
332
+ sources=[{
333
+ "create_table": \"\"\" CREATE TABLE kafka_pizza (
334
+ shop STRING,
335
+ name STRING
336
+ ) WITH (
337
+ 'connector' = 'kafka',
338
+ 'properties.bootstrap.servers' = '',
339
+ 'scan.startup.mode' = 'earliest-offset',
340
+ 'topic' = 'source_topic',
341
+ 'value.format' = 'json'
342
+ )
343
+ \"\"\",
344
+ "integration_id": flink_to_kafka["integrationId"],
345
+ }])
346
+ main_flink_application_deployment = aiven.FlinkApplicationDeployment("main",
347
+ project=example_project["project"],
348
+ service_name=example_flink["serviceName"],
349
+ application_id=example_app.application_id,
350
+ version_id=main.application_version_id)
351
+ ```
352
+
353
+ ## Import
354
+
355
+ ```sh
356
+ $ pulumi import aiven:index/flinkApplicationDeployment:FlinkApplicationDeployment main PROJECT/SERVICE_NAME/APPLICATION_ID/APPLICATION_VERSION_ID/DEPLOYMENT_ID
357
+ ```
358
+
305
359
  :param str resource_name: The name of the resource.
306
360
  :param pulumi.ResourceOptions opts: Options for the resource.
307
- :param pulumi.Input[str] application_id: Application ID
308
- :param pulumi.Input[int] parallelism: Flink Job parallelism
309
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
310
- reference. This property cannot be changed, doing so forces recreation of the resource.
311
- :param pulumi.Input[bool] restart_enabled: Specifies whether a Flink Job is restarted in case it fails
312
- :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
313
- variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
314
- :param pulumi.Input[str] starting_savepoint: Job savepoint
315
- :param pulumi.Input[str] version_id: ApplicationVersion ID
361
+ :param pulumi.Input[str] application_id: Application ID.
362
+ :param pulumi.Input[int] parallelism: The number of parallel instances for the task.
363
+ :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.
364
+ :param pulumi.Input[bool] restart_enabled: Restart a Flink job if it fails.
365
+ :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.
366
+ :param pulumi.Input[str] starting_savepoint: The savepoint to deploy from.
367
+ :param pulumi.Input[str] version_id: Application version ID.
316
368
  """
317
369
  ...
318
370
  @overload
@@ -321,7 +373,64 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
321
373
  args: FlinkApplicationDeploymentArgs,
322
374
  opts: Optional[pulumi.ResourceOptions] = None):
323
375
  """
324
- Create a FlinkApplicationDeployment resource with the given unique name, props, and options.
376
+ Creates and manages the deployment of an Aiven for Apache Flink® application.
377
+
378
+ ## Example Usage
379
+
380
+ ```python
381
+ import pulumi
382
+ import pulumi_aiven as aiven
383
+
384
+ example_app = aiven.FlinkApplication("example_app",
385
+ project=example_project["project"],
386
+ service_name="example-flink-service",
387
+ name="example-app")
388
+ main = aiven.FlinkApplicationVersion("main",
389
+ project=example_project["project"],
390
+ service_name=example_flink["serviceName"],
391
+ application_id=example_app.application_id,
392
+ statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
393
+ sinks=[{
394
+ "create_table": \"\"\" CREATE TABLE kafka_known_pizza (
395
+ shop STRING,
396
+ name STRING
397
+ ) WITH (
398
+ 'connector' = 'kafka',
399
+ 'properties.bootstrap.servers' = '',
400
+ 'scan.startup.mode' = 'earliest-offset',
401
+ 'topic' = 'sink_topic',
402
+ 'value.format' = 'json'
403
+ )
404
+ \"\"\",
405
+ "integration_id": flink_to_kafka["integrationId"],
406
+ }],
407
+ sources=[{
408
+ "create_table": \"\"\" CREATE TABLE kafka_pizza (
409
+ shop STRING,
410
+ name STRING
411
+ ) WITH (
412
+ 'connector' = 'kafka',
413
+ 'properties.bootstrap.servers' = '',
414
+ 'scan.startup.mode' = 'earliest-offset',
415
+ 'topic' = 'source_topic',
416
+ 'value.format' = 'json'
417
+ )
418
+ \"\"\",
419
+ "integration_id": flink_to_kafka["integrationId"],
420
+ }])
421
+ main_flink_application_deployment = aiven.FlinkApplicationDeployment("main",
422
+ project=example_project["project"],
423
+ service_name=example_flink["serviceName"],
424
+ application_id=example_app.application_id,
425
+ version_id=main.application_version_id)
426
+ ```
427
+
428
+ ## Import
429
+
430
+ ```sh
431
+ $ pulumi import aiven:index/flinkApplicationDeployment:FlinkApplicationDeployment main PROJECT/SERVICE_NAME/APPLICATION_ID/APPLICATION_VERSION_ID/DEPLOYMENT_ID
432
+ ```
433
+
325
434
  :param str resource_name: The name of the resource.
326
435
  :param FlinkApplicationDeploymentArgs args: The arguments to use to populate this resource's properties.
327
436
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -396,17 +505,15 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
396
505
  :param str resource_name: The unique name of the resulting resource.
397
506
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
398
507
  :param pulumi.ResourceOptions opts: Options for the resource.
399
- :param pulumi.Input[str] application_id: Application ID
400
- :param pulumi.Input[str] created_at: Application deployment creation time
401
- :param pulumi.Input[str] created_by: Application deployment creator
402
- :param pulumi.Input[int] parallelism: Flink Job parallelism
403
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
404
- reference. This property cannot be changed, doing so forces recreation of the resource.
405
- :param pulumi.Input[bool] restart_enabled: Specifies whether a Flink Job is restarted in case it fails
406
- :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
407
- variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
408
- :param pulumi.Input[str] starting_savepoint: Job savepoint
409
- :param pulumi.Input[str] version_id: ApplicationVersion ID
508
+ :param pulumi.Input[str] application_id: Application ID.
509
+ :param pulumi.Input[str] created_at: Application deployment creation time.
510
+ :param pulumi.Input[str] created_by: The user who deployed the application.
511
+ :param pulumi.Input[int] parallelism: The number of parallel instances for the task.
512
+ :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.
513
+ :param pulumi.Input[bool] restart_enabled: Restart a Flink job if it fails.
514
+ :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.
515
+ :param pulumi.Input[str] starting_savepoint: The savepoint to deploy from.
516
+ :param pulumi.Input[str] version_id: Application version ID.
410
517
  """
411
518
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
412
519
 
@@ -427,7 +534,7 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
427
534
  @pulumi.getter(name="applicationId")
428
535
  def application_id(self) -> pulumi.Output[str]:
429
536
  """
430
- Application ID
537
+ Application ID.
431
538
  """
432
539
  return pulumi.get(self, "application_id")
433
540
 
@@ -435,7 +542,7 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
435
542
  @pulumi.getter(name="createdAt")
436
543
  def created_at(self) -> pulumi.Output[str]:
437
544
  """
438
- Application deployment creation time
545
+ Application deployment creation time.
439
546
  """
440
547
  return pulumi.get(self, "created_at")
441
548
 
@@ -443,7 +550,7 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
443
550
  @pulumi.getter(name="createdBy")
444
551
  def created_by(self) -> pulumi.Output[str]:
445
552
  """
446
- Application deployment creator
553
+ The user who deployed the application.
447
554
  """
448
555
  return pulumi.get(self, "created_by")
449
556
 
@@ -451,7 +558,7 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
451
558
  @pulumi.getter
452
559
  def parallelism(self) -> pulumi.Output[Optional[int]]:
453
560
  """
454
- Flink Job parallelism
561
+ The number of parallel instances for the task.
455
562
  """
456
563
  return pulumi.get(self, "parallelism")
457
564
 
@@ -459,8 +566,7 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
459
566
  @pulumi.getter
460
567
  def project(self) -> pulumi.Output[str]:
461
568
  """
462
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
463
- reference. This property cannot be changed, doing so forces recreation of the resource.
569
+ 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.
464
570
  """
465
571
  return pulumi.get(self, "project")
466
572
 
@@ -468,7 +574,7 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
468
574
  @pulumi.getter(name="restartEnabled")
469
575
  def restart_enabled(self) -> pulumi.Output[Optional[bool]]:
470
576
  """
471
- Specifies whether a Flink Job is restarted in case it fails
577
+ Restart a Flink job if it fails.
472
578
  """
473
579
  return pulumi.get(self, "restart_enabled")
474
580
 
@@ -476,8 +582,7 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
476
582
  @pulumi.getter(name="serviceName")
477
583
  def service_name(self) -> pulumi.Output[str]:
478
584
  """
479
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
480
- variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
585
+ 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.
481
586
  """
482
587
  return pulumi.get(self, "service_name")
483
588
 
@@ -485,7 +590,7 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
485
590
  @pulumi.getter(name="startingSavepoint")
486
591
  def starting_savepoint(self) -> pulumi.Output[Optional[str]]:
487
592
  """
488
- Job savepoint
593
+ The savepoint to deploy from.
489
594
  """
490
595
  return pulumi.get(self, "starting_savepoint")
491
596
 
@@ -493,7 +598,7 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
493
598
  @pulumi.getter(name="versionId")
494
599
  def version_id(self) -> pulumi.Output[str]:
495
600
  """
496
- ApplicationVersion ID
601
+ Application version ID.
497
602
  """
498
603
  return pulumi.get(self, "version_id")
499
604