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