pulumi-spotinst 3.83.0a1720524486__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 +38 -1
- pulumi_spotinst/_inputs.py +4082 -846
- pulumi_spotinst/_utilities.py +15 -10
- pulumi_spotinst/account.py +171 -0
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +7292 -2871
- pulumi_spotinst/aws/account.py +25 -19
- pulumi_spotinst/aws/beanstalk.py +272 -190
- pulumi_spotinst/aws/credentials.py +42 -36
- pulumi_spotinst/aws/elastigroup.py +1321 -1176
- pulumi_spotinst/aws/managed_instance.py +633 -526
- pulumi_spotinst/aws/mr_scalar.py +827 -983
- pulumi_spotinst/aws/ocean.py +764 -570
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +42 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +580 -366
- pulumi_spotinst/aws/outputs.py +3421 -2205
- pulumi_spotinst/aws/suspension.py +51 -45
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +1492 -434
- pulumi_spotinst/azure/ocean_np.py +518 -464
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +479 -408
- pulumi_spotinst/azure/outputs.py +840 -345
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +7 -2
- pulumi_spotinst/config/vars.py +11 -6
- pulumi_spotinst/credentials_azure.py +423 -0
- pulumi_spotinst/credentials_gcp.py +632 -0
- pulumi_spotinst/data_integration.py +58 -52
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +1164 -469
- pulumi_spotinst/ecs/ocean.py +711 -446
- pulumi_spotinst/ecs/ocean_launch_spec.py +367 -341
- pulumi_spotinst/ecs/outputs.py +463 -374
- pulumi_spotinst/elastigroup_azure_v3.py +985 -197
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +1061 -381
- pulumi_spotinst/gcp/elastigroup.py +885 -567
- pulumi_spotinst/gcp/outputs.py +542 -301
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +2071 -715
- pulumi_spotinst/gke/elastigroup.py +558 -382
- pulumi_spotinst/gke/ocean_import.py +379 -255
- pulumi_spotinst/gke/ocean_launch_spec.py +501 -384
- pulumi_spotinst/gke/ocean_launch_spec_import.py +42 -36
- pulumi_spotinst/gke/outputs.py +1063 -528
- pulumi_spotinst/health_check.py +116 -70
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +515 -95
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +1709 -651
- pulumi_spotinst/oceancd/outputs.py +537 -526
- pulumi_spotinst/oceancd/rollout_spec.py +65 -59
- pulumi_spotinst/oceancd/strategy.py +37 -31
- pulumi_spotinst/oceancd/verification_provider.py +128 -122
- pulumi_spotinst/oceancd/verification_template.py +265 -259
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +151 -57
- pulumi_spotinst/organization/outputs.py +51 -46
- pulumi_spotinst/organization/policy.py +76 -70
- pulumi_spotinst/organization/programmatic_user.py +83 -77
- pulumi_spotinst/organization/user.py +126 -120
- pulumi_spotinst/organization/user_group.py +75 -69
- pulumi_spotinst/outputs.py +3005 -832
- pulumi_spotinst/provider.py +66 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +290 -81
- pulumi_spotinst/spark/ocean.py +169 -115
- pulumi_spotinst/spark/ocean_virtual_node_group.py +34 -28
- pulumi_spotinst/spark/outputs.py +136 -66
- pulumi_spotinst/stateful_node_azure.py +820 -784
- pulumi_spotinst/subscription.py +93 -87
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +7 -6
- pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.83.0a1720524486.dist-info/RECORD +0 -73
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
pulumi_spotinst/ecs/outputs.py
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
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
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -74,25 +79,25 @@ class OceanAutoscaler(dict):
|
|
|
74
79
|
return super().get(key, default)
|
|
75
80
|
|
|
76
81
|
def __init__(__self__, *,
|
|
77
|
-
auto_headroom_percentage: Optional[int] = None,
|
|
78
|
-
cooldown: Optional[int] = None,
|
|
82
|
+
auto_headroom_percentage: Optional[_builtins.int] = None,
|
|
83
|
+
cooldown: Optional[_builtins.int] = None,
|
|
79
84
|
down: Optional['outputs.OceanAutoscalerDown'] = None,
|
|
80
|
-
enable_automatic_and_manual_headroom: Optional[bool] = None,
|
|
85
|
+
enable_automatic_and_manual_headroom: Optional[_builtins.bool] = None,
|
|
81
86
|
headroom: Optional['outputs.OceanAutoscalerHeadroom'] = None,
|
|
82
|
-
is_auto_config: Optional[bool] = None,
|
|
83
|
-
is_enabled: Optional[bool] = None,
|
|
87
|
+
is_auto_config: Optional[_builtins.bool] = None,
|
|
88
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
84
89
|
resource_limits: Optional['outputs.OceanAutoscalerResourceLimits'] = None,
|
|
85
|
-
should_scale_down_non_service_tasks: Optional[bool] = None):
|
|
90
|
+
should_scale_down_non_service_tasks: Optional[_builtins.bool] = None):
|
|
86
91
|
"""
|
|
87
|
-
:param 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.
|
|
88
|
-
:param int cooldown: Cooldown period between scaling actions.
|
|
92
|
+
:param _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.
|
|
93
|
+
:param _builtins.int cooldown: Cooldown period between scaling actions.
|
|
89
94
|
:param 'OceanAutoscalerDownArgs' down: Auto Scaling scale down operations.
|
|
90
|
-
:param 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
|
|
95
|
+
:param _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
|
|
91
96
|
:param 'OceanAutoscalerHeadroomArgs' headroom: Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
|
|
92
|
-
:param bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
93
|
-
:param bool is_enabled: Enable the Ocean ECS autoscaler.
|
|
97
|
+
:param _builtins.bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
98
|
+
:param _builtins.bool is_enabled: Enable the Ocean ECS autoscaler.
|
|
94
99
|
:param 'OceanAutoscalerResourceLimitsArgs' resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
95
|
-
:param bool should_scale_down_non_service_tasks: Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
100
|
+
:param _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.
|
|
96
101
|
"""
|
|
97
102
|
if auto_headroom_percentage is not None:
|
|
98
103
|
pulumi.set(__self__, "auto_headroom_percentage", auto_headroom_percentage)
|
|
@@ -113,23 +118,23 @@ class OceanAutoscaler(dict):
|
|
|
113
118
|
if should_scale_down_non_service_tasks is not None:
|
|
114
119
|
pulumi.set(__self__, "should_scale_down_non_service_tasks", should_scale_down_non_service_tasks)
|
|
115
120
|
|
|
116
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
117
122
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
118
|
-
def auto_headroom_percentage(self) -> Optional[int]:
|
|
123
|
+
def auto_headroom_percentage(self) -> Optional[_builtins.int]:
|
|
119
124
|
"""
|
|
120
125
|
The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
121
126
|
"""
|
|
122
127
|
return pulumi.get(self, "auto_headroom_percentage")
|
|
123
128
|
|
|
124
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
125
130
|
@pulumi.getter
|
|
126
|
-
def cooldown(self) -> Optional[int]:
|
|
131
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
127
132
|
"""
|
|
128
133
|
Cooldown period between scaling actions.
|
|
129
134
|
"""
|
|
130
135
|
return pulumi.get(self, "cooldown")
|
|
131
136
|
|
|
132
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
133
138
|
@pulumi.getter
|
|
134
139
|
def down(self) -> Optional['outputs.OceanAutoscalerDown']:
|
|
135
140
|
"""
|
|
@@ -137,15 +142,15 @@ class OceanAutoscaler(dict):
|
|
|
137
142
|
"""
|
|
138
143
|
return pulumi.get(self, "down")
|
|
139
144
|
|
|
140
|
-
@property
|
|
145
|
+
@_builtins.property
|
|
141
146
|
@pulumi.getter(name="enableAutomaticAndManualHeadroom")
|
|
142
|
-
def enable_automatic_and_manual_headroom(self) -> Optional[bool]:
|
|
147
|
+
def enable_automatic_and_manual_headroom(self) -> Optional[_builtins.bool]:
|
|
143
148
|
"""
|
|
144
149
|
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
|
|
145
150
|
"""
|
|
146
151
|
return pulumi.get(self, "enable_automatic_and_manual_headroom")
|
|
147
152
|
|
|
148
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
149
154
|
@pulumi.getter
|
|
150
155
|
def headroom(self) -> Optional['outputs.OceanAutoscalerHeadroom']:
|
|
151
156
|
"""
|
|
@@ -153,23 +158,23 @@ class OceanAutoscaler(dict):
|
|
|
153
158
|
"""
|
|
154
159
|
return pulumi.get(self, "headroom")
|
|
155
160
|
|
|
156
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
157
162
|
@pulumi.getter(name="isAutoConfig")
|
|
158
|
-
def is_auto_config(self) -> Optional[bool]:
|
|
163
|
+
def is_auto_config(self) -> Optional[_builtins.bool]:
|
|
159
164
|
"""
|
|
160
165
|
Automatically configure and optimize headroom resources.
|
|
161
166
|
"""
|
|
162
167
|
return pulumi.get(self, "is_auto_config")
|
|
163
168
|
|
|
164
|
-
@property
|
|
169
|
+
@_builtins.property
|
|
165
170
|
@pulumi.getter(name="isEnabled")
|
|
166
|
-
def is_enabled(self) -> Optional[bool]:
|
|
171
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
167
172
|
"""
|
|
168
173
|
Enable the Ocean ECS autoscaler.
|
|
169
174
|
"""
|
|
170
175
|
return pulumi.get(self, "is_enabled")
|
|
171
176
|
|
|
172
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
173
178
|
@pulumi.getter(name="resourceLimits")
|
|
174
179
|
def resource_limits(self) -> Optional['outputs.OceanAutoscalerResourceLimits']:
|
|
175
180
|
"""
|
|
@@ -177,9 +182,9 @@ class OceanAutoscaler(dict):
|
|
|
177
182
|
"""
|
|
178
183
|
return pulumi.get(self, "resource_limits")
|
|
179
184
|
|
|
180
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
181
186
|
@pulumi.getter(name="shouldScaleDownNonServiceTasks")
|
|
182
|
-
def should_scale_down_non_service_tasks(self) -> Optional[bool]:
|
|
187
|
+
def should_scale_down_non_service_tasks(self) -> Optional[_builtins.bool]:
|
|
183
188
|
"""
|
|
184
189
|
Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
185
190
|
"""
|
|
@@ -206,16 +211,16 @@ class OceanAutoscalerDown(dict):
|
|
|
206
211
|
return super().get(key, default)
|
|
207
212
|
|
|
208
213
|
def __init__(__self__, *,
|
|
209
|
-
max_scale_down_percentage: Optional[float] = None):
|
|
214
|
+
max_scale_down_percentage: Optional[_builtins.float] = None):
|
|
210
215
|
"""
|
|
211
|
-
:param float max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
216
|
+
:param _builtins.float max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
212
217
|
"""
|
|
213
218
|
if max_scale_down_percentage is not None:
|
|
214
219
|
pulumi.set(__self__, "max_scale_down_percentage", max_scale_down_percentage)
|
|
215
220
|
|
|
216
|
-
@property
|
|
221
|
+
@_builtins.property
|
|
217
222
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
218
|
-
def max_scale_down_percentage(self) -> Optional[float]:
|
|
223
|
+
def max_scale_down_percentage(self) -> Optional[_builtins.float]:
|
|
219
224
|
"""
|
|
220
225
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
221
226
|
"""
|
|
@@ -246,13 +251,13 @@ class OceanAutoscalerHeadroom(dict):
|
|
|
246
251
|
return super().get(key, default)
|
|
247
252
|
|
|
248
253
|
def __init__(__self__, *,
|
|
249
|
-
cpu_per_unit: Optional[int] = None,
|
|
250
|
-
memory_per_unit: Optional[int] = None,
|
|
251
|
-
num_of_units: Optional[int] = None):
|
|
254
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
255
|
+
memory_per_unit: Optional[_builtins.int] = None,
|
|
256
|
+
num_of_units: Optional[_builtins.int] = None):
|
|
252
257
|
"""
|
|
253
|
-
:param int cpu_per_unit: Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
254
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
255
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
258
|
+
:param _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.
|
|
259
|
+
:param _builtins.int memory_per_unit: Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
260
|
+
:param _builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
256
261
|
"""
|
|
257
262
|
if cpu_per_unit is not None:
|
|
258
263
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -261,25 +266,25 @@ class OceanAutoscalerHeadroom(dict):
|
|
|
261
266
|
if num_of_units is not None:
|
|
262
267
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
263
268
|
|
|
264
|
-
@property
|
|
269
|
+
@_builtins.property
|
|
265
270
|
@pulumi.getter(name="cpuPerUnit")
|
|
266
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
271
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
267
272
|
"""
|
|
268
273
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
269
274
|
"""
|
|
270
275
|
return pulumi.get(self, "cpu_per_unit")
|
|
271
276
|
|
|
272
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
273
278
|
@pulumi.getter(name="memoryPerUnit")
|
|
274
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
279
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
275
280
|
"""
|
|
276
281
|
Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
277
282
|
"""
|
|
278
283
|
return pulumi.get(self, "memory_per_unit")
|
|
279
284
|
|
|
280
|
-
@property
|
|
285
|
+
@_builtins.property
|
|
281
286
|
@pulumi.getter(name="numOfUnits")
|
|
282
|
-
def num_of_units(self) -> Optional[int]:
|
|
287
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
283
288
|
"""
|
|
284
289
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
285
290
|
"""
|
|
@@ -308,28 +313,28 @@ class OceanAutoscalerResourceLimits(dict):
|
|
|
308
313
|
return super().get(key, default)
|
|
309
314
|
|
|
310
315
|
def __init__(__self__, *,
|
|
311
|
-
max_memory_gib: Optional[int] = None,
|
|
312
|
-
max_vcpu: Optional[int] = None):
|
|
316
|
+
max_memory_gib: Optional[_builtins.int] = None,
|
|
317
|
+
max_vcpu: Optional[_builtins.int] = None):
|
|
313
318
|
"""
|
|
314
|
-
:param int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
315
|
-
:param int max_vcpu: The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
319
|
+
:param _builtins.int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
320
|
+
:param _builtins.int max_vcpu: The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
316
321
|
"""
|
|
317
322
|
if max_memory_gib is not None:
|
|
318
323
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
319
324
|
if max_vcpu is not None:
|
|
320
325
|
pulumi.set(__self__, "max_vcpu", max_vcpu)
|
|
321
326
|
|
|
322
|
-
@property
|
|
327
|
+
@_builtins.property
|
|
323
328
|
@pulumi.getter(name="maxMemoryGib")
|
|
324
|
-
def max_memory_gib(self) -> Optional[int]:
|
|
329
|
+
def max_memory_gib(self) -> Optional[_builtins.int]:
|
|
325
330
|
"""
|
|
326
331
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
327
332
|
"""
|
|
328
333
|
return pulumi.get(self, "max_memory_gib")
|
|
329
334
|
|
|
330
|
-
@property
|
|
335
|
+
@_builtins.property
|
|
331
336
|
@pulumi.getter(name="maxVcpu")
|
|
332
|
-
def max_vcpu(self) -> Optional[int]:
|
|
337
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
333
338
|
"""
|
|
334
339
|
The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
335
340
|
"""
|
|
@@ -360,14 +365,14 @@ class OceanBlockDeviceMapping(dict):
|
|
|
360
365
|
return super().get(key, default)
|
|
361
366
|
|
|
362
367
|
def __init__(__self__, *,
|
|
363
|
-
device_name: str,
|
|
368
|
+
device_name: _builtins.str,
|
|
364
369
|
ebs: Optional['outputs.OceanBlockDeviceMappingEbs'] = None,
|
|
365
|
-
no_device: Optional[str] = None,
|
|
366
|
-
virtual_name: Optional[str] = None):
|
|
370
|
+
no_device: Optional[_builtins.str] = None,
|
|
371
|
+
virtual_name: Optional[_builtins.str] = None):
|
|
367
372
|
"""
|
|
368
|
-
:param str device_name: String. Set device name. Example: `/dev/xvda1`.
|
|
373
|
+
:param _builtins.str device_name: String. Set device name. Example: `/dev/xvda1`.
|
|
369
374
|
:param 'OceanBlockDeviceMappingEbsArgs' ebs: Object. Set Elastic Block Store properties.
|
|
370
|
-
:param str no_device: String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
375
|
+
:param _builtins.str no_device: String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
371
376
|
"""
|
|
372
377
|
pulumi.set(__self__, "device_name", device_name)
|
|
373
378
|
if ebs is not None:
|
|
@@ -377,15 +382,15 @@ class OceanBlockDeviceMapping(dict):
|
|
|
377
382
|
if virtual_name is not None:
|
|
378
383
|
pulumi.set(__self__, "virtual_name", virtual_name)
|
|
379
384
|
|
|
380
|
-
@property
|
|
385
|
+
@_builtins.property
|
|
381
386
|
@pulumi.getter(name="deviceName")
|
|
382
|
-
def device_name(self) -> str:
|
|
387
|
+
def device_name(self) -> _builtins.str:
|
|
383
388
|
"""
|
|
384
389
|
String. Set device name. Example: `/dev/xvda1`.
|
|
385
390
|
"""
|
|
386
391
|
return pulumi.get(self, "device_name")
|
|
387
392
|
|
|
388
|
-
@property
|
|
393
|
+
@_builtins.property
|
|
389
394
|
@pulumi.getter
|
|
390
395
|
def ebs(self) -> Optional['outputs.OceanBlockDeviceMappingEbs']:
|
|
391
396
|
"""
|
|
@@ -393,17 +398,17 @@ class OceanBlockDeviceMapping(dict):
|
|
|
393
398
|
"""
|
|
394
399
|
return pulumi.get(self, "ebs")
|
|
395
400
|
|
|
396
|
-
@property
|
|
401
|
+
@_builtins.property
|
|
397
402
|
@pulumi.getter(name="noDevice")
|
|
398
|
-
def no_device(self) -> Optional[str]:
|
|
403
|
+
def no_device(self) -> Optional[_builtins.str]:
|
|
399
404
|
"""
|
|
400
405
|
String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
401
406
|
"""
|
|
402
407
|
return pulumi.get(self, "no_device")
|
|
403
408
|
|
|
404
|
-
@property
|
|
409
|
+
@_builtins.property
|
|
405
410
|
@pulumi.getter(name="virtualName")
|
|
406
|
-
def virtual_name(self) -> Optional[str]:
|
|
411
|
+
def virtual_name(self) -> Optional[_builtins.str]:
|
|
407
412
|
return pulumi.get(self, "virtual_name")
|
|
408
413
|
|
|
409
414
|
|
|
@@ -437,25 +442,25 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
437
442
|
return super().get(key, default)
|
|
438
443
|
|
|
439
444
|
def __init__(__self__, *,
|
|
440
|
-
delete_on_termination: Optional[bool] = None,
|
|
445
|
+
delete_on_termination: Optional[_builtins.bool] = None,
|
|
441
446
|
dynamic_volume_size: Optional['outputs.OceanBlockDeviceMappingEbsDynamicVolumeSize'] = None,
|
|
442
|
-
encrypted: Optional[bool] = None,
|
|
443
|
-
iops: Optional[int] = None,
|
|
444
|
-
kms_key_id: Optional[str] = None,
|
|
445
|
-
snapshot_id: Optional[str] = None,
|
|
446
|
-
throughput: Optional[int] = None,
|
|
447
|
-
volume_size: Optional[int] = None,
|
|
448
|
-
volume_type: Optional[str] = None):
|
|
449
|
-
"""
|
|
450
|
-
:param bool delete_on_termination: Boolean. Toggles EBS deletion upon instance termination.
|
|
447
|
+
encrypted: Optional[_builtins.bool] = None,
|
|
448
|
+
iops: Optional[_builtins.int] = None,
|
|
449
|
+
kms_key_id: Optional[_builtins.str] = None,
|
|
450
|
+
snapshot_id: Optional[_builtins.str] = None,
|
|
451
|
+
throughput: Optional[_builtins.int] = None,
|
|
452
|
+
volume_size: Optional[_builtins.int] = None,
|
|
453
|
+
volume_type: Optional[_builtins.str] = None):
|
|
454
|
+
"""
|
|
455
|
+
:param _builtins.bool delete_on_termination: Boolean. Toggles EBS deletion upon instance termination.
|
|
451
456
|
:param '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.
|
|
452
|
-
:param bool encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
453
|
-
:param int iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
454
|
-
:param 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.
|
|
455
|
-
:param str snapshot_id: (Optional) String. The snapshot ID to mount by.
|
|
456
|
-
:param 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.
|
|
457
|
-
:param int volume_size: Int. The size (in GB) of the volume.
|
|
458
|
-
:param str volume_type: String. The type of the volume. Example: `gp2`.
|
|
457
|
+
:param _builtins.bool encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
458
|
+
:param _builtins.int iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
459
|
+
:param _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.
|
|
460
|
+
:param _builtins.str snapshot_id: (Optional) String. The snapshot ID to mount by.
|
|
461
|
+
:param _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.
|
|
462
|
+
:param _builtins.int volume_size: Int. The size (in GB) of the volume.
|
|
463
|
+
:param _builtins.str volume_type: String. The type of the volume. Example: `gp2`.
|
|
459
464
|
"""
|
|
460
465
|
if delete_on_termination is not None:
|
|
461
466
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
@@ -476,15 +481,15 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
476
481
|
if volume_type is not None:
|
|
477
482
|
pulumi.set(__self__, "volume_type", volume_type)
|
|
478
483
|
|
|
479
|
-
@property
|
|
484
|
+
@_builtins.property
|
|
480
485
|
@pulumi.getter(name="deleteOnTermination")
|
|
481
|
-
def delete_on_termination(self) -> Optional[bool]:
|
|
486
|
+
def delete_on_termination(self) -> Optional[_builtins.bool]:
|
|
482
487
|
"""
|
|
483
488
|
Boolean. Toggles EBS deletion upon instance termination.
|
|
484
489
|
"""
|
|
485
490
|
return pulumi.get(self, "delete_on_termination")
|
|
486
491
|
|
|
487
|
-
@property
|
|
492
|
+
@_builtins.property
|
|
488
493
|
@pulumi.getter(name="dynamicVolumeSize")
|
|
489
494
|
def dynamic_volume_size(self) -> Optional['outputs.OceanBlockDeviceMappingEbsDynamicVolumeSize']:
|
|
490
495
|
"""
|
|
@@ -492,57 +497,57 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
492
497
|
"""
|
|
493
498
|
return pulumi.get(self, "dynamic_volume_size")
|
|
494
499
|
|
|
495
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
496
501
|
@pulumi.getter
|
|
497
|
-
def encrypted(self) -> Optional[bool]:
|
|
502
|
+
def encrypted(self) -> Optional[_builtins.bool]:
|
|
498
503
|
"""
|
|
499
504
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
500
505
|
"""
|
|
501
506
|
return pulumi.get(self, "encrypted")
|
|
502
507
|
|
|
503
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
504
509
|
@pulumi.getter
|
|
505
|
-
def iops(self) -> Optional[int]:
|
|
510
|
+
def iops(self) -> Optional[_builtins.int]:
|
|
506
511
|
"""
|
|
507
512
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
508
513
|
"""
|
|
509
514
|
return pulumi.get(self, "iops")
|
|
510
515
|
|
|
511
|
-
@property
|
|
516
|
+
@_builtins.property
|
|
512
517
|
@pulumi.getter(name="kmsKeyId")
|
|
513
|
-
def kms_key_id(self) -> Optional[str]:
|
|
518
|
+
def kms_key_id(self) -> Optional[_builtins.str]:
|
|
514
519
|
"""
|
|
515
520
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
516
521
|
"""
|
|
517
522
|
return pulumi.get(self, "kms_key_id")
|
|
518
523
|
|
|
519
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
520
525
|
@pulumi.getter(name="snapshotId")
|
|
521
|
-
def snapshot_id(self) -> Optional[str]:
|
|
526
|
+
def snapshot_id(self) -> Optional[_builtins.str]:
|
|
522
527
|
"""
|
|
523
528
|
(Optional) String. The snapshot ID to mount by.
|
|
524
529
|
"""
|
|
525
530
|
return pulumi.get(self, "snapshot_id")
|
|
526
531
|
|
|
527
|
-
@property
|
|
532
|
+
@_builtins.property
|
|
528
533
|
@pulumi.getter
|
|
529
|
-
def throughput(self) -> Optional[int]:
|
|
534
|
+
def throughput(self) -> Optional[_builtins.int]:
|
|
530
535
|
"""
|
|
531
536
|
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.
|
|
532
537
|
"""
|
|
533
538
|
return pulumi.get(self, "throughput")
|
|
534
539
|
|
|
535
|
-
@property
|
|
540
|
+
@_builtins.property
|
|
536
541
|
@pulumi.getter(name="volumeSize")
|
|
537
|
-
def volume_size(self) -> Optional[int]:
|
|
542
|
+
def volume_size(self) -> Optional[_builtins.int]:
|
|
538
543
|
"""
|
|
539
544
|
Int. The size (in GB) of the volume.
|
|
540
545
|
"""
|
|
541
546
|
return pulumi.get(self, "volume_size")
|
|
542
547
|
|
|
543
|
-
@property
|
|
548
|
+
@_builtins.property
|
|
544
549
|
@pulumi.getter(name="volumeType")
|
|
545
|
-
def volume_type(self) -> Optional[str]:
|
|
550
|
+
def volume_type(self) -> Optional[_builtins.str]:
|
|
546
551
|
"""
|
|
547
552
|
String. The type of the volume. Example: `gp2`.
|
|
548
553
|
"""
|
|
@@ -571,37 +576,37 @@ class OceanBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
571
576
|
return super().get(key, default)
|
|
572
577
|
|
|
573
578
|
def __init__(__self__, *,
|
|
574
|
-
base_size: int,
|
|
575
|
-
resource: str,
|
|
576
|
-
size_per_resource_unit: int):
|
|
579
|
+
base_size: _builtins.int,
|
|
580
|
+
resource: _builtins.str,
|
|
581
|
+
size_per_resource_unit: _builtins.int):
|
|
577
582
|
"""
|
|
578
|
-
:param int base_size: Int. Initial size for volume. Example: `50`.
|
|
579
|
-
:param str resource: String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
580
|
-
:param 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.
|
|
583
|
+
:param _builtins.int base_size: Int. Initial size for volume. Example: `50`.
|
|
584
|
+
:param _builtins.str resource: String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
585
|
+
:param _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.
|
|
581
586
|
"""
|
|
582
587
|
pulumi.set(__self__, "base_size", base_size)
|
|
583
588
|
pulumi.set(__self__, "resource", resource)
|
|
584
589
|
pulumi.set(__self__, "size_per_resource_unit", size_per_resource_unit)
|
|
585
590
|
|
|
586
|
-
@property
|
|
591
|
+
@_builtins.property
|
|
587
592
|
@pulumi.getter(name="baseSize")
|
|
588
|
-
def base_size(self) -> int:
|
|
593
|
+
def base_size(self) -> _builtins.int:
|
|
589
594
|
"""
|
|
590
595
|
Int. Initial size for volume. Example: `50`.
|
|
591
596
|
"""
|
|
592
597
|
return pulumi.get(self, "base_size")
|
|
593
598
|
|
|
594
|
-
@property
|
|
599
|
+
@_builtins.property
|
|
595
600
|
@pulumi.getter
|
|
596
|
-
def resource(self) -> str:
|
|
601
|
+
def resource(self) -> _builtins.str:
|
|
597
602
|
"""
|
|
598
603
|
String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
599
604
|
"""
|
|
600
605
|
return pulumi.get(self, "resource")
|
|
601
606
|
|
|
602
|
-
@property
|
|
607
|
+
@_builtins.property
|
|
603
608
|
@pulumi.getter(name="sizePerResourceUnit")
|
|
604
|
-
def size_per_resource_unit(self) -> int:
|
|
609
|
+
def size_per_resource_unit(self) -> _builtins.int:
|
|
605
610
|
"""
|
|
606
611
|
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.
|
|
607
612
|
"""
|
|
@@ -628,16 +633,16 @@ class OceanClusterOrientation(dict):
|
|
|
628
633
|
return super().get(key, default)
|
|
629
634
|
|
|
630
635
|
def __init__(__self__, *,
|
|
631
|
-
availability_vs_cost: Optional[str] = None):
|
|
636
|
+
availability_vs_cost: Optional[_builtins.str] = None):
|
|
632
637
|
"""
|
|
633
|
-
:param str availability_vs_cost: You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
638
|
+
:param _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`.
|
|
634
639
|
"""
|
|
635
640
|
if availability_vs_cost is not None:
|
|
636
641
|
pulumi.set(__self__, "availability_vs_cost", availability_vs_cost)
|
|
637
642
|
|
|
638
|
-
@property
|
|
643
|
+
@_builtins.property
|
|
639
644
|
@pulumi.getter(name="availabilityVsCost")
|
|
640
|
-
def availability_vs_cost(self) -> Optional[str]:
|
|
645
|
+
def availability_vs_cost(self) -> Optional[_builtins.str]:
|
|
641
646
|
"""
|
|
642
647
|
You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
643
648
|
"""
|
|
@@ -694,25 +699,44 @@ class OceanFilters(dict):
|
|
|
694
699
|
return super().get(key, default)
|
|
695
700
|
|
|
696
701
|
def __init__(__self__, *,
|
|
697
|
-
architectures: Optional[Sequence[str]] = None,
|
|
698
|
-
categories: Optional[Sequence[str]] = None,
|
|
699
|
-
disk_types: Optional[Sequence[str]] = None,
|
|
700
|
-
exclude_families: Optional[Sequence[str]] = None,
|
|
701
|
-
exclude_metal: Optional[bool] = None,
|
|
702
|
-
hypervisors: Optional[Sequence[str]] = None,
|
|
703
|
-
include_families: Optional[Sequence[str]] = None,
|
|
704
|
-
is_ena_supported: Optional[str] = None,
|
|
705
|
-
max_gpu: Optional[int] = None,
|
|
706
|
-
max_memory_gib: Optional[float] = None,
|
|
707
|
-
max_network_performance: Optional[int] = None,
|
|
708
|
-
max_vcpu: Optional[int] = None,
|
|
709
|
-
min_enis: Optional[int] = None,
|
|
710
|
-
min_gpu: Optional[int] = None,
|
|
711
|
-
min_memory_gib: Optional[float] = None,
|
|
712
|
-
min_network_performance: Optional[int] = None,
|
|
713
|
-
min_vcpu: Optional[int] = None,
|
|
714
|
-
root_device_types: Optional[Sequence[str]] = None,
|
|
715
|
-
virtualization_types: Optional[Sequence[str]] = None):
|
|
702
|
+
architectures: Optional[Sequence[_builtins.str]] = None,
|
|
703
|
+
categories: Optional[Sequence[_builtins.str]] = None,
|
|
704
|
+
disk_types: Optional[Sequence[_builtins.str]] = None,
|
|
705
|
+
exclude_families: Optional[Sequence[_builtins.str]] = None,
|
|
706
|
+
exclude_metal: Optional[_builtins.bool] = None,
|
|
707
|
+
hypervisors: Optional[Sequence[_builtins.str]] = None,
|
|
708
|
+
include_families: Optional[Sequence[_builtins.str]] = None,
|
|
709
|
+
is_ena_supported: Optional[_builtins.str] = None,
|
|
710
|
+
max_gpu: Optional[_builtins.int] = None,
|
|
711
|
+
max_memory_gib: Optional[_builtins.float] = None,
|
|
712
|
+
max_network_performance: Optional[_builtins.int] = None,
|
|
713
|
+
max_vcpu: Optional[_builtins.int] = None,
|
|
714
|
+
min_enis: Optional[_builtins.int] = None,
|
|
715
|
+
min_gpu: Optional[_builtins.int] = None,
|
|
716
|
+
min_memory_gib: Optional[_builtins.float] = None,
|
|
717
|
+
min_network_performance: Optional[_builtins.int] = None,
|
|
718
|
+
min_vcpu: Optional[_builtins.int] = None,
|
|
719
|
+
root_device_types: Optional[Sequence[_builtins.str]] = None,
|
|
720
|
+
virtualization_types: Optional[Sequence[_builtins.str]] = None):
|
|
721
|
+
"""
|
|
722
|
+
:param Sequence[_builtins.str] architectures: The filtered instance types will support at least one of the architectures from this list.
|
|
723
|
+
:param Sequence[_builtins.str] categories: The filtered instance types will belong to one of the categories types from this list.
|
|
724
|
+
:param Sequence[_builtins.str] disk_types: The filtered instance types will have one of the disk type from this list.
|
|
725
|
+
:param Sequence[_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.
|
|
726
|
+
:param _builtins.bool exclude_metal: In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
727
|
+
:param Sequence[_builtins.str] hypervisors: The filtered instance types will have a hypervisor type from this list.
|
|
728
|
+
:param Sequence[_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.
|
|
729
|
+
:param _builtins.str is_ena_supported: Ena is supported or not.
|
|
730
|
+
:param _builtins.int max_gpu: Maximum total number of GPUs.
|
|
731
|
+
:param _builtins.int max_network_performance: Maximum Bandwidth in Gib/s of network performance.
|
|
732
|
+
:param _builtins.int min_enis: Minimum number of network interfaces (ENIs).
|
|
733
|
+
:param _builtins.int min_gpu: Minimum total number of GPUs.
|
|
734
|
+
:param _builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
735
|
+
:param _builtins.int min_network_performance: Minimum Bandwidth in Gib/s of network performance.
|
|
736
|
+
:param _builtins.int min_vcpu: Minimum number of vcpus available.
|
|
737
|
+
:param Sequence[_builtins.str] root_device_types: The filtered instance types will have a root device types from this list.
|
|
738
|
+
:param Sequence[_builtins.str] virtualization_types: The filtered instance types will support at least one of the virtualization types from this list.
|
|
739
|
+
"""
|
|
716
740
|
if architectures is not None:
|
|
717
741
|
pulumi.set(__self__, "architectures", architectures)
|
|
718
742
|
if categories is not None:
|
|
@@ -752,99 +776,150 @@ class OceanFilters(dict):
|
|
|
752
776
|
if virtualization_types is not None:
|
|
753
777
|
pulumi.set(__self__, "virtualization_types", virtualization_types)
|
|
754
778
|
|
|
755
|
-
@property
|
|
779
|
+
@_builtins.property
|
|
756
780
|
@pulumi.getter
|
|
757
|
-
def architectures(self) -> Optional[Sequence[str]]:
|
|
781
|
+
def architectures(self) -> Optional[Sequence[_builtins.str]]:
|
|
782
|
+
"""
|
|
783
|
+
The filtered instance types will support at least one of the architectures from this list.
|
|
784
|
+
"""
|
|
758
785
|
return pulumi.get(self, "architectures")
|
|
759
786
|
|
|
760
|
-
@property
|
|
787
|
+
@_builtins.property
|
|
761
788
|
@pulumi.getter
|
|
762
|
-
def categories(self) -> Optional[Sequence[str]]:
|
|
789
|
+
def categories(self) -> Optional[Sequence[_builtins.str]]:
|
|
790
|
+
"""
|
|
791
|
+
The filtered instance types will belong to one of the categories types from this list.
|
|
792
|
+
"""
|
|
763
793
|
return pulumi.get(self, "categories")
|
|
764
794
|
|
|
765
|
-
@property
|
|
795
|
+
@_builtins.property
|
|
766
796
|
@pulumi.getter(name="diskTypes")
|
|
767
|
-
def disk_types(self) -> Optional[Sequence[str]]:
|
|
797
|
+
def disk_types(self) -> Optional[Sequence[_builtins.str]]:
|
|
798
|
+
"""
|
|
799
|
+
The filtered instance types will have one of the disk type from this list.
|
|
800
|
+
"""
|
|
768
801
|
return pulumi.get(self, "disk_types")
|
|
769
802
|
|
|
770
|
-
@property
|
|
803
|
+
@_builtins.property
|
|
771
804
|
@pulumi.getter(name="excludeFamilies")
|
|
772
|
-
def exclude_families(self) -> Optional[Sequence[str]]:
|
|
805
|
+
def exclude_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
806
|
+
"""
|
|
807
|
+
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.
|
|
808
|
+
"""
|
|
773
809
|
return pulumi.get(self, "exclude_families")
|
|
774
810
|
|
|
775
|
-
@property
|
|
811
|
+
@_builtins.property
|
|
776
812
|
@pulumi.getter(name="excludeMetal")
|
|
777
|
-
def exclude_metal(self) -> Optional[bool]:
|
|
813
|
+
def exclude_metal(self) -> Optional[_builtins.bool]:
|
|
814
|
+
"""
|
|
815
|
+
In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
816
|
+
"""
|
|
778
817
|
return pulumi.get(self, "exclude_metal")
|
|
779
818
|
|
|
780
|
-
@property
|
|
819
|
+
@_builtins.property
|
|
781
820
|
@pulumi.getter
|
|
782
|
-
def hypervisors(self) -> Optional[Sequence[str]]:
|
|
821
|
+
def hypervisors(self) -> Optional[Sequence[_builtins.str]]:
|
|
822
|
+
"""
|
|
823
|
+
The filtered instance types will have a hypervisor type from this list.
|
|
824
|
+
"""
|
|
783
825
|
return pulumi.get(self, "hypervisors")
|
|
784
826
|
|
|
785
|
-
@property
|
|
827
|
+
@_builtins.property
|
|
786
828
|
@pulumi.getter(name="includeFamilies")
|
|
787
|
-
def include_families(self) -> Optional[Sequence[str]]:
|
|
829
|
+
def include_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
830
|
+
"""
|
|
831
|
+
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.
|
|
832
|
+
"""
|
|
788
833
|
return pulumi.get(self, "include_families")
|
|
789
834
|
|
|
790
|
-
@property
|
|
835
|
+
@_builtins.property
|
|
791
836
|
@pulumi.getter(name="isEnaSupported")
|
|
792
|
-
def is_ena_supported(self) -> Optional[str]:
|
|
837
|
+
def is_ena_supported(self) -> Optional[_builtins.str]:
|
|
838
|
+
"""
|
|
839
|
+
Ena is supported or not.
|
|
840
|
+
"""
|
|
793
841
|
return pulumi.get(self, "is_ena_supported")
|
|
794
842
|
|
|
795
|
-
@property
|
|
843
|
+
@_builtins.property
|
|
796
844
|
@pulumi.getter(name="maxGpu")
|
|
797
|
-
def max_gpu(self) -> Optional[int]:
|
|
845
|
+
def max_gpu(self) -> Optional[_builtins.int]:
|
|
846
|
+
"""
|
|
847
|
+
Maximum total number of GPUs.
|
|
848
|
+
"""
|
|
798
849
|
return pulumi.get(self, "max_gpu")
|
|
799
850
|
|
|
800
|
-
@property
|
|
851
|
+
@_builtins.property
|
|
801
852
|
@pulumi.getter(name="maxMemoryGib")
|
|
802
|
-
def max_memory_gib(self) -> Optional[float]:
|
|
853
|
+
def max_memory_gib(self) -> Optional[_builtins.float]:
|
|
803
854
|
return pulumi.get(self, "max_memory_gib")
|
|
804
855
|
|
|
805
|
-
@property
|
|
856
|
+
@_builtins.property
|
|
806
857
|
@pulumi.getter(name="maxNetworkPerformance")
|
|
807
|
-
def max_network_performance(self) -> Optional[int]:
|
|
858
|
+
def max_network_performance(self) -> Optional[_builtins.int]:
|
|
859
|
+
"""
|
|
860
|
+
Maximum Bandwidth in Gib/s of network performance.
|
|
861
|
+
"""
|
|
808
862
|
return pulumi.get(self, "max_network_performance")
|
|
809
863
|
|
|
810
|
-
@property
|
|
864
|
+
@_builtins.property
|
|
811
865
|
@pulumi.getter(name="maxVcpu")
|
|
812
|
-
def max_vcpu(self) -> Optional[int]:
|
|
866
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
813
867
|
return pulumi.get(self, "max_vcpu")
|
|
814
868
|
|
|
815
|
-
@property
|
|
869
|
+
@_builtins.property
|
|
816
870
|
@pulumi.getter(name="minEnis")
|
|
817
|
-
def min_enis(self) -> Optional[int]:
|
|
871
|
+
def min_enis(self) -> Optional[_builtins.int]:
|
|
872
|
+
"""
|
|
873
|
+
Minimum number of network interfaces (ENIs).
|
|
874
|
+
"""
|
|
818
875
|
return pulumi.get(self, "min_enis")
|
|
819
876
|
|
|
820
|
-
@property
|
|
877
|
+
@_builtins.property
|
|
821
878
|
@pulumi.getter(name="minGpu")
|
|
822
|
-
def min_gpu(self) -> Optional[int]:
|
|
879
|
+
def min_gpu(self) -> Optional[_builtins.int]:
|
|
880
|
+
"""
|
|
881
|
+
Minimum total number of GPUs.
|
|
882
|
+
"""
|
|
823
883
|
return pulumi.get(self, "min_gpu")
|
|
824
884
|
|
|
825
|
-
@property
|
|
885
|
+
@_builtins.property
|
|
826
886
|
@pulumi.getter(name="minMemoryGib")
|
|
827
|
-
def min_memory_gib(self) -> Optional[float]:
|
|
887
|
+
def min_memory_gib(self) -> Optional[_builtins.float]:
|
|
888
|
+
"""
|
|
889
|
+
Minimum amount of Memory (GiB).
|
|
890
|
+
"""
|
|
828
891
|
return pulumi.get(self, "min_memory_gib")
|
|
829
892
|
|
|
830
|
-
@property
|
|
893
|
+
@_builtins.property
|
|
831
894
|
@pulumi.getter(name="minNetworkPerformance")
|
|
832
|
-
def min_network_performance(self) -> Optional[int]:
|
|
895
|
+
def min_network_performance(self) -> Optional[_builtins.int]:
|
|
896
|
+
"""
|
|
897
|
+
Minimum Bandwidth in Gib/s of network performance.
|
|
898
|
+
"""
|
|
833
899
|
return pulumi.get(self, "min_network_performance")
|
|
834
900
|
|
|
835
|
-
@property
|
|
901
|
+
@_builtins.property
|
|
836
902
|
@pulumi.getter(name="minVcpu")
|
|
837
|
-
def min_vcpu(self) -> Optional[int]:
|
|
903
|
+
def min_vcpu(self) -> Optional[_builtins.int]:
|
|
904
|
+
"""
|
|
905
|
+
Minimum number of vcpus available.
|
|
906
|
+
"""
|
|
838
907
|
return pulumi.get(self, "min_vcpu")
|
|
839
908
|
|
|
840
|
-
@property
|
|
909
|
+
@_builtins.property
|
|
841
910
|
@pulumi.getter(name="rootDeviceTypes")
|
|
842
|
-
def root_device_types(self) -> Optional[Sequence[str]]:
|
|
911
|
+
def root_device_types(self) -> Optional[Sequence[_builtins.str]]:
|
|
912
|
+
"""
|
|
913
|
+
The filtered instance types will have a root device types from this list.
|
|
914
|
+
"""
|
|
843
915
|
return pulumi.get(self, "root_device_types")
|
|
844
916
|
|
|
845
|
-
@property
|
|
917
|
+
@_builtins.property
|
|
846
918
|
@pulumi.getter(name="virtualizationTypes")
|
|
847
|
-
def virtualization_types(self) -> Optional[Sequence[str]]:
|
|
919
|
+
def virtualization_types(self) -> Optional[Sequence[_builtins.str]]:
|
|
920
|
+
"""
|
|
921
|
+
The filtered instance types will support at least one of the virtualization types from this list.
|
|
922
|
+
"""
|
|
848
923
|
return pulumi.get(self, "virtualization_types")
|
|
849
924
|
|
|
850
925
|
|
|
@@ -870,27 +945,27 @@ class OceanInstanceMetadataOptions(dict):
|
|
|
870
945
|
return super().get(key, default)
|
|
871
946
|
|
|
872
947
|
def __init__(__self__, *,
|
|
873
|
-
http_tokens: str,
|
|
874
|
-
http_put_response_hop_limit: Optional[int] = None):
|
|
948
|
+
http_tokens: _builtins.str,
|
|
949
|
+
http_put_response_hop_limit: Optional[_builtins.int] = None):
|
|
875
950
|
"""
|
|
876
|
-
:param str http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
877
|
-
:param 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.
|
|
951
|
+
:param _builtins.str http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
952
|
+
:param _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.
|
|
878
953
|
"""
|
|
879
954
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
880
955
|
if http_put_response_hop_limit is not None:
|
|
881
956
|
pulumi.set(__self__, "http_put_response_hop_limit", http_put_response_hop_limit)
|
|
882
957
|
|
|
883
|
-
@property
|
|
958
|
+
@_builtins.property
|
|
884
959
|
@pulumi.getter(name="httpTokens")
|
|
885
|
-
def http_tokens(self) -> str:
|
|
960
|
+
def http_tokens(self) -> _builtins.str:
|
|
886
961
|
"""
|
|
887
962
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
888
963
|
"""
|
|
889
964
|
return pulumi.get(self, "http_tokens")
|
|
890
965
|
|
|
891
|
-
@property
|
|
966
|
+
@_builtins.property
|
|
892
967
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
893
|
-
def http_put_response_hop_limit(self) -> Optional[int]:
|
|
968
|
+
def http_put_response_hop_limit(self) -> Optional[_builtins.int]:
|
|
894
969
|
"""
|
|
895
970
|
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.
|
|
896
971
|
"""
|
|
@@ -900,26 +975,26 @@ class OceanInstanceMetadataOptions(dict):
|
|
|
900
975
|
@pulumi.output_type
|
|
901
976
|
class OceanLaunchSpecAttribute(dict):
|
|
902
977
|
def __init__(__self__, *,
|
|
903
|
-
key: str,
|
|
904
|
-
value: str):
|
|
978
|
+
key: _builtins.str,
|
|
979
|
+
value: _builtins.str):
|
|
905
980
|
"""
|
|
906
|
-
:param str key: The label key.
|
|
907
|
-
:param str value: The label value.
|
|
981
|
+
:param _builtins.str key: The label key.
|
|
982
|
+
:param _builtins.str value: The label value.
|
|
908
983
|
"""
|
|
909
984
|
pulumi.set(__self__, "key", key)
|
|
910
985
|
pulumi.set(__self__, "value", value)
|
|
911
986
|
|
|
912
|
-
@property
|
|
987
|
+
@_builtins.property
|
|
913
988
|
@pulumi.getter
|
|
914
|
-
def key(self) -> str:
|
|
989
|
+
def key(self) -> _builtins.str:
|
|
915
990
|
"""
|
|
916
991
|
The label key.
|
|
917
992
|
"""
|
|
918
993
|
return pulumi.get(self, "key")
|
|
919
994
|
|
|
920
|
-
@property
|
|
995
|
+
@_builtins.property
|
|
921
996
|
@pulumi.getter
|
|
922
|
-
def value(self) -> str:
|
|
997
|
+
def value(self) -> _builtins.str:
|
|
923
998
|
"""
|
|
924
999
|
The label value.
|
|
925
1000
|
"""
|
|
@@ -950,13 +1025,13 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
950
1025
|
return super().get(key, default)
|
|
951
1026
|
|
|
952
1027
|
def __init__(__self__, *,
|
|
953
|
-
num_of_units: int,
|
|
954
|
-
cpu_per_unit: Optional[int] = None,
|
|
955
|
-
memory_per_unit: Optional[int] = None):
|
|
1028
|
+
num_of_units: _builtins.int,
|
|
1029
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
1030
|
+
memory_per_unit: Optional[_builtins.int] = None):
|
|
956
1031
|
"""
|
|
957
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
958
|
-
:param 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.
|
|
959
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1032
|
+
:param _builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1033
|
+
:param _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.
|
|
1034
|
+
:param _builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
960
1035
|
"""
|
|
961
1036
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
962
1037
|
if cpu_per_unit is not None:
|
|
@@ -964,25 +1039,25 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
964
1039
|
if memory_per_unit is not None:
|
|
965
1040
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
966
1041
|
|
|
967
|
-
@property
|
|
1042
|
+
@_builtins.property
|
|
968
1043
|
@pulumi.getter(name="numOfUnits")
|
|
969
|
-
def num_of_units(self) -> int:
|
|
1044
|
+
def num_of_units(self) -> _builtins.int:
|
|
970
1045
|
"""
|
|
971
1046
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
972
1047
|
"""
|
|
973
1048
|
return pulumi.get(self, "num_of_units")
|
|
974
1049
|
|
|
975
|
-
@property
|
|
1050
|
+
@_builtins.property
|
|
976
1051
|
@pulumi.getter(name="cpuPerUnit")
|
|
977
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
1052
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
978
1053
|
"""
|
|
979
1054
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
980
1055
|
"""
|
|
981
1056
|
return pulumi.get(self, "cpu_per_unit")
|
|
982
1057
|
|
|
983
|
-
@property
|
|
1058
|
+
@_builtins.property
|
|
984
1059
|
@pulumi.getter(name="memoryPerUnit")
|
|
985
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
1060
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
986
1061
|
"""
|
|
987
1062
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
988
1063
|
"""
|
|
@@ -1013,13 +1088,14 @@ class OceanLaunchSpecBlockDeviceMapping(dict):
|
|
|
1013
1088
|
return super().get(key, default)
|
|
1014
1089
|
|
|
1015
1090
|
def __init__(__self__, *,
|
|
1016
|
-
device_name: str,
|
|
1091
|
+
device_name: _builtins.str,
|
|
1017
1092
|
ebs: Optional['outputs.OceanLaunchSpecBlockDeviceMappingEbs'] = None,
|
|
1018
|
-
no_device: Optional[str] = None,
|
|
1019
|
-
virtual_name: Optional[str] = None):
|
|
1093
|
+
no_device: Optional[_builtins.str] = None,
|
|
1094
|
+
virtual_name: Optional[_builtins.str] = None):
|
|
1020
1095
|
"""
|
|
1021
|
-
:param str device_name: String. Set device name. (Example: "/dev/xvda1").
|
|
1096
|
+
:param _builtins.str device_name: String. Set device name. (Example: "/dev/xvda1").
|
|
1022
1097
|
:param 'OceanLaunchSpecBlockDeviceMappingEbsArgs' ebs: Object. Set Elastic Block Store properties .
|
|
1098
|
+
:param _builtins.str no_device: String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1023
1099
|
"""
|
|
1024
1100
|
pulumi.set(__self__, "device_name", device_name)
|
|
1025
1101
|
if ebs is not None:
|
|
@@ -1029,15 +1105,15 @@ class OceanLaunchSpecBlockDeviceMapping(dict):
|
|
|
1029
1105
|
if virtual_name is not None:
|
|
1030
1106
|
pulumi.set(__self__, "virtual_name", virtual_name)
|
|
1031
1107
|
|
|
1032
|
-
@property
|
|
1108
|
+
@_builtins.property
|
|
1033
1109
|
@pulumi.getter(name="deviceName")
|
|
1034
|
-
def device_name(self) -> str:
|
|
1110
|
+
def device_name(self) -> _builtins.str:
|
|
1035
1111
|
"""
|
|
1036
1112
|
String. Set device name. (Example: "/dev/xvda1").
|
|
1037
1113
|
"""
|
|
1038
1114
|
return pulumi.get(self, "device_name")
|
|
1039
1115
|
|
|
1040
|
-
@property
|
|
1116
|
+
@_builtins.property
|
|
1041
1117
|
@pulumi.getter
|
|
1042
1118
|
def ebs(self) -> Optional['outputs.OceanLaunchSpecBlockDeviceMappingEbs']:
|
|
1043
1119
|
"""
|
|
@@ -1045,14 +1121,17 @@ class OceanLaunchSpecBlockDeviceMapping(dict):
|
|
|
1045
1121
|
"""
|
|
1046
1122
|
return pulumi.get(self, "ebs")
|
|
1047
1123
|
|
|
1048
|
-
@property
|
|
1124
|
+
@_builtins.property
|
|
1049
1125
|
@pulumi.getter(name="noDevice")
|
|
1050
|
-
def no_device(self) -> Optional[str]:
|
|
1126
|
+
def no_device(self) -> Optional[_builtins.str]:
|
|
1127
|
+
"""
|
|
1128
|
+
String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1129
|
+
"""
|
|
1051
1130
|
return pulumi.get(self, "no_device")
|
|
1052
1131
|
|
|
1053
|
-
@property
|
|
1132
|
+
@_builtins.property
|
|
1054
1133
|
@pulumi.getter(name="virtualName")
|
|
1055
|
-
def virtual_name(self) -> Optional[str]:
|
|
1134
|
+
def virtual_name(self) -> Optional[_builtins.str]:
|
|
1056
1135
|
return pulumi.get(self, "virtual_name")
|
|
1057
1136
|
|
|
1058
1137
|
|
|
@@ -1086,25 +1165,25 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1086
1165
|
return super().get(key, default)
|
|
1087
1166
|
|
|
1088
1167
|
def __init__(__self__, *,
|
|
1089
|
-
delete_on_termination: Optional[bool] = None,
|
|
1168
|
+
delete_on_termination: Optional[_builtins.bool] = None,
|
|
1090
1169
|
dynamic_volume_size: Optional['outputs.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize'] = None,
|
|
1091
|
-
encrypted: Optional[bool] = None,
|
|
1092
|
-
iops: Optional[int] = None,
|
|
1093
|
-
kms_key_id: Optional[str] = None,
|
|
1094
|
-
snapshot_id: Optional[str] = None,
|
|
1095
|
-
throughput: Optional[int] = None,
|
|
1096
|
-
volume_size: Optional[int] = None,
|
|
1097
|
-
volume_type: Optional[str] = None):
|
|
1098
|
-
"""
|
|
1099
|
-
:param bool delete_on_termination: Boolean. Flag to delete the EBS on instance termination.
|
|
1170
|
+
encrypted: Optional[_builtins.bool] = None,
|
|
1171
|
+
iops: Optional[_builtins.int] = None,
|
|
1172
|
+
kms_key_id: Optional[_builtins.str] = None,
|
|
1173
|
+
snapshot_id: Optional[_builtins.str] = None,
|
|
1174
|
+
throughput: Optional[_builtins.int] = None,
|
|
1175
|
+
volume_size: Optional[_builtins.int] = None,
|
|
1176
|
+
volume_type: Optional[_builtins.str] = None):
|
|
1177
|
+
"""
|
|
1178
|
+
:param _builtins.bool delete_on_termination: Boolean. Flag to delete the EBS on instance termination.
|
|
1100
1179
|
:param '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.
|
|
1101
|
-
:param bool encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1102
|
-
:param int iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1103
|
-
:param 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.
|
|
1104
|
-
:param str snapshot_id: (Optional) String. The Snapshot ID to mount by.
|
|
1105
|
-
:param 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.
|
|
1106
|
-
:param int volume_size: Int. The size, in GB of the volume.
|
|
1107
|
-
:param str volume_type: String. The type of the volume (example: "gp2").
|
|
1180
|
+
:param _builtins.bool encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1181
|
+
:param _builtins.int iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1182
|
+
:param _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.
|
|
1183
|
+
:param _builtins.str snapshot_id: (Optional) String. The Snapshot ID to mount by.
|
|
1184
|
+
:param _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.
|
|
1185
|
+
:param _builtins.int volume_size: Int. The size, in GB of the volume.
|
|
1186
|
+
:param _builtins.str volume_type: String. The type of the volume (example: "gp2").
|
|
1108
1187
|
"""
|
|
1109
1188
|
if delete_on_termination is not None:
|
|
1110
1189
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
@@ -1125,15 +1204,15 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1125
1204
|
if volume_type is not None:
|
|
1126
1205
|
pulumi.set(__self__, "volume_type", volume_type)
|
|
1127
1206
|
|
|
1128
|
-
@property
|
|
1207
|
+
@_builtins.property
|
|
1129
1208
|
@pulumi.getter(name="deleteOnTermination")
|
|
1130
|
-
def delete_on_termination(self) -> Optional[bool]:
|
|
1209
|
+
def delete_on_termination(self) -> Optional[_builtins.bool]:
|
|
1131
1210
|
"""
|
|
1132
1211
|
Boolean. Flag to delete the EBS on instance termination.
|
|
1133
1212
|
"""
|
|
1134
1213
|
return pulumi.get(self, "delete_on_termination")
|
|
1135
1214
|
|
|
1136
|
-
@property
|
|
1215
|
+
@_builtins.property
|
|
1137
1216
|
@pulumi.getter(name="dynamicVolumeSize")
|
|
1138
1217
|
def dynamic_volume_size(self) -> Optional['outputs.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize']:
|
|
1139
1218
|
"""
|
|
@@ -1141,57 +1220,57 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1141
1220
|
"""
|
|
1142
1221
|
return pulumi.get(self, "dynamic_volume_size")
|
|
1143
1222
|
|
|
1144
|
-
@property
|
|
1223
|
+
@_builtins.property
|
|
1145
1224
|
@pulumi.getter
|
|
1146
|
-
def encrypted(self) -> Optional[bool]:
|
|
1225
|
+
def encrypted(self) -> Optional[_builtins.bool]:
|
|
1147
1226
|
"""
|
|
1148
1227
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1149
1228
|
"""
|
|
1150
1229
|
return pulumi.get(self, "encrypted")
|
|
1151
1230
|
|
|
1152
|
-
@property
|
|
1231
|
+
@_builtins.property
|
|
1153
1232
|
@pulumi.getter
|
|
1154
|
-
def iops(self) -> Optional[int]:
|
|
1233
|
+
def iops(self) -> Optional[_builtins.int]:
|
|
1155
1234
|
"""
|
|
1156
1235
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1157
1236
|
"""
|
|
1158
1237
|
return pulumi.get(self, "iops")
|
|
1159
1238
|
|
|
1160
|
-
@property
|
|
1239
|
+
@_builtins.property
|
|
1161
1240
|
@pulumi.getter(name="kmsKeyId")
|
|
1162
|
-
def kms_key_id(self) -> Optional[str]:
|
|
1241
|
+
def kms_key_id(self) -> Optional[_builtins.str]:
|
|
1163
1242
|
"""
|
|
1164
1243
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1165
1244
|
"""
|
|
1166
1245
|
return pulumi.get(self, "kms_key_id")
|
|
1167
1246
|
|
|
1168
|
-
@property
|
|
1247
|
+
@_builtins.property
|
|
1169
1248
|
@pulumi.getter(name="snapshotId")
|
|
1170
|
-
def snapshot_id(self) -> Optional[str]:
|
|
1249
|
+
def snapshot_id(self) -> Optional[_builtins.str]:
|
|
1171
1250
|
"""
|
|
1172
1251
|
(Optional) String. The Snapshot ID to mount by.
|
|
1173
1252
|
"""
|
|
1174
1253
|
return pulumi.get(self, "snapshot_id")
|
|
1175
1254
|
|
|
1176
|
-
@property
|
|
1255
|
+
@_builtins.property
|
|
1177
1256
|
@pulumi.getter
|
|
1178
|
-
def throughput(self) -> Optional[int]:
|
|
1257
|
+
def throughput(self) -> Optional[_builtins.int]:
|
|
1179
1258
|
"""
|
|
1180
1259
|
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.
|
|
1181
1260
|
"""
|
|
1182
1261
|
return pulumi.get(self, "throughput")
|
|
1183
1262
|
|
|
1184
|
-
@property
|
|
1263
|
+
@_builtins.property
|
|
1185
1264
|
@pulumi.getter(name="volumeSize")
|
|
1186
|
-
def volume_size(self) -> Optional[int]:
|
|
1265
|
+
def volume_size(self) -> Optional[_builtins.int]:
|
|
1187
1266
|
"""
|
|
1188
1267
|
Int. The size, in GB of the volume.
|
|
1189
1268
|
"""
|
|
1190
1269
|
return pulumi.get(self, "volume_size")
|
|
1191
1270
|
|
|
1192
|
-
@property
|
|
1271
|
+
@_builtins.property
|
|
1193
1272
|
@pulumi.getter(name="volumeType")
|
|
1194
|
-
def volume_type(self) -> Optional[str]:
|
|
1273
|
+
def volume_type(self) -> Optional[_builtins.str]:
|
|
1195
1274
|
"""
|
|
1196
1275
|
String. The type of the volume (example: "gp2").
|
|
1197
1276
|
"""
|
|
@@ -1220,37 +1299,37 @@ class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
1220
1299
|
return super().get(key, default)
|
|
1221
1300
|
|
|
1222
1301
|
def __init__(__self__, *,
|
|
1223
|
-
base_size: int,
|
|
1224
|
-
resource: str,
|
|
1225
|
-
size_per_resource_unit: int):
|
|
1302
|
+
base_size: _builtins.int,
|
|
1303
|
+
resource: _builtins.str,
|
|
1304
|
+
size_per_resource_unit: _builtins.int):
|
|
1226
1305
|
"""
|
|
1227
|
-
:param int base_size: Int. Initial size for volume. (Example: 50)
|
|
1228
|
-
:param str resource: String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1229
|
-
:param 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)
|
|
1306
|
+
:param _builtins.int base_size: Int. Initial size for volume. (Example: 50)
|
|
1307
|
+
:param _builtins.str resource: String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1308
|
+
:param _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)
|
|
1230
1309
|
"""
|
|
1231
1310
|
pulumi.set(__self__, "base_size", base_size)
|
|
1232
1311
|
pulumi.set(__self__, "resource", resource)
|
|
1233
1312
|
pulumi.set(__self__, "size_per_resource_unit", size_per_resource_unit)
|
|
1234
1313
|
|
|
1235
|
-
@property
|
|
1314
|
+
@_builtins.property
|
|
1236
1315
|
@pulumi.getter(name="baseSize")
|
|
1237
|
-
def base_size(self) -> int:
|
|
1316
|
+
def base_size(self) -> _builtins.int:
|
|
1238
1317
|
"""
|
|
1239
1318
|
Int. Initial size for volume. (Example: 50)
|
|
1240
1319
|
"""
|
|
1241
1320
|
return pulumi.get(self, "base_size")
|
|
1242
1321
|
|
|
1243
|
-
@property
|
|
1322
|
+
@_builtins.property
|
|
1244
1323
|
@pulumi.getter
|
|
1245
|
-
def resource(self) -> str:
|
|
1324
|
+
def resource(self) -> _builtins.str:
|
|
1246
1325
|
"""
|
|
1247
1326
|
String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1248
1327
|
"""
|
|
1249
1328
|
return pulumi.get(self, "resource")
|
|
1250
1329
|
|
|
1251
|
-
@property
|
|
1330
|
+
@_builtins.property
|
|
1252
1331
|
@pulumi.getter(name="sizePerResourceUnit")
|
|
1253
|
-
def size_per_resource_unit(self) -> int:
|
|
1332
|
+
def size_per_resource_unit(self) -> _builtins.int:
|
|
1254
1333
|
"""
|
|
1255
1334
|
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)
|
|
1256
1335
|
"""
|
|
@@ -1277,16 +1356,16 @@ class OceanLaunchSpecImage(dict):
|
|
|
1277
1356
|
return super().get(key, default)
|
|
1278
1357
|
|
|
1279
1358
|
def __init__(__self__, *,
|
|
1280
|
-
image_id: Optional[str] = None):
|
|
1359
|
+
image_id: Optional[_builtins.str] = None):
|
|
1281
1360
|
"""
|
|
1282
|
-
:param str image_id: Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1361
|
+
:param _builtins.str image_id: Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1283
1362
|
"""
|
|
1284
1363
|
if image_id is not None:
|
|
1285
1364
|
pulumi.set(__self__, "image_id", image_id)
|
|
1286
1365
|
|
|
1287
|
-
@property
|
|
1366
|
+
@_builtins.property
|
|
1288
1367
|
@pulumi.getter(name="imageId")
|
|
1289
|
-
def image_id(self) -> Optional[str]:
|
|
1368
|
+
def image_id(self) -> Optional[_builtins.str]:
|
|
1290
1369
|
"""
|
|
1291
1370
|
Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1292
1371
|
"""
|
|
@@ -1315,27 +1394,27 @@ class OceanLaunchSpecInstanceMetadataOptions(dict):
|
|
|
1315
1394
|
return super().get(key, default)
|
|
1316
1395
|
|
|
1317
1396
|
def __init__(__self__, *,
|
|
1318
|
-
http_tokens: str,
|
|
1319
|
-
http_put_response_hop_limit: Optional[int] = None):
|
|
1397
|
+
http_tokens: _builtins.str,
|
|
1398
|
+
http_put_response_hop_limit: Optional[_builtins.int] = None):
|
|
1320
1399
|
"""
|
|
1321
|
-
:param str http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1322
|
-
:param 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.
|
|
1400
|
+
:param _builtins.str http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1401
|
+
:param _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.
|
|
1323
1402
|
"""
|
|
1324
1403
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
1325
1404
|
if http_put_response_hop_limit is not None:
|
|
1326
1405
|
pulumi.set(__self__, "http_put_response_hop_limit", http_put_response_hop_limit)
|
|
1327
1406
|
|
|
1328
|
-
@property
|
|
1407
|
+
@_builtins.property
|
|
1329
1408
|
@pulumi.getter(name="httpTokens")
|
|
1330
|
-
def http_tokens(self) -> str:
|
|
1409
|
+
def http_tokens(self) -> _builtins.str:
|
|
1331
1410
|
"""
|
|
1332
1411
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1333
1412
|
"""
|
|
1334
1413
|
return pulumi.get(self, "http_tokens")
|
|
1335
1414
|
|
|
1336
|
-
@property
|
|
1415
|
+
@_builtins.property
|
|
1337
1416
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
1338
|
-
def http_put_response_hop_limit(self) -> Optional[int]:
|
|
1417
|
+
def http_put_response_hop_limit(self) -> Optional[_builtins.int]:
|
|
1339
1418
|
"""
|
|
1340
1419
|
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.
|
|
1341
1420
|
"""
|
|
@@ -1368,14 +1447,14 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
1368
1447
|
return super().get(key, default)
|
|
1369
1448
|
|
|
1370
1449
|
def __init__(__self__, *,
|
|
1371
|
-
cron_expression: str,
|
|
1372
|
-
is_enabled: bool,
|
|
1373
|
-
task_type: str,
|
|
1450
|
+
cron_expression: _builtins.str,
|
|
1451
|
+
is_enabled: _builtins.bool,
|
|
1452
|
+
task_type: _builtins.str,
|
|
1374
1453
|
task_headrooms: Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']] = None):
|
|
1375
1454
|
"""
|
|
1376
|
-
:param str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1377
|
-
:param bool is_enabled: Describes whether the task is enabled. When
|
|
1378
|
-
:param str task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1455
|
+
:param _builtins.str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1456
|
+
:param _builtins.bool is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1457
|
+
:param _builtins.str task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1379
1458
|
:param Sequence['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs'] task_headrooms: The config of this scheduled task. Depends on the value of taskType.
|
|
1380
1459
|
"""
|
|
1381
1460
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -1384,31 +1463,31 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
1384
1463
|
if task_headrooms is not None:
|
|
1385
1464
|
pulumi.set(__self__, "task_headrooms", task_headrooms)
|
|
1386
1465
|
|
|
1387
|
-
@property
|
|
1466
|
+
@_builtins.property
|
|
1388
1467
|
@pulumi.getter(name="cronExpression")
|
|
1389
|
-
def cron_expression(self) -> str:
|
|
1468
|
+
def cron_expression(self) -> _builtins.str:
|
|
1390
1469
|
"""
|
|
1391
1470
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1392
1471
|
"""
|
|
1393
1472
|
return pulumi.get(self, "cron_expression")
|
|
1394
1473
|
|
|
1395
|
-
@property
|
|
1474
|
+
@_builtins.property
|
|
1396
1475
|
@pulumi.getter(name="isEnabled")
|
|
1397
|
-
def is_enabled(self) -> bool:
|
|
1476
|
+
def is_enabled(self) -> _builtins.bool:
|
|
1398
1477
|
"""
|
|
1399
|
-
Describes whether the task is enabled. When
|
|
1478
|
+
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1400
1479
|
"""
|
|
1401
1480
|
return pulumi.get(self, "is_enabled")
|
|
1402
1481
|
|
|
1403
|
-
@property
|
|
1482
|
+
@_builtins.property
|
|
1404
1483
|
@pulumi.getter(name="taskType")
|
|
1405
|
-
def task_type(self) -> str:
|
|
1484
|
+
def task_type(self) -> _builtins.str:
|
|
1406
1485
|
"""
|
|
1407
1486
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1408
1487
|
"""
|
|
1409
1488
|
return pulumi.get(self, "task_type")
|
|
1410
1489
|
|
|
1411
|
-
@property
|
|
1490
|
+
@_builtins.property
|
|
1412
1491
|
@pulumi.getter(name="taskHeadrooms")
|
|
1413
1492
|
def task_headrooms(self) -> Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']]:
|
|
1414
1493
|
"""
|
|
@@ -1441,13 +1520,13 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
1441
1520
|
return super().get(key, default)
|
|
1442
1521
|
|
|
1443
1522
|
def __init__(__self__, *,
|
|
1444
|
-
num_of_units: int,
|
|
1445
|
-
cpu_per_unit: Optional[int] = None,
|
|
1446
|
-
memory_per_unit: Optional[int] = None):
|
|
1523
|
+
num_of_units: _builtins.int,
|
|
1524
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
1525
|
+
memory_per_unit: Optional[_builtins.int] = None):
|
|
1447
1526
|
"""
|
|
1448
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1449
|
-
:param 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.
|
|
1450
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1527
|
+
:param _builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1528
|
+
:param _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.
|
|
1529
|
+
:param _builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1451
1530
|
"""
|
|
1452
1531
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1453
1532
|
if cpu_per_unit is not None:
|
|
@@ -1455,25 +1534,25 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
1455
1534
|
if memory_per_unit is not None:
|
|
1456
1535
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
1457
1536
|
|
|
1458
|
-
@property
|
|
1537
|
+
@_builtins.property
|
|
1459
1538
|
@pulumi.getter(name="numOfUnits")
|
|
1460
|
-
def num_of_units(self) -> int:
|
|
1539
|
+
def num_of_units(self) -> _builtins.int:
|
|
1461
1540
|
"""
|
|
1462
1541
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1463
1542
|
"""
|
|
1464
1543
|
return pulumi.get(self, "num_of_units")
|
|
1465
1544
|
|
|
1466
|
-
@property
|
|
1545
|
+
@_builtins.property
|
|
1467
1546
|
@pulumi.getter(name="cpuPerUnit")
|
|
1468
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
1547
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
1469
1548
|
"""
|
|
1470
1549
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1471
1550
|
"""
|
|
1472
1551
|
return pulumi.get(self, "cpu_per_unit")
|
|
1473
1552
|
|
|
1474
|
-
@property
|
|
1553
|
+
@_builtins.property
|
|
1475
1554
|
@pulumi.getter(name="memoryPerUnit")
|
|
1476
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
1555
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
1477
1556
|
"""
|
|
1478
1557
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1479
1558
|
"""
|
|
@@ -1500,16 +1579,16 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
1500
1579
|
return super().get(key, default)
|
|
1501
1580
|
|
|
1502
1581
|
def __init__(__self__, *,
|
|
1503
|
-
spot_percentage: Optional[int] = None):
|
|
1582
|
+
spot_percentage: Optional[_builtins.int] = None):
|
|
1504
1583
|
"""
|
|
1505
|
-
:param 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.
|
|
1584
|
+
:param _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.
|
|
1506
1585
|
"""
|
|
1507
1586
|
if spot_percentage is not None:
|
|
1508
1587
|
pulumi.set(__self__, "spot_percentage", spot_percentage)
|
|
1509
1588
|
|
|
1510
|
-
@property
|
|
1589
|
+
@_builtins.property
|
|
1511
1590
|
@pulumi.getter(name="spotPercentage")
|
|
1512
|
-
def spot_percentage(self) -> Optional[int]:
|
|
1591
|
+
def spot_percentage(self) -> Optional[_builtins.int]:
|
|
1513
1592
|
"""
|
|
1514
1593
|
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.
|
|
1515
1594
|
"""
|
|
@@ -1519,19 +1598,29 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
1519
1598
|
@pulumi.output_type
|
|
1520
1599
|
class OceanLaunchSpecTag(dict):
|
|
1521
1600
|
def __init__(__self__, *,
|
|
1522
|
-
key: str,
|
|
1523
|
-
value: str):
|
|
1601
|
+
key: _builtins.str,
|
|
1602
|
+
value: _builtins.str):
|
|
1603
|
+
"""
|
|
1604
|
+
:param _builtins.str key: The label key.
|
|
1605
|
+
:param _builtins.str value: The label value.
|
|
1606
|
+
"""
|
|
1524
1607
|
pulumi.set(__self__, "key", key)
|
|
1525
1608
|
pulumi.set(__self__, "value", value)
|
|
1526
1609
|
|
|
1527
|
-
@property
|
|
1610
|
+
@_builtins.property
|
|
1528
1611
|
@pulumi.getter
|
|
1529
|
-
def key(self) -> str:
|
|
1612
|
+
def key(self) -> _builtins.str:
|
|
1613
|
+
"""
|
|
1614
|
+
The label key.
|
|
1615
|
+
"""
|
|
1530
1616
|
return pulumi.get(self, "key")
|
|
1531
1617
|
|
|
1532
|
-
@property
|
|
1618
|
+
@_builtins.property
|
|
1533
1619
|
@pulumi.getter
|
|
1534
|
-
def value(self) -> str:
|
|
1620
|
+
def value(self) -> _builtins.str:
|
|
1621
|
+
"""
|
|
1622
|
+
The label value.
|
|
1623
|
+
"""
|
|
1535
1624
|
return pulumi.get(self, "value")
|
|
1536
1625
|
|
|
1537
1626
|
|
|
@@ -1545,7 +1634,7 @@ class OceanLogging(dict):
|
|
|
1545
1634
|
if export is not None:
|
|
1546
1635
|
pulumi.set(__self__, "export", export)
|
|
1547
1636
|
|
|
1548
|
-
@property
|
|
1637
|
+
@_builtins.property
|
|
1549
1638
|
@pulumi.getter
|
|
1550
1639
|
def export(self) -> Optional['outputs.OceanLoggingExport']:
|
|
1551
1640
|
"""
|
|
@@ -1564,7 +1653,7 @@ class OceanLoggingExport(dict):
|
|
|
1564
1653
|
if s3s is not None:
|
|
1565
1654
|
pulumi.set(__self__, "s3s", s3s)
|
|
1566
1655
|
|
|
1567
|
-
@property
|
|
1656
|
+
@_builtins.property
|
|
1568
1657
|
@pulumi.getter
|
|
1569
1658
|
def s3s(self) -> Optional[Sequence['outputs.OceanLoggingExportS3']]:
|
|
1570
1659
|
"""
|
|
@@ -1576,15 +1665,15 @@ class OceanLoggingExport(dict):
|
|
|
1576
1665
|
@pulumi.output_type
|
|
1577
1666
|
class OceanLoggingExportS3(dict):
|
|
1578
1667
|
def __init__(__self__, *,
|
|
1579
|
-
id: str):
|
|
1668
|
+
id: _builtins.str):
|
|
1580
1669
|
"""
|
|
1581
|
-
:param str id: The identifier of The S3 data integration to export the logs to.
|
|
1670
|
+
:param _builtins.str id: The identifier of The S3 data integration to export the logs to.
|
|
1582
1671
|
"""
|
|
1583
1672
|
pulumi.set(__self__, "id", id)
|
|
1584
1673
|
|
|
1585
|
-
@property
|
|
1674
|
+
@_builtins.property
|
|
1586
1675
|
@pulumi.getter
|
|
1587
|
-
def id(self) -> str:
|
|
1676
|
+
def id(self) -> _builtins.str:
|
|
1588
1677
|
"""
|
|
1589
1678
|
The identifier of The S3 data integration to export the logs to.
|
|
1590
1679
|
"""
|
|
@@ -1615,38 +1704,38 @@ class OceanOptimizeImages(dict):
|
|
|
1615
1704
|
return super().get(key, default)
|
|
1616
1705
|
|
|
1617
1706
|
def __init__(__self__, *,
|
|
1618
|
-
perform_at: str,
|
|
1619
|
-
should_optimize_ecs_ami: bool,
|
|
1620
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
1707
|
+
perform_at: _builtins.str,
|
|
1708
|
+
should_optimize_ecs_ami: _builtins.bool,
|
|
1709
|
+
time_windows: Optional[Sequence[_builtins.str]] = None):
|
|
1621
1710
|
"""
|
|
1622
|
-
:param str perform_at: String. Valid values: "always" "never" "timeWindow".
|
|
1623
|
-
:param bool should_optimize_ecs_ami: Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
1624
|
-
:param Sequence[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.
|
|
1711
|
+
:param _builtins.str perform_at: String. Valid values: "always" "never" "timeWindow".
|
|
1712
|
+
:param _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.
|
|
1713
|
+
:param Sequence[_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.
|
|
1625
1714
|
"""
|
|
1626
1715
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
1627
1716
|
pulumi.set(__self__, "should_optimize_ecs_ami", should_optimize_ecs_ami)
|
|
1628
1717
|
if time_windows is not None:
|
|
1629
1718
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
1630
1719
|
|
|
1631
|
-
@property
|
|
1720
|
+
@_builtins.property
|
|
1632
1721
|
@pulumi.getter(name="performAt")
|
|
1633
|
-
def perform_at(self) -> str:
|
|
1722
|
+
def perform_at(self) -> _builtins.str:
|
|
1634
1723
|
"""
|
|
1635
1724
|
String. Valid values: "always" "never" "timeWindow".
|
|
1636
1725
|
"""
|
|
1637
1726
|
return pulumi.get(self, "perform_at")
|
|
1638
1727
|
|
|
1639
|
-
@property
|
|
1728
|
+
@_builtins.property
|
|
1640
1729
|
@pulumi.getter(name="shouldOptimizeEcsAmi")
|
|
1641
|
-
def should_optimize_ecs_ami(self) -> bool:
|
|
1730
|
+
def should_optimize_ecs_ami(self) -> _builtins.bool:
|
|
1642
1731
|
"""
|
|
1643
1732
|
Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
1644
1733
|
"""
|
|
1645
1734
|
return pulumi.get(self, "should_optimize_ecs_ami")
|
|
1646
1735
|
|
|
1647
|
-
@property
|
|
1736
|
+
@_builtins.property
|
|
1648
1737
|
@pulumi.getter(name="timeWindows")
|
|
1649
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
1738
|
+
def time_windows(self) -> Optional[Sequence[_builtins.str]]:
|
|
1650
1739
|
"""
|
|
1651
1740
|
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.
|
|
1652
1741
|
"""
|
|
@@ -1684,7 +1773,7 @@ class OceanScheduledTask(dict):
|
|
|
1684
1773
|
if tasks is not None:
|
|
1685
1774
|
pulumi.set(__self__, "tasks", tasks)
|
|
1686
1775
|
|
|
1687
|
-
@property
|
|
1776
|
+
@_builtins.property
|
|
1688
1777
|
@pulumi.getter(name="shutdownHours")
|
|
1689
1778
|
def shutdown_hours(self) -> Optional['outputs.OceanScheduledTaskShutdownHours']:
|
|
1690
1779
|
"""
|
|
@@ -1692,7 +1781,7 @@ class OceanScheduledTask(dict):
|
|
|
1692
1781
|
"""
|
|
1693
1782
|
return pulumi.get(self, "shutdown_hours")
|
|
1694
1783
|
|
|
1695
|
-
@property
|
|
1784
|
+
@_builtins.property
|
|
1696
1785
|
@pulumi.getter
|
|
1697
1786
|
def tasks(self) -> Optional[Sequence['outputs.OceanScheduledTaskTask']]:
|
|
1698
1787
|
"""
|
|
@@ -1723,27 +1812,27 @@ class OceanScheduledTaskShutdownHours(dict):
|
|
|
1723
1812
|
return super().get(key, default)
|
|
1724
1813
|
|
|
1725
1814
|
def __init__(__self__, *,
|
|
1726
|
-
time_windows: Sequence[str],
|
|
1727
|
-
is_enabled: Optional[bool] = None):
|
|
1815
|
+
time_windows: Sequence[_builtins.str],
|
|
1816
|
+
is_enabled: Optional[_builtins.bool] = None):
|
|
1728
1817
|
"""
|
|
1729
|
-
:param Sequence[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`.
|
|
1730
|
-
:param bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1818
|
+
:param Sequence[_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`.
|
|
1819
|
+
:param _builtins.bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1731
1820
|
"""
|
|
1732
1821
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
1733
1822
|
if is_enabled is not None:
|
|
1734
1823
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1735
1824
|
|
|
1736
|
-
@property
|
|
1825
|
+
@_builtins.property
|
|
1737
1826
|
@pulumi.getter(name="timeWindows")
|
|
1738
|
-
def time_windows(self) -> Sequence[str]:
|
|
1827
|
+
def time_windows(self) -> Sequence[_builtins.str]:
|
|
1739
1828
|
"""
|
|
1740
1829
|
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`.
|
|
1741
1830
|
"""
|
|
1742
1831
|
return pulumi.get(self, "time_windows")
|
|
1743
1832
|
|
|
1744
|
-
@property
|
|
1833
|
+
@_builtins.property
|
|
1745
1834
|
@pulumi.getter(name="isEnabled")
|
|
1746
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1835
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1747
1836
|
"""
|
|
1748
1837
|
Flag to enable / disable the shutdown hours.
|
|
1749
1838
|
"""
|
|
@@ -1774,37 +1863,37 @@ class OceanScheduledTaskTask(dict):
|
|
|
1774
1863
|
return super().get(key, default)
|
|
1775
1864
|
|
|
1776
1865
|
def __init__(__self__, *,
|
|
1777
|
-
cron_expression: str,
|
|
1778
|
-
is_enabled: bool,
|
|
1779
|
-
task_type: str):
|
|
1866
|
+
cron_expression: _builtins.str,
|
|
1867
|
+
is_enabled: _builtins.bool,
|
|
1868
|
+
task_type: _builtins.str):
|
|
1780
1869
|
"""
|
|
1781
|
-
:param 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 * * *`.
|
|
1782
|
-
:param 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.
|
|
1783
|
-
:param str task_type: Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
1870
|
+
:param _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 * * *`.
|
|
1871
|
+
:param _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.
|
|
1872
|
+
:param _builtins.str task_type: Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
1784
1873
|
"""
|
|
1785
1874
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
1786
1875
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1787
1876
|
pulumi.set(__self__, "task_type", task_type)
|
|
1788
1877
|
|
|
1789
|
-
@property
|
|
1878
|
+
@_builtins.property
|
|
1790
1879
|
@pulumi.getter(name="cronExpression")
|
|
1791
|
-
def cron_expression(self) -> str:
|
|
1880
|
+
def cron_expression(self) -> _builtins.str:
|
|
1792
1881
|
"""
|
|
1793
1882
|
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 * * *`.
|
|
1794
1883
|
"""
|
|
1795
1884
|
return pulumi.get(self, "cron_expression")
|
|
1796
1885
|
|
|
1797
|
-
@property
|
|
1886
|
+
@_builtins.property
|
|
1798
1887
|
@pulumi.getter(name="isEnabled")
|
|
1799
|
-
def is_enabled(self) -> bool:
|
|
1888
|
+
def is_enabled(self) -> _builtins.bool:
|
|
1800
1889
|
"""
|
|
1801
1890
|
Describes whether the task is enabled. When true the task should run when false it should not run. Required for `cluster.scheduling.tasks` object.
|
|
1802
1891
|
"""
|
|
1803
1892
|
return pulumi.get(self, "is_enabled")
|
|
1804
1893
|
|
|
1805
|
-
@property
|
|
1894
|
+
@_builtins.property
|
|
1806
1895
|
@pulumi.getter(name="taskType")
|
|
1807
|
-
def task_type(self) -> str:
|
|
1896
|
+
def task_type(self) -> _builtins.str:
|
|
1808
1897
|
"""
|
|
1809
1898
|
Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
1810
1899
|
"""
|
|
@@ -1814,27 +1903,27 @@ class OceanScheduledTaskTask(dict):
|
|
|
1814
1903
|
@pulumi.output_type
|
|
1815
1904
|
class OceanTag(dict):
|
|
1816
1905
|
def __init__(__self__, *,
|
|
1817
|
-
key: str,
|
|
1818
|
-
value: str):
|
|
1906
|
+
key: _builtins.str,
|
|
1907
|
+
value: _builtins.str):
|
|
1819
1908
|
"""
|
|
1820
|
-
:param str key: The tag key.
|
|
1821
|
-
:param str value: The tag value.
|
|
1909
|
+
:param _builtins.str key: The tag key.
|
|
1910
|
+
:param _builtins.str value: The tag value.
|
|
1822
1911
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
1823
1912
|
"""
|
|
1824
1913
|
pulumi.set(__self__, "key", key)
|
|
1825
1914
|
pulumi.set(__self__, "value", value)
|
|
1826
1915
|
|
|
1827
|
-
@property
|
|
1916
|
+
@_builtins.property
|
|
1828
1917
|
@pulumi.getter
|
|
1829
|
-
def key(self) -> str:
|
|
1918
|
+
def key(self) -> _builtins.str:
|
|
1830
1919
|
"""
|
|
1831
1920
|
The tag key.
|
|
1832
1921
|
"""
|
|
1833
1922
|
return pulumi.get(self, "key")
|
|
1834
1923
|
|
|
1835
|
-
@property
|
|
1924
|
+
@_builtins.property
|
|
1836
1925
|
@pulumi.getter
|
|
1837
|
-
def value(self) -> str:
|
|
1926
|
+
def value(self) -> _builtins.str:
|
|
1838
1927
|
"""
|
|
1839
1928
|
The tag value.
|
|
1840
1929
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
@@ -1868,14 +1957,14 @@ class OceanUpdatePolicy(dict):
|
|
|
1868
1957
|
return super().get(key, default)
|
|
1869
1958
|
|
|
1870
1959
|
def __init__(__self__, *,
|
|
1871
|
-
should_roll: bool,
|
|
1872
|
-
auto_apply_tags: Optional[bool] = None,
|
|
1873
|
-
conditioned_roll: Optional[bool] = None,
|
|
1960
|
+
should_roll: _builtins.bool,
|
|
1961
|
+
auto_apply_tags: Optional[_builtins.bool] = None,
|
|
1962
|
+
conditioned_roll: Optional[_builtins.bool] = None,
|
|
1874
1963
|
roll_config: Optional['outputs.OceanUpdatePolicyRollConfig'] = None):
|
|
1875
1964
|
"""
|
|
1876
|
-
:param bool should_roll: Enables the roll.
|
|
1877
|
-
:param bool auto_apply_tags: will update instance tags on the fly without rolling the cluster.
|
|
1878
|
-
:param 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).
|
|
1965
|
+
:param _builtins.bool should_roll: Enables the roll.
|
|
1966
|
+
:param _builtins.bool auto_apply_tags: will update instance tags on the fly without rolling the cluster.
|
|
1967
|
+
:param _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).
|
|
1879
1968
|
"""
|
|
1880
1969
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
1881
1970
|
if auto_apply_tags is not None:
|
|
@@ -1885,31 +1974,31 @@ class OceanUpdatePolicy(dict):
|
|
|
1885
1974
|
if roll_config is not None:
|
|
1886
1975
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
1887
1976
|
|
|
1888
|
-
@property
|
|
1977
|
+
@_builtins.property
|
|
1889
1978
|
@pulumi.getter(name="shouldRoll")
|
|
1890
|
-
def should_roll(self) -> bool:
|
|
1979
|
+
def should_roll(self) -> _builtins.bool:
|
|
1891
1980
|
"""
|
|
1892
1981
|
Enables the roll.
|
|
1893
1982
|
"""
|
|
1894
1983
|
return pulumi.get(self, "should_roll")
|
|
1895
1984
|
|
|
1896
|
-
@property
|
|
1985
|
+
@_builtins.property
|
|
1897
1986
|
@pulumi.getter(name="autoApplyTags")
|
|
1898
|
-
def auto_apply_tags(self) -> Optional[bool]:
|
|
1987
|
+
def auto_apply_tags(self) -> Optional[_builtins.bool]:
|
|
1899
1988
|
"""
|
|
1900
1989
|
will update instance tags on the fly without rolling the cluster.
|
|
1901
1990
|
"""
|
|
1902
1991
|
return pulumi.get(self, "auto_apply_tags")
|
|
1903
1992
|
|
|
1904
|
-
@property
|
|
1993
|
+
@_builtins.property
|
|
1905
1994
|
@pulumi.getter(name="conditionedRoll")
|
|
1906
|
-
def conditioned_roll(self) -> Optional[bool]:
|
|
1995
|
+
def conditioned_roll(self) -> Optional[_builtins.bool]:
|
|
1907
1996
|
"""
|
|
1908
1997
|
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).
|
|
1909
1998
|
"""
|
|
1910
1999
|
return pulumi.get(self, "conditioned_roll")
|
|
1911
2000
|
|
|
1912
|
-
@property
|
|
2001
|
+
@_builtins.property
|
|
1913
2002
|
@pulumi.getter(name="rollConfig")
|
|
1914
2003
|
def roll_config(self) -> Optional['outputs.OceanUpdatePolicyRollConfig']:
|
|
1915
2004
|
return pulumi.get(self, "roll_config")
|
|
@@ -1937,27 +2026,27 @@ class OceanUpdatePolicyRollConfig(dict):
|
|
|
1937
2026
|
return super().get(key, default)
|
|
1938
2027
|
|
|
1939
2028
|
def __init__(__self__, *,
|
|
1940
|
-
batch_size_percentage: int,
|
|
1941
|
-
batch_min_healthy_percentage: Optional[int] = None):
|
|
2029
|
+
batch_size_percentage: _builtins.int,
|
|
2030
|
+
batch_min_healthy_percentage: Optional[_builtins.int] = None):
|
|
1942
2031
|
"""
|
|
1943
|
-
:param int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
1944
|
-
:param 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.
|
|
2032
|
+
:param _builtins.int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2033
|
+
:param _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.
|
|
1945
2034
|
"""
|
|
1946
2035
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
1947
2036
|
if batch_min_healthy_percentage is not None:
|
|
1948
2037
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
1949
2038
|
|
|
1950
|
-
@property
|
|
2039
|
+
@_builtins.property
|
|
1951
2040
|
@pulumi.getter(name="batchSizePercentage")
|
|
1952
|
-
def batch_size_percentage(self) -> int:
|
|
2041
|
+
def batch_size_percentage(self) -> _builtins.int:
|
|
1953
2042
|
"""
|
|
1954
2043
|
Sets the percentage of the instances to deploy in each batch.
|
|
1955
2044
|
"""
|
|
1956
2045
|
return pulumi.get(self, "batch_size_percentage")
|
|
1957
2046
|
|
|
1958
|
-
@property
|
|
2047
|
+
@_builtins.property
|
|
1959
2048
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1960
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
2049
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
1961
2050
|
"""
|
|
1962
2051
|
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.
|
|
1963
2052
|
"""
|