pulumi-spotinst 3.115.0a1742873189__py3-none-any.whl → 3.128.0a1767140134__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.
- pulumi_spotinst/__init__.py +11 -1
- pulumi_spotinst/_inputs.py +2206 -1519
- pulumi_spotinst/_utilities.py +1 -1
- pulumi_spotinst/account.py +20 -19
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +3991 -3619
- pulumi_spotinst/aws/account.py +20 -19
- pulumi_spotinst/aws/beanstalk.py +254 -177
- pulumi_spotinst/aws/credentials.py +37 -36
- pulumi_spotinst/aws/elastigroup.py +938 -950
- pulumi_spotinst/aws/managed_instance.py +507 -506
- pulumi_spotinst/aws/mr_scalar.py +658 -653
- pulumi_spotinst/aws/ocean.py +624 -529
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +395 -300
- pulumi_spotinst/aws/outputs.py +2631 -2371
- pulumi_spotinst/aws/suspension.py +23 -22
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +607 -607
- pulumi_spotinst/azure/ocean_np.py +387 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
- pulumi_spotinst/azure/outputs.py +411 -411
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +2 -2
- pulumi_spotinst/config/vars.py +6 -6
- pulumi_spotinst/credentials_azure.py +139 -89
- pulumi_spotinst/credentials_gcp.py +190 -189
- pulumi_spotinst/data_integration.py +40 -39
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +584 -584
- pulumi_spotinst/ecs/ocean.py +628 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
- pulumi_spotinst/ecs/outputs.py +394 -394
- pulumi_spotinst/elastigroup_azure_v3.py +326 -325
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +573 -499
- pulumi_spotinst/gcp/elastigroup.py +491 -482
- pulumi_spotinst/gcp/outputs.py +395 -330
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +1120 -895
- pulumi_spotinst/gke/elastigroup.py +341 -340
- pulumi_spotinst/gke/ocean_import.py +204 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +285 -213
- pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
- pulumi_spotinst/gke/outputs.py +769 -583
- pulumi_spotinst/health_check.py +106 -65
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +764 -764
- pulumi_spotinst/oceancd/outputs.py +526 -526
- pulumi_spotinst/oceancd/rollout_spec.py +35 -34
- pulumi_spotinst/oceancd/strategy.py +22 -21
- pulumi_spotinst/oceancd/verification_provider.py +52 -51
- pulumi_spotinst/oceancd/verification_template.py +26 -25
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +68 -68
- pulumi_spotinst/organization/outputs.py +46 -46
- pulumi_spotinst/organization/policy.py +40 -39
- pulumi_spotinst/organization/programmatic_user.py +60 -59
- pulumi_spotinst/organization/user.py +108 -107
- pulumi_spotinst/organization/user_group.py +57 -56
- pulumi_spotinst/outputs.py +1472 -932
- pulumi_spotinst/provider.py +61 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +104 -104
- pulumi_spotinst/spark/ocean.py +38 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
- pulumi_spotinst/spark/outputs.py +72 -72
- pulumi_spotinst/stateful_node_azure.py +318 -343
- pulumi_spotinst/subscription.py +88 -87
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +3 -3
- pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.115.0a1742873189.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
pulumi_spotinst/ecs/_inputs.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -83,11 +83,11 @@ MYPY = False
|
|
|
83
83
|
|
|
84
84
|
if not MYPY:
|
|
85
85
|
class OceanAutoscalerArgsDict(TypedDict):
|
|
86
|
-
auto_headroom_percentage: NotRequired[pulumi.Input[int]]
|
|
86
|
+
auto_headroom_percentage: NotRequired[pulumi.Input[_builtins.int]]
|
|
87
87
|
"""
|
|
88
88
|
The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
89
89
|
"""
|
|
90
|
-
cooldown: NotRequired[pulumi.Input[int]]
|
|
90
|
+
cooldown: NotRequired[pulumi.Input[_builtins.int]]
|
|
91
91
|
"""
|
|
92
92
|
Cooldown period between scaling actions.
|
|
93
93
|
"""
|
|
@@ -95,7 +95,7 @@ if not MYPY:
|
|
|
95
95
|
"""
|
|
96
96
|
Auto Scaling scale down operations.
|
|
97
97
|
"""
|
|
98
|
-
enable_automatic_and_manual_headroom: NotRequired[pulumi.Input[bool]]
|
|
98
|
+
enable_automatic_and_manual_headroom: NotRequired[pulumi.Input[_builtins.bool]]
|
|
99
99
|
"""
|
|
100
100
|
When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
|
|
101
101
|
"""
|
|
@@ -103,11 +103,11 @@ if not MYPY:
|
|
|
103
103
|
"""
|
|
104
104
|
Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
|
|
105
105
|
"""
|
|
106
|
-
is_auto_config: NotRequired[pulumi.Input[bool]]
|
|
106
|
+
is_auto_config: NotRequired[pulumi.Input[_builtins.bool]]
|
|
107
107
|
"""
|
|
108
108
|
Automatically configure and optimize headroom resources.
|
|
109
109
|
"""
|
|
110
|
-
is_enabled: NotRequired[pulumi.Input[bool]]
|
|
110
|
+
is_enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
|
111
111
|
"""
|
|
112
112
|
Enable the Ocean ECS autoscaler.
|
|
113
113
|
"""
|
|
@@ -115,7 +115,7 @@ if not MYPY:
|
|
|
115
115
|
"""
|
|
116
116
|
Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
117
117
|
"""
|
|
118
|
-
should_scale_down_non_service_tasks: NotRequired[pulumi.Input[bool]]
|
|
118
|
+
should_scale_down_non_service_tasks: NotRequired[pulumi.Input[_builtins.bool]]
|
|
119
119
|
"""
|
|
120
120
|
Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
121
121
|
"""
|
|
@@ -125,25 +125,25 @@ elif False:
|
|
|
125
125
|
@pulumi.input_type
|
|
126
126
|
class OceanAutoscalerArgs:
|
|
127
127
|
def __init__(__self__, *,
|
|
128
|
-
auto_headroom_percentage: Optional[pulumi.Input[int]] = None,
|
|
129
|
-
cooldown: Optional[pulumi.Input[int]] = None,
|
|
128
|
+
auto_headroom_percentage: Optional[pulumi.Input[_builtins.int]] = None,
|
|
129
|
+
cooldown: Optional[pulumi.Input[_builtins.int]] = None,
|
|
130
130
|
down: Optional[pulumi.Input['OceanAutoscalerDownArgs']] = None,
|
|
131
|
-
enable_automatic_and_manual_headroom: Optional[pulumi.Input[bool]] = None,
|
|
131
|
+
enable_automatic_and_manual_headroom: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
132
132
|
headroom: Optional[pulumi.Input['OceanAutoscalerHeadroomArgs']] = None,
|
|
133
|
-
is_auto_config: Optional[pulumi.Input[bool]] = None,
|
|
134
|
-
is_enabled: Optional[pulumi.Input[bool]] = None,
|
|
133
|
+
is_auto_config: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
134
|
+
is_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
135
135
|
resource_limits: Optional[pulumi.Input['OceanAutoscalerResourceLimitsArgs']] = None,
|
|
136
|
-
should_scale_down_non_service_tasks: Optional[pulumi.Input[bool]] = None):
|
|
136
|
+
should_scale_down_non_service_tasks: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
137
137
|
"""
|
|
138
|
-
:param pulumi.Input[int] auto_headroom_percentage: The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
139
|
-
:param pulumi.Input[int] cooldown: Cooldown period between scaling actions.
|
|
138
|
+
:param pulumi.Input[_builtins.int] auto_headroom_percentage: The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
139
|
+
:param pulumi.Input[_builtins.int] cooldown: Cooldown period between scaling actions.
|
|
140
140
|
:param pulumi.Input['OceanAutoscalerDownArgs'] down: Auto Scaling scale down operations.
|
|
141
|
-
:param pulumi.Input[bool] enable_automatic_and_manual_headroom: When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
|
|
141
|
+
:param pulumi.Input[_builtins.bool] enable_automatic_and_manual_headroom: When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
|
|
142
142
|
:param pulumi.Input['OceanAutoscalerHeadroomArgs'] headroom: Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
|
|
143
|
-
:param pulumi.Input[bool] is_auto_config: Automatically configure and optimize headroom resources.
|
|
144
|
-
:param pulumi.Input[bool] is_enabled: Enable the Ocean ECS autoscaler.
|
|
143
|
+
:param pulumi.Input[_builtins.bool] is_auto_config: Automatically configure and optimize headroom resources.
|
|
144
|
+
:param pulumi.Input[_builtins.bool] is_enabled: Enable the Ocean ECS autoscaler.
|
|
145
145
|
:param pulumi.Input['OceanAutoscalerResourceLimitsArgs'] resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
146
|
-
:param pulumi.Input[bool] should_scale_down_non_service_tasks: Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
146
|
+
:param pulumi.Input[_builtins.bool] should_scale_down_non_service_tasks: Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
147
147
|
"""
|
|
148
148
|
if auto_headroom_percentage is not None:
|
|
149
149
|
pulumi.set(__self__, "auto_headroom_percentage", auto_headroom_percentage)
|
|
@@ -164,31 +164,31 @@ class OceanAutoscalerArgs:
|
|
|
164
164
|
if should_scale_down_non_service_tasks is not None:
|
|
165
165
|
pulumi.set(__self__, "should_scale_down_non_service_tasks", should_scale_down_non_service_tasks)
|
|
166
166
|
|
|
167
|
-
@property
|
|
167
|
+
@_builtins.property
|
|
168
168
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
169
|
-
def auto_headroom_percentage(self) -> Optional[pulumi.Input[int]]:
|
|
169
|
+
def auto_headroom_percentage(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
170
170
|
"""
|
|
171
171
|
The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
172
172
|
"""
|
|
173
173
|
return pulumi.get(self, "auto_headroom_percentage")
|
|
174
174
|
|
|
175
175
|
@auto_headroom_percentage.setter
|
|
176
|
-
def auto_headroom_percentage(self, value: Optional[pulumi.Input[int]]):
|
|
176
|
+
def auto_headroom_percentage(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
177
177
|
pulumi.set(self, "auto_headroom_percentage", value)
|
|
178
178
|
|
|
179
|
-
@property
|
|
179
|
+
@_builtins.property
|
|
180
180
|
@pulumi.getter
|
|
181
|
-
def cooldown(self) -> Optional[pulumi.Input[int]]:
|
|
181
|
+
def cooldown(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
182
182
|
"""
|
|
183
183
|
Cooldown period between scaling actions.
|
|
184
184
|
"""
|
|
185
185
|
return pulumi.get(self, "cooldown")
|
|
186
186
|
|
|
187
187
|
@cooldown.setter
|
|
188
|
-
def cooldown(self, value: Optional[pulumi.Input[int]]):
|
|
188
|
+
def cooldown(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
189
189
|
pulumi.set(self, "cooldown", value)
|
|
190
190
|
|
|
191
|
-
@property
|
|
191
|
+
@_builtins.property
|
|
192
192
|
@pulumi.getter
|
|
193
193
|
def down(self) -> Optional[pulumi.Input['OceanAutoscalerDownArgs']]:
|
|
194
194
|
"""
|
|
@@ -200,19 +200,19 @@ class OceanAutoscalerArgs:
|
|
|
200
200
|
def down(self, value: Optional[pulumi.Input['OceanAutoscalerDownArgs']]):
|
|
201
201
|
pulumi.set(self, "down", value)
|
|
202
202
|
|
|
203
|
-
@property
|
|
203
|
+
@_builtins.property
|
|
204
204
|
@pulumi.getter(name="enableAutomaticAndManualHeadroom")
|
|
205
|
-
def enable_automatic_and_manual_headroom(self) -> Optional[pulumi.Input[bool]]:
|
|
205
|
+
def enable_automatic_and_manual_headroom(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
206
206
|
"""
|
|
207
207
|
When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
|
|
208
208
|
"""
|
|
209
209
|
return pulumi.get(self, "enable_automatic_and_manual_headroom")
|
|
210
210
|
|
|
211
211
|
@enable_automatic_and_manual_headroom.setter
|
|
212
|
-
def enable_automatic_and_manual_headroom(self, value: Optional[pulumi.Input[bool]]):
|
|
212
|
+
def enable_automatic_and_manual_headroom(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
213
213
|
pulumi.set(self, "enable_automatic_and_manual_headroom", value)
|
|
214
214
|
|
|
215
|
-
@property
|
|
215
|
+
@_builtins.property
|
|
216
216
|
@pulumi.getter
|
|
217
217
|
def headroom(self) -> Optional[pulumi.Input['OceanAutoscalerHeadroomArgs']]:
|
|
218
218
|
"""
|
|
@@ -224,31 +224,31 @@ class OceanAutoscalerArgs:
|
|
|
224
224
|
def headroom(self, value: Optional[pulumi.Input['OceanAutoscalerHeadroomArgs']]):
|
|
225
225
|
pulumi.set(self, "headroom", value)
|
|
226
226
|
|
|
227
|
-
@property
|
|
227
|
+
@_builtins.property
|
|
228
228
|
@pulumi.getter(name="isAutoConfig")
|
|
229
|
-
def is_auto_config(self) -> Optional[pulumi.Input[bool]]:
|
|
229
|
+
def is_auto_config(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
230
230
|
"""
|
|
231
231
|
Automatically configure and optimize headroom resources.
|
|
232
232
|
"""
|
|
233
233
|
return pulumi.get(self, "is_auto_config")
|
|
234
234
|
|
|
235
235
|
@is_auto_config.setter
|
|
236
|
-
def is_auto_config(self, value: Optional[pulumi.Input[bool]]):
|
|
236
|
+
def is_auto_config(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
237
237
|
pulumi.set(self, "is_auto_config", value)
|
|
238
238
|
|
|
239
|
-
@property
|
|
239
|
+
@_builtins.property
|
|
240
240
|
@pulumi.getter(name="isEnabled")
|
|
241
|
-
def is_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
241
|
+
def is_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
242
242
|
"""
|
|
243
243
|
Enable the Ocean ECS autoscaler.
|
|
244
244
|
"""
|
|
245
245
|
return pulumi.get(self, "is_enabled")
|
|
246
246
|
|
|
247
247
|
@is_enabled.setter
|
|
248
|
-
def is_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
248
|
+
def is_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
249
249
|
pulumi.set(self, "is_enabled", value)
|
|
250
250
|
|
|
251
|
-
@property
|
|
251
|
+
@_builtins.property
|
|
252
252
|
@pulumi.getter(name="resourceLimits")
|
|
253
253
|
def resource_limits(self) -> Optional[pulumi.Input['OceanAutoscalerResourceLimitsArgs']]:
|
|
254
254
|
"""
|
|
@@ -260,22 +260,22 @@ class OceanAutoscalerArgs:
|
|
|
260
260
|
def resource_limits(self, value: Optional[pulumi.Input['OceanAutoscalerResourceLimitsArgs']]):
|
|
261
261
|
pulumi.set(self, "resource_limits", value)
|
|
262
262
|
|
|
263
|
-
@property
|
|
263
|
+
@_builtins.property
|
|
264
264
|
@pulumi.getter(name="shouldScaleDownNonServiceTasks")
|
|
265
|
-
def should_scale_down_non_service_tasks(self) -> Optional[pulumi.Input[bool]]:
|
|
265
|
+
def should_scale_down_non_service_tasks(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
266
266
|
"""
|
|
267
267
|
Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
268
268
|
"""
|
|
269
269
|
return pulumi.get(self, "should_scale_down_non_service_tasks")
|
|
270
270
|
|
|
271
271
|
@should_scale_down_non_service_tasks.setter
|
|
272
|
-
def should_scale_down_non_service_tasks(self, value: Optional[pulumi.Input[bool]]):
|
|
272
|
+
def should_scale_down_non_service_tasks(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
273
273
|
pulumi.set(self, "should_scale_down_non_service_tasks", value)
|
|
274
274
|
|
|
275
275
|
|
|
276
276
|
if not MYPY:
|
|
277
277
|
class OceanAutoscalerDownArgsDict(TypedDict):
|
|
278
|
-
max_scale_down_percentage: NotRequired[pulumi.Input[float]]
|
|
278
|
+
max_scale_down_percentage: NotRequired[pulumi.Input[_builtins.float]]
|
|
279
279
|
"""
|
|
280
280
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
281
281
|
"""
|
|
@@ -285,37 +285,37 @@ elif False:
|
|
|
285
285
|
@pulumi.input_type
|
|
286
286
|
class OceanAutoscalerDownArgs:
|
|
287
287
|
def __init__(__self__, *,
|
|
288
|
-
max_scale_down_percentage: Optional[pulumi.Input[float]] = None):
|
|
288
|
+
max_scale_down_percentage: Optional[pulumi.Input[_builtins.float]] = None):
|
|
289
289
|
"""
|
|
290
|
-
:param pulumi.Input[float] max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
290
|
+
:param pulumi.Input[_builtins.float] max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
291
291
|
"""
|
|
292
292
|
if max_scale_down_percentage is not None:
|
|
293
293
|
pulumi.set(__self__, "max_scale_down_percentage", max_scale_down_percentage)
|
|
294
294
|
|
|
295
|
-
@property
|
|
295
|
+
@_builtins.property
|
|
296
296
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
297
|
-
def max_scale_down_percentage(self) -> Optional[pulumi.Input[float]]:
|
|
297
|
+
def max_scale_down_percentage(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
298
298
|
"""
|
|
299
299
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
300
300
|
"""
|
|
301
301
|
return pulumi.get(self, "max_scale_down_percentage")
|
|
302
302
|
|
|
303
303
|
@max_scale_down_percentage.setter
|
|
304
|
-
def max_scale_down_percentage(self, value: Optional[pulumi.Input[float]]):
|
|
304
|
+
def max_scale_down_percentage(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
305
305
|
pulumi.set(self, "max_scale_down_percentage", value)
|
|
306
306
|
|
|
307
307
|
|
|
308
308
|
if not MYPY:
|
|
309
309
|
class OceanAutoscalerHeadroomArgsDict(TypedDict):
|
|
310
|
-
cpu_per_unit: NotRequired[pulumi.Input[int]]
|
|
310
|
+
cpu_per_unit: NotRequired[pulumi.Input[_builtins.int]]
|
|
311
311
|
"""
|
|
312
312
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
313
313
|
"""
|
|
314
|
-
memory_per_unit: NotRequired[pulumi.Input[int]]
|
|
314
|
+
memory_per_unit: NotRequired[pulumi.Input[_builtins.int]]
|
|
315
315
|
"""
|
|
316
316
|
Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
317
317
|
"""
|
|
318
|
-
num_of_units: NotRequired[pulumi.Input[int]]
|
|
318
|
+
num_of_units: NotRequired[pulumi.Input[_builtins.int]]
|
|
319
319
|
"""
|
|
320
320
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
321
321
|
"""
|
|
@@ -325,13 +325,13 @@ elif False:
|
|
|
325
325
|
@pulumi.input_type
|
|
326
326
|
class OceanAutoscalerHeadroomArgs:
|
|
327
327
|
def __init__(__self__, *,
|
|
328
|
-
cpu_per_unit: Optional[pulumi.Input[int]] = None,
|
|
329
|
-
memory_per_unit: Optional[pulumi.Input[int]] = None,
|
|
330
|
-
num_of_units: Optional[pulumi.Input[int]] = None):
|
|
328
|
+
cpu_per_unit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
329
|
+
memory_per_unit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
330
|
+
num_of_units: Optional[pulumi.Input[_builtins.int]] = None):
|
|
331
331
|
"""
|
|
332
|
-
:param pulumi.Input[int] cpu_per_unit: Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
333
|
-
:param pulumi.Input[int] memory_per_unit: Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
334
|
-
:param pulumi.Input[int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
332
|
+
:param pulumi.Input[_builtins.int] cpu_per_unit: Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
333
|
+
:param pulumi.Input[_builtins.int] memory_per_unit: Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
334
|
+
:param pulumi.Input[_builtins.int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
335
335
|
"""
|
|
336
336
|
if cpu_per_unit is not None:
|
|
337
337
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -340,50 +340,50 @@ class OceanAutoscalerHeadroomArgs:
|
|
|
340
340
|
if num_of_units is not None:
|
|
341
341
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
342
342
|
|
|
343
|
-
@property
|
|
343
|
+
@_builtins.property
|
|
344
344
|
@pulumi.getter(name="cpuPerUnit")
|
|
345
|
-
def cpu_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
345
|
+
def cpu_per_unit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
346
346
|
"""
|
|
347
347
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
348
348
|
"""
|
|
349
349
|
return pulumi.get(self, "cpu_per_unit")
|
|
350
350
|
|
|
351
351
|
@cpu_per_unit.setter
|
|
352
|
-
def cpu_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
352
|
+
def cpu_per_unit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
353
353
|
pulumi.set(self, "cpu_per_unit", value)
|
|
354
354
|
|
|
355
|
-
@property
|
|
355
|
+
@_builtins.property
|
|
356
356
|
@pulumi.getter(name="memoryPerUnit")
|
|
357
|
-
def memory_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
357
|
+
def memory_per_unit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
358
358
|
"""
|
|
359
359
|
Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
360
360
|
"""
|
|
361
361
|
return pulumi.get(self, "memory_per_unit")
|
|
362
362
|
|
|
363
363
|
@memory_per_unit.setter
|
|
364
|
-
def memory_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
364
|
+
def memory_per_unit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
365
365
|
pulumi.set(self, "memory_per_unit", value)
|
|
366
366
|
|
|
367
|
-
@property
|
|
367
|
+
@_builtins.property
|
|
368
368
|
@pulumi.getter(name="numOfUnits")
|
|
369
|
-
def num_of_units(self) -> Optional[pulumi.Input[int]]:
|
|
369
|
+
def num_of_units(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
370
370
|
"""
|
|
371
371
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
372
372
|
"""
|
|
373
373
|
return pulumi.get(self, "num_of_units")
|
|
374
374
|
|
|
375
375
|
@num_of_units.setter
|
|
376
|
-
def num_of_units(self, value: Optional[pulumi.Input[int]]):
|
|
376
|
+
def num_of_units(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
377
377
|
pulumi.set(self, "num_of_units", value)
|
|
378
378
|
|
|
379
379
|
|
|
380
380
|
if not MYPY:
|
|
381
381
|
class OceanAutoscalerResourceLimitsArgsDict(TypedDict):
|
|
382
|
-
max_memory_gib: NotRequired[pulumi.Input[int]]
|
|
382
|
+
max_memory_gib: NotRequired[pulumi.Input[_builtins.int]]
|
|
383
383
|
"""
|
|
384
384
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
385
385
|
"""
|
|
386
|
-
max_vcpu: NotRequired[pulumi.Input[int]]
|
|
386
|
+
max_vcpu: NotRequired[pulumi.Input[_builtins.int]]
|
|
387
387
|
"""
|
|
388
388
|
The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
389
389
|
"""
|
|
@@ -393,45 +393,45 @@ elif False:
|
|
|
393
393
|
@pulumi.input_type
|
|
394
394
|
class OceanAutoscalerResourceLimitsArgs:
|
|
395
395
|
def __init__(__self__, *,
|
|
396
|
-
max_memory_gib: Optional[pulumi.Input[int]] = None,
|
|
397
|
-
max_vcpu: Optional[pulumi.Input[int]] = None):
|
|
396
|
+
max_memory_gib: Optional[pulumi.Input[_builtins.int]] = None,
|
|
397
|
+
max_vcpu: Optional[pulumi.Input[_builtins.int]] = None):
|
|
398
398
|
"""
|
|
399
|
-
:param pulumi.Input[int] max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
400
|
-
:param pulumi.Input[int] max_vcpu: The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
399
|
+
:param pulumi.Input[_builtins.int] max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
400
|
+
:param pulumi.Input[_builtins.int] max_vcpu: The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
401
401
|
"""
|
|
402
402
|
if max_memory_gib is not None:
|
|
403
403
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
404
404
|
if max_vcpu is not None:
|
|
405
405
|
pulumi.set(__self__, "max_vcpu", max_vcpu)
|
|
406
406
|
|
|
407
|
-
@property
|
|
407
|
+
@_builtins.property
|
|
408
408
|
@pulumi.getter(name="maxMemoryGib")
|
|
409
|
-
def max_memory_gib(self) -> Optional[pulumi.Input[int]]:
|
|
409
|
+
def max_memory_gib(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
410
410
|
"""
|
|
411
411
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
412
412
|
"""
|
|
413
413
|
return pulumi.get(self, "max_memory_gib")
|
|
414
414
|
|
|
415
415
|
@max_memory_gib.setter
|
|
416
|
-
def max_memory_gib(self, value: Optional[pulumi.Input[int]]):
|
|
416
|
+
def max_memory_gib(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
417
417
|
pulumi.set(self, "max_memory_gib", value)
|
|
418
418
|
|
|
419
|
-
@property
|
|
419
|
+
@_builtins.property
|
|
420
420
|
@pulumi.getter(name="maxVcpu")
|
|
421
|
-
def max_vcpu(self) -> Optional[pulumi.Input[int]]:
|
|
421
|
+
def max_vcpu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
422
422
|
"""
|
|
423
423
|
The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
424
424
|
"""
|
|
425
425
|
return pulumi.get(self, "max_vcpu")
|
|
426
426
|
|
|
427
427
|
@max_vcpu.setter
|
|
428
|
-
def max_vcpu(self, value: Optional[pulumi.Input[int]]):
|
|
428
|
+
def max_vcpu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
429
429
|
pulumi.set(self, "max_vcpu", value)
|
|
430
430
|
|
|
431
431
|
|
|
432
432
|
if not MYPY:
|
|
433
433
|
class OceanBlockDeviceMappingArgsDict(TypedDict):
|
|
434
|
-
device_name: pulumi.Input[str]
|
|
434
|
+
device_name: pulumi.Input[_builtins.str]
|
|
435
435
|
"""
|
|
436
436
|
String. Set device name. Example: `/dev/xvda1`.
|
|
437
437
|
"""
|
|
@@ -439,25 +439,25 @@ if not MYPY:
|
|
|
439
439
|
"""
|
|
440
440
|
Object. Set Elastic Block Store properties.
|
|
441
441
|
"""
|
|
442
|
-
no_device: NotRequired[pulumi.Input[str]]
|
|
442
|
+
no_device: NotRequired[pulumi.Input[_builtins.str]]
|
|
443
443
|
"""
|
|
444
444
|
String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
445
445
|
"""
|
|
446
|
-
virtual_name: NotRequired[pulumi.Input[str]]
|
|
446
|
+
virtual_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
447
447
|
elif False:
|
|
448
448
|
OceanBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any]
|
|
449
449
|
|
|
450
450
|
@pulumi.input_type
|
|
451
451
|
class OceanBlockDeviceMappingArgs:
|
|
452
452
|
def __init__(__self__, *,
|
|
453
|
-
device_name: pulumi.Input[str],
|
|
453
|
+
device_name: pulumi.Input[_builtins.str],
|
|
454
454
|
ebs: Optional[pulumi.Input['OceanBlockDeviceMappingEbsArgs']] = None,
|
|
455
|
-
no_device: Optional[pulumi.Input[str]] = None,
|
|
456
|
-
virtual_name: Optional[pulumi.Input[str]] = None):
|
|
455
|
+
no_device: Optional[pulumi.Input[_builtins.str]] = None,
|
|
456
|
+
virtual_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
457
457
|
"""
|
|
458
|
-
:param pulumi.Input[str] device_name: String. Set device name. Example: `/dev/xvda1`.
|
|
458
|
+
:param pulumi.Input[_builtins.str] device_name: String. Set device name. Example: `/dev/xvda1`.
|
|
459
459
|
:param pulumi.Input['OceanBlockDeviceMappingEbsArgs'] ebs: Object. Set Elastic Block Store properties.
|
|
460
|
-
:param pulumi.Input[str] no_device: String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
460
|
+
:param pulumi.Input[_builtins.str] no_device: String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
461
461
|
"""
|
|
462
462
|
pulumi.set(__self__, "device_name", device_name)
|
|
463
463
|
if ebs is not None:
|
|
@@ -467,19 +467,19 @@ class OceanBlockDeviceMappingArgs:
|
|
|
467
467
|
if virtual_name is not None:
|
|
468
468
|
pulumi.set(__self__, "virtual_name", virtual_name)
|
|
469
469
|
|
|
470
|
-
@property
|
|
470
|
+
@_builtins.property
|
|
471
471
|
@pulumi.getter(name="deviceName")
|
|
472
|
-
def device_name(self) -> pulumi.Input[str]:
|
|
472
|
+
def device_name(self) -> pulumi.Input[_builtins.str]:
|
|
473
473
|
"""
|
|
474
474
|
String. Set device name. Example: `/dev/xvda1`.
|
|
475
475
|
"""
|
|
476
476
|
return pulumi.get(self, "device_name")
|
|
477
477
|
|
|
478
478
|
@device_name.setter
|
|
479
|
-
def device_name(self, value: pulumi.Input[str]):
|
|
479
|
+
def device_name(self, value: pulumi.Input[_builtins.str]):
|
|
480
480
|
pulumi.set(self, "device_name", value)
|
|
481
481
|
|
|
482
|
-
@property
|
|
482
|
+
@_builtins.property
|
|
483
483
|
@pulumi.getter
|
|
484
484
|
def ebs(self) -> Optional[pulumi.Input['OceanBlockDeviceMappingEbsArgs']]:
|
|
485
485
|
"""
|
|
@@ -491,31 +491,31 @@ class OceanBlockDeviceMappingArgs:
|
|
|
491
491
|
def ebs(self, value: Optional[pulumi.Input['OceanBlockDeviceMappingEbsArgs']]):
|
|
492
492
|
pulumi.set(self, "ebs", value)
|
|
493
493
|
|
|
494
|
-
@property
|
|
494
|
+
@_builtins.property
|
|
495
495
|
@pulumi.getter(name="noDevice")
|
|
496
|
-
def no_device(self) -> Optional[pulumi.Input[str]]:
|
|
496
|
+
def no_device(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
497
497
|
"""
|
|
498
498
|
String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
499
499
|
"""
|
|
500
500
|
return pulumi.get(self, "no_device")
|
|
501
501
|
|
|
502
502
|
@no_device.setter
|
|
503
|
-
def no_device(self, value: Optional[pulumi.Input[str]]):
|
|
503
|
+
def no_device(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
504
504
|
pulumi.set(self, "no_device", value)
|
|
505
505
|
|
|
506
|
-
@property
|
|
506
|
+
@_builtins.property
|
|
507
507
|
@pulumi.getter(name="virtualName")
|
|
508
|
-
def virtual_name(self) -> Optional[pulumi.Input[str]]:
|
|
508
|
+
def virtual_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
509
509
|
return pulumi.get(self, "virtual_name")
|
|
510
510
|
|
|
511
511
|
@virtual_name.setter
|
|
512
|
-
def virtual_name(self, value: Optional[pulumi.Input[str]]):
|
|
512
|
+
def virtual_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
513
513
|
pulumi.set(self, "virtual_name", value)
|
|
514
514
|
|
|
515
515
|
|
|
516
516
|
if not MYPY:
|
|
517
517
|
class OceanBlockDeviceMappingEbsArgsDict(TypedDict):
|
|
518
|
-
delete_on_termination: NotRequired[pulumi.Input[bool]]
|
|
518
|
+
delete_on_termination: NotRequired[pulumi.Input[_builtins.bool]]
|
|
519
519
|
"""
|
|
520
520
|
Boolean. Toggles EBS deletion upon instance termination.
|
|
521
521
|
"""
|
|
@@ -523,31 +523,31 @@ if not MYPY:
|
|
|
523
523
|
"""
|
|
524
524
|
Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
525
525
|
"""
|
|
526
|
-
encrypted: NotRequired[pulumi.Input[bool]]
|
|
526
|
+
encrypted: NotRequired[pulumi.Input[_builtins.bool]]
|
|
527
527
|
"""
|
|
528
528
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
529
529
|
"""
|
|
530
|
-
iops: NotRequired[pulumi.Input[int]]
|
|
530
|
+
iops: NotRequired[pulumi.Input[_builtins.int]]
|
|
531
531
|
"""
|
|
532
532
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
533
533
|
"""
|
|
534
|
-
kms_key_id: NotRequired[pulumi.Input[str]]
|
|
534
|
+
kms_key_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
535
535
|
"""
|
|
536
536
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
537
537
|
"""
|
|
538
|
-
snapshot_id: NotRequired[pulumi.Input[str]]
|
|
538
|
+
snapshot_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
539
539
|
"""
|
|
540
540
|
(Optional) String. The snapshot ID to mount by.
|
|
541
541
|
"""
|
|
542
|
-
throughput: NotRequired[pulumi.Input[int]]
|
|
542
|
+
throughput: NotRequired[pulumi.Input[_builtins.int]]
|
|
543
543
|
"""
|
|
544
544
|
The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
545
545
|
"""
|
|
546
|
-
volume_size: NotRequired[pulumi.Input[int]]
|
|
546
|
+
volume_size: NotRequired[pulumi.Input[_builtins.int]]
|
|
547
547
|
"""
|
|
548
548
|
Int. The size (in GB) of the volume.
|
|
549
549
|
"""
|
|
550
|
-
volume_type: NotRequired[pulumi.Input[str]]
|
|
550
|
+
volume_type: NotRequired[pulumi.Input[_builtins.str]]
|
|
551
551
|
"""
|
|
552
552
|
String. The type of the volume. Example: `gp2`.
|
|
553
553
|
"""
|
|
@@ -557,25 +557,25 @@ elif False:
|
|
|
557
557
|
@pulumi.input_type
|
|
558
558
|
class OceanBlockDeviceMappingEbsArgs:
|
|
559
559
|
def __init__(__self__, *,
|
|
560
|
-
delete_on_termination: Optional[pulumi.Input[bool]] = None,
|
|
560
|
+
delete_on_termination: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
561
561
|
dynamic_volume_size: Optional[pulumi.Input['OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs']] = None,
|
|
562
|
-
encrypted: Optional[pulumi.Input[bool]] = None,
|
|
563
|
-
iops: Optional[pulumi.Input[int]] = None,
|
|
564
|
-
kms_key_id: Optional[pulumi.Input[str]] = None,
|
|
565
|
-
snapshot_id: Optional[pulumi.Input[str]] = None,
|
|
566
|
-
throughput: Optional[pulumi.Input[int]] = None,
|
|
567
|
-
volume_size: Optional[pulumi.Input[int]] = None,
|
|
568
|
-
volume_type: Optional[pulumi.Input[str]] = None):
|
|
569
|
-
"""
|
|
570
|
-
:param pulumi.Input[bool] delete_on_termination: Boolean. Toggles EBS deletion upon instance termination.
|
|
562
|
+
encrypted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
563
|
+
iops: Optional[pulumi.Input[_builtins.int]] = None,
|
|
564
|
+
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
565
|
+
snapshot_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
566
|
+
throughput: Optional[pulumi.Input[_builtins.int]] = None,
|
|
567
|
+
volume_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
568
|
+
volume_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
569
|
+
"""
|
|
570
|
+
:param pulumi.Input[_builtins.bool] delete_on_termination: Boolean. Toggles EBS deletion upon instance termination.
|
|
571
571
|
:param pulumi.Input['OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs'] dynamic_volume_size: Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
572
|
-
:param pulumi.Input[bool] encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
573
|
-
:param pulumi.Input[int] iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
574
|
-
:param pulumi.Input[str] kms_key_id: String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
575
|
-
:param pulumi.Input[str] snapshot_id: (Optional) String. The snapshot ID to mount by.
|
|
576
|
-
:param pulumi.Input[int] throughput: The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
577
|
-
:param pulumi.Input[int] volume_size: Int. The size (in GB) of the volume.
|
|
578
|
-
:param pulumi.Input[str] volume_type: String. The type of the volume. Example: `gp2`.
|
|
572
|
+
:param pulumi.Input[_builtins.bool] encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
573
|
+
:param pulumi.Input[_builtins.int] iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
574
|
+
:param pulumi.Input[_builtins.str] kms_key_id: String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
575
|
+
:param pulumi.Input[_builtins.str] snapshot_id: (Optional) String. The snapshot ID to mount by.
|
|
576
|
+
:param pulumi.Input[_builtins.int] throughput: The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
577
|
+
:param pulumi.Input[_builtins.int] volume_size: Int. The size (in GB) of the volume.
|
|
578
|
+
:param pulumi.Input[_builtins.str] volume_type: String. The type of the volume. Example: `gp2`.
|
|
579
579
|
"""
|
|
580
580
|
if delete_on_termination is not None:
|
|
581
581
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
@@ -596,19 +596,19 @@ class OceanBlockDeviceMappingEbsArgs:
|
|
|
596
596
|
if volume_type is not None:
|
|
597
597
|
pulumi.set(__self__, "volume_type", volume_type)
|
|
598
598
|
|
|
599
|
-
@property
|
|
599
|
+
@_builtins.property
|
|
600
600
|
@pulumi.getter(name="deleteOnTermination")
|
|
601
|
-
def delete_on_termination(self) -> Optional[pulumi.Input[bool]]:
|
|
601
|
+
def delete_on_termination(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
602
602
|
"""
|
|
603
603
|
Boolean. Toggles EBS deletion upon instance termination.
|
|
604
604
|
"""
|
|
605
605
|
return pulumi.get(self, "delete_on_termination")
|
|
606
606
|
|
|
607
607
|
@delete_on_termination.setter
|
|
608
|
-
def delete_on_termination(self, value: Optional[pulumi.Input[bool]]):
|
|
608
|
+
def delete_on_termination(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
609
609
|
pulumi.set(self, "delete_on_termination", value)
|
|
610
610
|
|
|
611
|
-
@property
|
|
611
|
+
@_builtins.property
|
|
612
612
|
@pulumi.getter(name="dynamicVolumeSize")
|
|
613
613
|
def dynamic_volume_size(self) -> Optional[pulumi.Input['OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs']]:
|
|
614
614
|
"""
|
|
@@ -620,102 +620,102 @@ class OceanBlockDeviceMappingEbsArgs:
|
|
|
620
620
|
def dynamic_volume_size(self, value: Optional[pulumi.Input['OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs']]):
|
|
621
621
|
pulumi.set(self, "dynamic_volume_size", value)
|
|
622
622
|
|
|
623
|
-
@property
|
|
623
|
+
@_builtins.property
|
|
624
624
|
@pulumi.getter
|
|
625
|
-
def encrypted(self) -> Optional[pulumi.Input[bool]]:
|
|
625
|
+
def encrypted(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
626
626
|
"""
|
|
627
627
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
628
628
|
"""
|
|
629
629
|
return pulumi.get(self, "encrypted")
|
|
630
630
|
|
|
631
631
|
@encrypted.setter
|
|
632
|
-
def encrypted(self, value: Optional[pulumi.Input[bool]]):
|
|
632
|
+
def encrypted(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
633
633
|
pulumi.set(self, "encrypted", value)
|
|
634
634
|
|
|
635
|
-
@property
|
|
635
|
+
@_builtins.property
|
|
636
636
|
@pulumi.getter
|
|
637
|
-
def iops(self) -> Optional[pulumi.Input[int]]:
|
|
637
|
+
def iops(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
638
638
|
"""
|
|
639
639
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
640
640
|
"""
|
|
641
641
|
return pulumi.get(self, "iops")
|
|
642
642
|
|
|
643
643
|
@iops.setter
|
|
644
|
-
def iops(self, value: Optional[pulumi.Input[int]]):
|
|
644
|
+
def iops(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
645
645
|
pulumi.set(self, "iops", value)
|
|
646
646
|
|
|
647
|
-
@property
|
|
647
|
+
@_builtins.property
|
|
648
648
|
@pulumi.getter(name="kmsKeyId")
|
|
649
|
-
def kms_key_id(self) -> Optional[pulumi.Input[str]]:
|
|
649
|
+
def kms_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
650
650
|
"""
|
|
651
651
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
652
652
|
"""
|
|
653
653
|
return pulumi.get(self, "kms_key_id")
|
|
654
654
|
|
|
655
655
|
@kms_key_id.setter
|
|
656
|
-
def kms_key_id(self, value: Optional[pulumi.Input[str]]):
|
|
656
|
+
def kms_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
657
657
|
pulumi.set(self, "kms_key_id", value)
|
|
658
658
|
|
|
659
|
-
@property
|
|
659
|
+
@_builtins.property
|
|
660
660
|
@pulumi.getter(name="snapshotId")
|
|
661
|
-
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
|
661
|
+
def snapshot_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
662
662
|
"""
|
|
663
663
|
(Optional) String. The snapshot ID to mount by.
|
|
664
664
|
"""
|
|
665
665
|
return pulumi.get(self, "snapshot_id")
|
|
666
666
|
|
|
667
667
|
@snapshot_id.setter
|
|
668
|
-
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
|
668
|
+
def snapshot_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
669
669
|
pulumi.set(self, "snapshot_id", value)
|
|
670
670
|
|
|
671
|
-
@property
|
|
671
|
+
@_builtins.property
|
|
672
672
|
@pulumi.getter
|
|
673
|
-
def throughput(self) -> Optional[pulumi.Input[int]]:
|
|
673
|
+
def throughput(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
674
674
|
"""
|
|
675
675
|
The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
676
676
|
"""
|
|
677
677
|
return pulumi.get(self, "throughput")
|
|
678
678
|
|
|
679
679
|
@throughput.setter
|
|
680
|
-
def throughput(self, value: Optional[pulumi.Input[int]]):
|
|
680
|
+
def throughput(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
681
681
|
pulumi.set(self, "throughput", value)
|
|
682
682
|
|
|
683
|
-
@property
|
|
683
|
+
@_builtins.property
|
|
684
684
|
@pulumi.getter(name="volumeSize")
|
|
685
|
-
def volume_size(self) -> Optional[pulumi.Input[int]]:
|
|
685
|
+
def volume_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
686
686
|
"""
|
|
687
687
|
Int. The size (in GB) of the volume.
|
|
688
688
|
"""
|
|
689
689
|
return pulumi.get(self, "volume_size")
|
|
690
690
|
|
|
691
691
|
@volume_size.setter
|
|
692
|
-
def volume_size(self, value: Optional[pulumi.Input[int]]):
|
|
692
|
+
def volume_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
693
693
|
pulumi.set(self, "volume_size", value)
|
|
694
694
|
|
|
695
|
-
@property
|
|
695
|
+
@_builtins.property
|
|
696
696
|
@pulumi.getter(name="volumeType")
|
|
697
|
-
def volume_type(self) -> Optional[pulumi.Input[str]]:
|
|
697
|
+
def volume_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
698
698
|
"""
|
|
699
699
|
String. The type of the volume. Example: `gp2`.
|
|
700
700
|
"""
|
|
701
701
|
return pulumi.get(self, "volume_type")
|
|
702
702
|
|
|
703
703
|
@volume_type.setter
|
|
704
|
-
def volume_type(self, value: Optional[pulumi.Input[str]]):
|
|
704
|
+
def volume_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
705
705
|
pulumi.set(self, "volume_type", value)
|
|
706
706
|
|
|
707
707
|
|
|
708
708
|
if not MYPY:
|
|
709
709
|
class OceanBlockDeviceMappingEbsDynamicVolumeSizeArgsDict(TypedDict):
|
|
710
|
-
base_size: pulumi.Input[int]
|
|
710
|
+
base_size: pulumi.Input[_builtins.int]
|
|
711
711
|
"""
|
|
712
712
|
Int. Initial size for volume. Example: `50`.
|
|
713
713
|
"""
|
|
714
|
-
resource: pulumi.Input[str]
|
|
714
|
+
resource: pulumi.Input[_builtins.str]
|
|
715
715
|
"""
|
|
716
716
|
String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
717
717
|
"""
|
|
718
|
-
size_per_resource_unit: pulumi.Input[int]
|
|
718
|
+
size_per_resource_unit: pulumi.Input[_builtins.int]
|
|
719
719
|
"""
|
|
720
720
|
Int. Additional size (in GB) per resource unit. Example: When the `baseSize=50`, `sizePerResourceUnit=20`, and instance with two CPUs is launched, its total disk size will be: 90GB.
|
|
721
721
|
"""
|
|
@@ -725,58 +725,58 @@ elif False:
|
|
|
725
725
|
@pulumi.input_type
|
|
726
726
|
class OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs:
|
|
727
727
|
def __init__(__self__, *,
|
|
728
|
-
base_size: pulumi.Input[int],
|
|
729
|
-
resource: pulumi.Input[str],
|
|
730
|
-
size_per_resource_unit: pulumi.Input[int]):
|
|
728
|
+
base_size: pulumi.Input[_builtins.int],
|
|
729
|
+
resource: pulumi.Input[_builtins.str],
|
|
730
|
+
size_per_resource_unit: pulumi.Input[_builtins.int]):
|
|
731
731
|
"""
|
|
732
|
-
:param pulumi.Input[int] base_size: Int. Initial size for volume. Example: `50`.
|
|
733
|
-
:param pulumi.Input[str] resource: String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
734
|
-
:param pulumi.Input[int] size_per_resource_unit: Int. Additional size (in GB) per resource unit. Example: When the `baseSize=50`, `sizePerResourceUnit=20`, and instance with two CPUs is launched, its total disk size will be: 90GB.
|
|
732
|
+
:param pulumi.Input[_builtins.int] base_size: Int. Initial size for volume. Example: `50`.
|
|
733
|
+
:param pulumi.Input[_builtins.str] resource: String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
734
|
+
:param pulumi.Input[_builtins.int] size_per_resource_unit: Int. Additional size (in GB) per resource unit. Example: When the `baseSize=50`, `sizePerResourceUnit=20`, and instance with two CPUs is launched, its total disk size will be: 90GB.
|
|
735
735
|
"""
|
|
736
736
|
pulumi.set(__self__, "base_size", base_size)
|
|
737
737
|
pulumi.set(__self__, "resource", resource)
|
|
738
738
|
pulumi.set(__self__, "size_per_resource_unit", size_per_resource_unit)
|
|
739
739
|
|
|
740
|
-
@property
|
|
740
|
+
@_builtins.property
|
|
741
741
|
@pulumi.getter(name="baseSize")
|
|
742
|
-
def base_size(self) -> pulumi.Input[int]:
|
|
742
|
+
def base_size(self) -> pulumi.Input[_builtins.int]:
|
|
743
743
|
"""
|
|
744
744
|
Int. Initial size for volume. Example: `50`.
|
|
745
745
|
"""
|
|
746
746
|
return pulumi.get(self, "base_size")
|
|
747
747
|
|
|
748
748
|
@base_size.setter
|
|
749
|
-
def base_size(self, value: pulumi.Input[int]):
|
|
749
|
+
def base_size(self, value: pulumi.Input[_builtins.int]):
|
|
750
750
|
pulumi.set(self, "base_size", value)
|
|
751
751
|
|
|
752
|
-
@property
|
|
752
|
+
@_builtins.property
|
|
753
753
|
@pulumi.getter
|
|
754
|
-
def resource(self) -> pulumi.Input[str]:
|
|
754
|
+
def resource(self) -> pulumi.Input[_builtins.str]:
|
|
755
755
|
"""
|
|
756
756
|
String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
757
757
|
"""
|
|
758
758
|
return pulumi.get(self, "resource")
|
|
759
759
|
|
|
760
760
|
@resource.setter
|
|
761
|
-
def resource(self, value: pulumi.Input[str]):
|
|
761
|
+
def resource(self, value: pulumi.Input[_builtins.str]):
|
|
762
762
|
pulumi.set(self, "resource", value)
|
|
763
763
|
|
|
764
|
-
@property
|
|
764
|
+
@_builtins.property
|
|
765
765
|
@pulumi.getter(name="sizePerResourceUnit")
|
|
766
|
-
def size_per_resource_unit(self) -> pulumi.Input[int]:
|
|
766
|
+
def size_per_resource_unit(self) -> pulumi.Input[_builtins.int]:
|
|
767
767
|
"""
|
|
768
768
|
Int. Additional size (in GB) per resource unit. Example: When the `baseSize=50`, `sizePerResourceUnit=20`, and instance with two CPUs is launched, its total disk size will be: 90GB.
|
|
769
769
|
"""
|
|
770
770
|
return pulumi.get(self, "size_per_resource_unit")
|
|
771
771
|
|
|
772
772
|
@size_per_resource_unit.setter
|
|
773
|
-
def size_per_resource_unit(self, value: pulumi.Input[int]):
|
|
773
|
+
def size_per_resource_unit(self, value: pulumi.Input[_builtins.int]):
|
|
774
774
|
pulumi.set(self, "size_per_resource_unit", value)
|
|
775
775
|
|
|
776
776
|
|
|
777
777
|
if not MYPY:
|
|
778
778
|
class OceanClusterOrientationArgsDict(TypedDict):
|
|
779
|
-
availability_vs_cost: NotRequired[pulumi.Input[str]]
|
|
779
|
+
availability_vs_cost: NotRequired[pulumi.Input[_builtins.str]]
|
|
780
780
|
"""
|
|
781
781
|
You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
782
782
|
"""
|
|
@@ -786,95 +786,95 @@ elif False:
|
|
|
786
786
|
@pulumi.input_type
|
|
787
787
|
class OceanClusterOrientationArgs:
|
|
788
788
|
def __init__(__self__, *,
|
|
789
|
-
availability_vs_cost: Optional[pulumi.Input[str]] = None):
|
|
789
|
+
availability_vs_cost: Optional[pulumi.Input[_builtins.str]] = None):
|
|
790
790
|
"""
|
|
791
|
-
:param pulumi.Input[str] availability_vs_cost: You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
791
|
+
:param pulumi.Input[_builtins.str] availability_vs_cost: You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
792
792
|
"""
|
|
793
793
|
if availability_vs_cost is not None:
|
|
794
794
|
pulumi.set(__self__, "availability_vs_cost", availability_vs_cost)
|
|
795
795
|
|
|
796
|
-
@property
|
|
796
|
+
@_builtins.property
|
|
797
797
|
@pulumi.getter(name="availabilityVsCost")
|
|
798
|
-
def availability_vs_cost(self) -> Optional[pulumi.Input[str]]:
|
|
798
|
+
def availability_vs_cost(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
799
799
|
"""
|
|
800
800
|
You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
801
801
|
"""
|
|
802
802
|
return pulumi.get(self, "availability_vs_cost")
|
|
803
803
|
|
|
804
804
|
@availability_vs_cost.setter
|
|
805
|
-
def availability_vs_cost(self, value: Optional[pulumi.Input[str]]):
|
|
805
|
+
def availability_vs_cost(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
806
806
|
pulumi.set(self, "availability_vs_cost", value)
|
|
807
807
|
|
|
808
808
|
|
|
809
809
|
if not MYPY:
|
|
810
810
|
class OceanFiltersArgsDict(TypedDict):
|
|
811
|
-
architectures: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
811
|
+
architectures: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
812
812
|
"""
|
|
813
813
|
The filtered instance types will support at least one of the architectures from this list.
|
|
814
814
|
"""
|
|
815
|
-
categories: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
815
|
+
categories: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
816
816
|
"""
|
|
817
817
|
The filtered instance types will belong to one of the categories types from this list.
|
|
818
818
|
"""
|
|
819
|
-
disk_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
819
|
+
disk_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
820
820
|
"""
|
|
821
821
|
The filtered instance types will have one of the disk type from this list.
|
|
822
822
|
"""
|
|
823
|
-
exclude_families: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
823
|
+
exclude_families: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
824
824
|
"""
|
|
825
825
|
Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
826
826
|
"""
|
|
827
|
-
exclude_metal: NotRequired[pulumi.Input[bool]]
|
|
827
|
+
exclude_metal: NotRequired[pulumi.Input[_builtins.bool]]
|
|
828
828
|
"""
|
|
829
829
|
In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
830
830
|
"""
|
|
831
|
-
hypervisors: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
831
|
+
hypervisors: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
832
832
|
"""
|
|
833
833
|
The filtered instance types will have a hypervisor type from this list.
|
|
834
834
|
"""
|
|
835
|
-
include_families: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
835
|
+
include_families: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
836
836
|
"""
|
|
837
837
|
Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
838
838
|
"""
|
|
839
|
-
is_ena_supported: NotRequired[pulumi.Input[str]]
|
|
839
|
+
is_ena_supported: NotRequired[pulumi.Input[_builtins.str]]
|
|
840
840
|
"""
|
|
841
841
|
Ena is supported or not.
|
|
842
842
|
"""
|
|
843
|
-
max_gpu: NotRequired[pulumi.Input[int]]
|
|
843
|
+
max_gpu: NotRequired[pulumi.Input[_builtins.int]]
|
|
844
844
|
"""
|
|
845
845
|
Maximum total number of GPUs.
|
|
846
846
|
"""
|
|
847
|
-
max_memory_gib: NotRequired[pulumi.Input[float]]
|
|
848
|
-
max_network_performance: NotRequired[pulumi.Input[int]]
|
|
847
|
+
max_memory_gib: NotRequired[pulumi.Input[_builtins.float]]
|
|
848
|
+
max_network_performance: NotRequired[pulumi.Input[_builtins.int]]
|
|
849
849
|
"""
|
|
850
850
|
Maximum Bandwidth in Gib/s of network performance.
|
|
851
851
|
"""
|
|
852
|
-
max_vcpu: NotRequired[pulumi.Input[int]]
|
|
853
|
-
min_enis: NotRequired[pulumi.Input[int]]
|
|
852
|
+
max_vcpu: NotRequired[pulumi.Input[_builtins.int]]
|
|
853
|
+
min_enis: NotRequired[pulumi.Input[_builtins.int]]
|
|
854
854
|
"""
|
|
855
855
|
Minimum number of network interfaces (ENIs).
|
|
856
856
|
"""
|
|
857
|
-
min_gpu: NotRequired[pulumi.Input[int]]
|
|
857
|
+
min_gpu: NotRequired[pulumi.Input[_builtins.int]]
|
|
858
858
|
"""
|
|
859
859
|
Minimum total number of GPUs.
|
|
860
860
|
"""
|
|
861
|
-
min_memory_gib: NotRequired[pulumi.Input[float]]
|
|
861
|
+
min_memory_gib: NotRequired[pulumi.Input[_builtins.float]]
|
|
862
862
|
"""
|
|
863
863
|
Minimum amount of Memory (GiB).
|
|
864
864
|
"""
|
|
865
|
-
min_network_performance: NotRequired[pulumi.Input[int]]
|
|
865
|
+
min_network_performance: NotRequired[pulumi.Input[_builtins.int]]
|
|
866
866
|
"""
|
|
867
867
|
Minimum Bandwidth in Gib/s of network performance.
|
|
868
868
|
"""
|
|
869
|
-
min_vcpu: NotRequired[pulumi.Input[int]]
|
|
869
|
+
min_vcpu: NotRequired[pulumi.Input[_builtins.int]]
|
|
870
870
|
"""
|
|
871
871
|
Minimum number of vcpus available.
|
|
872
872
|
"""
|
|
873
|
-
root_device_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
873
|
+
root_device_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
874
874
|
"""
|
|
875
875
|
The filtered instance types will have a root device types from this list.
|
|
876
876
|
"""
|
|
877
|
-
virtualization_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
877
|
+
virtualization_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
878
878
|
"""
|
|
879
879
|
The filtered instance types will support at least one of the virtualization types from this list.
|
|
880
880
|
"""
|
|
@@ -884,43 +884,43 @@ elif False:
|
|
|
884
884
|
@pulumi.input_type
|
|
885
885
|
class OceanFiltersArgs:
|
|
886
886
|
def __init__(__self__, *,
|
|
887
|
-
architectures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
888
|
-
categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
889
|
-
disk_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
890
|
-
exclude_families: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
891
|
-
exclude_metal: Optional[pulumi.Input[bool]] = None,
|
|
892
|
-
hypervisors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
893
|
-
include_families: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
894
|
-
is_ena_supported: Optional[pulumi.Input[str]] = None,
|
|
895
|
-
max_gpu: Optional[pulumi.Input[int]] = None,
|
|
896
|
-
max_memory_gib: Optional[pulumi.Input[float]] = None,
|
|
897
|
-
max_network_performance: Optional[pulumi.Input[int]] = None,
|
|
898
|
-
max_vcpu: Optional[pulumi.Input[int]] = None,
|
|
899
|
-
min_enis: Optional[pulumi.Input[int]] = None,
|
|
900
|
-
min_gpu: Optional[pulumi.Input[int]] = None,
|
|
901
|
-
min_memory_gib: Optional[pulumi.Input[float]] = None,
|
|
902
|
-
min_network_performance: Optional[pulumi.Input[int]] = None,
|
|
903
|
-
min_vcpu: Optional[pulumi.Input[int]] = None,
|
|
904
|
-
root_device_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
905
|
-
virtualization_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
906
|
-
"""
|
|
907
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] architectures: The filtered instance types will support at least one of the architectures from this list.
|
|
908
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] categories: The filtered instance types will belong to one of the categories types from this list.
|
|
909
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] disk_types: The filtered instance types will have one of the disk type from this list.
|
|
910
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] exclude_families: Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
911
|
-
:param pulumi.Input[bool] exclude_metal: In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
912
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] hypervisors: The filtered instance types will have a hypervisor type from this list.
|
|
913
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] include_families: Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
914
|
-
:param pulumi.Input[str] is_ena_supported: Ena is supported or not.
|
|
915
|
-
:param pulumi.Input[int] max_gpu: Maximum total number of GPUs.
|
|
916
|
-
:param pulumi.Input[int] max_network_performance: Maximum Bandwidth in Gib/s of network performance.
|
|
917
|
-
:param pulumi.Input[int] min_enis: Minimum number of network interfaces (ENIs).
|
|
918
|
-
:param pulumi.Input[int] min_gpu: Minimum total number of GPUs.
|
|
919
|
-
:param pulumi.Input[float] min_memory_gib: Minimum amount of Memory (GiB).
|
|
920
|
-
:param pulumi.Input[int] min_network_performance: Minimum Bandwidth in Gib/s of network performance.
|
|
921
|
-
:param pulumi.Input[int] min_vcpu: Minimum number of vcpus available.
|
|
922
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] root_device_types: The filtered instance types will have a root device types from this list.
|
|
923
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtualization_types: The filtered instance types will support at least one of the virtualization types from this list.
|
|
887
|
+
architectures: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
888
|
+
categories: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
889
|
+
disk_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
890
|
+
exclude_families: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
891
|
+
exclude_metal: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
892
|
+
hypervisors: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
893
|
+
include_families: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
894
|
+
is_ena_supported: Optional[pulumi.Input[_builtins.str]] = None,
|
|
895
|
+
max_gpu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
896
|
+
max_memory_gib: Optional[pulumi.Input[_builtins.float]] = None,
|
|
897
|
+
max_network_performance: Optional[pulumi.Input[_builtins.int]] = None,
|
|
898
|
+
max_vcpu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
899
|
+
min_enis: Optional[pulumi.Input[_builtins.int]] = None,
|
|
900
|
+
min_gpu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
901
|
+
min_memory_gib: Optional[pulumi.Input[_builtins.float]] = None,
|
|
902
|
+
min_network_performance: Optional[pulumi.Input[_builtins.int]] = None,
|
|
903
|
+
min_vcpu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
904
|
+
root_device_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
905
|
+
virtualization_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
906
|
+
"""
|
|
907
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] architectures: The filtered instance types will support at least one of the architectures from this list.
|
|
908
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] categories: The filtered instance types will belong to one of the categories types from this list.
|
|
909
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] disk_types: The filtered instance types will have one of the disk type from this list.
|
|
910
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] exclude_families: Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
911
|
+
:param pulumi.Input[_builtins.bool] exclude_metal: In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
912
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] hypervisors: The filtered instance types will have a hypervisor type from this list.
|
|
913
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] include_families: Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
914
|
+
:param pulumi.Input[_builtins.str] is_ena_supported: Ena is supported or not.
|
|
915
|
+
:param pulumi.Input[_builtins.int] max_gpu: Maximum total number of GPUs.
|
|
916
|
+
:param pulumi.Input[_builtins.int] max_network_performance: Maximum Bandwidth in Gib/s of network performance.
|
|
917
|
+
:param pulumi.Input[_builtins.int] min_enis: Minimum number of network interfaces (ENIs).
|
|
918
|
+
:param pulumi.Input[_builtins.int] min_gpu: Minimum total number of GPUs.
|
|
919
|
+
:param pulumi.Input[_builtins.float] min_memory_gib: Minimum amount of Memory (GiB).
|
|
920
|
+
:param pulumi.Input[_builtins.int] min_network_performance: Minimum Bandwidth in Gib/s of network performance.
|
|
921
|
+
:param pulumi.Input[_builtins.int] min_vcpu: Minimum number of vcpus available.
|
|
922
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] root_device_types: The filtered instance types will have a root device types from this list.
|
|
923
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtualization_types: The filtered instance types will support at least one of the virtualization types from this list.
|
|
924
924
|
"""
|
|
925
925
|
if architectures is not None:
|
|
926
926
|
pulumi.set(__self__, "architectures", architectures)
|
|
@@ -961,236 +961,236 @@ class OceanFiltersArgs:
|
|
|
961
961
|
if virtualization_types is not None:
|
|
962
962
|
pulumi.set(__self__, "virtualization_types", virtualization_types)
|
|
963
963
|
|
|
964
|
-
@property
|
|
964
|
+
@_builtins.property
|
|
965
965
|
@pulumi.getter
|
|
966
|
-
def architectures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
966
|
+
def architectures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
967
967
|
"""
|
|
968
968
|
The filtered instance types will support at least one of the architectures from this list.
|
|
969
969
|
"""
|
|
970
970
|
return pulumi.get(self, "architectures")
|
|
971
971
|
|
|
972
972
|
@architectures.setter
|
|
973
|
-
def architectures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
973
|
+
def architectures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
974
974
|
pulumi.set(self, "architectures", value)
|
|
975
975
|
|
|
976
|
-
@property
|
|
976
|
+
@_builtins.property
|
|
977
977
|
@pulumi.getter
|
|
978
|
-
def categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
978
|
+
def categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
979
979
|
"""
|
|
980
980
|
The filtered instance types will belong to one of the categories types from this list.
|
|
981
981
|
"""
|
|
982
982
|
return pulumi.get(self, "categories")
|
|
983
983
|
|
|
984
984
|
@categories.setter
|
|
985
|
-
def categories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
985
|
+
def categories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
986
986
|
pulumi.set(self, "categories", value)
|
|
987
987
|
|
|
988
|
-
@property
|
|
988
|
+
@_builtins.property
|
|
989
989
|
@pulumi.getter(name="diskTypes")
|
|
990
|
-
def disk_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
990
|
+
def disk_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
991
991
|
"""
|
|
992
992
|
The filtered instance types will have one of the disk type from this list.
|
|
993
993
|
"""
|
|
994
994
|
return pulumi.get(self, "disk_types")
|
|
995
995
|
|
|
996
996
|
@disk_types.setter
|
|
997
|
-
def disk_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
997
|
+
def disk_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
998
998
|
pulumi.set(self, "disk_types", value)
|
|
999
999
|
|
|
1000
|
-
@property
|
|
1000
|
+
@_builtins.property
|
|
1001
1001
|
@pulumi.getter(name="excludeFamilies")
|
|
1002
|
-
def exclude_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1002
|
+
def exclude_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1003
1003
|
"""
|
|
1004
1004
|
Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
1005
1005
|
"""
|
|
1006
1006
|
return pulumi.get(self, "exclude_families")
|
|
1007
1007
|
|
|
1008
1008
|
@exclude_families.setter
|
|
1009
|
-
def exclude_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1009
|
+
def exclude_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1010
1010
|
pulumi.set(self, "exclude_families", value)
|
|
1011
1011
|
|
|
1012
|
-
@property
|
|
1012
|
+
@_builtins.property
|
|
1013
1013
|
@pulumi.getter(name="excludeMetal")
|
|
1014
|
-
def exclude_metal(self) -> Optional[pulumi.Input[bool]]:
|
|
1014
|
+
def exclude_metal(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1015
1015
|
"""
|
|
1016
1016
|
In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
1017
1017
|
"""
|
|
1018
1018
|
return pulumi.get(self, "exclude_metal")
|
|
1019
1019
|
|
|
1020
1020
|
@exclude_metal.setter
|
|
1021
|
-
def exclude_metal(self, value: Optional[pulumi.Input[bool]]):
|
|
1021
|
+
def exclude_metal(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1022
1022
|
pulumi.set(self, "exclude_metal", value)
|
|
1023
1023
|
|
|
1024
|
-
@property
|
|
1024
|
+
@_builtins.property
|
|
1025
1025
|
@pulumi.getter
|
|
1026
|
-
def hypervisors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1026
|
+
def hypervisors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1027
1027
|
"""
|
|
1028
1028
|
The filtered instance types will have a hypervisor type from this list.
|
|
1029
1029
|
"""
|
|
1030
1030
|
return pulumi.get(self, "hypervisors")
|
|
1031
1031
|
|
|
1032
1032
|
@hypervisors.setter
|
|
1033
|
-
def hypervisors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1033
|
+
def hypervisors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1034
1034
|
pulumi.set(self, "hypervisors", value)
|
|
1035
1035
|
|
|
1036
|
-
@property
|
|
1036
|
+
@_builtins.property
|
|
1037
1037
|
@pulumi.getter(name="includeFamilies")
|
|
1038
|
-
def include_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1038
|
+
def include_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1039
1039
|
"""
|
|
1040
1040
|
Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
1041
1041
|
"""
|
|
1042
1042
|
return pulumi.get(self, "include_families")
|
|
1043
1043
|
|
|
1044
1044
|
@include_families.setter
|
|
1045
|
-
def include_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1045
|
+
def include_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1046
1046
|
pulumi.set(self, "include_families", value)
|
|
1047
1047
|
|
|
1048
|
-
@property
|
|
1048
|
+
@_builtins.property
|
|
1049
1049
|
@pulumi.getter(name="isEnaSupported")
|
|
1050
|
-
def is_ena_supported(self) -> Optional[pulumi.Input[str]]:
|
|
1050
|
+
def is_ena_supported(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1051
1051
|
"""
|
|
1052
1052
|
Ena is supported or not.
|
|
1053
1053
|
"""
|
|
1054
1054
|
return pulumi.get(self, "is_ena_supported")
|
|
1055
1055
|
|
|
1056
1056
|
@is_ena_supported.setter
|
|
1057
|
-
def is_ena_supported(self, value: Optional[pulumi.Input[str]]):
|
|
1057
|
+
def is_ena_supported(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1058
1058
|
pulumi.set(self, "is_ena_supported", value)
|
|
1059
1059
|
|
|
1060
|
-
@property
|
|
1060
|
+
@_builtins.property
|
|
1061
1061
|
@pulumi.getter(name="maxGpu")
|
|
1062
|
-
def max_gpu(self) -> Optional[pulumi.Input[int]]:
|
|
1062
|
+
def max_gpu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1063
1063
|
"""
|
|
1064
1064
|
Maximum total number of GPUs.
|
|
1065
1065
|
"""
|
|
1066
1066
|
return pulumi.get(self, "max_gpu")
|
|
1067
1067
|
|
|
1068
1068
|
@max_gpu.setter
|
|
1069
|
-
def max_gpu(self, value: Optional[pulumi.Input[int]]):
|
|
1069
|
+
def max_gpu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1070
1070
|
pulumi.set(self, "max_gpu", value)
|
|
1071
1071
|
|
|
1072
|
-
@property
|
|
1072
|
+
@_builtins.property
|
|
1073
1073
|
@pulumi.getter(name="maxMemoryGib")
|
|
1074
|
-
def max_memory_gib(self) -> Optional[pulumi.Input[float]]:
|
|
1074
|
+
def max_memory_gib(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
1075
1075
|
return pulumi.get(self, "max_memory_gib")
|
|
1076
1076
|
|
|
1077
1077
|
@max_memory_gib.setter
|
|
1078
|
-
def max_memory_gib(self, value: Optional[pulumi.Input[float]]):
|
|
1078
|
+
def max_memory_gib(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
1079
1079
|
pulumi.set(self, "max_memory_gib", value)
|
|
1080
1080
|
|
|
1081
|
-
@property
|
|
1081
|
+
@_builtins.property
|
|
1082
1082
|
@pulumi.getter(name="maxNetworkPerformance")
|
|
1083
|
-
def max_network_performance(self) -> Optional[pulumi.Input[int]]:
|
|
1083
|
+
def max_network_performance(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1084
1084
|
"""
|
|
1085
1085
|
Maximum Bandwidth in Gib/s of network performance.
|
|
1086
1086
|
"""
|
|
1087
1087
|
return pulumi.get(self, "max_network_performance")
|
|
1088
1088
|
|
|
1089
1089
|
@max_network_performance.setter
|
|
1090
|
-
def max_network_performance(self, value: Optional[pulumi.Input[int]]):
|
|
1090
|
+
def max_network_performance(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1091
1091
|
pulumi.set(self, "max_network_performance", value)
|
|
1092
1092
|
|
|
1093
|
-
@property
|
|
1093
|
+
@_builtins.property
|
|
1094
1094
|
@pulumi.getter(name="maxVcpu")
|
|
1095
|
-
def max_vcpu(self) -> Optional[pulumi.Input[int]]:
|
|
1095
|
+
def max_vcpu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1096
1096
|
return pulumi.get(self, "max_vcpu")
|
|
1097
1097
|
|
|
1098
1098
|
@max_vcpu.setter
|
|
1099
|
-
def max_vcpu(self, value: Optional[pulumi.Input[int]]):
|
|
1099
|
+
def max_vcpu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1100
1100
|
pulumi.set(self, "max_vcpu", value)
|
|
1101
1101
|
|
|
1102
|
-
@property
|
|
1102
|
+
@_builtins.property
|
|
1103
1103
|
@pulumi.getter(name="minEnis")
|
|
1104
|
-
def min_enis(self) -> Optional[pulumi.Input[int]]:
|
|
1104
|
+
def min_enis(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1105
1105
|
"""
|
|
1106
1106
|
Minimum number of network interfaces (ENIs).
|
|
1107
1107
|
"""
|
|
1108
1108
|
return pulumi.get(self, "min_enis")
|
|
1109
1109
|
|
|
1110
1110
|
@min_enis.setter
|
|
1111
|
-
def min_enis(self, value: Optional[pulumi.Input[int]]):
|
|
1111
|
+
def min_enis(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1112
1112
|
pulumi.set(self, "min_enis", value)
|
|
1113
1113
|
|
|
1114
|
-
@property
|
|
1114
|
+
@_builtins.property
|
|
1115
1115
|
@pulumi.getter(name="minGpu")
|
|
1116
|
-
def min_gpu(self) -> Optional[pulumi.Input[int]]:
|
|
1116
|
+
def min_gpu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1117
1117
|
"""
|
|
1118
1118
|
Minimum total number of GPUs.
|
|
1119
1119
|
"""
|
|
1120
1120
|
return pulumi.get(self, "min_gpu")
|
|
1121
1121
|
|
|
1122
1122
|
@min_gpu.setter
|
|
1123
|
-
def min_gpu(self, value: Optional[pulumi.Input[int]]):
|
|
1123
|
+
def min_gpu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1124
1124
|
pulumi.set(self, "min_gpu", value)
|
|
1125
1125
|
|
|
1126
|
-
@property
|
|
1126
|
+
@_builtins.property
|
|
1127
1127
|
@pulumi.getter(name="minMemoryGib")
|
|
1128
|
-
def min_memory_gib(self) -> Optional[pulumi.Input[float]]:
|
|
1128
|
+
def min_memory_gib(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
1129
1129
|
"""
|
|
1130
1130
|
Minimum amount of Memory (GiB).
|
|
1131
1131
|
"""
|
|
1132
1132
|
return pulumi.get(self, "min_memory_gib")
|
|
1133
1133
|
|
|
1134
1134
|
@min_memory_gib.setter
|
|
1135
|
-
def min_memory_gib(self, value: Optional[pulumi.Input[float]]):
|
|
1135
|
+
def min_memory_gib(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
1136
1136
|
pulumi.set(self, "min_memory_gib", value)
|
|
1137
1137
|
|
|
1138
|
-
@property
|
|
1138
|
+
@_builtins.property
|
|
1139
1139
|
@pulumi.getter(name="minNetworkPerformance")
|
|
1140
|
-
def min_network_performance(self) -> Optional[pulumi.Input[int]]:
|
|
1140
|
+
def min_network_performance(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1141
1141
|
"""
|
|
1142
1142
|
Minimum Bandwidth in Gib/s of network performance.
|
|
1143
1143
|
"""
|
|
1144
1144
|
return pulumi.get(self, "min_network_performance")
|
|
1145
1145
|
|
|
1146
1146
|
@min_network_performance.setter
|
|
1147
|
-
def min_network_performance(self, value: Optional[pulumi.Input[int]]):
|
|
1147
|
+
def min_network_performance(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1148
1148
|
pulumi.set(self, "min_network_performance", value)
|
|
1149
1149
|
|
|
1150
|
-
@property
|
|
1150
|
+
@_builtins.property
|
|
1151
1151
|
@pulumi.getter(name="minVcpu")
|
|
1152
|
-
def min_vcpu(self) -> Optional[pulumi.Input[int]]:
|
|
1152
|
+
def min_vcpu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1153
1153
|
"""
|
|
1154
1154
|
Minimum number of vcpus available.
|
|
1155
1155
|
"""
|
|
1156
1156
|
return pulumi.get(self, "min_vcpu")
|
|
1157
1157
|
|
|
1158
1158
|
@min_vcpu.setter
|
|
1159
|
-
def min_vcpu(self, value: Optional[pulumi.Input[int]]):
|
|
1159
|
+
def min_vcpu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1160
1160
|
pulumi.set(self, "min_vcpu", value)
|
|
1161
1161
|
|
|
1162
|
-
@property
|
|
1162
|
+
@_builtins.property
|
|
1163
1163
|
@pulumi.getter(name="rootDeviceTypes")
|
|
1164
|
-
def root_device_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1164
|
+
def root_device_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1165
1165
|
"""
|
|
1166
1166
|
The filtered instance types will have a root device types from this list.
|
|
1167
1167
|
"""
|
|
1168
1168
|
return pulumi.get(self, "root_device_types")
|
|
1169
1169
|
|
|
1170
1170
|
@root_device_types.setter
|
|
1171
|
-
def root_device_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1171
|
+
def root_device_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1172
1172
|
pulumi.set(self, "root_device_types", value)
|
|
1173
1173
|
|
|
1174
|
-
@property
|
|
1174
|
+
@_builtins.property
|
|
1175
1175
|
@pulumi.getter(name="virtualizationTypes")
|
|
1176
|
-
def virtualization_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1176
|
+
def virtualization_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1177
1177
|
"""
|
|
1178
1178
|
The filtered instance types will support at least one of the virtualization types from this list.
|
|
1179
1179
|
"""
|
|
1180
1180
|
return pulumi.get(self, "virtualization_types")
|
|
1181
1181
|
|
|
1182
1182
|
@virtualization_types.setter
|
|
1183
|
-
def virtualization_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1183
|
+
def virtualization_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1184
1184
|
pulumi.set(self, "virtualization_types", value)
|
|
1185
1185
|
|
|
1186
1186
|
|
|
1187
1187
|
if not MYPY:
|
|
1188
1188
|
class OceanInstanceMetadataOptionsArgsDict(TypedDict):
|
|
1189
|
-
http_tokens: pulumi.Input[str]
|
|
1189
|
+
http_tokens: pulumi.Input[_builtins.str]
|
|
1190
1190
|
"""
|
|
1191
1191
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1192
1192
|
"""
|
|
1193
|
-
http_put_response_hop_limit: NotRequired[pulumi.Input[int]]
|
|
1193
|
+
http_put_response_hop_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
1194
1194
|
"""
|
|
1195
1195
|
An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1196
1196
|
"""
|
|
@@ -1200,48 +1200,48 @@ elif False:
|
|
|
1200
1200
|
@pulumi.input_type
|
|
1201
1201
|
class OceanInstanceMetadataOptionsArgs:
|
|
1202
1202
|
def __init__(__self__, *,
|
|
1203
|
-
http_tokens: pulumi.Input[str],
|
|
1204
|
-
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None):
|
|
1203
|
+
http_tokens: pulumi.Input[_builtins.str],
|
|
1204
|
+
http_put_response_hop_limit: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1205
1205
|
"""
|
|
1206
|
-
:param pulumi.Input[str] http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1207
|
-
:param pulumi.Input[int] http_put_response_hop_limit: An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1206
|
+
:param pulumi.Input[_builtins.str] http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1207
|
+
:param pulumi.Input[_builtins.int] http_put_response_hop_limit: An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1208
1208
|
"""
|
|
1209
1209
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
1210
1210
|
if http_put_response_hop_limit is not None:
|
|
1211
1211
|
pulumi.set(__self__, "http_put_response_hop_limit", http_put_response_hop_limit)
|
|
1212
1212
|
|
|
1213
|
-
@property
|
|
1213
|
+
@_builtins.property
|
|
1214
1214
|
@pulumi.getter(name="httpTokens")
|
|
1215
|
-
def http_tokens(self) -> pulumi.Input[str]:
|
|
1215
|
+
def http_tokens(self) -> pulumi.Input[_builtins.str]:
|
|
1216
1216
|
"""
|
|
1217
1217
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1218
1218
|
"""
|
|
1219
1219
|
return pulumi.get(self, "http_tokens")
|
|
1220
1220
|
|
|
1221
1221
|
@http_tokens.setter
|
|
1222
|
-
def http_tokens(self, value: pulumi.Input[str]):
|
|
1222
|
+
def http_tokens(self, value: pulumi.Input[_builtins.str]):
|
|
1223
1223
|
pulumi.set(self, "http_tokens", value)
|
|
1224
1224
|
|
|
1225
|
-
@property
|
|
1225
|
+
@_builtins.property
|
|
1226
1226
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
1227
|
-
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1227
|
+
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1228
1228
|
"""
|
|
1229
1229
|
An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1230
1230
|
"""
|
|
1231
1231
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
1232
1232
|
|
|
1233
1233
|
@http_put_response_hop_limit.setter
|
|
1234
|
-
def http_put_response_hop_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1234
|
+
def http_put_response_hop_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1235
1235
|
pulumi.set(self, "http_put_response_hop_limit", value)
|
|
1236
1236
|
|
|
1237
1237
|
|
|
1238
1238
|
if not MYPY:
|
|
1239
1239
|
class OceanLaunchSpecAttributeArgsDict(TypedDict):
|
|
1240
|
-
key: pulumi.Input[str]
|
|
1240
|
+
key: pulumi.Input[_builtins.str]
|
|
1241
1241
|
"""
|
|
1242
1242
|
The label key.
|
|
1243
1243
|
"""
|
|
1244
|
-
value: pulumi.Input[str]
|
|
1244
|
+
value: pulumi.Input[_builtins.str]
|
|
1245
1245
|
"""
|
|
1246
1246
|
The label value.
|
|
1247
1247
|
"""
|
|
@@ -1251,51 +1251,51 @@ elif False:
|
|
|
1251
1251
|
@pulumi.input_type
|
|
1252
1252
|
class OceanLaunchSpecAttributeArgs:
|
|
1253
1253
|
def __init__(__self__, *,
|
|
1254
|
-
key: pulumi.Input[str],
|
|
1255
|
-
value: pulumi.Input[str]):
|
|
1254
|
+
key: pulumi.Input[_builtins.str],
|
|
1255
|
+
value: pulumi.Input[_builtins.str]):
|
|
1256
1256
|
"""
|
|
1257
|
-
:param pulumi.Input[str] key: The label key.
|
|
1258
|
-
:param pulumi.Input[str] value: The label value.
|
|
1257
|
+
:param pulumi.Input[_builtins.str] key: The label key.
|
|
1258
|
+
:param pulumi.Input[_builtins.str] value: The label value.
|
|
1259
1259
|
"""
|
|
1260
1260
|
pulumi.set(__self__, "key", key)
|
|
1261
1261
|
pulumi.set(__self__, "value", value)
|
|
1262
1262
|
|
|
1263
|
-
@property
|
|
1263
|
+
@_builtins.property
|
|
1264
1264
|
@pulumi.getter
|
|
1265
|
-
def key(self) -> pulumi.Input[str]:
|
|
1265
|
+
def key(self) -> pulumi.Input[_builtins.str]:
|
|
1266
1266
|
"""
|
|
1267
1267
|
The label key.
|
|
1268
1268
|
"""
|
|
1269
1269
|
return pulumi.get(self, "key")
|
|
1270
1270
|
|
|
1271
1271
|
@key.setter
|
|
1272
|
-
def key(self, value: pulumi.Input[str]):
|
|
1272
|
+
def key(self, value: pulumi.Input[_builtins.str]):
|
|
1273
1273
|
pulumi.set(self, "key", value)
|
|
1274
1274
|
|
|
1275
|
-
@property
|
|
1275
|
+
@_builtins.property
|
|
1276
1276
|
@pulumi.getter
|
|
1277
|
-
def value(self) -> pulumi.Input[str]:
|
|
1277
|
+
def value(self) -> pulumi.Input[_builtins.str]:
|
|
1278
1278
|
"""
|
|
1279
1279
|
The label value.
|
|
1280
1280
|
"""
|
|
1281
1281
|
return pulumi.get(self, "value")
|
|
1282
1282
|
|
|
1283
1283
|
@value.setter
|
|
1284
|
-
def value(self, value: pulumi.Input[str]):
|
|
1284
|
+
def value(self, value: pulumi.Input[_builtins.str]):
|
|
1285
1285
|
pulumi.set(self, "value", value)
|
|
1286
1286
|
|
|
1287
1287
|
|
|
1288
1288
|
if not MYPY:
|
|
1289
1289
|
class OceanLaunchSpecAutoscaleHeadroomArgsDict(TypedDict):
|
|
1290
|
-
num_of_units: pulumi.Input[int]
|
|
1290
|
+
num_of_units: pulumi.Input[_builtins.int]
|
|
1291
1291
|
"""
|
|
1292
1292
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1293
1293
|
"""
|
|
1294
|
-
cpu_per_unit: NotRequired[pulumi.Input[int]]
|
|
1294
|
+
cpu_per_unit: NotRequired[pulumi.Input[_builtins.int]]
|
|
1295
1295
|
"""
|
|
1296
1296
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
1297
1297
|
"""
|
|
1298
|
-
memory_per_unit: NotRequired[pulumi.Input[int]]
|
|
1298
|
+
memory_per_unit: NotRequired[pulumi.Input[_builtins.int]]
|
|
1299
1299
|
"""
|
|
1300
1300
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1301
1301
|
"""
|
|
@@ -1305,13 +1305,13 @@ elif False:
|
|
|
1305
1305
|
@pulumi.input_type
|
|
1306
1306
|
class OceanLaunchSpecAutoscaleHeadroomArgs:
|
|
1307
1307
|
def __init__(__self__, *,
|
|
1308
|
-
num_of_units: pulumi.Input[int],
|
|
1309
|
-
cpu_per_unit: Optional[pulumi.Input[int]] = None,
|
|
1310
|
-
memory_per_unit: Optional[pulumi.Input[int]] = None):
|
|
1308
|
+
num_of_units: pulumi.Input[_builtins.int],
|
|
1309
|
+
cpu_per_unit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1310
|
+
memory_per_unit: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1311
1311
|
"""
|
|
1312
|
-
:param pulumi.Input[int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1313
|
-
:param pulumi.Input[int] cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
1314
|
-
:param pulumi.Input[int] memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1312
|
+
:param pulumi.Input[_builtins.int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1313
|
+
:param pulumi.Input[_builtins.int] cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
1314
|
+
:param pulumi.Input[_builtins.int] memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1315
1315
|
"""
|
|
1316
1316
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1317
1317
|
if cpu_per_unit is not None:
|
|
@@ -1319,46 +1319,46 @@ class OceanLaunchSpecAutoscaleHeadroomArgs:
|
|
|
1319
1319
|
if memory_per_unit is not None:
|
|
1320
1320
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
1321
1321
|
|
|
1322
|
-
@property
|
|
1322
|
+
@_builtins.property
|
|
1323
1323
|
@pulumi.getter(name="numOfUnits")
|
|
1324
|
-
def num_of_units(self) -> pulumi.Input[int]:
|
|
1324
|
+
def num_of_units(self) -> pulumi.Input[_builtins.int]:
|
|
1325
1325
|
"""
|
|
1326
1326
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1327
1327
|
"""
|
|
1328
1328
|
return pulumi.get(self, "num_of_units")
|
|
1329
1329
|
|
|
1330
1330
|
@num_of_units.setter
|
|
1331
|
-
def num_of_units(self, value: pulumi.Input[int]):
|
|
1331
|
+
def num_of_units(self, value: pulumi.Input[_builtins.int]):
|
|
1332
1332
|
pulumi.set(self, "num_of_units", value)
|
|
1333
1333
|
|
|
1334
|
-
@property
|
|
1334
|
+
@_builtins.property
|
|
1335
1335
|
@pulumi.getter(name="cpuPerUnit")
|
|
1336
|
-
def cpu_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
1336
|
+
def cpu_per_unit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1337
1337
|
"""
|
|
1338
1338
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
1339
1339
|
"""
|
|
1340
1340
|
return pulumi.get(self, "cpu_per_unit")
|
|
1341
1341
|
|
|
1342
1342
|
@cpu_per_unit.setter
|
|
1343
|
-
def cpu_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
1343
|
+
def cpu_per_unit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1344
1344
|
pulumi.set(self, "cpu_per_unit", value)
|
|
1345
1345
|
|
|
1346
|
-
@property
|
|
1346
|
+
@_builtins.property
|
|
1347
1347
|
@pulumi.getter(name="memoryPerUnit")
|
|
1348
|
-
def memory_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
1348
|
+
def memory_per_unit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1349
1349
|
"""
|
|
1350
1350
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1351
1351
|
"""
|
|
1352
1352
|
return pulumi.get(self, "memory_per_unit")
|
|
1353
1353
|
|
|
1354
1354
|
@memory_per_unit.setter
|
|
1355
|
-
def memory_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
1355
|
+
def memory_per_unit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1356
1356
|
pulumi.set(self, "memory_per_unit", value)
|
|
1357
1357
|
|
|
1358
1358
|
|
|
1359
1359
|
if not MYPY:
|
|
1360
1360
|
class OceanLaunchSpecBlockDeviceMappingArgsDict(TypedDict):
|
|
1361
|
-
device_name: pulumi.Input[str]
|
|
1361
|
+
device_name: pulumi.Input[_builtins.str]
|
|
1362
1362
|
"""
|
|
1363
1363
|
String. Set device name. (Example: "/dev/xvda1").
|
|
1364
1364
|
"""
|
|
@@ -1366,25 +1366,25 @@ if not MYPY:
|
|
|
1366
1366
|
"""
|
|
1367
1367
|
Object. Set Elastic Block Store properties .
|
|
1368
1368
|
"""
|
|
1369
|
-
no_device: NotRequired[pulumi.Input[str]]
|
|
1369
|
+
no_device: NotRequired[pulumi.Input[_builtins.str]]
|
|
1370
1370
|
"""
|
|
1371
1371
|
String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1372
1372
|
"""
|
|
1373
|
-
virtual_name: NotRequired[pulumi.Input[str]]
|
|
1373
|
+
virtual_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1374
1374
|
elif False:
|
|
1375
1375
|
OceanLaunchSpecBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any]
|
|
1376
1376
|
|
|
1377
1377
|
@pulumi.input_type
|
|
1378
1378
|
class OceanLaunchSpecBlockDeviceMappingArgs:
|
|
1379
1379
|
def __init__(__self__, *,
|
|
1380
|
-
device_name: pulumi.Input[str],
|
|
1380
|
+
device_name: pulumi.Input[_builtins.str],
|
|
1381
1381
|
ebs: Optional[pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsArgs']] = None,
|
|
1382
|
-
no_device: Optional[pulumi.Input[str]] = None,
|
|
1383
|
-
virtual_name: Optional[pulumi.Input[str]] = None):
|
|
1382
|
+
no_device: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1383
|
+
virtual_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1384
1384
|
"""
|
|
1385
|
-
:param pulumi.Input[str] device_name: String. Set device name. (Example: "/dev/xvda1").
|
|
1385
|
+
:param pulumi.Input[_builtins.str] device_name: String. Set device name. (Example: "/dev/xvda1").
|
|
1386
1386
|
:param pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsArgs'] ebs: Object. Set Elastic Block Store properties .
|
|
1387
|
-
:param pulumi.Input[str] no_device: String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1387
|
+
:param pulumi.Input[_builtins.str] no_device: String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1388
1388
|
"""
|
|
1389
1389
|
pulumi.set(__self__, "device_name", device_name)
|
|
1390
1390
|
if ebs is not None:
|
|
@@ -1394,19 +1394,19 @@ class OceanLaunchSpecBlockDeviceMappingArgs:
|
|
|
1394
1394
|
if virtual_name is not None:
|
|
1395
1395
|
pulumi.set(__self__, "virtual_name", virtual_name)
|
|
1396
1396
|
|
|
1397
|
-
@property
|
|
1397
|
+
@_builtins.property
|
|
1398
1398
|
@pulumi.getter(name="deviceName")
|
|
1399
|
-
def device_name(self) -> pulumi.Input[str]:
|
|
1399
|
+
def device_name(self) -> pulumi.Input[_builtins.str]:
|
|
1400
1400
|
"""
|
|
1401
1401
|
String. Set device name. (Example: "/dev/xvda1").
|
|
1402
1402
|
"""
|
|
1403
1403
|
return pulumi.get(self, "device_name")
|
|
1404
1404
|
|
|
1405
1405
|
@device_name.setter
|
|
1406
|
-
def device_name(self, value: pulumi.Input[str]):
|
|
1406
|
+
def device_name(self, value: pulumi.Input[_builtins.str]):
|
|
1407
1407
|
pulumi.set(self, "device_name", value)
|
|
1408
1408
|
|
|
1409
|
-
@property
|
|
1409
|
+
@_builtins.property
|
|
1410
1410
|
@pulumi.getter
|
|
1411
1411
|
def ebs(self) -> Optional[pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsArgs']]:
|
|
1412
1412
|
"""
|
|
@@ -1418,31 +1418,31 @@ class OceanLaunchSpecBlockDeviceMappingArgs:
|
|
|
1418
1418
|
def ebs(self, value: Optional[pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsArgs']]):
|
|
1419
1419
|
pulumi.set(self, "ebs", value)
|
|
1420
1420
|
|
|
1421
|
-
@property
|
|
1421
|
+
@_builtins.property
|
|
1422
1422
|
@pulumi.getter(name="noDevice")
|
|
1423
|
-
def no_device(self) -> Optional[pulumi.Input[str]]:
|
|
1423
|
+
def no_device(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1424
1424
|
"""
|
|
1425
1425
|
String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1426
1426
|
"""
|
|
1427
1427
|
return pulumi.get(self, "no_device")
|
|
1428
1428
|
|
|
1429
1429
|
@no_device.setter
|
|
1430
|
-
def no_device(self, value: Optional[pulumi.Input[str]]):
|
|
1430
|
+
def no_device(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1431
1431
|
pulumi.set(self, "no_device", value)
|
|
1432
1432
|
|
|
1433
|
-
@property
|
|
1433
|
+
@_builtins.property
|
|
1434
1434
|
@pulumi.getter(name="virtualName")
|
|
1435
|
-
def virtual_name(self) -> Optional[pulumi.Input[str]]:
|
|
1435
|
+
def virtual_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1436
1436
|
return pulumi.get(self, "virtual_name")
|
|
1437
1437
|
|
|
1438
1438
|
@virtual_name.setter
|
|
1439
|
-
def virtual_name(self, value: Optional[pulumi.Input[str]]):
|
|
1439
|
+
def virtual_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1440
1440
|
pulumi.set(self, "virtual_name", value)
|
|
1441
1441
|
|
|
1442
1442
|
|
|
1443
1443
|
if not MYPY:
|
|
1444
1444
|
class OceanLaunchSpecBlockDeviceMappingEbsArgsDict(TypedDict):
|
|
1445
|
-
delete_on_termination: NotRequired[pulumi.Input[bool]]
|
|
1445
|
+
delete_on_termination: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1446
1446
|
"""
|
|
1447
1447
|
Boolean. Flag to delete the EBS on instance termination.
|
|
1448
1448
|
"""
|
|
@@ -1450,31 +1450,31 @@ if not MYPY:
|
|
|
1450
1450
|
"""
|
|
1451
1451
|
Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
1452
1452
|
"""
|
|
1453
|
-
encrypted: NotRequired[pulumi.Input[bool]]
|
|
1453
|
+
encrypted: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1454
1454
|
"""
|
|
1455
1455
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1456
1456
|
"""
|
|
1457
|
-
iops: NotRequired[pulumi.Input[int]]
|
|
1457
|
+
iops: NotRequired[pulumi.Input[_builtins.int]]
|
|
1458
1458
|
"""
|
|
1459
1459
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1460
1460
|
"""
|
|
1461
|
-
kms_key_id: NotRequired[pulumi.Input[str]]
|
|
1461
|
+
kms_key_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
1462
1462
|
"""
|
|
1463
1463
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1464
1464
|
"""
|
|
1465
|
-
snapshot_id: NotRequired[pulumi.Input[str]]
|
|
1465
|
+
snapshot_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
1466
1466
|
"""
|
|
1467
1467
|
(Optional) String. The Snapshot ID to mount by.
|
|
1468
1468
|
"""
|
|
1469
|
-
throughput: NotRequired[pulumi.Input[int]]
|
|
1469
|
+
throughput: NotRequired[pulumi.Input[_builtins.int]]
|
|
1470
1470
|
"""
|
|
1471
1471
|
The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
1472
1472
|
"""
|
|
1473
|
-
volume_size: NotRequired[pulumi.Input[int]]
|
|
1473
|
+
volume_size: NotRequired[pulumi.Input[_builtins.int]]
|
|
1474
1474
|
"""
|
|
1475
1475
|
Int. The size, in GB of the volume.
|
|
1476
1476
|
"""
|
|
1477
|
-
volume_type: NotRequired[pulumi.Input[str]]
|
|
1477
|
+
volume_type: NotRequired[pulumi.Input[_builtins.str]]
|
|
1478
1478
|
"""
|
|
1479
1479
|
String. The type of the volume (example: "gp2").
|
|
1480
1480
|
"""
|
|
@@ -1484,25 +1484,25 @@ elif False:
|
|
|
1484
1484
|
@pulumi.input_type
|
|
1485
1485
|
class OceanLaunchSpecBlockDeviceMappingEbsArgs:
|
|
1486
1486
|
def __init__(__self__, *,
|
|
1487
|
-
delete_on_termination: Optional[pulumi.Input[bool]] = None,
|
|
1487
|
+
delete_on_termination: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1488
1488
|
dynamic_volume_size: Optional[pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs']] = None,
|
|
1489
|
-
encrypted: Optional[pulumi.Input[bool]] = None,
|
|
1490
|
-
iops: Optional[pulumi.Input[int]] = None,
|
|
1491
|
-
kms_key_id: Optional[pulumi.Input[str]] = None,
|
|
1492
|
-
snapshot_id: Optional[pulumi.Input[str]] = None,
|
|
1493
|
-
throughput: Optional[pulumi.Input[int]] = None,
|
|
1494
|
-
volume_size: Optional[pulumi.Input[int]] = None,
|
|
1495
|
-
volume_type: Optional[pulumi.Input[str]] = None):
|
|
1496
|
-
"""
|
|
1497
|
-
:param pulumi.Input[bool] delete_on_termination: Boolean. Flag to delete the EBS on instance termination.
|
|
1489
|
+
encrypted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1490
|
+
iops: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1491
|
+
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1492
|
+
snapshot_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1493
|
+
throughput: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1494
|
+
volume_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1495
|
+
volume_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1496
|
+
"""
|
|
1497
|
+
:param pulumi.Input[_builtins.bool] delete_on_termination: Boolean. Flag to delete the EBS on instance termination.
|
|
1498
1498
|
:param pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs'] dynamic_volume_size: Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
1499
|
-
:param pulumi.Input[bool] encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1500
|
-
:param pulumi.Input[int] iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1501
|
-
:param pulumi.Input[str] kms_key_id: String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1502
|
-
:param pulumi.Input[str] snapshot_id: (Optional) String. The Snapshot ID to mount by.
|
|
1503
|
-
:param pulumi.Input[int] throughput: The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
1504
|
-
:param pulumi.Input[int] volume_size: Int. The size, in GB of the volume.
|
|
1505
|
-
:param pulumi.Input[str] volume_type: String. The type of the volume (example: "gp2").
|
|
1499
|
+
:param pulumi.Input[_builtins.bool] encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1500
|
+
:param pulumi.Input[_builtins.int] iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1501
|
+
:param pulumi.Input[_builtins.str] kms_key_id: String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1502
|
+
:param pulumi.Input[_builtins.str] snapshot_id: (Optional) String. The Snapshot ID to mount by.
|
|
1503
|
+
:param pulumi.Input[_builtins.int] throughput: The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
1504
|
+
:param pulumi.Input[_builtins.int] volume_size: Int. The size, in GB of the volume.
|
|
1505
|
+
:param pulumi.Input[_builtins.str] volume_type: String. The type of the volume (example: "gp2").
|
|
1506
1506
|
"""
|
|
1507
1507
|
if delete_on_termination is not None:
|
|
1508
1508
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
@@ -1523,19 +1523,19 @@ class OceanLaunchSpecBlockDeviceMappingEbsArgs:
|
|
|
1523
1523
|
if volume_type is not None:
|
|
1524
1524
|
pulumi.set(__self__, "volume_type", volume_type)
|
|
1525
1525
|
|
|
1526
|
-
@property
|
|
1526
|
+
@_builtins.property
|
|
1527
1527
|
@pulumi.getter(name="deleteOnTermination")
|
|
1528
|
-
def delete_on_termination(self) -> Optional[pulumi.Input[bool]]:
|
|
1528
|
+
def delete_on_termination(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1529
1529
|
"""
|
|
1530
1530
|
Boolean. Flag to delete the EBS on instance termination.
|
|
1531
1531
|
"""
|
|
1532
1532
|
return pulumi.get(self, "delete_on_termination")
|
|
1533
1533
|
|
|
1534
1534
|
@delete_on_termination.setter
|
|
1535
|
-
def delete_on_termination(self, value: Optional[pulumi.Input[bool]]):
|
|
1535
|
+
def delete_on_termination(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1536
1536
|
pulumi.set(self, "delete_on_termination", value)
|
|
1537
1537
|
|
|
1538
|
-
@property
|
|
1538
|
+
@_builtins.property
|
|
1539
1539
|
@pulumi.getter(name="dynamicVolumeSize")
|
|
1540
1540
|
def dynamic_volume_size(self) -> Optional[pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs']]:
|
|
1541
1541
|
"""
|
|
@@ -1547,102 +1547,102 @@ class OceanLaunchSpecBlockDeviceMappingEbsArgs:
|
|
|
1547
1547
|
def dynamic_volume_size(self, value: Optional[pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs']]):
|
|
1548
1548
|
pulumi.set(self, "dynamic_volume_size", value)
|
|
1549
1549
|
|
|
1550
|
-
@property
|
|
1550
|
+
@_builtins.property
|
|
1551
1551
|
@pulumi.getter
|
|
1552
|
-
def encrypted(self) -> Optional[pulumi.Input[bool]]:
|
|
1552
|
+
def encrypted(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1553
1553
|
"""
|
|
1554
1554
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1555
1555
|
"""
|
|
1556
1556
|
return pulumi.get(self, "encrypted")
|
|
1557
1557
|
|
|
1558
1558
|
@encrypted.setter
|
|
1559
|
-
def encrypted(self, value: Optional[pulumi.Input[bool]]):
|
|
1559
|
+
def encrypted(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1560
1560
|
pulumi.set(self, "encrypted", value)
|
|
1561
1561
|
|
|
1562
|
-
@property
|
|
1562
|
+
@_builtins.property
|
|
1563
1563
|
@pulumi.getter
|
|
1564
|
-
def iops(self) -> Optional[pulumi.Input[int]]:
|
|
1564
|
+
def iops(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1565
1565
|
"""
|
|
1566
1566
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1567
1567
|
"""
|
|
1568
1568
|
return pulumi.get(self, "iops")
|
|
1569
1569
|
|
|
1570
1570
|
@iops.setter
|
|
1571
|
-
def iops(self, value: Optional[pulumi.Input[int]]):
|
|
1571
|
+
def iops(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1572
1572
|
pulumi.set(self, "iops", value)
|
|
1573
1573
|
|
|
1574
|
-
@property
|
|
1574
|
+
@_builtins.property
|
|
1575
1575
|
@pulumi.getter(name="kmsKeyId")
|
|
1576
|
-
def kms_key_id(self) -> Optional[pulumi.Input[str]]:
|
|
1576
|
+
def kms_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1577
1577
|
"""
|
|
1578
1578
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1579
1579
|
"""
|
|
1580
1580
|
return pulumi.get(self, "kms_key_id")
|
|
1581
1581
|
|
|
1582
1582
|
@kms_key_id.setter
|
|
1583
|
-
def kms_key_id(self, value: Optional[pulumi.Input[str]]):
|
|
1583
|
+
def kms_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1584
1584
|
pulumi.set(self, "kms_key_id", value)
|
|
1585
1585
|
|
|
1586
|
-
@property
|
|
1586
|
+
@_builtins.property
|
|
1587
1587
|
@pulumi.getter(name="snapshotId")
|
|
1588
|
-
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
|
1588
|
+
def snapshot_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1589
1589
|
"""
|
|
1590
1590
|
(Optional) String. The Snapshot ID to mount by.
|
|
1591
1591
|
"""
|
|
1592
1592
|
return pulumi.get(self, "snapshot_id")
|
|
1593
1593
|
|
|
1594
1594
|
@snapshot_id.setter
|
|
1595
|
-
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
|
1595
|
+
def snapshot_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1596
1596
|
pulumi.set(self, "snapshot_id", value)
|
|
1597
1597
|
|
|
1598
|
-
@property
|
|
1598
|
+
@_builtins.property
|
|
1599
1599
|
@pulumi.getter
|
|
1600
|
-
def throughput(self) -> Optional[pulumi.Input[int]]:
|
|
1600
|
+
def throughput(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1601
1601
|
"""
|
|
1602
1602
|
The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
1603
1603
|
"""
|
|
1604
1604
|
return pulumi.get(self, "throughput")
|
|
1605
1605
|
|
|
1606
1606
|
@throughput.setter
|
|
1607
|
-
def throughput(self, value: Optional[pulumi.Input[int]]):
|
|
1607
|
+
def throughput(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1608
1608
|
pulumi.set(self, "throughput", value)
|
|
1609
1609
|
|
|
1610
|
-
@property
|
|
1610
|
+
@_builtins.property
|
|
1611
1611
|
@pulumi.getter(name="volumeSize")
|
|
1612
|
-
def volume_size(self) -> Optional[pulumi.Input[int]]:
|
|
1612
|
+
def volume_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1613
1613
|
"""
|
|
1614
1614
|
Int. The size, in GB of the volume.
|
|
1615
1615
|
"""
|
|
1616
1616
|
return pulumi.get(self, "volume_size")
|
|
1617
1617
|
|
|
1618
1618
|
@volume_size.setter
|
|
1619
|
-
def volume_size(self, value: Optional[pulumi.Input[int]]):
|
|
1619
|
+
def volume_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1620
1620
|
pulumi.set(self, "volume_size", value)
|
|
1621
1621
|
|
|
1622
|
-
@property
|
|
1622
|
+
@_builtins.property
|
|
1623
1623
|
@pulumi.getter(name="volumeType")
|
|
1624
|
-
def volume_type(self) -> Optional[pulumi.Input[str]]:
|
|
1624
|
+
def volume_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1625
1625
|
"""
|
|
1626
1626
|
String. The type of the volume (example: "gp2").
|
|
1627
1627
|
"""
|
|
1628
1628
|
return pulumi.get(self, "volume_type")
|
|
1629
1629
|
|
|
1630
1630
|
@volume_type.setter
|
|
1631
|
-
def volume_type(self, value: Optional[pulumi.Input[str]]):
|
|
1631
|
+
def volume_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1632
1632
|
pulumi.set(self, "volume_type", value)
|
|
1633
1633
|
|
|
1634
1634
|
|
|
1635
1635
|
if not MYPY:
|
|
1636
1636
|
class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgsDict(TypedDict):
|
|
1637
|
-
base_size: pulumi.Input[int]
|
|
1637
|
+
base_size: pulumi.Input[_builtins.int]
|
|
1638
1638
|
"""
|
|
1639
1639
|
Int. Initial size for volume. (Example: 50)
|
|
1640
1640
|
"""
|
|
1641
|
-
resource: pulumi.Input[str]
|
|
1641
|
+
resource: pulumi.Input[_builtins.str]
|
|
1642
1642
|
"""
|
|
1643
1643
|
String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1644
1644
|
"""
|
|
1645
|
-
size_per_resource_unit: pulumi.Input[int]
|
|
1645
|
+
size_per_resource_unit: pulumi.Input[_builtins.int]
|
|
1646
1646
|
"""
|
|
1647
1647
|
Int. Additional size (in GB) per resource unit. (Example: baseSize= 50, sizePerResourceUnit=20, and instance with 2 CPU is launched - its total disk size will be: 90GB)
|
|
1648
1648
|
"""
|
|
@@ -1652,58 +1652,58 @@ elif False:
|
|
|
1652
1652
|
@pulumi.input_type
|
|
1653
1653
|
class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs:
|
|
1654
1654
|
def __init__(__self__, *,
|
|
1655
|
-
base_size: pulumi.Input[int],
|
|
1656
|
-
resource: pulumi.Input[str],
|
|
1657
|
-
size_per_resource_unit: pulumi.Input[int]):
|
|
1655
|
+
base_size: pulumi.Input[_builtins.int],
|
|
1656
|
+
resource: pulumi.Input[_builtins.str],
|
|
1657
|
+
size_per_resource_unit: pulumi.Input[_builtins.int]):
|
|
1658
1658
|
"""
|
|
1659
|
-
:param pulumi.Input[int] base_size: Int. Initial size for volume. (Example: 50)
|
|
1660
|
-
:param pulumi.Input[str] resource: String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1661
|
-
:param pulumi.Input[int] size_per_resource_unit: Int. Additional size (in GB) per resource unit. (Example: baseSize= 50, sizePerResourceUnit=20, and instance with 2 CPU is launched - its total disk size will be: 90GB)
|
|
1659
|
+
:param pulumi.Input[_builtins.int] base_size: Int. Initial size for volume. (Example: 50)
|
|
1660
|
+
:param pulumi.Input[_builtins.str] resource: String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1661
|
+
:param pulumi.Input[_builtins.int] size_per_resource_unit: Int. Additional size (in GB) per resource unit. (Example: baseSize= 50, sizePerResourceUnit=20, and instance with 2 CPU is launched - its total disk size will be: 90GB)
|
|
1662
1662
|
"""
|
|
1663
1663
|
pulumi.set(__self__, "base_size", base_size)
|
|
1664
1664
|
pulumi.set(__self__, "resource", resource)
|
|
1665
1665
|
pulumi.set(__self__, "size_per_resource_unit", size_per_resource_unit)
|
|
1666
1666
|
|
|
1667
|
-
@property
|
|
1667
|
+
@_builtins.property
|
|
1668
1668
|
@pulumi.getter(name="baseSize")
|
|
1669
|
-
def base_size(self) -> pulumi.Input[int]:
|
|
1669
|
+
def base_size(self) -> pulumi.Input[_builtins.int]:
|
|
1670
1670
|
"""
|
|
1671
1671
|
Int. Initial size for volume. (Example: 50)
|
|
1672
1672
|
"""
|
|
1673
1673
|
return pulumi.get(self, "base_size")
|
|
1674
1674
|
|
|
1675
1675
|
@base_size.setter
|
|
1676
|
-
def base_size(self, value: pulumi.Input[int]):
|
|
1676
|
+
def base_size(self, value: pulumi.Input[_builtins.int]):
|
|
1677
1677
|
pulumi.set(self, "base_size", value)
|
|
1678
1678
|
|
|
1679
|
-
@property
|
|
1679
|
+
@_builtins.property
|
|
1680
1680
|
@pulumi.getter
|
|
1681
|
-
def resource(self) -> pulumi.Input[str]:
|
|
1681
|
+
def resource(self) -> pulumi.Input[_builtins.str]:
|
|
1682
1682
|
"""
|
|
1683
1683
|
String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1684
1684
|
"""
|
|
1685
1685
|
return pulumi.get(self, "resource")
|
|
1686
1686
|
|
|
1687
1687
|
@resource.setter
|
|
1688
|
-
def resource(self, value: pulumi.Input[str]):
|
|
1688
|
+
def resource(self, value: pulumi.Input[_builtins.str]):
|
|
1689
1689
|
pulumi.set(self, "resource", value)
|
|
1690
1690
|
|
|
1691
|
-
@property
|
|
1691
|
+
@_builtins.property
|
|
1692
1692
|
@pulumi.getter(name="sizePerResourceUnit")
|
|
1693
|
-
def size_per_resource_unit(self) -> pulumi.Input[int]:
|
|
1693
|
+
def size_per_resource_unit(self) -> pulumi.Input[_builtins.int]:
|
|
1694
1694
|
"""
|
|
1695
1695
|
Int. Additional size (in GB) per resource unit. (Example: baseSize= 50, sizePerResourceUnit=20, and instance with 2 CPU is launched - its total disk size will be: 90GB)
|
|
1696
1696
|
"""
|
|
1697
1697
|
return pulumi.get(self, "size_per_resource_unit")
|
|
1698
1698
|
|
|
1699
1699
|
@size_per_resource_unit.setter
|
|
1700
|
-
def size_per_resource_unit(self, value: pulumi.Input[int]):
|
|
1700
|
+
def size_per_resource_unit(self, value: pulumi.Input[_builtins.int]):
|
|
1701
1701
|
pulumi.set(self, "size_per_resource_unit", value)
|
|
1702
1702
|
|
|
1703
1703
|
|
|
1704
1704
|
if not MYPY:
|
|
1705
1705
|
class OceanLaunchSpecImageArgsDict(TypedDict):
|
|
1706
|
-
image_id: NotRequired[pulumi.Input[str]]
|
|
1706
|
+
image_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
1707
1707
|
"""
|
|
1708
1708
|
Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1709
1709
|
"""
|
|
@@ -1713,33 +1713,33 @@ elif False:
|
|
|
1713
1713
|
@pulumi.input_type
|
|
1714
1714
|
class OceanLaunchSpecImageArgs:
|
|
1715
1715
|
def __init__(__self__, *,
|
|
1716
|
-
image_id: Optional[pulumi.Input[str]] = None):
|
|
1716
|
+
image_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1717
1717
|
"""
|
|
1718
|
-
:param pulumi.Input[str] image_id: Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1718
|
+
:param pulumi.Input[_builtins.str] image_id: Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1719
1719
|
"""
|
|
1720
1720
|
if image_id is not None:
|
|
1721
1721
|
pulumi.set(__self__, "image_id", image_id)
|
|
1722
1722
|
|
|
1723
|
-
@property
|
|
1723
|
+
@_builtins.property
|
|
1724
1724
|
@pulumi.getter(name="imageId")
|
|
1725
|
-
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
1725
|
+
def image_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1726
1726
|
"""
|
|
1727
1727
|
Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1728
1728
|
"""
|
|
1729
1729
|
return pulumi.get(self, "image_id")
|
|
1730
1730
|
|
|
1731
1731
|
@image_id.setter
|
|
1732
|
-
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
1732
|
+
def image_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1733
1733
|
pulumi.set(self, "image_id", value)
|
|
1734
1734
|
|
|
1735
1735
|
|
|
1736
1736
|
if not MYPY:
|
|
1737
1737
|
class OceanLaunchSpecInstanceMetadataOptionsArgsDict(TypedDict):
|
|
1738
|
-
http_tokens: pulumi.Input[str]
|
|
1738
|
+
http_tokens: pulumi.Input[_builtins.str]
|
|
1739
1739
|
"""
|
|
1740
1740
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1741
1741
|
"""
|
|
1742
|
-
http_put_response_hop_limit: NotRequired[pulumi.Input[int]]
|
|
1742
|
+
http_put_response_hop_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
1743
1743
|
"""
|
|
1744
1744
|
An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1745
1745
|
"""
|
|
@@ -1749,52 +1749,52 @@ elif False:
|
|
|
1749
1749
|
@pulumi.input_type
|
|
1750
1750
|
class OceanLaunchSpecInstanceMetadataOptionsArgs:
|
|
1751
1751
|
def __init__(__self__, *,
|
|
1752
|
-
http_tokens: pulumi.Input[str],
|
|
1753
|
-
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None):
|
|
1752
|
+
http_tokens: pulumi.Input[_builtins.str],
|
|
1753
|
+
http_put_response_hop_limit: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1754
1754
|
"""
|
|
1755
|
-
:param pulumi.Input[str] http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1756
|
-
:param pulumi.Input[int] http_put_response_hop_limit: An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1755
|
+
:param pulumi.Input[_builtins.str] http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1756
|
+
:param pulumi.Input[_builtins.int] http_put_response_hop_limit: An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1757
1757
|
"""
|
|
1758
1758
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
1759
1759
|
if http_put_response_hop_limit is not None:
|
|
1760
1760
|
pulumi.set(__self__, "http_put_response_hop_limit", http_put_response_hop_limit)
|
|
1761
1761
|
|
|
1762
|
-
@property
|
|
1762
|
+
@_builtins.property
|
|
1763
1763
|
@pulumi.getter(name="httpTokens")
|
|
1764
|
-
def http_tokens(self) -> pulumi.Input[str]:
|
|
1764
|
+
def http_tokens(self) -> pulumi.Input[_builtins.str]:
|
|
1765
1765
|
"""
|
|
1766
1766
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1767
1767
|
"""
|
|
1768
1768
|
return pulumi.get(self, "http_tokens")
|
|
1769
1769
|
|
|
1770
1770
|
@http_tokens.setter
|
|
1771
|
-
def http_tokens(self, value: pulumi.Input[str]):
|
|
1771
|
+
def http_tokens(self, value: pulumi.Input[_builtins.str]):
|
|
1772
1772
|
pulumi.set(self, "http_tokens", value)
|
|
1773
1773
|
|
|
1774
|
-
@property
|
|
1774
|
+
@_builtins.property
|
|
1775
1775
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
1776
|
-
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1776
|
+
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1777
1777
|
"""
|
|
1778
1778
|
An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1779
1779
|
"""
|
|
1780
1780
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
1781
1781
|
|
|
1782
1782
|
@http_put_response_hop_limit.setter
|
|
1783
|
-
def http_put_response_hop_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1783
|
+
def http_put_response_hop_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1784
1784
|
pulumi.set(self, "http_put_response_hop_limit", value)
|
|
1785
1785
|
|
|
1786
1786
|
|
|
1787
1787
|
if not MYPY:
|
|
1788
1788
|
class OceanLaunchSpecSchedulingTaskArgsDict(TypedDict):
|
|
1789
|
-
cron_expression: pulumi.Input[str]
|
|
1789
|
+
cron_expression: pulumi.Input[_builtins.str]
|
|
1790
1790
|
"""
|
|
1791
1791
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1792
1792
|
"""
|
|
1793
|
-
is_enabled: pulumi.Input[bool]
|
|
1793
|
+
is_enabled: pulumi.Input[_builtins.bool]
|
|
1794
1794
|
"""
|
|
1795
1795
|
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1796
1796
|
"""
|
|
1797
|
-
task_type: pulumi.Input[str]
|
|
1797
|
+
task_type: pulumi.Input[_builtins.str]
|
|
1798
1798
|
"""
|
|
1799
1799
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1800
1800
|
"""
|
|
@@ -1808,14 +1808,14 @@ elif False:
|
|
|
1808
1808
|
@pulumi.input_type
|
|
1809
1809
|
class OceanLaunchSpecSchedulingTaskArgs:
|
|
1810
1810
|
def __init__(__self__, *,
|
|
1811
|
-
cron_expression: pulumi.Input[str],
|
|
1812
|
-
is_enabled: pulumi.Input[bool],
|
|
1813
|
-
task_type: pulumi.Input[str],
|
|
1811
|
+
cron_expression: pulumi.Input[_builtins.str],
|
|
1812
|
+
is_enabled: pulumi.Input[_builtins.bool],
|
|
1813
|
+
task_type: pulumi.Input[_builtins.str],
|
|
1814
1814
|
task_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs']]]] = None):
|
|
1815
1815
|
"""
|
|
1816
|
-
:param pulumi.Input[str] cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1817
|
-
:param pulumi.Input[bool] is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1818
|
-
:param pulumi.Input[str] task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1816
|
+
:param pulumi.Input[_builtins.str] cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1817
|
+
:param pulumi.Input[_builtins.bool] is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1818
|
+
:param pulumi.Input[_builtins.str] task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1819
1819
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs']]] task_headrooms: The config of this scheduled task. Depends on the value of taskType.
|
|
1820
1820
|
"""
|
|
1821
1821
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -1824,43 +1824,43 @@ class OceanLaunchSpecSchedulingTaskArgs:
|
|
|
1824
1824
|
if task_headrooms is not None:
|
|
1825
1825
|
pulumi.set(__self__, "task_headrooms", task_headrooms)
|
|
1826
1826
|
|
|
1827
|
-
@property
|
|
1827
|
+
@_builtins.property
|
|
1828
1828
|
@pulumi.getter(name="cronExpression")
|
|
1829
|
-
def cron_expression(self) -> pulumi.Input[str]:
|
|
1829
|
+
def cron_expression(self) -> pulumi.Input[_builtins.str]:
|
|
1830
1830
|
"""
|
|
1831
1831
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1832
1832
|
"""
|
|
1833
1833
|
return pulumi.get(self, "cron_expression")
|
|
1834
1834
|
|
|
1835
1835
|
@cron_expression.setter
|
|
1836
|
-
def cron_expression(self, value: pulumi.Input[str]):
|
|
1836
|
+
def cron_expression(self, value: pulumi.Input[_builtins.str]):
|
|
1837
1837
|
pulumi.set(self, "cron_expression", value)
|
|
1838
1838
|
|
|
1839
|
-
@property
|
|
1839
|
+
@_builtins.property
|
|
1840
1840
|
@pulumi.getter(name="isEnabled")
|
|
1841
|
-
def is_enabled(self) -> pulumi.Input[bool]:
|
|
1841
|
+
def is_enabled(self) -> pulumi.Input[_builtins.bool]:
|
|
1842
1842
|
"""
|
|
1843
1843
|
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1844
1844
|
"""
|
|
1845
1845
|
return pulumi.get(self, "is_enabled")
|
|
1846
1846
|
|
|
1847
1847
|
@is_enabled.setter
|
|
1848
|
-
def is_enabled(self, value: pulumi.Input[bool]):
|
|
1848
|
+
def is_enabled(self, value: pulumi.Input[_builtins.bool]):
|
|
1849
1849
|
pulumi.set(self, "is_enabled", value)
|
|
1850
1850
|
|
|
1851
|
-
@property
|
|
1851
|
+
@_builtins.property
|
|
1852
1852
|
@pulumi.getter(name="taskType")
|
|
1853
|
-
def task_type(self) -> pulumi.Input[str]:
|
|
1853
|
+
def task_type(self) -> pulumi.Input[_builtins.str]:
|
|
1854
1854
|
"""
|
|
1855
1855
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1856
1856
|
"""
|
|
1857
1857
|
return pulumi.get(self, "task_type")
|
|
1858
1858
|
|
|
1859
1859
|
@task_type.setter
|
|
1860
|
-
def task_type(self, value: pulumi.Input[str]):
|
|
1860
|
+
def task_type(self, value: pulumi.Input[_builtins.str]):
|
|
1861
1861
|
pulumi.set(self, "task_type", value)
|
|
1862
1862
|
|
|
1863
|
-
@property
|
|
1863
|
+
@_builtins.property
|
|
1864
1864
|
@pulumi.getter(name="taskHeadrooms")
|
|
1865
1865
|
def task_headrooms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs']]]]:
|
|
1866
1866
|
"""
|
|
@@ -1875,15 +1875,15 @@ class OceanLaunchSpecSchedulingTaskArgs:
|
|
|
1875
1875
|
|
|
1876
1876
|
if not MYPY:
|
|
1877
1877
|
class OceanLaunchSpecSchedulingTaskTaskHeadroomArgsDict(TypedDict):
|
|
1878
|
-
num_of_units: pulumi.Input[int]
|
|
1878
|
+
num_of_units: pulumi.Input[_builtins.int]
|
|
1879
1879
|
"""
|
|
1880
1880
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1881
1881
|
"""
|
|
1882
|
-
cpu_per_unit: NotRequired[pulumi.Input[int]]
|
|
1882
|
+
cpu_per_unit: NotRequired[pulumi.Input[_builtins.int]]
|
|
1883
1883
|
"""
|
|
1884
1884
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1885
1885
|
"""
|
|
1886
|
-
memory_per_unit: NotRequired[pulumi.Input[int]]
|
|
1886
|
+
memory_per_unit: NotRequired[pulumi.Input[_builtins.int]]
|
|
1887
1887
|
"""
|
|
1888
1888
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1889
1889
|
"""
|
|
@@ -1893,13 +1893,13 @@ elif False:
|
|
|
1893
1893
|
@pulumi.input_type
|
|
1894
1894
|
class OceanLaunchSpecSchedulingTaskTaskHeadroomArgs:
|
|
1895
1895
|
def __init__(__self__, *,
|
|
1896
|
-
num_of_units: pulumi.Input[int],
|
|
1897
|
-
cpu_per_unit: Optional[pulumi.Input[int]] = None,
|
|
1898
|
-
memory_per_unit: Optional[pulumi.Input[int]] = None):
|
|
1896
|
+
num_of_units: pulumi.Input[_builtins.int],
|
|
1897
|
+
cpu_per_unit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1898
|
+
memory_per_unit: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1899
1899
|
"""
|
|
1900
|
-
:param pulumi.Input[int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1901
|
-
:param pulumi.Input[int] cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1902
|
-
:param pulumi.Input[int] memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1900
|
+
:param pulumi.Input[_builtins.int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1901
|
+
:param pulumi.Input[_builtins.int] cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1902
|
+
:param pulumi.Input[_builtins.int] memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1903
1903
|
"""
|
|
1904
1904
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1905
1905
|
if cpu_per_unit is not None:
|
|
@@ -1907,46 +1907,46 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroomArgs:
|
|
|
1907
1907
|
if memory_per_unit is not None:
|
|
1908
1908
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
1909
1909
|
|
|
1910
|
-
@property
|
|
1910
|
+
@_builtins.property
|
|
1911
1911
|
@pulumi.getter(name="numOfUnits")
|
|
1912
|
-
def num_of_units(self) -> pulumi.Input[int]:
|
|
1912
|
+
def num_of_units(self) -> pulumi.Input[_builtins.int]:
|
|
1913
1913
|
"""
|
|
1914
1914
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1915
1915
|
"""
|
|
1916
1916
|
return pulumi.get(self, "num_of_units")
|
|
1917
1917
|
|
|
1918
1918
|
@num_of_units.setter
|
|
1919
|
-
def num_of_units(self, value: pulumi.Input[int]):
|
|
1919
|
+
def num_of_units(self, value: pulumi.Input[_builtins.int]):
|
|
1920
1920
|
pulumi.set(self, "num_of_units", value)
|
|
1921
1921
|
|
|
1922
|
-
@property
|
|
1922
|
+
@_builtins.property
|
|
1923
1923
|
@pulumi.getter(name="cpuPerUnit")
|
|
1924
|
-
def cpu_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
1924
|
+
def cpu_per_unit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1925
1925
|
"""
|
|
1926
1926
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1927
1927
|
"""
|
|
1928
1928
|
return pulumi.get(self, "cpu_per_unit")
|
|
1929
1929
|
|
|
1930
1930
|
@cpu_per_unit.setter
|
|
1931
|
-
def cpu_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
1931
|
+
def cpu_per_unit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1932
1932
|
pulumi.set(self, "cpu_per_unit", value)
|
|
1933
1933
|
|
|
1934
|
-
@property
|
|
1934
|
+
@_builtins.property
|
|
1935
1935
|
@pulumi.getter(name="memoryPerUnit")
|
|
1936
|
-
def memory_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
1936
|
+
def memory_per_unit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1937
1937
|
"""
|
|
1938
1938
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1939
1939
|
"""
|
|
1940
1940
|
return pulumi.get(self, "memory_per_unit")
|
|
1941
1941
|
|
|
1942
1942
|
@memory_per_unit.setter
|
|
1943
|
-
def memory_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
1943
|
+
def memory_per_unit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1944
1944
|
pulumi.set(self, "memory_per_unit", value)
|
|
1945
1945
|
|
|
1946
1946
|
|
|
1947
1947
|
if not MYPY:
|
|
1948
1948
|
class OceanLaunchSpecStrategyArgsDict(TypedDict):
|
|
1949
|
-
spot_percentage: NotRequired[pulumi.Input[int]]
|
|
1949
|
+
spot_percentage: NotRequired[pulumi.Input[_builtins.int]]
|
|
1950
1950
|
"""
|
|
1951
1951
|
When set, Ocean will proactively try to maintain as close as possible to the percentage of Spot instances out of all the Virtual Node Group instances.
|
|
1952
1952
|
"""
|
|
@@ -1956,33 +1956,33 @@ elif False:
|
|
|
1956
1956
|
@pulumi.input_type
|
|
1957
1957
|
class OceanLaunchSpecStrategyArgs:
|
|
1958
1958
|
def __init__(__self__, *,
|
|
1959
|
-
spot_percentage: Optional[pulumi.Input[int]] = None):
|
|
1959
|
+
spot_percentage: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1960
1960
|
"""
|
|
1961
|
-
:param pulumi.Input[int] spot_percentage: When set, Ocean will proactively try to maintain as close as possible to the percentage of Spot instances out of all the Virtual Node Group instances.
|
|
1961
|
+
:param pulumi.Input[_builtins.int] spot_percentage: When set, Ocean will proactively try to maintain as close as possible to the percentage of Spot instances out of all the Virtual Node Group instances.
|
|
1962
1962
|
"""
|
|
1963
1963
|
if spot_percentage is not None:
|
|
1964
1964
|
pulumi.set(__self__, "spot_percentage", spot_percentage)
|
|
1965
1965
|
|
|
1966
|
-
@property
|
|
1966
|
+
@_builtins.property
|
|
1967
1967
|
@pulumi.getter(name="spotPercentage")
|
|
1968
|
-
def spot_percentage(self) -> Optional[pulumi.Input[int]]:
|
|
1968
|
+
def spot_percentage(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1969
1969
|
"""
|
|
1970
1970
|
When set, Ocean will proactively try to maintain as close as possible to the percentage of Spot instances out of all the Virtual Node Group instances.
|
|
1971
1971
|
"""
|
|
1972
1972
|
return pulumi.get(self, "spot_percentage")
|
|
1973
1973
|
|
|
1974
1974
|
@spot_percentage.setter
|
|
1975
|
-
def spot_percentage(self, value: Optional[pulumi.Input[int]]):
|
|
1975
|
+
def spot_percentage(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1976
1976
|
pulumi.set(self, "spot_percentage", value)
|
|
1977
1977
|
|
|
1978
1978
|
|
|
1979
1979
|
if not MYPY:
|
|
1980
1980
|
class OceanLaunchSpecTagArgsDict(TypedDict):
|
|
1981
|
-
key: pulumi.Input[str]
|
|
1981
|
+
key: pulumi.Input[_builtins.str]
|
|
1982
1982
|
"""
|
|
1983
1983
|
The label key.
|
|
1984
1984
|
"""
|
|
1985
|
-
value: pulumi.Input[str]
|
|
1985
|
+
value: pulumi.Input[_builtins.str]
|
|
1986
1986
|
"""
|
|
1987
1987
|
The label value.
|
|
1988
1988
|
"""
|
|
@@ -1992,37 +1992,37 @@ elif False:
|
|
|
1992
1992
|
@pulumi.input_type
|
|
1993
1993
|
class OceanLaunchSpecTagArgs:
|
|
1994
1994
|
def __init__(__self__, *,
|
|
1995
|
-
key: pulumi.Input[str],
|
|
1996
|
-
value: pulumi.Input[str]):
|
|
1995
|
+
key: pulumi.Input[_builtins.str],
|
|
1996
|
+
value: pulumi.Input[_builtins.str]):
|
|
1997
1997
|
"""
|
|
1998
|
-
:param pulumi.Input[str] key: The label key.
|
|
1999
|
-
:param pulumi.Input[str] value: The label value.
|
|
1998
|
+
:param pulumi.Input[_builtins.str] key: The label key.
|
|
1999
|
+
:param pulumi.Input[_builtins.str] value: The label value.
|
|
2000
2000
|
"""
|
|
2001
2001
|
pulumi.set(__self__, "key", key)
|
|
2002
2002
|
pulumi.set(__self__, "value", value)
|
|
2003
2003
|
|
|
2004
|
-
@property
|
|
2004
|
+
@_builtins.property
|
|
2005
2005
|
@pulumi.getter
|
|
2006
|
-
def key(self) -> pulumi.Input[str]:
|
|
2006
|
+
def key(self) -> pulumi.Input[_builtins.str]:
|
|
2007
2007
|
"""
|
|
2008
2008
|
The label key.
|
|
2009
2009
|
"""
|
|
2010
2010
|
return pulumi.get(self, "key")
|
|
2011
2011
|
|
|
2012
2012
|
@key.setter
|
|
2013
|
-
def key(self, value: pulumi.Input[str]):
|
|
2013
|
+
def key(self, value: pulumi.Input[_builtins.str]):
|
|
2014
2014
|
pulumi.set(self, "key", value)
|
|
2015
2015
|
|
|
2016
|
-
@property
|
|
2016
|
+
@_builtins.property
|
|
2017
2017
|
@pulumi.getter
|
|
2018
|
-
def value(self) -> pulumi.Input[str]:
|
|
2018
|
+
def value(self) -> pulumi.Input[_builtins.str]:
|
|
2019
2019
|
"""
|
|
2020
2020
|
The label value.
|
|
2021
2021
|
"""
|
|
2022
2022
|
return pulumi.get(self, "value")
|
|
2023
2023
|
|
|
2024
2024
|
@value.setter
|
|
2025
|
-
def value(self, value: pulumi.Input[str]):
|
|
2025
|
+
def value(self, value: pulumi.Input[_builtins.str]):
|
|
2026
2026
|
pulumi.set(self, "value", value)
|
|
2027
2027
|
|
|
2028
2028
|
|
|
@@ -2045,7 +2045,7 @@ class OceanLoggingArgs:
|
|
|
2045
2045
|
if export is not None:
|
|
2046
2046
|
pulumi.set(__self__, "export", export)
|
|
2047
2047
|
|
|
2048
|
-
@property
|
|
2048
|
+
@_builtins.property
|
|
2049
2049
|
@pulumi.getter
|
|
2050
2050
|
def export(self) -> Optional[pulumi.Input['OceanLoggingExportArgs']]:
|
|
2051
2051
|
"""
|
|
@@ -2077,7 +2077,7 @@ class OceanLoggingExportArgs:
|
|
|
2077
2077
|
if s3s is not None:
|
|
2078
2078
|
pulumi.set(__self__, "s3s", s3s)
|
|
2079
2079
|
|
|
2080
|
-
@property
|
|
2080
|
+
@_builtins.property
|
|
2081
2081
|
@pulumi.getter
|
|
2082
2082
|
def s3s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLoggingExportS3Args']]]]:
|
|
2083
2083
|
"""
|
|
@@ -2092,7 +2092,7 @@ class OceanLoggingExportArgs:
|
|
|
2092
2092
|
|
|
2093
2093
|
if not MYPY:
|
|
2094
2094
|
class OceanLoggingExportS3ArgsDict(TypedDict):
|
|
2095
|
-
id: pulumi.Input[str]
|
|
2095
|
+
id: pulumi.Input[_builtins.str]
|
|
2096
2096
|
"""
|
|
2097
2097
|
The identifier of The S3 data integration to export the logs to.
|
|
2098
2098
|
"""
|
|
@@ -2102,36 +2102,36 @@ elif False:
|
|
|
2102
2102
|
@pulumi.input_type
|
|
2103
2103
|
class OceanLoggingExportS3Args:
|
|
2104
2104
|
def __init__(__self__, *,
|
|
2105
|
-
id: pulumi.Input[str]):
|
|
2105
|
+
id: pulumi.Input[_builtins.str]):
|
|
2106
2106
|
"""
|
|
2107
|
-
:param pulumi.Input[str] id: The identifier of The S3 data integration to export the logs to.
|
|
2107
|
+
:param pulumi.Input[_builtins.str] id: The identifier of The S3 data integration to export the logs to.
|
|
2108
2108
|
"""
|
|
2109
2109
|
pulumi.set(__self__, "id", id)
|
|
2110
2110
|
|
|
2111
|
-
@property
|
|
2111
|
+
@_builtins.property
|
|
2112
2112
|
@pulumi.getter
|
|
2113
|
-
def id(self) -> pulumi.Input[str]:
|
|
2113
|
+
def id(self) -> pulumi.Input[_builtins.str]:
|
|
2114
2114
|
"""
|
|
2115
2115
|
The identifier of The S3 data integration to export the logs to.
|
|
2116
2116
|
"""
|
|
2117
2117
|
return pulumi.get(self, "id")
|
|
2118
2118
|
|
|
2119
2119
|
@id.setter
|
|
2120
|
-
def id(self, value: pulumi.Input[str]):
|
|
2120
|
+
def id(self, value: pulumi.Input[_builtins.str]):
|
|
2121
2121
|
pulumi.set(self, "id", value)
|
|
2122
2122
|
|
|
2123
2123
|
|
|
2124
2124
|
if not MYPY:
|
|
2125
2125
|
class OceanOptimizeImagesArgsDict(TypedDict):
|
|
2126
|
-
perform_at: pulumi.Input[str]
|
|
2126
|
+
perform_at: pulumi.Input[_builtins.str]
|
|
2127
2127
|
"""
|
|
2128
2128
|
String. Valid values: "always" "never" "timeWindow".
|
|
2129
2129
|
"""
|
|
2130
|
-
should_optimize_ecs_ami: pulumi.Input[bool]
|
|
2130
|
+
should_optimize_ecs_ami: pulumi.Input[_builtins.bool]
|
|
2131
2131
|
"""
|
|
2132
2132
|
Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
2133
2133
|
"""
|
|
2134
|
-
time_windows: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2134
|
+
time_windows: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2135
2135
|
"""
|
|
2136
2136
|
Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
|
|
2137
2137
|
"""
|
|
@@ -2141,53 +2141,53 @@ elif False:
|
|
|
2141
2141
|
@pulumi.input_type
|
|
2142
2142
|
class OceanOptimizeImagesArgs:
|
|
2143
2143
|
def __init__(__self__, *,
|
|
2144
|
-
perform_at: pulumi.Input[str],
|
|
2145
|
-
should_optimize_ecs_ami: pulumi.Input[bool],
|
|
2146
|
-
time_windows: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
2144
|
+
perform_at: pulumi.Input[_builtins.str],
|
|
2145
|
+
should_optimize_ecs_ami: pulumi.Input[_builtins.bool],
|
|
2146
|
+
time_windows: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
2147
2147
|
"""
|
|
2148
|
-
:param pulumi.Input[str] perform_at: String. Valid values: "always" "never" "timeWindow".
|
|
2149
|
-
:param pulumi.Input[bool] should_optimize_ecs_ami: Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
2150
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] time_windows: Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
|
|
2148
|
+
:param pulumi.Input[_builtins.str] perform_at: String. Valid values: "always" "never" "timeWindow".
|
|
2149
|
+
:param pulumi.Input[_builtins.bool] should_optimize_ecs_ami: Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
2150
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] time_windows: Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
|
|
2151
2151
|
"""
|
|
2152
2152
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
2153
2153
|
pulumi.set(__self__, "should_optimize_ecs_ami", should_optimize_ecs_ami)
|
|
2154
2154
|
if time_windows is not None:
|
|
2155
2155
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
2156
2156
|
|
|
2157
|
-
@property
|
|
2157
|
+
@_builtins.property
|
|
2158
2158
|
@pulumi.getter(name="performAt")
|
|
2159
|
-
def perform_at(self) -> pulumi.Input[str]:
|
|
2159
|
+
def perform_at(self) -> pulumi.Input[_builtins.str]:
|
|
2160
2160
|
"""
|
|
2161
2161
|
String. Valid values: "always" "never" "timeWindow".
|
|
2162
2162
|
"""
|
|
2163
2163
|
return pulumi.get(self, "perform_at")
|
|
2164
2164
|
|
|
2165
2165
|
@perform_at.setter
|
|
2166
|
-
def perform_at(self, value: pulumi.Input[str]):
|
|
2166
|
+
def perform_at(self, value: pulumi.Input[_builtins.str]):
|
|
2167
2167
|
pulumi.set(self, "perform_at", value)
|
|
2168
2168
|
|
|
2169
|
-
@property
|
|
2169
|
+
@_builtins.property
|
|
2170
2170
|
@pulumi.getter(name="shouldOptimizeEcsAmi")
|
|
2171
|
-
def should_optimize_ecs_ami(self) -> pulumi.Input[bool]:
|
|
2171
|
+
def should_optimize_ecs_ami(self) -> pulumi.Input[_builtins.bool]:
|
|
2172
2172
|
"""
|
|
2173
2173
|
Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
2174
2174
|
"""
|
|
2175
2175
|
return pulumi.get(self, "should_optimize_ecs_ami")
|
|
2176
2176
|
|
|
2177
2177
|
@should_optimize_ecs_ami.setter
|
|
2178
|
-
def should_optimize_ecs_ami(self, value: pulumi.Input[bool]):
|
|
2178
|
+
def should_optimize_ecs_ami(self, value: pulumi.Input[_builtins.bool]):
|
|
2179
2179
|
pulumi.set(self, "should_optimize_ecs_ami", value)
|
|
2180
2180
|
|
|
2181
|
-
@property
|
|
2181
|
+
@_builtins.property
|
|
2182
2182
|
@pulumi.getter(name="timeWindows")
|
|
2183
|
-
def time_windows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2183
|
+
def time_windows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2184
2184
|
"""
|
|
2185
2185
|
Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
|
|
2186
2186
|
"""
|
|
2187
2187
|
return pulumi.get(self, "time_windows")
|
|
2188
2188
|
|
|
2189
2189
|
@time_windows.setter
|
|
2190
|
-
def time_windows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2190
|
+
def time_windows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2191
2191
|
pulumi.set(self, "time_windows", value)
|
|
2192
2192
|
|
|
2193
2193
|
|
|
@@ -2218,7 +2218,7 @@ class OceanScheduledTaskArgs:
|
|
|
2218
2218
|
if tasks is not None:
|
|
2219
2219
|
pulumi.set(__self__, "tasks", tasks)
|
|
2220
2220
|
|
|
2221
|
-
@property
|
|
2221
|
+
@_builtins.property
|
|
2222
2222
|
@pulumi.getter(name="shutdownHours")
|
|
2223
2223
|
def shutdown_hours(self) -> Optional[pulumi.Input['OceanScheduledTaskShutdownHoursArgs']]:
|
|
2224
2224
|
"""
|
|
@@ -2230,7 +2230,7 @@ class OceanScheduledTaskArgs:
|
|
|
2230
2230
|
def shutdown_hours(self, value: Optional[pulumi.Input['OceanScheduledTaskShutdownHoursArgs']]):
|
|
2231
2231
|
pulumi.set(self, "shutdown_hours", value)
|
|
2232
2232
|
|
|
2233
|
-
@property
|
|
2233
|
+
@_builtins.property
|
|
2234
2234
|
@pulumi.getter
|
|
2235
2235
|
def tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanScheduledTaskTaskArgs']]]]:
|
|
2236
2236
|
"""
|
|
@@ -2245,11 +2245,11 @@ class OceanScheduledTaskArgs:
|
|
|
2245
2245
|
|
|
2246
2246
|
if not MYPY:
|
|
2247
2247
|
class OceanScheduledTaskShutdownHoursArgsDict(TypedDict):
|
|
2248
|
-
time_windows: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
2248
|
+
time_windows: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
2249
2249
|
"""
|
|
2250
2250
|
Set time windows for shutdown hours. Specify a list of `timeWindows` with at least one time window Each string is in the format of `ddd:hh:mm-ddd:hh:mm` (ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59). Time windows should not overlap. Required when `cluster.scheduling.isEnabled` is true. API Times are in UTC. Example: `Fri:15:30-Wed:14:30`.
|
|
2251
2251
|
"""
|
|
2252
|
-
is_enabled: NotRequired[pulumi.Input[bool]]
|
|
2252
|
+
is_enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
|
2253
2253
|
"""
|
|
2254
2254
|
Flag to enable / disable the shutdown hours.
|
|
2255
2255
|
"""
|
|
@@ -2259,52 +2259,52 @@ elif False:
|
|
|
2259
2259
|
@pulumi.input_type
|
|
2260
2260
|
class OceanScheduledTaskShutdownHoursArgs:
|
|
2261
2261
|
def __init__(__self__, *,
|
|
2262
|
-
time_windows: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
2263
|
-
is_enabled: Optional[pulumi.Input[bool]] = None):
|
|
2262
|
+
time_windows: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
2263
|
+
is_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
2264
2264
|
"""
|
|
2265
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] time_windows: Set time windows for shutdown hours. Specify a list of `timeWindows` with at least one time window Each string is in the format of `ddd:hh:mm-ddd:hh:mm` (ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59). Time windows should not overlap. Required when `cluster.scheduling.isEnabled` is true. API Times are in UTC. Example: `Fri:15:30-Wed:14:30`.
|
|
2266
|
-
:param pulumi.Input[bool] is_enabled: Flag to enable / disable the shutdown hours.
|
|
2265
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] time_windows: Set time windows for shutdown hours. Specify a list of `timeWindows` with at least one time window Each string is in the format of `ddd:hh:mm-ddd:hh:mm` (ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59). Time windows should not overlap. Required when `cluster.scheduling.isEnabled` is true. API Times are in UTC. Example: `Fri:15:30-Wed:14:30`.
|
|
2266
|
+
:param pulumi.Input[_builtins.bool] is_enabled: Flag to enable / disable the shutdown hours.
|
|
2267
2267
|
"""
|
|
2268
2268
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
2269
2269
|
if is_enabled is not None:
|
|
2270
2270
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
2271
2271
|
|
|
2272
|
-
@property
|
|
2272
|
+
@_builtins.property
|
|
2273
2273
|
@pulumi.getter(name="timeWindows")
|
|
2274
|
-
def time_windows(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
2274
|
+
def time_windows(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
2275
2275
|
"""
|
|
2276
2276
|
Set time windows for shutdown hours. Specify a list of `timeWindows` with at least one time window Each string is in the format of `ddd:hh:mm-ddd:hh:mm` (ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59). Time windows should not overlap. Required when `cluster.scheduling.isEnabled` is true. API Times are in UTC. Example: `Fri:15:30-Wed:14:30`.
|
|
2277
2277
|
"""
|
|
2278
2278
|
return pulumi.get(self, "time_windows")
|
|
2279
2279
|
|
|
2280
2280
|
@time_windows.setter
|
|
2281
|
-
def time_windows(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
2281
|
+
def time_windows(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
2282
2282
|
pulumi.set(self, "time_windows", value)
|
|
2283
2283
|
|
|
2284
|
-
@property
|
|
2284
|
+
@_builtins.property
|
|
2285
2285
|
@pulumi.getter(name="isEnabled")
|
|
2286
|
-
def is_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2286
|
+
def is_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2287
2287
|
"""
|
|
2288
2288
|
Flag to enable / disable the shutdown hours.
|
|
2289
2289
|
"""
|
|
2290
2290
|
return pulumi.get(self, "is_enabled")
|
|
2291
2291
|
|
|
2292
2292
|
@is_enabled.setter
|
|
2293
|
-
def is_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2293
|
+
def is_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
2294
2294
|
pulumi.set(self, "is_enabled", value)
|
|
2295
2295
|
|
|
2296
2296
|
|
|
2297
2297
|
if not MYPY:
|
|
2298
2298
|
class OceanScheduledTaskTaskArgsDict(TypedDict):
|
|
2299
|
-
cron_expression: pulumi.Input[str]
|
|
2299
|
+
cron_expression: pulumi.Input[_builtins.str]
|
|
2300
2300
|
"""
|
|
2301
2301
|
A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of `frequency` or `cronExpression` should be used at a time. Required for `cluster.scheduling.tasks` object. Example: `0 1 * * *`.
|
|
2302
2302
|
"""
|
|
2303
|
-
is_enabled: pulumi.Input[bool]
|
|
2303
|
+
is_enabled: pulumi.Input[_builtins.bool]
|
|
2304
2304
|
"""
|
|
2305
2305
|
Describes whether the task is enabled. When true the task should run when false it should not run. Required for `cluster.scheduling.tasks` object.
|
|
2306
2306
|
"""
|
|
2307
|
-
task_type: pulumi.Input[str]
|
|
2307
|
+
task_type: pulumi.Input[_builtins.str]
|
|
2308
2308
|
"""
|
|
2309
2309
|
Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
2310
2310
|
"""
|
|
@@ -2314,62 +2314,62 @@ elif False:
|
|
|
2314
2314
|
@pulumi.input_type
|
|
2315
2315
|
class OceanScheduledTaskTaskArgs:
|
|
2316
2316
|
def __init__(__self__, *,
|
|
2317
|
-
cron_expression: pulumi.Input[str],
|
|
2318
|
-
is_enabled: pulumi.Input[bool],
|
|
2319
|
-
task_type: pulumi.Input[str]):
|
|
2317
|
+
cron_expression: pulumi.Input[_builtins.str],
|
|
2318
|
+
is_enabled: pulumi.Input[_builtins.bool],
|
|
2319
|
+
task_type: pulumi.Input[_builtins.str]):
|
|
2320
2320
|
"""
|
|
2321
|
-
:param pulumi.Input[str] cron_expression: A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of `frequency` or `cronExpression` should be used at a time. Required for `cluster.scheduling.tasks` object. Example: `0 1 * * *`.
|
|
2322
|
-
:param pulumi.Input[bool] is_enabled: Describes whether the task is enabled. When true the task should run when false it should not run. Required for `cluster.scheduling.tasks` object.
|
|
2323
|
-
:param pulumi.Input[str] task_type: Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
2321
|
+
:param pulumi.Input[_builtins.str] cron_expression: A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of `frequency` or `cronExpression` should be used at a time. Required for `cluster.scheduling.tasks` object. Example: `0 1 * * *`.
|
|
2322
|
+
:param pulumi.Input[_builtins.bool] is_enabled: Describes whether the task is enabled. When true the task should run when false it should not run. Required for `cluster.scheduling.tasks` object.
|
|
2323
|
+
:param pulumi.Input[_builtins.str] task_type: Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
2324
2324
|
"""
|
|
2325
2325
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
2326
2326
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
2327
2327
|
pulumi.set(__self__, "task_type", task_type)
|
|
2328
2328
|
|
|
2329
|
-
@property
|
|
2329
|
+
@_builtins.property
|
|
2330
2330
|
@pulumi.getter(name="cronExpression")
|
|
2331
|
-
def cron_expression(self) -> pulumi.Input[str]:
|
|
2331
|
+
def cron_expression(self) -> pulumi.Input[_builtins.str]:
|
|
2332
2332
|
"""
|
|
2333
2333
|
A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of `frequency` or `cronExpression` should be used at a time. Required for `cluster.scheduling.tasks` object. Example: `0 1 * * *`.
|
|
2334
2334
|
"""
|
|
2335
2335
|
return pulumi.get(self, "cron_expression")
|
|
2336
2336
|
|
|
2337
2337
|
@cron_expression.setter
|
|
2338
|
-
def cron_expression(self, value: pulumi.Input[str]):
|
|
2338
|
+
def cron_expression(self, value: pulumi.Input[_builtins.str]):
|
|
2339
2339
|
pulumi.set(self, "cron_expression", value)
|
|
2340
2340
|
|
|
2341
|
-
@property
|
|
2341
|
+
@_builtins.property
|
|
2342
2342
|
@pulumi.getter(name="isEnabled")
|
|
2343
|
-
def is_enabled(self) -> pulumi.Input[bool]:
|
|
2343
|
+
def is_enabled(self) -> pulumi.Input[_builtins.bool]:
|
|
2344
2344
|
"""
|
|
2345
2345
|
Describes whether the task is enabled. When true the task should run when false it should not run. Required for `cluster.scheduling.tasks` object.
|
|
2346
2346
|
"""
|
|
2347
2347
|
return pulumi.get(self, "is_enabled")
|
|
2348
2348
|
|
|
2349
2349
|
@is_enabled.setter
|
|
2350
|
-
def is_enabled(self, value: pulumi.Input[bool]):
|
|
2350
|
+
def is_enabled(self, value: pulumi.Input[_builtins.bool]):
|
|
2351
2351
|
pulumi.set(self, "is_enabled", value)
|
|
2352
2352
|
|
|
2353
|
-
@property
|
|
2353
|
+
@_builtins.property
|
|
2354
2354
|
@pulumi.getter(name="taskType")
|
|
2355
|
-
def task_type(self) -> pulumi.Input[str]:
|
|
2355
|
+
def task_type(self) -> pulumi.Input[_builtins.str]:
|
|
2356
2356
|
"""
|
|
2357
2357
|
Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
2358
2358
|
"""
|
|
2359
2359
|
return pulumi.get(self, "task_type")
|
|
2360
2360
|
|
|
2361
2361
|
@task_type.setter
|
|
2362
|
-
def task_type(self, value: pulumi.Input[str]):
|
|
2362
|
+
def task_type(self, value: pulumi.Input[_builtins.str]):
|
|
2363
2363
|
pulumi.set(self, "task_type", value)
|
|
2364
2364
|
|
|
2365
2365
|
|
|
2366
2366
|
if not MYPY:
|
|
2367
2367
|
class OceanTagArgsDict(TypedDict):
|
|
2368
|
-
key: pulumi.Input[str]
|
|
2368
|
+
key: pulumi.Input[_builtins.str]
|
|
2369
2369
|
"""
|
|
2370
2370
|
The tag key.
|
|
2371
2371
|
"""
|
|
2372
|
-
value: pulumi.Input[str]
|
|
2372
|
+
value: pulumi.Input[_builtins.str]
|
|
2373
2373
|
"""
|
|
2374
2374
|
The tag value.
|
|
2375
2375
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
@@ -2380,31 +2380,31 @@ elif False:
|
|
|
2380
2380
|
@pulumi.input_type
|
|
2381
2381
|
class OceanTagArgs:
|
|
2382
2382
|
def __init__(__self__, *,
|
|
2383
|
-
key: pulumi.Input[str],
|
|
2384
|
-
value: pulumi.Input[str]):
|
|
2383
|
+
key: pulumi.Input[_builtins.str],
|
|
2384
|
+
value: pulumi.Input[_builtins.str]):
|
|
2385
2385
|
"""
|
|
2386
|
-
:param pulumi.Input[str] key: The tag key.
|
|
2387
|
-
:param pulumi.Input[str] value: The tag value.
|
|
2386
|
+
:param pulumi.Input[_builtins.str] key: The tag key.
|
|
2387
|
+
:param pulumi.Input[_builtins.str] value: The tag value.
|
|
2388
2388
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
2389
2389
|
"""
|
|
2390
2390
|
pulumi.set(__self__, "key", key)
|
|
2391
2391
|
pulumi.set(__self__, "value", value)
|
|
2392
2392
|
|
|
2393
|
-
@property
|
|
2393
|
+
@_builtins.property
|
|
2394
2394
|
@pulumi.getter
|
|
2395
|
-
def key(self) -> pulumi.Input[str]:
|
|
2395
|
+
def key(self) -> pulumi.Input[_builtins.str]:
|
|
2396
2396
|
"""
|
|
2397
2397
|
The tag key.
|
|
2398
2398
|
"""
|
|
2399
2399
|
return pulumi.get(self, "key")
|
|
2400
2400
|
|
|
2401
2401
|
@key.setter
|
|
2402
|
-
def key(self, value: pulumi.Input[str]):
|
|
2402
|
+
def key(self, value: pulumi.Input[_builtins.str]):
|
|
2403
2403
|
pulumi.set(self, "key", value)
|
|
2404
2404
|
|
|
2405
|
-
@property
|
|
2405
|
+
@_builtins.property
|
|
2406
2406
|
@pulumi.getter
|
|
2407
|
-
def value(self) -> pulumi.Input[str]:
|
|
2407
|
+
def value(self) -> pulumi.Input[_builtins.str]:
|
|
2408
2408
|
"""
|
|
2409
2409
|
The tag value.
|
|
2410
2410
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
@@ -2412,21 +2412,21 @@ class OceanTagArgs:
|
|
|
2412
2412
|
return pulumi.get(self, "value")
|
|
2413
2413
|
|
|
2414
2414
|
@value.setter
|
|
2415
|
-
def value(self, value: pulumi.Input[str]):
|
|
2415
|
+
def value(self, value: pulumi.Input[_builtins.str]):
|
|
2416
2416
|
pulumi.set(self, "value", value)
|
|
2417
2417
|
|
|
2418
2418
|
|
|
2419
2419
|
if not MYPY:
|
|
2420
2420
|
class OceanUpdatePolicyArgsDict(TypedDict):
|
|
2421
|
-
should_roll: pulumi.Input[bool]
|
|
2421
|
+
should_roll: pulumi.Input[_builtins.bool]
|
|
2422
2422
|
"""
|
|
2423
2423
|
Enables the roll.
|
|
2424
2424
|
"""
|
|
2425
|
-
auto_apply_tags: NotRequired[pulumi.Input[bool]]
|
|
2425
|
+
auto_apply_tags: NotRequired[pulumi.Input[_builtins.bool]]
|
|
2426
2426
|
"""
|
|
2427
2427
|
will update instance tags on the fly without rolling the cluster.
|
|
2428
2428
|
"""
|
|
2429
|
-
conditioned_roll: NotRequired[pulumi.Input[bool]]
|
|
2429
|
+
conditioned_roll: NotRequired[pulumi.Input[_builtins.bool]]
|
|
2430
2430
|
"""
|
|
2431
2431
|
Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2432
2432
|
"""
|
|
@@ -2437,14 +2437,14 @@ elif False:
|
|
|
2437
2437
|
@pulumi.input_type
|
|
2438
2438
|
class OceanUpdatePolicyArgs:
|
|
2439
2439
|
def __init__(__self__, *,
|
|
2440
|
-
should_roll: pulumi.Input[bool],
|
|
2441
|
-
auto_apply_tags: Optional[pulumi.Input[bool]] = None,
|
|
2442
|
-
conditioned_roll: Optional[pulumi.Input[bool]] = None,
|
|
2440
|
+
should_roll: pulumi.Input[_builtins.bool],
|
|
2441
|
+
auto_apply_tags: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2442
|
+
conditioned_roll: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2443
2443
|
roll_config: Optional[pulumi.Input['OceanUpdatePolicyRollConfigArgs']] = None):
|
|
2444
2444
|
"""
|
|
2445
|
-
:param pulumi.Input[bool] should_roll: Enables the roll.
|
|
2446
|
-
:param pulumi.Input[bool] auto_apply_tags: will update instance tags on the fly without rolling the cluster.
|
|
2447
|
-
:param pulumi.Input[bool] conditioned_roll: Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2445
|
+
:param pulumi.Input[_builtins.bool] should_roll: Enables the roll.
|
|
2446
|
+
:param pulumi.Input[_builtins.bool] auto_apply_tags: will update instance tags on the fly without rolling the cluster.
|
|
2447
|
+
:param pulumi.Input[_builtins.bool] conditioned_roll: Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2448
2448
|
"""
|
|
2449
2449
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
2450
2450
|
if auto_apply_tags is not None:
|
|
@@ -2454,43 +2454,43 @@ class OceanUpdatePolicyArgs:
|
|
|
2454
2454
|
if roll_config is not None:
|
|
2455
2455
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
2456
2456
|
|
|
2457
|
-
@property
|
|
2457
|
+
@_builtins.property
|
|
2458
2458
|
@pulumi.getter(name="shouldRoll")
|
|
2459
|
-
def should_roll(self) -> pulumi.Input[bool]:
|
|
2459
|
+
def should_roll(self) -> pulumi.Input[_builtins.bool]:
|
|
2460
2460
|
"""
|
|
2461
2461
|
Enables the roll.
|
|
2462
2462
|
"""
|
|
2463
2463
|
return pulumi.get(self, "should_roll")
|
|
2464
2464
|
|
|
2465
2465
|
@should_roll.setter
|
|
2466
|
-
def should_roll(self, value: pulumi.Input[bool]):
|
|
2466
|
+
def should_roll(self, value: pulumi.Input[_builtins.bool]):
|
|
2467
2467
|
pulumi.set(self, "should_roll", value)
|
|
2468
2468
|
|
|
2469
|
-
@property
|
|
2469
|
+
@_builtins.property
|
|
2470
2470
|
@pulumi.getter(name="autoApplyTags")
|
|
2471
|
-
def auto_apply_tags(self) -> Optional[pulumi.Input[bool]]:
|
|
2471
|
+
def auto_apply_tags(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2472
2472
|
"""
|
|
2473
2473
|
will update instance tags on the fly without rolling the cluster.
|
|
2474
2474
|
"""
|
|
2475
2475
|
return pulumi.get(self, "auto_apply_tags")
|
|
2476
2476
|
|
|
2477
2477
|
@auto_apply_tags.setter
|
|
2478
|
-
def auto_apply_tags(self, value: Optional[pulumi.Input[bool]]):
|
|
2478
|
+
def auto_apply_tags(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
2479
2479
|
pulumi.set(self, "auto_apply_tags", value)
|
|
2480
2480
|
|
|
2481
|
-
@property
|
|
2481
|
+
@_builtins.property
|
|
2482
2482
|
@pulumi.getter(name="conditionedRoll")
|
|
2483
|
-
def conditioned_roll(self) -> Optional[pulumi.Input[bool]]:
|
|
2483
|
+
def conditioned_roll(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2484
2484
|
"""
|
|
2485
2485
|
Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2486
2486
|
"""
|
|
2487
2487
|
return pulumi.get(self, "conditioned_roll")
|
|
2488
2488
|
|
|
2489
2489
|
@conditioned_roll.setter
|
|
2490
|
-
def conditioned_roll(self, value: Optional[pulumi.Input[bool]]):
|
|
2490
|
+
def conditioned_roll(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
2491
2491
|
pulumi.set(self, "conditioned_roll", value)
|
|
2492
2492
|
|
|
2493
|
-
@property
|
|
2493
|
+
@_builtins.property
|
|
2494
2494
|
@pulumi.getter(name="rollConfig")
|
|
2495
2495
|
def roll_config(self) -> Optional[pulumi.Input['OceanUpdatePolicyRollConfigArgs']]:
|
|
2496
2496
|
return pulumi.get(self, "roll_config")
|
|
@@ -2502,11 +2502,11 @@ class OceanUpdatePolicyArgs:
|
|
|
2502
2502
|
|
|
2503
2503
|
if not MYPY:
|
|
2504
2504
|
class OceanUpdatePolicyRollConfigArgsDict(TypedDict):
|
|
2505
|
-
batch_size_percentage: pulumi.Input[int]
|
|
2505
|
+
batch_size_percentage: pulumi.Input[_builtins.int]
|
|
2506
2506
|
"""
|
|
2507
2507
|
Sets the percentage of the instances to deploy in each batch.
|
|
2508
2508
|
"""
|
|
2509
|
-
batch_min_healthy_percentage: NotRequired[pulumi.Input[int]]
|
|
2509
|
+
batch_min_healthy_percentage: NotRequired[pulumi.Input[_builtins.int]]
|
|
2510
2510
|
"""
|
|
2511
2511
|
Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2512
2512
|
"""
|
|
@@ -2516,38 +2516,38 @@ elif False:
|
|
|
2516
2516
|
@pulumi.input_type
|
|
2517
2517
|
class OceanUpdatePolicyRollConfigArgs:
|
|
2518
2518
|
def __init__(__self__, *,
|
|
2519
|
-
batch_size_percentage: pulumi.Input[int],
|
|
2520
|
-
batch_min_healthy_percentage: Optional[pulumi.Input[int]] = None):
|
|
2519
|
+
batch_size_percentage: pulumi.Input[_builtins.int],
|
|
2520
|
+
batch_min_healthy_percentage: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2521
2521
|
"""
|
|
2522
|
-
:param pulumi.Input[int] batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2523
|
-
:param pulumi.Input[int] batch_min_healthy_percentage: Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2522
|
+
:param pulumi.Input[_builtins.int] batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2523
|
+
:param pulumi.Input[_builtins.int] batch_min_healthy_percentage: Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2524
2524
|
"""
|
|
2525
2525
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
2526
2526
|
if batch_min_healthy_percentage is not None:
|
|
2527
2527
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
2528
2528
|
|
|
2529
|
-
@property
|
|
2529
|
+
@_builtins.property
|
|
2530
2530
|
@pulumi.getter(name="batchSizePercentage")
|
|
2531
|
-
def batch_size_percentage(self) -> pulumi.Input[int]:
|
|
2531
|
+
def batch_size_percentage(self) -> pulumi.Input[_builtins.int]:
|
|
2532
2532
|
"""
|
|
2533
2533
|
Sets the percentage of the instances to deploy in each batch.
|
|
2534
2534
|
"""
|
|
2535
2535
|
return pulumi.get(self, "batch_size_percentage")
|
|
2536
2536
|
|
|
2537
2537
|
@batch_size_percentage.setter
|
|
2538
|
-
def batch_size_percentage(self, value: pulumi.Input[int]):
|
|
2538
|
+
def batch_size_percentage(self, value: pulumi.Input[_builtins.int]):
|
|
2539
2539
|
pulumi.set(self, "batch_size_percentage", value)
|
|
2540
2540
|
|
|
2541
|
-
@property
|
|
2541
|
+
@_builtins.property
|
|
2542
2542
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
2543
|
-
def batch_min_healthy_percentage(self) -> Optional[pulumi.Input[int]]:
|
|
2543
|
+
def batch_min_healthy_percentage(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2544
2544
|
"""
|
|
2545
2545
|
Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2546
2546
|
"""
|
|
2547
2547
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
2548
2548
|
|
|
2549
2549
|
@batch_min_healthy_percentage.setter
|
|
2550
|
-
def batch_min_healthy_percentage(self, value: Optional[pulumi.Input[int]]):
|
|
2550
|
+
def batch_min_healthy_percentage(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2551
2551
|
pulumi.set(self, "batch_min_healthy_percentage", value)
|
|
2552
2552
|
|
|
2553
2553
|
|