pulumi-spotinst 3.112.0a1741317810__py3-none-any.whl → 3.128.0__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-spotinst might be problematic. Click here for more details.

Files changed (77) hide show
  1. pulumi_spotinst/__init__.py +11 -1
  2. pulumi_spotinst/_inputs.py +2283 -1519
  3. pulumi_spotinst/_utilities.py +1 -1
  4. pulumi_spotinst/account.py +20 -19
  5. pulumi_spotinst/aws/__init__.py +2 -1
  6. pulumi_spotinst/aws/_inputs.py +4047 -3607
  7. pulumi_spotinst/aws/account.py +20 -19
  8. pulumi_spotinst/aws/beanstalk.py +254 -177
  9. pulumi_spotinst/aws/credentials.py +37 -36
  10. pulumi_spotinst/aws/elastigroup.py +970 -924
  11. pulumi_spotinst/aws/managed_instance.py +507 -506
  12. pulumi_spotinst/aws/mr_scalar.py +658 -653
  13. pulumi_spotinst/aws/ocean.py +668 -526
  14. pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
  15. pulumi_spotinst/aws/ocean_launch_spec.py +439 -297
  16. pulumi_spotinst/aws/outputs.py +2697 -2363
  17. pulumi_spotinst/aws/suspension.py +23 -22
  18. pulumi_spotinst/azure/__init__.py +2 -1
  19. pulumi_spotinst/azure/_inputs.py +607 -607
  20. pulumi_spotinst/azure/ocean_np.py +387 -386
  21. pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
  22. pulumi_spotinst/azure/outputs.py +411 -411
  23. pulumi_spotinst/config/__init__.py +2 -1
  24. pulumi_spotinst/config/__init__.pyi +2 -2
  25. pulumi_spotinst/config/vars.py +6 -6
  26. pulumi_spotinst/credentials_azure.py +139 -89
  27. pulumi_spotinst/credentials_gcp.py +190 -189
  28. pulumi_spotinst/data_integration.py +40 -39
  29. pulumi_spotinst/ecs/__init__.py +2 -1
  30. pulumi_spotinst/ecs/_inputs.py +584 -584
  31. pulumi_spotinst/ecs/ocean.py +628 -415
  32. pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
  33. pulumi_spotinst/ecs/outputs.py +394 -394
  34. pulumi_spotinst/elastigroup_azure_v3.py +326 -325
  35. pulumi_spotinst/gcp/__init__.py +2 -1
  36. pulumi_spotinst/gcp/_inputs.py +573 -499
  37. pulumi_spotinst/gcp/elastigroup.py +491 -482
  38. pulumi_spotinst/gcp/outputs.py +395 -330
  39. pulumi_spotinst/gke/__init__.py +2 -1
  40. pulumi_spotinst/gke/_inputs.py +1120 -895
  41. pulumi_spotinst/gke/elastigroup.py +341 -340
  42. pulumi_spotinst/gke/ocean_import.py +204 -203
  43. pulumi_spotinst/gke/ocean_launch_spec.py +288 -216
  44. pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
  45. pulumi_spotinst/gke/outputs.py +769 -583
  46. pulumi_spotinst/health_check.py +106 -65
  47. pulumi_spotinst/notification_center.py +344 -0
  48. pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
  49. pulumi_spotinst/oceancd/__init__.py +2 -1
  50. pulumi_spotinst/oceancd/_inputs.py +764 -764
  51. pulumi_spotinst/oceancd/outputs.py +526 -526
  52. pulumi_spotinst/oceancd/rollout_spec.py +35 -34
  53. pulumi_spotinst/oceancd/strategy.py +22 -21
  54. pulumi_spotinst/oceancd/verification_provider.py +52 -51
  55. pulumi_spotinst/oceancd/verification_template.py +26 -25
  56. pulumi_spotinst/organization/__init__.py +2 -1
  57. pulumi_spotinst/organization/_inputs.py +68 -68
  58. pulumi_spotinst/organization/outputs.py +46 -46
  59. pulumi_spotinst/organization/policy.py +40 -39
  60. pulumi_spotinst/organization/programmatic_user.py +60 -59
  61. pulumi_spotinst/organization/user.py +108 -107
  62. pulumi_spotinst/organization/user_group.py +57 -56
  63. pulumi_spotinst/outputs.py +1539 -932
  64. pulumi_spotinst/provider.py +61 -40
  65. pulumi_spotinst/pulumi-plugin.json +1 -1
  66. pulumi_spotinst/spark/__init__.py +2 -1
  67. pulumi_spotinst/spark/_inputs.py +104 -104
  68. pulumi_spotinst/spark/ocean.py +38 -37
  69. pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
  70. pulumi_spotinst/spark/outputs.py +72 -72
  71. pulumi_spotinst/stateful_node_azure.py +340 -343
  72. pulumi_spotinst/subscription.py +88 -87
  73. {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/METADATA +4 -4
  74. pulumi_spotinst-3.128.0.dist-info/RECORD +77 -0
  75. {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/WHEEL +1 -1
  76. pulumi_spotinst-3.112.0a1741317810.dist-info/RECORD +0 -76
  77. {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -49,7 +49,7 @@ class PolicyPolicyContentArgs:
49
49
  """
50
50
  pulumi.set(__self__, "statements", statements)
51
51
 
52
- @property
52
+ @_builtins.property
53
53
  @pulumi.getter
54
54
  def statements(self) -> pulumi.Input[Sequence[pulumi.Input['PolicyPolicyContentStatementArgs']]]:
55
55
  """
@@ -64,16 +64,16 @@ class PolicyPolicyContentArgs:
64
64
 
65
65
  if not MYPY:
66
66
  class PolicyPolicyContentStatementArgsDict(TypedDict):
67
- actions: pulumi.Input[Sequence[pulumi.Input[str]]]
67
+ actions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
68
68
  """
69
69
  Set a list of required actions for this permissions statement.
70
70
  Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
71
71
  """
72
- effect: pulumi.Input[str]
72
+ effect: pulumi.Input[_builtins.str]
73
73
  """
74
74
  Valid values "ALLOW", "DENY".
75
75
  """
76
- resources: pulumi.Input[Sequence[pulumi.Input[str]]]
76
+ resources: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
77
77
  """
78
78
  Set a list of resources IDs. In order to include all resources in this statement - use "*".
79
79
  """
@@ -83,22 +83,22 @@ elif False:
83
83
  @pulumi.input_type
84
84
  class PolicyPolicyContentStatementArgs:
85
85
  def __init__(__self__, *,
86
- actions: pulumi.Input[Sequence[pulumi.Input[str]]],
87
- effect: pulumi.Input[str],
88
- resources: pulumi.Input[Sequence[pulumi.Input[str]]]):
86
+ actions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
87
+ effect: pulumi.Input[_builtins.str],
88
+ resources: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
89
89
  """
90
- :param pulumi.Input[Sequence[pulumi.Input[str]]] actions: Set a list of required actions for this permissions statement.
90
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] actions: Set a list of required actions for this permissions statement.
91
91
  Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
92
- :param pulumi.Input[str] effect: Valid values "ALLOW", "DENY".
93
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Set a list of resources IDs. In order to include all resources in this statement - use "*".
92
+ :param pulumi.Input[_builtins.str] effect: Valid values "ALLOW", "DENY".
93
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Set a list of resources IDs. In order to include all resources in this statement - use "*".
94
94
  """
95
95
  pulumi.set(__self__, "actions", actions)
96
96
  pulumi.set(__self__, "effect", effect)
97
97
  pulumi.set(__self__, "resources", resources)
98
98
 
99
- @property
99
+ @_builtins.property
100
100
  @pulumi.getter
101
- def actions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
101
+ def actions(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
102
102
  """
103
103
  Set a list of required actions for this permissions statement.
104
104
  Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
@@ -106,41 +106,41 @@ class PolicyPolicyContentStatementArgs:
106
106
  return pulumi.get(self, "actions")
107
107
 
108
108
  @actions.setter
109
- def actions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
109
+ def actions(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
110
110
  pulumi.set(self, "actions", value)
111
111
 
112
- @property
112
+ @_builtins.property
113
113
  @pulumi.getter
114
- def effect(self) -> pulumi.Input[str]:
114
+ def effect(self) -> pulumi.Input[_builtins.str]:
115
115
  """
116
116
  Valid values "ALLOW", "DENY".
117
117
  """
118
118
  return pulumi.get(self, "effect")
119
119
 
120
120
  @effect.setter
121
- def effect(self, value: pulumi.Input[str]):
121
+ def effect(self, value: pulumi.Input[_builtins.str]):
122
122
  pulumi.set(self, "effect", value)
123
123
 
124
- @property
124
+ @_builtins.property
125
125
  @pulumi.getter
126
- def resources(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
126
+ def resources(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
127
127
  """
128
128
  Set a list of resources IDs. In order to include all resources in this statement - use "*".
129
129
  """
130
130
  return pulumi.get(self, "resources")
131
131
 
132
132
  @resources.setter
133
- def resources(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
133
+ def resources(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
134
134
  pulumi.set(self, "resources", value)
135
135
 
136
136
 
137
137
  if not MYPY:
138
138
  class ProgrammaticUserAccountArgsDict(TypedDict):
139
- account_id: pulumi.Input[str]
139
+ account_id: pulumi.Input[_builtins.str]
140
140
  """
141
141
  Account ID the programmatic user will have access to.
142
142
  """
143
- account_role: pulumi.Input[str]
143
+ account_role: pulumi.Input[_builtins.str]
144
144
  """
145
145
  (Enum: `"viewer", "editor") Role to be associated with the
146
146
  programmatic user for this account.
@@ -151,31 +151,31 @@ elif False:
151
151
  @pulumi.input_type
152
152
  class ProgrammaticUserAccountArgs:
153
153
  def __init__(__self__, *,
154
- account_id: pulumi.Input[str],
155
- account_role: pulumi.Input[str]):
154
+ account_id: pulumi.Input[_builtins.str],
155
+ account_role: pulumi.Input[_builtins.str]):
156
156
  """
157
- :param pulumi.Input[str] account_id: Account ID the programmatic user will have access to.
158
- :param pulumi.Input[str] account_role: (Enum: `"viewer", "editor") Role to be associated with the
157
+ :param pulumi.Input[_builtins.str] account_id: Account ID the programmatic user will have access to.
158
+ :param pulumi.Input[_builtins.str] account_role: (Enum: `"viewer", "editor") Role to be associated with the
159
159
  programmatic user for this account.
160
160
  """
161
161
  pulumi.set(__self__, "account_id", account_id)
162
162
  pulumi.set(__self__, "account_role", account_role)
163
163
 
164
- @property
164
+ @_builtins.property
165
165
  @pulumi.getter(name="accountId")
166
- def account_id(self) -> pulumi.Input[str]:
166
+ def account_id(self) -> pulumi.Input[_builtins.str]:
167
167
  """
168
168
  Account ID the programmatic user will have access to.
169
169
  """
170
170
  return pulumi.get(self, "account_id")
171
171
 
172
172
  @account_id.setter
173
- def account_id(self, value: pulumi.Input[str]):
173
+ def account_id(self, value: pulumi.Input[_builtins.str]):
174
174
  pulumi.set(self, "account_id", value)
175
175
 
176
- @property
176
+ @_builtins.property
177
177
  @pulumi.getter(name="accountRole")
178
- def account_role(self) -> pulumi.Input[str]:
178
+ def account_role(self) -> pulumi.Input[_builtins.str]:
179
179
  """
180
180
  (Enum: `"viewer", "editor") Role to be associated with the
181
181
  programmatic user for this account.
@@ -183,17 +183,17 @@ class ProgrammaticUserAccountArgs:
183
183
  return pulumi.get(self, "account_role")
184
184
 
185
185
  @account_role.setter
186
- def account_role(self, value: pulumi.Input[str]):
186
+ def account_role(self, value: pulumi.Input[_builtins.str]):
187
187
  pulumi.set(self, "account_role", value)
188
188
 
189
189
 
190
190
  if not MYPY:
191
191
  class ProgrammaticUserPolicyArgsDict(TypedDict):
192
- policy_id: pulumi.Input[str]
192
+ policy_id: pulumi.Input[_builtins.str]
193
193
  """
194
194
  Policy ID the programmatic user will have access to.
195
195
  """
196
- policy_account_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
196
+ policy_account_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
197
197
  """
198
198
  A list of the accounts that the policy should be
199
199
  enforced for the user.
@@ -204,32 +204,32 @@ elif False:
204
204
  @pulumi.input_type
205
205
  class ProgrammaticUserPolicyArgs:
206
206
  def __init__(__self__, *,
207
- policy_id: pulumi.Input[str],
208
- policy_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
207
+ policy_id: pulumi.Input[_builtins.str],
208
+ policy_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
209
209
  """
210
- :param pulumi.Input[str] policy_id: Policy ID the programmatic user will have access to.
211
- :param pulumi.Input[Sequence[pulumi.Input[str]]] policy_account_ids: A list of the accounts that the policy should be
210
+ :param pulumi.Input[_builtins.str] policy_id: Policy ID the programmatic user will have access to.
211
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] policy_account_ids: A list of the accounts that the policy should be
212
212
  enforced for the user.
213
213
  """
214
214
  pulumi.set(__self__, "policy_id", policy_id)
215
215
  if policy_account_ids is not None:
216
216
  pulumi.set(__self__, "policy_account_ids", policy_account_ids)
217
217
 
218
- @property
218
+ @_builtins.property
219
219
  @pulumi.getter(name="policyId")
220
- def policy_id(self) -> pulumi.Input[str]:
220
+ def policy_id(self) -> pulumi.Input[_builtins.str]:
221
221
  """
222
222
  Policy ID the programmatic user will have access to.
223
223
  """
224
224
  return pulumi.get(self, "policy_id")
225
225
 
226
226
  @policy_id.setter
227
- def policy_id(self, value: pulumi.Input[str]):
227
+ def policy_id(self, value: pulumi.Input[_builtins.str]):
228
228
  pulumi.set(self, "policy_id", value)
229
229
 
230
- @property
230
+ @_builtins.property
231
231
  @pulumi.getter(name="policyAccountIds")
232
- def policy_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
232
+ def policy_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
233
233
  """
234
234
  A list of the accounts that the policy should be
235
235
  enforced for the user.
@@ -237,18 +237,18 @@ class ProgrammaticUserPolicyArgs:
237
237
  return pulumi.get(self, "policy_account_ids")
238
238
 
239
239
  @policy_account_ids.setter
240
- def policy_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
240
+ def policy_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
241
241
  pulumi.set(self, "policy_account_ids", value)
242
242
 
243
243
 
244
244
  if not MYPY:
245
245
  class UserGroupPolicyArgsDict(TypedDict):
246
- account_ids: pulumi.Input[Sequence[pulumi.Input[str]]]
246
+ account_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
247
247
  """
248
248
  A list of accounts to register with the assigned under the
249
249
  given group (should be existing accounts only).
250
250
  """
251
- policy_id: pulumi.Input[str]
251
+ policy_id: pulumi.Input[_builtins.str]
252
252
  """
253
253
  A policy to register under the given group
254
254
  (should be existing policy only).
@@ -259,20 +259,20 @@ elif False:
259
259
  @pulumi.input_type
260
260
  class UserGroupPolicyArgs:
261
261
  def __init__(__self__, *,
262
- account_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
263
- policy_id: pulumi.Input[str]):
262
+ account_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
263
+ policy_id: pulumi.Input[_builtins.str]):
264
264
  """
265
- :param pulumi.Input[Sequence[pulumi.Input[str]]] account_ids: A list of accounts to register with the assigned under the
265
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] account_ids: A list of accounts to register with the assigned under the
266
266
  given group (should be existing accounts only).
267
- :param pulumi.Input[str] policy_id: A policy to register under the given group
267
+ :param pulumi.Input[_builtins.str] policy_id: A policy to register under the given group
268
268
  (should be existing policy only).
269
269
  """
270
270
  pulumi.set(__self__, "account_ids", account_ids)
271
271
  pulumi.set(__self__, "policy_id", policy_id)
272
272
 
273
- @property
273
+ @_builtins.property
274
274
  @pulumi.getter(name="accountIds")
275
- def account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
275
+ def account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
276
276
  """
277
277
  A list of accounts to register with the assigned under the
278
278
  given group (should be existing accounts only).
@@ -280,12 +280,12 @@ class UserGroupPolicyArgs:
280
280
  return pulumi.get(self, "account_ids")
281
281
 
282
282
  @account_ids.setter
283
- def account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
283
+ def account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
284
284
  pulumi.set(self, "account_ids", value)
285
285
 
286
- @property
286
+ @_builtins.property
287
287
  @pulumi.getter(name="policyId")
288
- def policy_id(self) -> pulumi.Input[str]:
288
+ def policy_id(self) -> pulumi.Input[_builtins.str]:
289
289
  """
290
290
  A policy to register under the given group
291
291
  (should be existing policy only).
@@ -293,14 +293,14 @@ class UserGroupPolicyArgs:
293
293
  return pulumi.get(self, "policy_id")
294
294
 
295
295
  @policy_id.setter
296
- def policy_id(self, value: pulumi.Input[str]):
296
+ def policy_id(self, value: pulumi.Input[_builtins.str]):
297
297
  pulumi.set(self, "policy_id", value)
298
298
 
299
299
 
300
300
  if not MYPY:
301
301
  class UserPolicyArgsDict(TypedDict):
302
- policy_account_ids: pulumi.Input[Sequence[pulumi.Input[str]]]
303
- policy_id: pulumi.Input[str]
302
+ policy_account_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
303
+ policy_id: pulumi.Input[_builtins.str]
304
304
  """
305
305
  A policy to register under the given group
306
306
  (should be existing policy only).
@@ -311,27 +311,27 @@ elif False:
311
311
  @pulumi.input_type
312
312
  class UserPolicyArgs:
313
313
  def __init__(__self__, *,
314
- policy_account_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
315
- policy_id: pulumi.Input[str]):
314
+ policy_account_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
315
+ policy_id: pulumi.Input[_builtins.str]):
316
316
  """
317
- :param pulumi.Input[str] policy_id: A policy to register under the given group
317
+ :param pulumi.Input[_builtins.str] policy_id: A policy to register under the given group
318
318
  (should be existing policy only).
319
319
  """
320
320
  pulumi.set(__self__, "policy_account_ids", policy_account_ids)
321
321
  pulumi.set(__self__, "policy_id", policy_id)
322
322
 
323
- @property
323
+ @_builtins.property
324
324
  @pulumi.getter(name="policyAccountIds")
325
- def policy_account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
325
+ def policy_account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
326
326
  return pulumi.get(self, "policy_account_ids")
327
327
 
328
328
  @policy_account_ids.setter
329
- def policy_account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
329
+ def policy_account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
330
330
  pulumi.set(self, "policy_account_ids", value)
331
331
 
332
- @property
332
+ @_builtins.property
333
333
  @pulumi.getter(name="policyId")
334
- def policy_id(self) -> pulumi.Input[str]:
334
+ def policy_id(self) -> pulumi.Input[_builtins.str]:
335
335
  """
336
336
  A policy to register under the given group
337
337
  (should be existing policy only).
@@ -339,7 +339,7 @@ class UserPolicyArgs:
339
339
  return pulumi.get(self, "policy_id")
340
340
 
341
341
  @policy_id.setter
342
- def policy_id(self, value: pulumi.Input[str]):
342
+ def policy_id(self, value: pulumi.Input[_builtins.str]):
343
343
  pulumi.set(self, "policy_id", value)
344
344
 
345
345
 
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -33,7 +33,7 @@ class PolicyPolicyContent(dict):
33
33
  """
34
34
  pulumi.set(__self__, "statements", statements)
35
35
 
36
- @property
36
+ @_builtins.property
37
37
  @pulumi.getter
38
38
  def statements(self) -> Sequence['outputs.PolicyPolicyContentStatement']:
39
39
  """
@@ -45,39 +45,39 @@ class PolicyPolicyContent(dict):
45
45
  @pulumi.output_type
46
46
  class PolicyPolicyContentStatement(dict):
47
47
  def __init__(__self__, *,
48
- actions: Sequence[str],
49
- effect: str,
50
- resources: Sequence[str]):
48
+ actions: Sequence[_builtins.str],
49
+ effect: _builtins.str,
50
+ resources: Sequence[_builtins.str]):
51
51
  """
52
- :param Sequence[str] actions: Set a list of required actions for this permissions statement.
52
+ :param Sequence[_builtins.str] actions: Set a list of required actions for this permissions statement.
53
53
  Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
54
- :param str effect: Valid values "ALLOW", "DENY".
55
- :param Sequence[str] resources: Set a list of resources IDs. In order to include all resources in this statement - use "*".
54
+ :param _builtins.str effect: Valid values "ALLOW", "DENY".
55
+ :param Sequence[_builtins.str] resources: Set a list of resources IDs. In order to include all resources in this statement - use "*".
56
56
  """
57
57
  pulumi.set(__self__, "actions", actions)
58
58
  pulumi.set(__self__, "effect", effect)
59
59
  pulumi.set(__self__, "resources", resources)
60
60
 
61
- @property
61
+ @_builtins.property
62
62
  @pulumi.getter
63
- def actions(self) -> Sequence[str]:
63
+ def actions(self) -> Sequence[_builtins.str]:
64
64
  """
65
65
  Set a list of required actions for this permissions statement.
66
66
  Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
67
67
  """
68
68
  return pulumi.get(self, "actions")
69
69
 
70
- @property
70
+ @_builtins.property
71
71
  @pulumi.getter
72
- def effect(self) -> str:
72
+ def effect(self) -> _builtins.str:
73
73
  """
74
74
  Valid values "ALLOW", "DENY".
75
75
  """
76
76
  return pulumi.get(self, "effect")
77
77
 
78
- @property
78
+ @_builtins.property
79
79
  @pulumi.getter
80
- def resources(self) -> Sequence[str]:
80
+ def resources(self) -> Sequence[_builtins.str]:
81
81
  """
82
82
  Set a list of resources IDs. In order to include all resources in this statement - use "*".
83
83
  """
@@ -106,27 +106,27 @@ class ProgrammaticUserAccount(dict):
106
106
  return super().get(key, default)
107
107
 
108
108
  def __init__(__self__, *,
109
- account_id: str,
110
- account_role: str):
109
+ account_id: _builtins.str,
110
+ account_role: _builtins.str):
111
111
  """
112
- :param str account_id: Account ID the programmatic user will have access to.
113
- :param str account_role: (Enum: `"viewer", "editor") Role to be associated with the
112
+ :param _builtins.str account_id: Account ID the programmatic user will have access to.
113
+ :param _builtins.str account_role: (Enum: `"viewer", "editor") Role to be associated with the
114
114
  programmatic user for this account.
115
115
  """
116
116
  pulumi.set(__self__, "account_id", account_id)
117
117
  pulumi.set(__self__, "account_role", account_role)
118
118
 
119
- @property
119
+ @_builtins.property
120
120
  @pulumi.getter(name="accountId")
121
- def account_id(self) -> str:
121
+ def account_id(self) -> _builtins.str:
122
122
  """
123
123
  Account ID the programmatic user will have access to.
124
124
  """
125
125
  return pulumi.get(self, "account_id")
126
126
 
127
- @property
127
+ @_builtins.property
128
128
  @pulumi.getter(name="accountRole")
129
- def account_role(self) -> str:
129
+ def account_role(self) -> _builtins.str:
130
130
  """
131
131
  (Enum: `"viewer", "editor") Role to be associated with the
132
132
  programmatic user for this account.
@@ -156,28 +156,28 @@ class ProgrammaticUserPolicy(dict):
156
156
  return super().get(key, default)
157
157
 
158
158
  def __init__(__self__, *,
159
- policy_id: str,
160
- policy_account_ids: Optional[Sequence[str]] = None):
159
+ policy_id: _builtins.str,
160
+ policy_account_ids: Optional[Sequence[_builtins.str]] = None):
161
161
  """
162
- :param str policy_id: Policy ID the programmatic user will have access to.
163
- :param Sequence[str] policy_account_ids: A list of the accounts that the policy should be
162
+ :param _builtins.str policy_id: Policy ID the programmatic user will have access to.
163
+ :param Sequence[_builtins.str] policy_account_ids: A list of the accounts that the policy should be
164
164
  enforced for the user.
165
165
  """
166
166
  pulumi.set(__self__, "policy_id", policy_id)
167
167
  if policy_account_ids is not None:
168
168
  pulumi.set(__self__, "policy_account_ids", policy_account_ids)
169
169
 
170
- @property
170
+ @_builtins.property
171
171
  @pulumi.getter(name="policyId")
172
- def policy_id(self) -> str:
172
+ def policy_id(self) -> _builtins.str:
173
173
  """
174
174
  Policy ID the programmatic user will have access to.
175
175
  """
176
176
  return pulumi.get(self, "policy_id")
177
177
 
178
- @property
178
+ @_builtins.property
179
179
  @pulumi.getter(name="policyAccountIds")
180
- def policy_account_ids(self) -> Optional[Sequence[str]]:
180
+ def policy_account_ids(self) -> Optional[Sequence[_builtins.str]]:
181
181
  """
182
182
  A list of the accounts that the policy should be
183
183
  enforced for the user.
@@ -207,29 +207,29 @@ class UserGroupPolicy(dict):
207
207
  return super().get(key, default)
208
208
 
209
209
  def __init__(__self__, *,
210
- account_ids: Sequence[str],
211
- policy_id: str):
210
+ account_ids: Sequence[_builtins.str],
211
+ policy_id: _builtins.str):
212
212
  """
213
- :param Sequence[str] account_ids: A list of accounts to register with the assigned under the
213
+ :param Sequence[_builtins.str] account_ids: A list of accounts to register with the assigned under the
214
214
  given group (should be existing accounts only).
215
- :param str policy_id: A policy to register under the given group
215
+ :param _builtins.str policy_id: A policy to register under the given group
216
216
  (should be existing policy only).
217
217
  """
218
218
  pulumi.set(__self__, "account_ids", account_ids)
219
219
  pulumi.set(__self__, "policy_id", policy_id)
220
220
 
221
- @property
221
+ @_builtins.property
222
222
  @pulumi.getter(name="accountIds")
223
- def account_ids(self) -> Sequence[str]:
223
+ def account_ids(self) -> Sequence[_builtins.str]:
224
224
  """
225
225
  A list of accounts to register with the assigned under the
226
226
  given group (should be existing accounts only).
227
227
  """
228
228
  return pulumi.get(self, "account_ids")
229
229
 
230
- @property
230
+ @_builtins.property
231
231
  @pulumi.getter(name="policyId")
232
- def policy_id(self) -> str:
232
+ def policy_id(self) -> _builtins.str:
233
233
  """
234
234
  A policy to register under the given group
235
235
  (should be existing policy only).
@@ -259,23 +259,23 @@ class UserPolicy(dict):
259
259
  return super().get(key, default)
260
260
 
261
261
  def __init__(__self__, *,
262
- policy_account_ids: Sequence[str],
263
- policy_id: str):
262
+ policy_account_ids: Sequence[_builtins.str],
263
+ policy_id: _builtins.str):
264
264
  """
265
- :param str policy_id: A policy to register under the given group
265
+ :param _builtins.str policy_id: A policy to register under the given group
266
266
  (should be existing policy only).
267
267
  """
268
268
  pulumi.set(__self__, "policy_account_ids", policy_account_ids)
269
269
  pulumi.set(__self__, "policy_id", policy_id)
270
270
 
271
- @property
271
+ @_builtins.property
272
272
  @pulumi.getter(name="policyAccountIds")
273
- def policy_account_ids(self) -> Sequence[str]:
273
+ def policy_account_ids(self) -> Sequence[_builtins.str]:
274
274
  return pulumi.get(self, "policy_account_ids")
275
275
 
276
- @property
276
+ @_builtins.property
277
277
  @pulumi.getter(name="policyId")
278
- def policy_id(self) -> str:
278
+ def policy_id(self) -> _builtins.str:
279
279
  """
280
280
  A policy to register under the given group
281
281
  (should be existing policy only).