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