pulumi-aiven 6.19.0a1721845827__py3-none-any.whl → 6.19.0a1721847551__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.
- pulumi_aiven/__init__.py +20 -0
- pulumi_aiven/_inputs.py +1089 -29
- pulumi_aiven/account_team.py +12 -4
- pulumi_aiven/account_team_member.py +4 -4
- pulumi_aiven/account_team_project.py +4 -4
- pulumi_aiven/clickhouse.py +22 -22
- pulumi_aiven/clickhouse_database.py +39 -19
- pulumi_aiven/clickhouse_grant.py +80 -82
- pulumi_aiven/clickhouse_role.py +17 -31
- pulumi_aiven/clickhouse_user.py +31 -31
- pulumi_aiven/flink.py +19 -19
- pulumi_aiven/flink_application.py +39 -39
- pulumi_aiven/flink_application_deployment.py +131 -57
- pulumi_aiven/flink_application_version.py +64 -56
- pulumi_aiven/get_clickhouse.py +8 -8
- pulumi_aiven/get_clickhouse_database.py +11 -11
- pulumi_aiven/get_clickhouse_user.py +14 -14
- pulumi_aiven/get_flink.py +7 -7
- pulumi_aiven/get_flink_application.py +16 -16
- pulumi_aiven/get_flink_application_version.py +22 -22
- pulumi_aiven/get_kafka_acl.py +22 -22
- pulumi_aiven/get_kafka_connect.py +6 -6
- pulumi_aiven/get_kafka_connector.py +13 -13
- pulumi_aiven/get_kafka_topic.py +2 -2
- pulumi_aiven/get_kafka_user.py +15 -15
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/get_valkey.py +469 -0
- pulumi_aiven/get_valkey_user.py +206 -0
- pulumi_aiven/kafka_acl.py +43 -39
- pulumi_aiven/kafka_connect.py +66 -14
- pulumi_aiven/kafka_connector.py +46 -40
- pulumi_aiven/kafka_schema_registry_acl.py +2 -2
- pulumi_aiven/kafka_topic.py +16 -16
- pulumi_aiven/kafka_user.py +40 -40
- pulumi_aiven/organization_application_user.py +12 -2
- pulumi_aiven/organization_application_user_token.py +7 -7
- pulumi_aiven/organization_group_project.py +9 -9
- pulumi_aiven/organization_user_group_member.py +13 -9
- pulumi_aiven/outputs.py +2113 -332
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/transit_gateway_vpc_attachment.py +7 -16
- pulumi_aiven/valkey.py +1252 -0
- pulumi_aiven/valkey_user.py +513 -0
- {pulumi_aiven-6.19.0a1721845827.dist-info → pulumi_aiven-6.19.0a1721847551.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.19.0a1721845827.dist-info → pulumi_aiven-6.19.0a1721847551.dist-info}/RECORD +47 -43
- {pulumi_aiven-6.19.0a1721845827.dist-info → pulumi_aiven-6.19.0a1721847551.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.19.0a1721845827.dist-info → pulumi_aiven-6.19.0a1721847551.dist-info}/top_level.txt +0 -0
pulumi_aiven/kafka_topic.py
CHANGED
|
@@ -31,8 +31,8 @@ class KafkaTopicArgs:
|
|
|
31
31
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
32
32
|
: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.
|
|
33
33
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
34
|
-
:param pulumi.Input['KafkaTopicConfigArgs'] config:
|
|
35
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags: Tags for the
|
|
34
|
+
:param pulumi.Input['KafkaTopicConfigArgs'] config: [Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
35
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags: Tags for the topic.
|
|
36
36
|
"""
|
|
37
37
|
pulumi.set(__self__, "partitions", partitions)
|
|
38
38
|
pulumi.set(__self__, "project", project)
|
|
@@ -110,7 +110,7 @@ class KafkaTopicArgs:
|
|
|
110
110
|
@pulumi.getter
|
|
111
111
|
def config(self) -> Optional[pulumi.Input['KafkaTopicConfigArgs']]:
|
|
112
112
|
"""
|
|
113
|
-
|
|
113
|
+
[Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "config")
|
|
116
116
|
|
|
@@ -122,7 +122,7 @@ class KafkaTopicArgs:
|
|
|
122
122
|
@pulumi.getter
|
|
123
123
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]]]:
|
|
124
124
|
"""
|
|
125
|
-
Tags for the
|
|
125
|
+
Tags for the topic.
|
|
126
126
|
"""
|
|
127
127
|
return pulumi.get(self, "tags")
|
|
128
128
|
|
|
@@ -153,12 +153,12 @@ class _KafkaTopicState:
|
|
|
153
153
|
topic_name: Optional[pulumi.Input[str]] = None):
|
|
154
154
|
"""
|
|
155
155
|
Input properties used for looking up and filtering KafkaTopic resources.
|
|
156
|
-
:param pulumi.Input['KafkaTopicConfigArgs'] config:
|
|
156
|
+
:param pulumi.Input['KafkaTopicConfigArgs'] config: [Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
157
157
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
158
158
|
: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.
|
|
159
159
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
160
160
|
: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.
|
|
161
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags: Tags for the
|
|
161
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags: Tags for the topic.
|
|
162
162
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
163
163
|
"""
|
|
164
164
|
if config is not None:
|
|
@@ -182,7 +182,7 @@ class _KafkaTopicState:
|
|
|
182
182
|
@pulumi.getter
|
|
183
183
|
def config(self) -> Optional[pulumi.Input['KafkaTopicConfigArgs']]:
|
|
184
184
|
"""
|
|
185
|
-
|
|
185
|
+
[Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
186
186
|
"""
|
|
187
187
|
return pulumi.get(self, "config")
|
|
188
188
|
|
|
@@ -242,7 +242,7 @@ class _KafkaTopicState:
|
|
|
242
242
|
@pulumi.getter
|
|
243
243
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]]]:
|
|
244
244
|
"""
|
|
245
|
-
Tags for the
|
|
245
|
+
Tags for the topic.
|
|
246
246
|
"""
|
|
247
247
|
return pulumi.get(self, "tags")
|
|
248
248
|
|
|
@@ -287,7 +287,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
287
287
|
topic_name: Optional[pulumi.Input[str]] = None,
|
|
288
288
|
__props__=None):
|
|
289
289
|
"""
|
|
290
|
-
Creates and manages an Aiven for Apache Kafka® topic.
|
|
290
|
+
Creates and manages an Aiven for Apache Kafka® [topic](https://aiven.io/docs/products/kafka/concepts).
|
|
291
291
|
|
|
292
292
|
## Example Usage
|
|
293
293
|
|
|
@@ -316,12 +316,12 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
316
316
|
|
|
317
317
|
:param str resource_name: The name of the resource.
|
|
318
318
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
319
|
-
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config:
|
|
319
|
+
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: [Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
320
320
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
321
321
|
: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.
|
|
322
322
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
323
323
|
: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.
|
|
324
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Tags for the
|
|
324
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Tags for the topic.
|
|
325
325
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
326
326
|
"""
|
|
327
327
|
...
|
|
@@ -331,7 +331,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
331
331
|
args: KafkaTopicArgs,
|
|
332
332
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
333
333
|
"""
|
|
334
|
-
Creates and manages an Aiven for Apache Kafka® topic.
|
|
334
|
+
Creates and manages an Aiven for Apache Kafka® [topic](https://aiven.io/docs/products/kafka/concepts).
|
|
335
335
|
|
|
336
336
|
## Example Usage
|
|
337
337
|
|
|
@@ -433,12 +433,12 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
433
433
|
:param str resource_name: The unique name of the resulting resource.
|
|
434
434
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
435
435
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
436
|
-
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config:
|
|
436
|
+
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: [Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
437
437
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
438
438
|
: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.
|
|
439
439
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
440
440
|
: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.
|
|
441
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Tags for the
|
|
441
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Tags for the topic.
|
|
442
442
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
443
443
|
"""
|
|
444
444
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -459,7 +459,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
459
459
|
@pulumi.getter
|
|
460
460
|
def config(self) -> pulumi.Output[Optional['outputs.KafkaTopicConfig']]:
|
|
461
461
|
"""
|
|
462
|
-
|
|
462
|
+
[Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
463
463
|
"""
|
|
464
464
|
return pulumi.get(self, "config")
|
|
465
465
|
|
|
@@ -499,7 +499,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
499
499
|
@pulumi.getter
|
|
500
500
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.KafkaTopicTag']]]:
|
|
501
501
|
"""
|
|
502
|
-
Tags for the
|
|
502
|
+
Tags for the topic.
|
|
503
503
|
"""
|
|
504
504
|
return pulumi.get(self, "tags")
|
|
505
505
|
|
pulumi_aiven/kafka_user.py
CHANGED
|
@@ -22,8 +22,8 @@ class KafkaUserArgs:
|
|
|
22
22
|
The set of arguments for constructing a KafkaUser resource.
|
|
23
23
|
: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.
|
|
24
24
|
: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.
|
|
25
|
-
:param pulumi.Input[str] username:
|
|
26
|
-
:param pulumi.Input[str] password: The
|
|
25
|
+
:param pulumi.Input[str] username: Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
26
|
+
:param pulumi.Input[str] password: The Kafka service user's password.
|
|
27
27
|
"""
|
|
28
28
|
pulumi.set(__self__, "project", project)
|
|
29
29
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -59,7 +59,7 @@ class KafkaUserArgs:
|
|
|
59
59
|
@pulumi.getter
|
|
60
60
|
def username(self) -> pulumi.Input[str]:
|
|
61
61
|
"""
|
|
62
|
-
|
|
62
|
+
Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
63
63
|
"""
|
|
64
64
|
return pulumi.get(self, "username")
|
|
65
65
|
|
|
@@ -71,7 +71,7 @@ class KafkaUserArgs:
|
|
|
71
71
|
@pulumi.getter
|
|
72
72
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
73
73
|
"""
|
|
74
|
-
The
|
|
74
|
+
The Kafka service user's password.
|
|
75
75
|
"""
|
|
76
76
|
return pulumi.get(self, "password")
|
|
77
77
|
|
|
@@ -92,13 +92,13 @@ class _KafkaUserState:
|
|
|
92
92
|
username: Optional[pulumi.Input[str]] = None):
|
|
93
93
|
"""
|
|
94
94
|
Input properties used for looking up and filtering KafkaUser resources.
|
|
95
|
-
:param pulumi.Input[str] access_cert: Access certificate for the user
|
|
96
|
-
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
97
|
-
:param pulumi.Input[str] password: The
|
|
95
|
+
:param pulumi.Input[str] access_cert: Access certificate for the user.
|
|
96
|
+
:param pulumi.Input[str] access_key: Access certificate key for the user.
|
|
97
|
+
:param pulumi.Input[str] password: The Kafka service user's password.
|
|
98
98
|
: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.
|
|
99
99
|
: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.
|
|
100
|
-
:param pulumi.Input[str] type:
|
|
101
|
-
:param pulumi.Input[str] username:
|
|
100
|
+
:param pulumi.Input[str] type: User account type, such as primary or regular account.
|
|
101
|
+
:param pulumi.Input[str] username: Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
102
102
|
"""
|
|
103
103
|
if access_cert is not None:
|
|
104
104
|
pulumi.set(__self__, "access_cert", access_cert)
|
|
@@ -119,7 +119,7 @@ class _KafkaUserState:
|
|
|
119
119
|
@pulumi.getter(name="accessCert")
|
|
120
120
|
def access_cert(self) -> Optional[pulumi.Input[str]]:
|
|
121
121
|
"""
|
|
122
|
-
Access certificate for the user
|
|
122
|
+
Access certificate for the user.
|
|
123
123
|
"""
|
|
124
124
|
return pulumi.get(self, "access_cert")
|
|
125
125
|
|
|
@@ -131,7 +131,7 @@ class _KafkaUserState:
|
|
|
131
131
|
@pulumi.getter(name="accessKey")
|
|
132
132
|
def access_key(self) -> Optional[pulumi.Input[str]]:
|
|
133
133
|
"""
|
|
134
|
-
Access certificate key for the user
|
|
134
|
+
Access certificate key for the user.
|
|
135
135
|
"""
|
|
136
136
|
return pulumi.get(self, "access_key")
|
|
137
137
|
|
|
@@ -143,7 +143,7 @@ class _KafkaUserState:
|
|
|
143
143
|
@pulumi.getter
|
|
144
144
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
145
145
|
"""
|
|
146
|
-
The
|
|
146
|
+
The Kafka service user's password.
|
|
147
147
|
"""
|
|
148
148
|
return pulumi.get(self, "password")
|
|
149
149
|
|
|
@@ -179,7 +179,7 @@ class _KafkaUserState:
|
|
|
179
179
|
@pulumi.getter
|
|
180
180
|
def type(self) -> Optional[pulumi.Input[str]]:
|
|
181
181
|
"""
|
|
182
|
-
|
|
182
|
+
User account type, such as primary or regular account.
|
|
183
183
|
"""
|
|
184
184
|
return pulumi.get(self, "type")
|
|
185
185
|
|
|
@@ -191,7 +191,7 @@ class _KafkaUserState:
|
|
|
191
191
|
@pulumi.getter
|
|
192
192
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
193
193
|
"""
|
|
194
|
-
|
|
194
|
+
Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
195
195
|
"""
|
|
196
196
|
return pulumi.get(self, "username")
|
|
197
197
|
|
|
@@ -211,7 +211,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
211
211
|
username: Optional[pulumi.Input[str]] = None,
|
|
212
212
|
__props__=None):
|
|
213
213
|
"""
|
|
214
|
-
|
|
214
|
+
Creates and manages an Aiven for Apache Kafka® service user.
|
|
215
215
|
|
|
216
216
|
## Example Usage
|
|
217
217
|
|
|
@@ -219,25 +219,25 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
219
219
|
import pulumi
|
|
220
220
|
import pulumi_aiven as aiven
|
|
221
221
|
|
|
222
|
-
|
|
223
|
-
service_name=
|
|
224
|
-
project="
|
|
225
|
-
username="user
|
|
226
|
-
password=
|
|
222
|
+
example_service_user = aiven.KafkaUser("example_service_user",
|
|
223
|
+
service_name=example_kafka["serviceName"],
|
|
224
|
+
project=example_project["project"],
|
|
225
|
+
username="example-kafka-user",
|
|
226
|
+
password=service_user_pw)
|
|
227
227
|
```
|
|
228
228
|
|
|
229
229
|
## Import
|
|
230
230
|
|
|
231
231
|
```sh
|
|
232
|
-
$ pulumi import aiven:index/kafkaUser:KafkaUser
|
|
232
|
+
$ pulumi import aiven:index/kafkaUser:KafkaUser example_user PROJECT/SERVICE_NAME/USERNAME
|
|
233
233
|
```
|
|
234
234
|
|
|
235
235
|
:param str resource_name: The name of the resource.
|
|
236
236
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
237
|
-
:param pulumi.Input[str] password: The
|
|
237
|
+
:param pulumi.Input[str] password: The Kafka service user's password.
|
|
238
238
|
: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.
|
|
239
239
|
: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.
|
|
240
|
-
:param pulumi.Input[str] username:
|
|
240
|
+
:param pulumi.Input[str] username: Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
241
241
|
"""
|
|
242
242
|
...
|
|
243
243
|
@overload
|
|
@@ -246,7 +246,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
246
246
|
args: KafkaUserArgs,
|
|
247
247
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
248
248
|
"""
|
|
249
|
-
|
|
249
|
+
Creates and manages an Aiven for Apache Kafka® service user.
|
|
250
250
|
|
|
251
251
|
## Example Usage
|
|
252
252
|
|
|
@@ -254,17 +254,17 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
254
254
|
import pulumi
|
|
255
255
|
import pulumi_aiven as aiven
|
|
256
256
|
|
|
257
|
-
|
|
258
|
-
service_name=
|
|
259
|
-
project="
|
|
260
|
-
username="user
|
|
261
|
-
password=
|
|
257
|
+
example_service_user = aiven.KafkaUser("example_service_user",
|
|
258
|
+
service_name=example_kafka["serviceName"],
|
|
259
|
+
project=example_project["project"],
|
|
260
|
+
username="example-kafka-user",
|
|
261
|
+
password=service_user_pw)
|
|
262
262
|
```
|
|
263
263
|
|
|
264
264
|
## Import
|
|
265
265
|
|
|
266
266
|
```sh
|
|
267
|
-
$ pulumi import aiven:index/kafkaUser:KafkaUser
|
|
267
|
+
$ pulumi import aiven:index/kafkaUser:KafkaUser example_user PROJECT/SERVICE_NAME/USERNAME
|
|
268
268
|
```
|
|
269
269
|
|
|
270
270
|
:param str resource_name: The name of the resource.
|
|
@@ -334,13 +334,13 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
334
334
|
:param str resource_name: The unique name of the resulting resource.
|
|
335
335
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
336
336
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
337
|
-
:param pulumi.Input[str] access_cert: Access certificate for the user
|
|
338
|
-
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
339
|
-
:param pulumi.Input[str] password: The
|
|
337
|
+
:param pulumi.Input[str] access_cert: Access certificate for the user.
|
|
338
|
+
:param pulumi.Input[str] access_key: Access certificate key for the user.
|
|
339
|
+
:param pulumi.Input[str] password: The Kafka service user's password.
|
|
340
340
|
: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.
|
|
341
341
|
: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.
|
|
342
|
-
:param pulumi.Input[str] type:
|
|
343
|
-
:param pulumi.Input[str] username:
|
|
342
|
+
:param pulumi.Input[str] type: User account type, such as primary or regular account.
|
|
343
|
+
:param pulumi.Input[str] username: Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
344
344
|
"""
|
|
345
345
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
346
346
|
|
|
@@ -359,7 +359,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
359
359
|
@pulumi.getter(name="accessCert")
|
|
360
360
|
def access_cert(self) -> pulumi.Output[str]:
|
|
361
361
|
"""
|
|
362
|
-
Access certificate for the user
|
|
362
|
+
Access certificate for the user.
|
|
363
363
|
"""
|
|
364
364
|
return pulumi.get(self, "access_cert")
|
|
365
365
|
|
|
@@ -367,7 +367,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
367
367
|
@pulumi.getter(name="accessKey")
|
|
368
368
|
def access_key(self) -> pulumi.Output[str]:
|
|
369
369
|
"""
|
|
370
|
-
Access certificate key for the user
|
|
370
|
+
Access certificate key for the user.
|
|
371
371
|
"""
|
|
372
372
|
return pulumi.get(self, "access_key")
|
|
373
373
|
|
|
@@ -375,7 +375,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
375
375
|
@pulumi.getter
|
|
376
376
|
def password(self) -> pulumi.Output[str]:
|
|
377
377
|
"""
|
|
378
|
-
The
|
|
378
|
+
The Kafka service user's password.
|
|
379
379
|
"""
|
|
380
380
|
return pulumi.get(self, "password")
|
|
381
381
|
|
|
@@ -399,7 +399,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
399
399
|
@pulumi.getter
|
|
400
400
|
def type(self) -> pulumi.Output[str]:
|
|
401
401
|
"""
|
|
402
|
-
|
|
402
|
+
User account type, such as primary or regular account.
|
|
403
403
|
"""
|
|
404
404
|
return pulumi.get(self, "type")
|
|
405
405
|
|
|
@@ -407,7 +407,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
407
407
|
@pulumi.getter
|
|
408
408
|
def username(self) -> pulumi.Output[str]:
|
|
409
409
|
"""
|
|
410
|
-
|
|
410
|
+
Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
411
411
|
"""
|
|
412
412
|
return pulumi.get(self, "username")
|
|
413
413
|
|
|
@@ -164,7 +164,12 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
164
164
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
165
165
|
__props__=None):
|
|
166
166
|
"""
|
|
167
|
-
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/
|
|
167
|
+
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/concepts/application-users) can be used for
|
|
168
|
+
programmatic access to the platform.
|
|
169
|
+
|
|
170
|
+
You give application users access to projects by adding them as members of a group using `OrganizationUserGroupMember`
|
|
171
|
+
and assigning the group to a project with `OrganizationGroupProject`. You can give an application user access to all
|
|
172
|
+
resources in your organization by setting `is_super_admin = true` .
|
|
168
173
|
|
|
169
174
|
## Example Usage
|
|
170
175
|
|
|
@@ -196,7 +201,12 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
196
201
|
args: OrganizationApplicationUserArgs,
|
|
197
202
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
198
203
|
"""
|
|
199
|
-
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/
|
|
204
|
+
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/concepts/application-users) can be used for
|
|
205
|
+
programmatic access to the platform.
|
|
206
|
+
|
|
207
|
+
You give application users access to projects by adding them as members of a group using `OrganizationUserGroupMember`
|
|
208
|
+
and assigning the group to a project with `OrganizationGroupProject`. You can give an application user access to all
|
|
209
|
+
resources in your organization by setting `is_super_admin = true` .
|
|
200
210
|
|
|
201
211
|
## Example Usage
|
|
202
212
|
|
|
@@ -27,7 +27,7 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
27
27
|
:param pulumi.Input[str] description: Description of the token.
|
|
28
28
|
:param pulumi.Input[bool] extend_when_used: Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
|
|
29
29
|
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
30
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes:
|
|
30
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
|
|
31
31
|
"""
|
|
32
32
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
33
33
|
pulumi.set(__self__, "user_id", user_id)
|
|
@@ -104,7 +104,7 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
104
104
|
@pulumi.getter
|
|
105
105
|
def scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
106
106
|
"""
|
|
107
|
-
|
|
107
|
+
Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
|
|
108
108
|
"""
|
|
109
109
|
return pulumi.get(self, "scopes")
|
|
110
110
|
|
|
@@ -147,7 +147,7 @@ class _OrganizationApplicationUserTokenState:
|
|
|
147
147
|
:param pulumi.Input[str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
|
|
148
148
|
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
149
149
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
150
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes:
|
|
150
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
|
|
151
151
|
:param pulumi.Input[str] token_prefix: Prefix of the token.
|
|
152
152
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
153
153
|
"""
|
|
@@ -344,7 +344,7 @@ class _OrganizationApplicationUserTokenState:
|
|
|
344
344
|
@pulumi.getter
|
|
345
345
|
def scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
346
346
|
"""
|
|
347
|
-
|
|
347
|
+
Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
|
|
348
348
|
"""
|
|
349
349
|
return pulumi.get(self, "scopes")
|
|
350
350
|
|
|
@@ -419,7 +419,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
419
419
|
:param pulumi.Input[bool] extend_when_used: Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
|
|
420
420
|
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
421
421
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
422
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes:
|
|
422
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
|
|
423
423
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
424
424
|
"""
|
|
425
425
|
...
|
|
@@ -550,7 +550,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
550
550
|
:param pulumi.Input[str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
|
|
551
551
|
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
552
552
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
553
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes:
|
|
553
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
|
|
554
554
|
:param pulumi.Input[str] token_prefix: Prefix of the token.
|
|
555
555
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
556
556
|
"""
|
|
@@ -684,7 +684,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
684
684
|
@pulumi.getter
|
|
685
685
|
def scopes(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
686
686
|
"""
|
|
687
|
-
|
|
687
|
+
Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
|
|
688
688
|
"""
|
|
689
689
|
return pulumi.get(self, "scopes")
|
|
690
690
|
|
|
@@ -24,7 +24,7 @@ class OrganizationGroupProjectArgs:
|
|
|
24
24
|
The set of arguments for constructing a OrganizationGroupProject resource.
|
|
25
25
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
26
26
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
27
|
-
:param pulumi.Input[str] role:
|
|
27
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer` and `read_only`.
|
|
28
28
|
"""
|
|
29
29
|
pulumi.set(__self__, "group_id", group_id)
|
|
30
30
|
pulumi.set(__self__, "project", project)
|
|
@@ -60,7 +60,7 @@ class OrganizationGroupProjectArgs:
|
|
|
60
60
|
@pulumi.getter
|
|
61
61
|
def role(self) -> pulumi.Input[str]:
|
|
62
62
|
"""
|
|
63
|
-
|
|
63
|
+
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer` and `read_only`.
|
|
64
64
|
"""
|
|
65
65
|
return pulumi.get(self, "role")
|
|
66
66
|
|
|
@@ -89,7 +89,7 @@ class _OrganizationGroupProjectState:
|
|
|
89
89
|
Input properties used for looking up and filtering OrganizationGroupProject resources.
|
|
90
90
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
91
91
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
92
|
-
:param pulumi.Input[str] role:
|
|
92
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer` and `read_only`.
|
|
93
93
|
"""
|
|
94
94
|
if group_id is not None:
|
|
95
95
|
pulumi.set(__self__, "group_id", group_id)
|
|
@@ -128,7 +128,7 @@ class _OrganizationGroupProjectState:
|
|
|
128
128
|
@pulumi.getter
|
|
129
129
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
130
130
|
"""
|
|
131
|
-
|
|
131
|
+
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer` and `read_only`.
|
|
132
132
|
"""
|
|
133
133
|
return pulumi.get(self, "role")
|
|
134
134
|
|
|
@@ -157,7 +157,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
157
157
|
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationGroupProjectTimeoutsArgs']]] = None,
|
|
158
158
|
__props__=None):
|
|
159
159
|
"""
|
|
160
|
-
Adds and manages a [group](https://aiven.io/docs/platform/howto/list-groups) of users as
|
|
160
|
+
Adds and manages a [group](https://aiven.io/docs/platform/howto/list-groups) of users as members of a project.
|
|
161
161
|
|
|
162
162
|
## Example Usage
|
|
163
163
|
|
|
@@ -192,7 +192,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
192
192
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
193
193
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
194
194
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
195
|
-
:param pulumi.Input[str] role:
|
|
195
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer` and `read_only`.
|
|
196
196
|
"""
|
|
197
197
|
...
|
|
198
198
|
@overload
|
|
@@ -201,7 +201,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
201
201
|
args: OrganizationGroupProjectArgs,
|
|
202
202
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
203
203
|
"""
|
|
204
|
-
Adds and manages a [group](https://aiven.io/docs/platform/howto/list-groups) of users as
|
|
204
|
+
Adds and manages a [group](https://aiven.io/docs/platform/howto/list-groups) of users as members of a project.
|
|
205
205
|
|
|
206
206
|
## Example Usage
|
|
207
207
|
|
|
@@ -293,7 +293,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
293
293
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
294
294
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
295
295
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
296
|
-
:param pulumi.Input[str] role:
|
|
296
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer` and `read_only`.
|
|
297
297
|
"""
|
|
298
298
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
299
299
|
|
|
@@ -325,7 +325,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
325
325
|
@pulumi.getter
|
|
326
326
|
def role(self) -> pulumi.Output[str]:
|
|
327
327
|
"""
|
|
328
|
-
|
|
328
|
+
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer` and `read_only`.
|
|
329
329
|
"""
|
|
330
330
|
return pulumi.get(self, "role")
|
|
331
331
|
|
|
@@ -24,7 +24,7 @@ class OrganizationUserGroupMemberArgs:
|
|
|
24
24
|
The set of arguments for constructing a OrganizationUserGroupMember resource.
|
|
25
25
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
26
26
|
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
27
|
-
:param pulumi.Input[str] user_id: The ID of the organization user.
|
|
27
|
+
:param pulumi.Input[str] user_id: The ID of the organization user or application user.
|
|
28
28
|
"""
|
|
29
29
|
pulumi.set(__self__, "group_id", group_id)
|
|
30
30
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
@@ -60,7 +60,7 @@ class OrganizationUserGroupMemberArgs:
|
|
|
60
60
|
@pulumi.getter(name="userId")
|
|
61
61
|
def user_id(self) -> pulumi.Input[str]:
|
|
62
62
|
"""
|
|
63
|
-
The ID of the organization user.
|
|
63
|
+
The ID of the organization user or application user.
|
|
64
64
|
"""
|
|
65
65
|
return pulumi.get(self, "user_id")
|
|
66
66
|
|
|
@@ -91,7 +91,7 @@ class _OrganizationUserGroupMemberState:
|
|
|
91
91
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
92
92
|
:param pulumi.Input[str] last_activity_time: Last activity time of the user group member.
|
|
93
93
|
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
94
|
-
:param pulumi.Input[str] user_id: The ID of the organization user.
|
|
94
|
+
:param pulumi.Input[str] user_id: The ID of the organization user or application user.
|
|
95
95
|
"""
|
|
96
96
|
if group_id is not None:
|
|
97
97
|
pulumi.set(__self__, "group_id", group_id)
|
|
@@ -153,7 +153,7 @@ class _OrganizationUserGroupMemberState:
|
|
|
153
153
|
@pulumi.getter(name="userId")
|
|
154
154
|
def user_id(self) -> Optional[pulumi.Input[str]]:
|
|
155
155
|
"""
|
|
156
|
-
The ID of the organization user.
|
|
156
|
+
The ID of the organization user or application user.
|
|
157
157
|
"""
|
|
158
158
|
return pulumi.get(self, "user_id")
|
|
159
159
|
|
|
@@ -173,7 +173,9 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
|
|
|
173
173
|
user_id: Optional[pulumi.Input[str]] = None,
|
|
174
174
|
__props__=None):
|
|
175
175
|
"""
|
|
176
|
-
Adds and manages users in a [user group](https://aiven.io/docs/platform/howto/list-groups).
|
|
176
|
+
Adds and manages users in a [user group](https://aiven.io/docs/platform/howto/list-groups). You can add organization users and application users to groups.
|
|
177
|
+
|
|
178
|
+
Groups are given access to projects using the `OrganizationGroupProject` resource.
|
|
177
179
|
|
|
178
180
|
## Example Usage
|
|
179
181
|
|
|
@@ -201,7 +203,7 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
|
|
|
201
203
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
202
204
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
203
205
|
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
204
|
-
:param pulumi.Input[str] user_id: The ID of the organization user.
|
|
206
|
+
:param pulumi.Input[str] user_id: The ID of the organization user or application user.
|
|
205
207
|
"""
|
|
206
208
|
...
|
|
207
209
|
@overload
|
|
@@ -210,7 +212,9 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
|
|
|
210
212
|
args: OrganizationUserGroupMemberArgs,
|
|
211
213
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
212
214
|
"""
|
|
213
|
-
Adds and manages users in a [user group](https://aiven.io/docs/platform/howto/list-groups).
|
|
215
|
+
Adds and manages users in a [user group](https://aiven.io/docs/platform/howto/list-groups). You can add organization users and application users to groups.
|
|
216
|
+
|
|
217
|
+
Groups are given access to projects using the `OrganizationGroupProject` resource.
|
|
214
218
|
|
|
215
219
|
## Example Usage
|
|
216
220
|
|
|
@@ -298,7 +302,7 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
|
|
|
298
302
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
299
303
|
:param pulumi.Input[str] last_activity_time: Last activity time of the user group member.
|
|
300
304
|
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
301
|
-
:param pulumi.Input[str] user_id: The ID of the organization user.
|
|
305
|
+
:param pulumi.Input[str] user_id: The ID of the organization user or application user.
|
|
302
306
|
"""
|
|
303
307
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
304
308
|
|
|
@@ -344,7 +348,7 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
|
|
|
344
348
|
@pulumi.getter(name="userId")
|
|
345
349
|
def user_id(self) -> pulumi.Output[str]:
|
|
346
350
|
"""
|
|
347
|
-
The ID of the organization user.
|
|
351
|
+
The ID of the organization user or application user.
|
|
348
352
|
"""
|
|
349
353
|
return pulumi.get(self, "user_id")
|
|
350
354
|
|