pulumi-aiven 6.17.0a1716959607__py3-none-any.whl → 6.17.0a1717002507__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/_inputs.py +30 -174
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -1
- pulumi_aiven/get_organization_application_user.py +15 -8
- pulumi_aiven/mirror_maker_replication_flow.py +47 -0
- pulumi_aiven/organization_application_user.py +52 -45
- pulumi_aiven/organization_application_user_token.py +15 -51
- pulumi_aiven/outputs.py +62 -174
- pulumi_aiven/pulumi-plugin.json +1 -1
- {pulumi_aiven-6.17.0a1716959607.dist-info → pulumi_aiven-6.17.0a1717002507.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.17.0a1716959607.dist-info → pulumi_aiven-6.17.0a1717002507.dist-info}/RECORD +12 -12
- {pulumi_aiven-6.17.0a1716959607.dist-info → pulumi_aiven-6.17.0a1717002507.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.17.0a1716959607.dist-info → pulumi_aiven-6.17.0a1717002507.dist-info}/top_level.txt +0 -0
|
@@ -23,6 +23,7 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
23
23
|
target_cluster: pulumi.Input[str],
|
|
24
24
|
emit_backward_heartbeats_enabled: Optional[pulumi.Input[bool]] = None,
|
|
25
25
|
emit_heartbeats_enabled: Optional[pulumi.Input[bool]] = None,
|
|
26
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
26
27
|
sync_group_offsets_enabled: Optional[pulumi.Input[bool]] = None,
|
|
27
28
|
sync_group_offsets_interval_seconds: Optional[pulumi.Input[int]] = None,
|
|
28
29
|
topics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -38,6 +39,7 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
38
39
|
:param pulumi.Input[str] target_cluster: Target cluster alias. Maximum length: `128`.
|
|
39
40
|
:param pulumi.Input[bool] emit_backward_heartbeats_enabled: Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is `false`.
|
|
40
41
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
42
|
+
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
41
43
|
:param pulumi.Input[bool] sync_group_offsets_enabled: Sync consumer group offsets. The default value is `false`.
|
|
42
44
|
:param pulumi.Input[int] sync_group_offsets_interval_seconds: Frequency of consumer group offset sync. The default value is `1`.
|
|
43
45
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] topics: List of topics and/or regular expressions to replicate
|
|
@@ -54,6 +56,8 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
54
56
|
pulumi.set(__self__, "emit_backward_heartbeats_enabled", emit_backward_heartbeats_enabled)
|
|
55
57
|
if emit_heartbeats_enabled is not None:
|
|
56
58
|
pulumi.set(__self__, "emit_heartbeats_enabled", emit_heartbeats_enabled)
|
|
59
|
+
if replication_factor is not None:
|
|
60
|
+
pulumi.set(__self__, "replication_factor", replication_factor)
|
|
57
61
|
if sync_group_offsets_enabled is not None:
|
|
58
62
|
pulumi.set(__self__, "sync_group_offsets_enabled", sync_group_offsets_enabled)
|
|
59
63
|
if sync_group_offsets_interval_seconds is not None:
|
|
@@ -171,6 +175,18 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
171
175
|
def emit_heartbeats_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
172
176
|
pulumi.set(self, "emit_heartbeats_enabled", value)
|
|
173
177
|
|
|
178
|
+
@property
|
|
179
|
+
@pulumi.getter(name="replicationFactor")
|
|
180
|
+
def replication_factor(self) -> Optional[pulumi.Input[int]]:
|
|
181
|
+
"""
|
|
182
|
+
Replication factor, `>= 1`.
|
|
183
|
+
"""
|
|
184
|
+
return pulumi.get(self, "replication_factor")
|
|
185
|
+
|
|
186
|
+
@replication_factor.setter
|
|
187
|
+
def replication_factor(self, value: Optional[pulumi.Input[int]]):
|
|
188
|
+
pulumi.set(self, "replication_factor", value)
|
|
189
|
+
|
|
174
190
|
@property
|
|
175
191
|
@pulumi.getter(name="syncGroupOffsetsEnabled")
|
|
176
192
|
def sync_group_offsets_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -228,6 +244,7 @@ class _MirrorMakerReplicationFlowState:
|
|
|
228
244
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
229
245
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
230
246
|
project: Optional[pulumi.Input[str]] = None,
|
|
247
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
231
248
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
232
249
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
233
250
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -243,6 +260,7 @@ class _MirrorMakerReplicationFlowState:
|
|
|
243
260
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
244
261
|
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
245
262
|
: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.
|
|
263
|
+
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
246
264
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
247
265
|
:param pulumi.Input[str] service_name: 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.
|
|
248
266
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
@@ -262,6 +280,8 @@ class _MirrorMakerReplicationFlowState:
|
|
|
262
280
|
pulumi.set(__self__, "offset_syncs_topic_location", offset_syncs_topic_location)
|
|
263
281
|
if project is not None:
|
|
264
282
|
pulumi.set(__self__, "project", project)
|
|
283
|
+
if replication_factor is not None:
|
|
284
|
+
pulumi.set(__self__, "replication_factor", replication_factor)
|
|
265
285
|
if replication_policy_class is not None:
|
|
266
286
|
pulumi.set(__self__, "replication_policy_class", replication_policy_class)
|
|
267
287
|
if service_name is not None:
|
|
@@ -339,6 +359,18 @@ class _MirrorMakerReplicationFlowState:
|
|
|
339
359
|
def project(self, value: Optional[pulumi.Input[str]]):
|
|
340
360
|
pulumi.set(self, "project", value)
|
|
341
361
|
|
|
362
|
+
@property
|
|
363
|
+
@pulumi.getter(name="replicationFactor")
|
|
364
|
+
def replication_factor(self) -> Optional[pulumi.Input[int]]:
|
|
365
|
+
"""
|
|
366
|
+
Replication factor, `>= 1`.
|
|
367
|
+
"""
|
|
368
|
+
return pulumi.get(self, "replication_factor")
|
|
369
|
+
|
|
370
|
+
@replication_factor.setter
|
|
371
|
+
def replication_factor(self, value: Optional[pulumi.Input[int]]):
|
|
372
|
+
pulumi.set(self, "replication_factor", value)
|
|
373
|
+
|
|
342
374
|
@property
|
|
343
375
|
@pulumi.getter(name="replicationPolicyClass")
|
|
344
376
|
def replication_policy_class(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -446,6 +478,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
446
478
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
447
479
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
448
480
|
project: Optional[pulumi.Input[str]] = None,
|
|
481
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
449
482
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
450
483
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
451
484
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -491,6 +524,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
491
524
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
492
525
|
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
493
526
|
: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.
|
|
527
|
+
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
494
528
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
495
529
|
:param pulumi.Input[str] service_name: 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.
|
|
496
530
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
@@ -555,6 +589,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
555
589
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
556
590
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
557
591
|
project: Optional[pulumi.Input[str]] = None,
|
|
592
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
558
593
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
559
594
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
560
595
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -583,6 +618,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
583
618
|
if project is None and not opts.urn:
|
|
584
619
|
raise TypeError("Missing required property 'project'")
|
|
585
620
|
__props__.__dict__["project"] = project
|
|
621
|
+
__props__.__dict__["replication_factor"] = replication_factor
|
|
586
622
|
if replication_policy_class is None and not opts.urn:
|
|
587
623
|
raise TypeError("Missing required property 'replication_policy_class'")
|
|
588
624
|
__props__.__dict__["replication_policy_class"] = replication_policy_class
|
|
@@ -614,6 +650,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
614
650
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
615
651
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
616
652
|
project: Optional[pulumi.Input[str]] = None,
|
|
653
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
617
654
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
618
655
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
619
656
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -634,6 +671,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
634
671
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
635
672
|
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
636
673
|
: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.
|
|
674
|
+
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
637
675
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
638
676
|
:param pulumi.Input[str] service_name: 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.
|
|
639
677
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
@@ -652,6 +690,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
652
690
|
__props__.__dict__["enable"] = enable
|
|
653
691
|
__props__.__dict__["offset_syncs_topic_location"] = offset_syncs_topic_location
|
|
654
692
|
__props__.__dict__["project"] = project
|
|
693
|
+
__props__.__dict__["replication_factor"] = replication_factor
|
|
655
694
|
__props__.__dict__["replication_policy_class"] = replication_policy_class
|
|
656
695
|
__props__.__dict__["service_name"] = service_name
|
|
657
696
|
__props__.__dict__["source_cluster"] = source_cluster
|
|
@@ -702,6 +741,14 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
702
741
|
"""
|
|
703
742
|
return pulumi.get(self, "project")
|
|
704
743
|
|
|
744
|
+
@property
|
|
745
|
+
@pulumi.getter(name="replicationFactor")
|
|
746
|
+
def replication_factor(self) -> pulumi.Output[Optional[int]]:
|
|
747
|
+
"""
|
|
748
|
+
Replication factor, `>= 1`.
|
|
749
|
+
"""
|
|
750
|
+
return pulumi.get(self, "replication_factor")
|
|
751
|
+
|
|
705
752
|
@property
|
|
706
753
|
@pulumi.getter(name="replicationPolicyClass")
|
|
707
754
|
def replication_policy_class(self) -> pulumi.Output[str]:
|
|
@@ -8,8 +8,6 @@ import pulumi
|
|
|
8
8
|
import pulumi.runtime
|
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
|
-
from . import outputs
|
|
12
|
-
from ._inputs import *
|
|
13
11
|
|
|
14
12
|
__all__ = ['OrganizationApplicationUserArgs', 'OrganizationApplicationUser']
|
|
15
13
|
|
|
@@ -17,18 +15,19 @@ __all__ = ['OrganizationApplicationUserArgs', 'OrganizationApplicationUser']
|
|
|
17
15
|
class OrganizationApplicationUserArgs:
|
|
18
16
|
def __init__(__self__, *,
|
|
19
17
|
organization_id: pulumi.Input[str],
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
19
|
+
name: Optional[pulumi.Input[str]] = None):
|
|
22
20
|
"""
|
|
23
21
|
The set of arguments for constructing a OrganizationApplicationUser resource.
|
|
24
22
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
23
|
+
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
25
24
|
:param pulumi.Input[str] name: Name of the application user.
|
|
26
25
|
"""
|
|
27
26
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
27
|
+
if is_super_admin is not None:
|
|
28
|
+
pulumi.set(__self__, "is_super_admin", is_super_admin)
|
|
28
29
|
if name is not None:
|
|
29
30
|
pulumi.set(__self__, "name", name)
|
|
30
|
-
if timeouts is not None:
|
|
31
|
-
pulumi.set(__self__, "timeouts", timeouts)
|
|
32
31
|
|
|
33
32
|
@property
|
|
34
33
|
@pulumi.getter(name="organizationId")
|
|
@@ -42,6 +41,18 @@ class OrganizationApplicationUserArgs:
|
|
|
42
41
|
def organization_id(self, value: pulumi.Input[str]):
|
|
43
42
|
pulumi.set(self, "organization_id", value)
|
|
44
43
|
|
|
44
|
+
@property
|
|
45
|
+
@pulumi.getter(name="isSuperAdmin")
|
|
46
|
+
def is_super_admin(self) -> Optional[pulumi.Input[bool]]:
|
|
47
|
+
"""
|
|
48
|
+
Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
49
|
+
"""
|
|
50
|
+
return pulumi.get(self, "is_super_admin")
|
|
51
|
+
|
|
52
|
+
@is_super_admin.setter
|
|
53
|
+
def is_super_admin(self, value: Optional[pulumi.Input[bool]]):
|
|
54
|
+
pulumi.set(self, "is_super_admin", value)
|
|
55
|
+
|
|
45
56
|
@property
|
|
46
57
|
@pulumi.getter
|
|
47
58
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -54,40 +65,31 @@ class OrganizationApplicationUserArgs:
|
|
|
54
65
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
55
66
|
pulumi.set(self, "name", value)
|
|
56
67
|
|
|
57
|
-
@property
|
|
58
|
-
@pulumi.getter
|
|
59
|
-
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]:
|
|
60
|
-
return pulumi.get(self, "timeouts")
|
|
61
|
-
|
|
62
|
-
@timeouts.setter
|
|
63
|
-
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]):
|
|
64
|
-
pulumi.set(self, "timeouts", value)
|
|
65
|
-
|
|
66
68
|
|
|
67
69
|
@pulumi.input_type
|
|
68
70
|
class _OrganizationApplicationUserState:
|
|
69
71
|
def __init__(__self__, *,
|
|
70
72
|
email: Optional[pulumi.Input[str]] = None,
|
|
73
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
71
74
|
name: Optional[pulumi.Input[str]] = None,
|
|
72
75
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
73
|
-
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']] = None,
|
|
74
76
|
user_id: Optional[pulumi.Input[str]] = None):
|
|
75
77
|
"""
|
|
76
78
|
Input properties used for looking up and filtering OrganizationApplicationUser resources.
|
|
77
|
-
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user.
|
|
78
|
-
|
|
79
|
+
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
80
|
+
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
79
81
|
:param pulumi.Input[str] name: Name of the application user.
|
|
80
82
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
81
83
|
:param pulumi.Input[str] user_id: The ID of the application user.
|
|
82
84
|
"""
|
|
83
85
|
if email is not None:
|
|
84
86
|
pulumi.set(__self__, "email", email)
|
|
87
|
+
if is_super_admin is not None:
|
|
88
|
+
pulumi.set(__self__, "is_super_admin", is_super_admin)
|
|
85
89
|
if name is not None:
|
|
86
90
|
pulumi.set(__self__, "name", name)
|
|
87
91
|
if organization_id is not None:
|
|
88
92
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
89
|
-
if timeouts is not None:
|
|
90
|
-
pulumi.set(__self__, "timeouts", timeouts)
|
|
91
93
|
if user_id is not None:
|
|
92
94
|
pulumi.set(__self__, "user_id", user_id)
|
|
93
95
|
|
|
@@ -95,8 +97,7 @@ class _OrganizationApplicationUserState:
|
|
|
95
97
|
@pulumi.getter
|
|
96
98
|
def email(self) -> Optional[pulumi.Input[str]]:
|
|
97
99
|
"""
|
|
98
|
-
An email address automatically generated by Aiven to help identify the application user.
|
|
99
|
-
No notifications are sent to this email.
|
|
100
|
+
An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
100
101
|
"""
|
|
101
102
|
return pulumi.get(self, "email")
|
|
102
103
|
|
|
@@ -104,6 +105,18 @@ class _OrganizationApplicationUserState:
|
|
|
104
105
|
def email(self, value: Optional[pulumi.Input[str]]):
|
|
105
106
|
pulumi.set(self, "email", value)
|
|
106
107
|
|
|
108
|
+
@property
|
|
109
|
+
@pulumi.getter(name="isSuperAdmin")
|
|
110
|
+
def is_super_admin(self) -> Optional[pulumi.Input[bool]]:
|
|
111
|
+
"""
|
|
112
|
+
Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
113
|
+
"""
|
|
114
|
+
return pulumi.get(self, "is_super_admin")
|
|
115
|
+
|
|
116
|
+
@is_super_admin.setter
|
|
117
|
+
def is_super_admin(self, value: Optional[pulumi.Input[bool]]):
|
|
118
|
+
pulumi.set(self, "is_super_admin", value)
|
|
119
|
+
|
|
107
120
|
@property
|
|
108
121
|
@pulumi.getter
|
|
109
122
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -128,15 +141,6 @@ class _OrganizationApplicationUserState:
|
|
|
128
141
|
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
129
142
|
pulumi.set(self, "organization_id", value)
|
|
130
143
|
|
|
131
|
-
@property
|
|
132
|
-
@pulumi.getter
|
|
133
|
-
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]:
|
|
134
|
-
return pulumi.get(self, "timeouts")
|
|
135
|
-
|
|
136
|
-
@timeouts.setter
|
|
137
|
-
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]):
|
|
138
|
-
pulumi.set(self, "timeouts", value)
|
|
139
|
-
|
|
140
144
|
@property
|
|
141
145
|
@pulumi.getter(name="userId")
|
|
142
146
|
def user_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -155,9 +159,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
155
159
|
def __init__(__self__,
|
|
156
160
|
resource_name: str,
|
|
157
161
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
162
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
158
163
|
name: Optional[pulumi.Input[str]] = None,
|
|
159
164
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
160
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTimeoutsArgs']]] = None,
|
|
161
165
|
__props__=None):
|
|
162
166
|
"""
|
|
163
167
|
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/howto/manage-application-users) can be used for programmatic access to the platform.
|
|
@@ -181,6 +185,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
181
185
|
|
|
182
186
|
:param str resource_name: The name of the resource.
|
|
183
187
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
188
|
+
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
184
189
|
:param pulumi.Input[str] name: Name of the application user.
|
|
185
190
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
186
191
|
"""
|
|
@@ -225,9 +230,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
225
230
|
def _internal_init(__self__,
|
|
226
231
|
resource_name: str,
|
|
227
232
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
233
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
228
234
|
name: Optional[pulumi.Input[str]] = None,
|
|
229
235
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
230
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTimeoutsArgs']]] = None,
|
|
231
236
|
__props__=None):
|
|
232
237
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
233
238
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -237,11 +242,11 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
237
242
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
238
243
|
__props__ = OrganizationApplicationUserArgs.__new__(OrganizationApplicationUserArgs)
|
|
239
244
|
|
|
245
|
+
__props__.__dict__["is_super_admin"] = is_super_admin
|
|
240
246
|
__props__.__dict__["name"] = name
|
|
241
247
|
if organization_id is None and not opts.urn:
|
|
242
248
|
raise TypeError("Missing required property 'organization_id'")
|
|
243
249
|
__props__.__dict__["organization_id"] = organization_id
|
|
244
|
-
__props__.__dict__["timeouts"] = timeouts
|
|
245
250
|
__props__.__dict__["email"] = None
|
|
246
251
|
__props__.__dict__["user_id"] = None
|
|
247
252
|
super(OrganizationApplicationUser, __self__).__init__(
|
|
@@ -255,9 +260,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
255
260
|
id: pulumi.Input[str],
|
|
256
261
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
257
262
|
email: Optional[pulumi.Input[str]] = None,
|
|
263
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
258
264
|
name: Optional[pulumi.Input[str]] = None,
|
|
259
265
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
260
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTimeoutsArgs']]] = None,
|
|
261
266
|
user_id: Optional[pulumi.Input[str]] = None) -> 'OrganizationApplicationUser':
|
|
262
267
|
"""
|
|
263
268
|
Get an existing OrganizationApplicationUser resource's state with the given name, id, and optional extra
|
|
@@ -266,8 +271,8 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
266
271
|
:param str resource_name: The unique name of the resulting resource.
|
|
267
272
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
268
273
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
269
|
-
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user.
|
|
270
|
-
|
|
274
|
+
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
275
|
+
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
271
276
|
:param pulumi.Input[str] name: Name of the application user.
|
|
272
277
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
273
278
|
:param pulumi.Input[str] user_id: The ID of the application user.
|
|
@@ -277,9 +282,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
277
282
|
__props__ = _OrganizationApplicationUserState.__new__(_OrganizationApplicationUserState)
|
|
278
283
|
|
|
279
284
|
__props__.__dict__["email"] = email
|
|
285
|
+
__props__.__dict__["is_super_admin"] = is_super_admin
|
|
280
286
|
__props__.__dict__["name"] = name
|
|
281
287
|
__props__.__dict__["organization_id"] = organization_id
|
|
282
|
-
__props__.__dict__["timeouts"] = timeouts
|
|
283
288
|
__props__.__dict__["user_id"] = user_id
|
|
284
289
|
return OrganizationApplicationUser(resource_name, opts=opts, __props__=__props__)
|
|
285
290
|
|
|
@@ -287,11 +292,18 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
287
292
|
@pulumi.getter
|
|
288
293
|
def email(self) -> pulumi.Output[str]:
|
|
289
294
|
"""
|
|
290
|
-
An email address automatically generated by Aiven to help identify the application user.
|
|
291
|
-
No notifications are sent to this email.
|
|
295
|
+
An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
292
296
|
"""
|
|
293
297
|
return pulumi.get(self, "email")
|
|
294
298
|
|
|
299
|
+
@property
|
|
300
|
+
@pulumi.getter(name="isSuperAdmin")
|
|
301
|
+
def is_super_admin(self) -> pulumi.Output[Optional[bool]]:
|
|
302
|
+
"""
|
|
303
|
+
Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
304
|
+
"""
|
|
305
|
+
return pulumi.get(self, "is_super_admin")
|
|
306
|
+
|
|
295
307
|
@property
|
|
296
308
|
@pulumi.getter
|
|
297
309
|
def name(self) -> pulumi.Output[str]:
|
|
@@ -308,11 +320,6 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
308
320
|
"""
|
|
309
321
|
return pulumi.get(self, "organization_id")
|
|
310
322
|
|
|
311
|
-
@property
|
|
312
|
-
@pulumi.getter
|
|
313
|
-
def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationApplicationUserTimeouts']]:
|
|
314
|
-
return pulumi.get(self, "timeouts")
|
|
315
|
-
|
|
316
323
|
@property
|
|
317
324
|
@pulumi.getter(name="userId")
|
|
318
325
|
def user_id(self) -> pulumi.Output[str]:
|
|
@@ -8,8 +8,6 @@ import pulumi
|
|
|
8
8
|
import pulumi.runtime
|
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
|
-
from . import outputs
|
|
12
|
-
from ._inputs import *
|
|
13
11
|
|
|
14
12
|
__all__ = ['OrganizationApplicationUserTokenArgs', 'OrganizationApplicationUserToken']
|
|
15
13
|
|
|
@@ -20,16 +18,15 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
20
18
|
user_id: pulumi.Input[str],
|
|
21
19
|
description: Optional[pulumi.Input[str]] = None,
|
|
22
20
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
23
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
24
|
-
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
|
25
|
-
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']] = None):
|
|
21
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
22
|
+
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
26
23
|
"""
|
|
27
24
|
The set of arguments for constructing a OrganizationApplicationUserToken resource.
|
|
28
25
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
29
26
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
30
27
|
:param pulumi.Input[str] description: Description of the token.
|
|
31
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`.
|
|
32
|
-
:param pulumi.Input[
|
|
29
|
+
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
33
30
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
34
31
|
"""
|
|
35
32
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
@@ -42,8 +39,6 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
42
39
|
pulumi.set(__self__, "max_age_seconds", max_age_seconds)
|
|
43
40
|
if scopes is not None:
|
|
44
41
|
pulumi.set(__self__, "scopes", scopes)
|
|
45
|
-
if timeouts is not None:
|
|
46
|
-
pulumi.set(__self__, "timeouts", timeouts)
|
|
47
42
|
|
|
48
43
|
@property
|
|
49
44
|
@pulumi.getter(name="organizationId")
|
|
@@ -95,14 +90,14 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
95
90
|
|
|
96
91
|
@property
|
|
97
92
|
@pulumi.getter(name="maxAgeSeconds")
|
|
98
|
-
def max_age_seconds(self) -> Optional[pulumi.Input[
|
|
93
|
+
def max_age_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
99
94
|
"""
|
|
100
95
|
The number of hours after which a token expires. Default session duration is 10 hours.
|
|
101
96
|
"""
|
|
102
97
|
return pulumi.get(self, "max_age_seconds")
|
|
103
98
|
|
|
104
99
|
@max_age_seconds.setter
|
|
105
|
-
def max_age_seconds(self, value: Optional[pulumi.Input[
|
|
100
|
+
def max_age_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
106
101
|
pulumi.set(self, "max_age_seconds", value)
|
|
107
102
|
|
|
108
103
|
@property
|
|
@@ -117,15 +112,6 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
117
112
|
def scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
118
113
|
pulumi.set(self, "scopes", value)
|
|
119
114
|
|
|
120
|
-
@property
|
|
121
|
-
@pulumi.getter
|
|
122
|
-
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]:
|
|
123
|
-
return pulumi.get(self, "timeouts")
|
|
124
|
-
|
|
125
|
-
@timeouts.setter
|
|
126
|
-
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]):
|
|
127
|
-
pulumi.set(self, "timeouts", value)
|
|
128
|
-
|
|
129
115
|
|
|
130
116
|
@pulumi.input_type
|
|
131
117
|
class _OrganizationApplicationUserTokenState:
|
|
@@ -141,10 +127,9 @@ class _OrganizationApplicationUserTokenState:
|
|
|
141
127
|
last_used_time: Optional[pulumi.Input[str]] = None,
|
|
142
128
|
last_user_agent: Optional[pulumi.Input[str]] = None,
|
|
143
129
|
last_user_agent_human_readable: Optional[pulumi.Input[str]] = None,
|
|
144
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
130
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
145
131
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
146
132
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
147
|
-
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']] = None,
|
|
148
133
|
token_prefix: Optional[pulumi.Input[str]] = None,
|
|
149
134
|
user_id: Optional[pulumi.Input[str]] = None):
|
|
150
135
|
"""
|
|
@@ -160,7 +145,7 @@ class _OrganizationApplicationUserTokenState:
|
|
|
160
145
|
:param pulumi.Input[str] last_used_time: Timestamp when the access token was last used.
|
|
161
146
|
:param pulumi.Input[str] last_user_agent: User agent of the last request made with this token.
|
|
162
147
|
:param pulumi.Input[str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
|
|
163
|
-
:param pulumi.Input[
|
|
148
|
+
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
164
149
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
165
150
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
166
151
|
:param pulumi.Input[str] token_prefix: Prefix of the token.
|
|
@@ -194,8 +179,6 @@ class _OrganizationApplicationUserTokenState:
|
|
|
194
179
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
195
180
|
if scopes is not None:
|
|
196
181
|
pulumi.set(__self__, "scopes", scopes)
|
|
197
|
-
if timeouts is not None:
|
|
198
|
-
pulumi.set(__self__, "timeouts", timeouts)
|
|
199
182
|
if token_prefix is not None:
|
|
200
183
|
pulumi.set(__self__, "token_prefix", token_prefix)
|
|
201
184
|
if user_id is not None:
|
|
@@ -335,14 +318,14 @@ class _OrganizationApplicationUserTokenState:
|
|
|
335
318
|
|
|
336
319
|
@property
|
|
337
320
|
@pulumi.getter(name="maxAgeSeconds")
|
|
338
|
-
def max_age_seconds(self) -> Optional[pulumi.Input[
|
|
321
|
+
def max_age_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
339
322
|
"""
|
|
340
323
|
The number of hours after which a token expires. Default session duration is 10 hours.
|
|
341
324
|
"""
|
|
342
325
|
return pulumi.get(self, "max_age_seconds")
|
|
343
326
|
|
|
344
327
|
@max_age_seconds.setter
|
|
345
|
-
def max_age_seconds(self, value: Optional[pulumi.Input[
|
|
328
|
+
def max_age_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
346
329
|
pulumi.set(self, "max_age_seconds", value)
|
|
347
330
|
|
|
348
331
|
@property
|
|
@@ -369,15 +352,6 @@ class _OrganizationApplicationUserTokenState:
|
|
|
369
352
|
def scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
370
353
|
pulumi.set(self, "scopes", value)
|
|
371
354
|
|
|
372
|
-
@property
|
|
373
|
-
@pulumi.getter
|
|
374
|
-
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]:
|
|
375
|
-
return pulumi.get(self, "timeouts")
|
|
376
|
-
|
|
377
|
-
@timeouts.setter
|
|
378
|
-
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]):
|
|
379
|
-
pulumi.set(self, "timeouts", value)
|
|
380
|
-
|
|
381
355
|
@property
|
|
382
356
|
@pulumi.getter(name="tokenPrefix")
|
|
383
357
|
def token_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -410,10 +384,9 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
410
384
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
411
385
|
description: Optional[pulumi.Input[str]] = None,
|
|
412
386
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
413
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
387
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
414
388
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
415
389
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
416
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTokenTimeoutsArgs']]] = None,
|
|
417
390
|
user_id: Optional[pulumi.Input[str]] = None,
|
|
418
391
|
__props__=None):
|
|
419
392
|
"""
|
|
@@ -444,7 +417,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
444
417
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
445
418
|
:param pulumi.Input[str] description: Description of the token.
|
|
446
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`.
|
|
447
|
-
:param pulumi.Input[
|
|
420
|
+
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
448
421
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
449
422
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
450
423
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
@@ -496,10 +469,9 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
496
469
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
497
470
|
description: Optional[pulumi.Input[str]] = None,
|
|
498
471
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
499
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
472
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
500
473
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
501
474
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
502
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTokenTimeoutsArgs']]] = None,
|
|
503
475
|
user_id: Optional[pulumi.Input[str]] = None,
|
|
504
476
|
__props__=None):
|
|
505
477
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -517,7 +489,6 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
517
489
|
raise TypeError("Missing required property 'organization_id'")
|
|
518
490
|
__props__.__dict__["organization_id"] = organization_id
|
|
519
491
|
__props__.__dict__["scopes"] = scopes
|
|
520
|
-
__props__.__dict__["timeouts"] = timeouts
|
|
521
492
|
if user_id is None and not opts.urn:
|
|
522
493
|
raise TypeError("Missing required property 'user_id'")
|
|
523
494
|
__props__.__dict__["user_id"] = user_id
|
|
@@ -554,10 +525,9 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
554
525
|
last_used_time: Optional[pulumi.Input[str]] = None,
|
|
555
526
|
last_user_agent: Optional[pulumi.Input[str]] = None,
|
|
556
527
|
last_user_agent_human_readable: Optional[pulumi.Input[str]] = None,
|
|
557
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
528
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
558
529
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
559
530
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
560
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTokenTimeoutsArgs']]] = None,
|
|
561
531
|
token_prefix: Optional[pulumi.Input[str]] = None,
|
|
562
532
|
user_id: Optional[pulumi.Input[str]] = None) -> 'OrganizationApplicationUserToken':
|
|
563
533
|
"""
|
|
@@ -578,7 +548,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
578
548
|
:param pulumi.Input[str] last_used_time: Timestamp when the access token was last used.
|
|
579
549
|
:param pulumi.Input[str] last_user_agent: User agent of the last request made with this token.
|
|
580
550
|
:param pulumi.Input[str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
|
|
581
|
-
:param pulumi.Input[
|
|
551
|
+
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
582
552
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
583
553
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
584
554
|
:param pulumi.Input[str] token_prefix: Prefix of the token.
|
|
@@ -602,7 +572,6 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
602
572
|
__props__.__dict__["max_age_seconds"] = max_age_seconds
|
|
603
573
|
__props__.__dict__["organization_id"] = organization_id
|
|
604
574
|
__props__.__dict__["scopes"] = scopes
|
|
605
|
-
__props__.__dict__["timeouts"] = timeouts
|
|
606
575
|
__props__.__dict__["token_prefix"] = token_prefix
|
|
607
576
|
__props__.__dict__["user_id"] = user_id
|
|
608
577
|
return OrganizationApplicationUserToken(resource_name, opts=opts, __props__=__props__)
|
|
@@ -697,7 +666,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
697
666
|
|
|
698
667
|
@property
|
|
699
668
|
@pulumi.getter(name="maxAgeSeconds")
|
|
700
|
-
def max_age_seconds(self) -> pulumi.Output[Optional[
|
|
669
|
+
def max_age_seconds(self) -> pulumi.Output[Optional[int]]:
|
|
701
670
|
"""
|
|
702
671
|
The number of hours after which a token expires. Default session duration is 10 hours.
|
|
703
672
|
"""
|
|
@@ -719,11 +688,6 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
719
688
|
"""
|
|
720
689
|
return pulumi.get(self, "scopes")
|
|
721
690
|
|
|
722
|
-
@property
|
|
723
|
-
@pulumi.getter
|
|
724
|
-
def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationApplicationUserTokenTimeouts']]:
|
|
725
|
-
return pulumi.get(self, "timeouts")
|
|
726
|
-
|
|
727
691
|
@property
|
|
728
692
|
@pulumi.getter(name="tokenPrefix")
|
|
729
693
|
def token_prefix(self) -> pulumi.Output[str]:
|