pulumi-spotinst 3.115.0a1742873189__py3-none-any.whl → 3.128.0a1767140134__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_spotinst/__init__.py +11 -1
- pulumi_spotinst/_inputs.py +2206 -1519
- pulumi_spotinst/_utilities.py +1 -1
- pulumi_spotinst/account.py +20 -19
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +3991 -3619
- pulumi_spotinst/aws/account.py +20 -19
- pulumi_spotinst/aws/beanstalk.py +254 -177
- pulumi_spotinst/aws/credentials.py +37 -36
- pulumi_spotinst/aws/elastigroup.py +938 -950
- pulumi_spotinst/aws/managed_instance.py +507 -506
- pulumi_spotinst/aws/mr_scalar.py +658 -653
- pulumi_spotinst/aws/ocean.py +624 -529
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +395 -300
- pulumi_spotinst/aws/outputs.py +2631 -2371
- pulumi_spotinst/aws/suspension.py +23 -22
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +607 -607
- pulumi_spotinst/azure/ocean_np.py +387 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
- pulumi_spotinst/azure/outputs.py +411 -411
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +2 -2
- pulumi_spotinst/config/vars.py +6 -6
- pulumi_spotinst/credentials_azure.py +139 -89
- pulumi_spotinst/credentials_gcp.py +190 -189
- pulumi_spotinst/data_integration.py +40 -39
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +584 -584
- pulumi_spotinst/ecs/ocean.py +628 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
- pulumi_spotinst/ecs/outputs.py +394 -394
- pulumi_spotinst/elastigroup_azure_v3.py +326 -325
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +573 -499
- pulumi_spotinst/gcp/elastigroup.py +491 -482
- pulumi_spotinst/gcp/outputs.py +395 -330
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +1120 -895
- pulumi_spotinst/gke/elastigroup.py +341 -340
- pulumi_spotinst/gke/ocean_import.py +204 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +285 -213
- pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
- pulumi_spotinst/gke/outputs.py +769 -583
- pulumi_spotinst/health_check.py +106 -65
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +764 -764
- pulumi_spotinst/oceancd/outputs.py +526 -526
- pulumi_spotinst/oceancd/rollout_spec.py +35 -34
- pulumi_spotinst/oceancd/strategy.py +22 -21
- pulumi_spotinst/oceancd/verification_provider.py +52 -51
- pulumi_spotinst/oceancd/verification_template.py +26 -25
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +68 -68
- pulumi_spotinst/organization/outputs.py +46 -46
- pulumi_spotinst/organization/policy.py +40 -39
- pulumi_spotinst/organization/programmatic_user.py +60 -59
- pulumi_spotinst/organization/user.py +108 -107
- pulumi_spotinst/organization/user_group.py +57 -56
- pulumi_spotinst/outputs.py +1472 -932
- pulumi_spotinst/provider.py +61 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +104 -104
- pulumi_spotinst/spark/ocean.py +38 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
- pulumi_spotinst/spark/outputs.py +72 -72
- pulumi_spotinst/stateful_node_azure.py +318 -343
- pulumi_spotinst/subscription.py +88 -87
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +3 -3
- pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.115.0a1742873189.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
pulumi_spotinst/aws/beanstalk.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -21,33 +21,33 @@ __all__ = ['BeanstalkArgs', 'Beanstalk']
|
|
|
21
21
|
@pulumi.input_type
|
|
22
22
|
class BeanstalkArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
|
-
desired_capacity: pulumi.Input[int],
|
|
25
|
-
instance_types_spots: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
26
|
-
max_size: pulumi.Input[int],
|
|
27
|
-
min_size: pulumi.Input[int],
|
|
28
|
-
product: pulumi.Input[str],
|
|
29
|
-
region: pulumi.Input[str],
|
|
30
|
-
beanstalk_environment_id: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
beanstalk_environment_name: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
desired_capacity: pulumi.Input[_builtins.int],
|
|
25
|
+
instance_types_spots: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
26
|
+
max_size: pulumi.Input[_builtins.int],
|
|
27
|
+
min_size: pulumi.Input[_builtins.int],
|
|
28
|
+
product: pulumi.Input[_builtins.str],
|
|
29
|
+
region: pulumi.Input[_builtins.str],
|
|
30
|
+
beanstalk_environment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
beanstalk_environment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
32
|
deployment_preferences: Optional[pulumi.Input['BeanstalkDeploymentPreferencesArgs']] = None,
|
|
33
|
-
maintenance: Optional[pulumi.Input[str]] = None,
|
|
33
|
+
maintenance: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
34
|
managed_actions: Optional[pulumi.Input['BeanstalkManagedActionsArgs']] = None,
|
|
35
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
35
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
36
|
scheduled_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['BeanstalkScheduledTaskArgs']]]] = None):
|
|
37
37
|
"""
|
|
38
38
|
The set of arguments for constructing a Beanstalk resource.
|
|
39
|
-
:param pulumi.Input[int] desired_capacity: The desired number of instances the group should have at any time.
|
|
40
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types_spots: One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
41
|
-
:param pulumi.Input[int] max_size: The maximum number of instances the group should have at any time.
|
|
42
|
-
:param pulumi.Input[int] min_size: The minimum number of instances the group should have at any time.
|
|
43
|
-
:param pulumi.Input[str] product: Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
39
|
+
:param pulumi.Input[_builtins.int] desired_capacity: The desired number of instances the group should have at any time.
|
|
40
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] instance_types_spots: One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
41
|
+
:param pulumi.Input[_builtins.int] max_size: The maximum number of instances the group should have at any time.
|
|
42
|
+
:param pulumi.Input[_builtins.int] min_size: The minimum number of instances the group should have at any time.
|
|
43
|
+
:param pulumi.Input[_builtins.str] product: Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
44
44
|
For EC2 Classic instances: `"Linux/UNIX (Amazon VPC)"`, `"SUSE Linux (Amazon VPC)"`, `"Windows (Amazon VPC)"`.
|
|
45
|
-
:param pulumi.Input[str] region: The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
46
|
-
:param pulumi.Input[str] beanstalk_environment_id: The id of an existing Beanstalk environment.
|
|
47
|
-
:param pulumi.Input[str] beanstalk_environment_name: The name of an existing Beanstalk environment.
|
|
45
|
+
:param pulumi.Input[_builtins.str] region: The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
46
|
+
:param pulumi.Input[_builtins.str] beanstalk_environment_id: The id of an existing Beanstalk environment.
|
|
47
|
+
:param pulumi.Input[_builtins.str] beanstalk_environment_name: The name of an existing Beanstalk environment.
|
|
48
48
|
:param pulumi.Input['BeanstalkDeploymentPreferencesArgs'] deployment_preferences: Preferences when performing a roll
|
|
49
49
|
:param pulumi.Input['BeanstalkManagedActionsArgs'] managed_actions: Managed Actions parameters
|
|
50
|
-
:param pulumi.Input[str] name: The group name.
|
|
50
|
+
:param pulumi.Input[_builtins.str] name: The group name.
|
|
51
51
|
"""
|
|
52
52
|
pulumi.set(__self__, "desired_capacity", desired_capacity)
|
|
53
53
|
pulumi.set(__self__, "instance_types_spots", instance_types_spots)
|
|
@@ -70,57 +70,57 @@ class BeanstalkArgs:
|
|
|
70
70
|
if scheduled_tasks is not None:
|
|
71
71
|
pulumi.set(__self__, "scheduled_tasks", scheduled_tasks)
|
|
72
72
|
|
|
73
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
74
74
|
@pulumi.getter(name="desiredCapacity")
|
|
75
|
-
def desired_capacity(self) -> pulumi.Input[int]:
|
|
75
|
+
def desired_capacity(self) -> pulumi.Input[_builtins.int]:
|
|
76
76
|
"""
|
|
77
77
|
The desired number of instances the group should have at any time.
|
|
78
78
|
"""
|
|
79
79
|
return pulumi.get(self, "desired_capacity")
|
|
80
80
|
|
|
81
81
|
@desired_capacity.setter
|
|
82
|
-
def desired_capacity(self, value: pulumi.Input[int]):
|
|
82
|
+
def desired_capacity(self, value: pulumi.Input[_builtins.int]):
|
|
83
83
|
pulumi.set(self, "desired_capacity", value)
|
|
84
84
|
|
|
85
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
86
86
|
@pulumi.getter(name="instanceTypesSpots")
|
|
87
|
-
def instance_types_spots(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
87
|
+
def instance_types_spots(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
88
88
|
"""
|
|
89
89
|
One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
90
90
|
"""
|
|
91
91
|
return pulumi.get(self, "instance_types_spots")
|
|
92
92
|
|
|
93
93
|
@instance_types_spots.setter
|
|
94
|
-
def instance_types_spots(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
94
|
+
def instance_types_spots(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
95
95
|
pulumi.set(self, "instance_types_spots", value)
|
|
96
96
|
|
|
97
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
98
98
|
@pulumi.getter(name="maxSize")
|
|
99
|
-
def max_size(self) -> pulumi.Input[int]:
|
|
99
|
+
def max_size(self) -> pulumi.Input[_builtins.int]:
|
|
100
100
|
"""
|
|
101
101
|
The maximum number of instances the group should have at any time.
|
|
102
102
|
"""
|
|
103
103
|
return pulumi.get(self, "max_size")
|
|
104
104
|
|
|
105
105
|
@max_size.setter
|
|
106
|
-
def max_size(self, value: pulumi.Input[int]):
|
|
106
|
+
def max_size(self, value: pulumi.Input[_builtins.int]):
|
|
107
107
|
pulumi.set(self, "max_size", value)
|
|
108
108
|
|
|
109
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
110
110
|
@pulumi.getter(name="minSize")
|
|
111
|
-
def min_size(self) -> pulumi.Input[int]:
|
|
111
|
+
def min_size(self) -> pulumi.Input[_builtins.int]:
|
|
112
112
|
"""
|
|
113
113
|
The minimum number of instances the group should have at any time.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "min_size")
|
|
116
116
|
|
|
117
117
|
@min_size.setter
|
|
118
|
-
def min_size(self, value: pulumi.Input[int]):
|
|
118
|
+
def min_size(self, value: pulumi.Input[_builtins.int]):
|
|
119
119
|
pulumi.set(self, "min_size", value)
|
|
120
120
|
|
|
121
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
122
122
|
@pulumi.getter
|
|
123
|
-
def product(self) -> pulumi.Input[str]:
|
|
123
|
+
def product(self) -> pulumi.Input[_builtins.str]:
|
|
124
124
|
"""
|
|
125
125
|
Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
126
126
|
For EC2 Classic instances: `"Linux/UNIX (Amazon VPC)"`, `"SUSE Linux (Amazon VPC)"`, `"Windows (Amazon VPC)"`.
|
|
@@ -128,46 +128,46 @@ class BeanstalkArgs:
|
|
|
128
128
|
return pulumi.get(self, "product")
|
|
129
129
|
|
|
130
130
|
@product.setter
|
|
131
|
-
def product(self, value: pulumi.Input[str]):
|
|
131
|
+
def product(self, value: pulumi.Input[_builtins.str]):
|
|
132
132
|
pulumi.set(self, "product", value)
|
|
133
133
|
|
|
134
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
135
135
|
@pulumi.getter
|
|
136
|
-
def region(self) -> pulumi.Input[str]:
|
|
136
|
+
def region(self) -> pulumi.Input[_builtins.str]:
|
|
137
137
|
"""
|
|
138
138
|
The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
139
139
|
"""
|
|
140
140
|
return pulumi.get(self, "region")
|
|
141
141
|
|
|
142
142
|
@region.setter
|
|
143
|
-
def region(self, value: pulumi.Input[str]):
|
|
143
|
+
def region(self, value: pulumi.Input[_builtins.str]):
|
|
144
144
|
pulumi.set(self, "region", value)
|
|
145
145
|
|
|
146
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
147
147
|
@pulumi.getter(name="beanstalkEnvironmentId")
|
|
148
|
-
def beanstalk_environment_id(self) -> Optional[pulumi.Input[str]]:
|
|
148
|
+
def beanstalk_environment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
149
149
|
"""
|
|
150
150
|
The id of an existing Beanstalk environment.
|
|
151
151
|
"""
|
|
152
152
|
return pulumi.get(self, "beanstalk_environment_id")
|
|
153
153
|
|
|
154
154
|
@beanstalk_environment_id.setter
|
|
155
|
-
def beanstalk_environment_id(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
def beanstalk_environment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
156
156
|
pulumi.set(self, "beanstalk_environment_id", value)
|
|
157
157
|
|
|
158
|
-
@property
|
|
158
|
+
@_builtins.property
|
|
159
159
|
@pulumi.getter(name="beanstalkEnvironmentName")
|
|
160
|
-
def beanstalk_environment_name(self) -> Optional[pulumi.Input[str]]:
|
|
160
|
+
def beanstalk_environment_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
161
161
|
"""
|
|
162
162
|
The name of an existing Beanstalk environment.
|
|
163
163
|
"""
|
|
164
164
|
return pulumi.get(self, "beanstalk_environment_name")
|
|
165
165
|
|
|
166
166
|
@beanstalk_environment_name.setter
|
|
167
|
-
def beanstalk_environment_name(self, value: Optional[pulumi.Input[str]]):
|
|
167
|
+
def beanstalk_environment_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
168
168
|
pulumi.set(self, "beanstalk_environment_name", value)
|
|
169
169
|
|
|
170
|
-
@property
|
|
170
|
+
@_builtins.property
|
|
171
171
|
@pulumi.getter(name="deploymentPreferences")
|
|
172
172
|
def deployment_preferences(self) -> Optional[pulumi.Input['BeanstalkDeploymentPreferencesArgs']]:
|
|
173
173
|
"""
|
|
@@ -179,16 +179,16 @@ class BeanstalkArgs:
|
|
|
179
179
|
def deployment_preferences(self, value: Optional[pulumi.Input['BeanstalkDeploymentPreferencesArgs']]):
|
|
180
180
|
pulumi.set(self, "deployment_preferences", value)
|
|
181
181
|
|
|
182
|
-
@property
|
|
182
|
+
@_builtins.property
|
|
183
183
|
@pulumi.getter
|
|
184
|
-
def maintenance(self) -> Optional[pulumi.Input[str]]:
|
|
184
|
+
def maintenance(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
185
185
|
return pulumi.get(self, "maintenance")
|
|
186
186
|
|
|
187
187
|
@maintenance.setter
|
|
188
|
-
def maintenance(self, value: Optional[pulumi.Input[str]]):
|
|
188
|
+
def maintenance(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
189
189
|
pulumi.set(self, "maintenance", value)
|
|
190
190
|
|
|
191
|
-
@property
|
|
191
|
+
@_builtins.property
|
|
192
192
|
@pulumi.getter(name="managedActions")
|
|
193
193
|
def managed_actions(self) -> Optional[pulumi.Input['BeanstalkManagedActionsArgs']]:
|
|
194
194
|
"""
|
|
@@ -200,19 +200,19 @@ class BeanstalkArgs:
|
|
|
200
200
|
def managed_actions(self, value: Optional[pulumi.Input['BeanstalkManagedActionsArgs']]):
|
|
201
201
|
pulumi.set(self, "managed_actions", value)
|
|
202
202
|
|
|
203
|
-
@property
|
|
203
|
+
@_builtins.property
|
|
204
204
|
@pulumi.getter
|
|
205
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
205
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
206
206
|
"""
|
|
207
207
|
The group name.
|
|
208
208
|
"""
|
|
209
209
|
return pulumi.get(self, "name")
|
|
210
210
|
|
|
211
211
|
@name.setter
|
|
212
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
212
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
213
213
|
pulumi.set(self, "name", value)
|
|
214
214
|
|
|
215
|
-
@property
|
|
215
|
+
@_builtins.property
|
|
216
216
|
@pulumi.getter(name="scheduledTasks")
|
|
217
217
|
def scheduled_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BeanstalkScheduledTaskArgs']]]]:
|
|
218
218
|
return pulumi.get(self, "scheduled_tasks")
|
|
@@ -225,33 +225,33 @@ class BeanstalkArgs:
|
|
|
225
225
|
@pulumi.input_type
|
|
226
226
|
class _BeanstalkState:
|
|
227
227
|
def __init__(__self__, *,
|
|
228
|
-
beanstalk_environment_id: Optional[pulumi.Input[str]] = None,
|
|
229
|
-
beanstalk_environment_name: Optional[pulumi.Input[str]] = None,
|
|
228
|
+
beanstalk_environment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
229
|
+
beanstalk_environment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
230
230
|
deployment_preferences: Optional[pulumi.Input['BeanstalkDeploymentPreferencesArgs']] = None,
|
|
231
|
-
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
232
|
-
instance_types_spots: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
233
|
-
maintenance: Optional[pulumi.Input[str]] = None,
|
|
231
|
+
desired_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
232
|
+
instance_types_spots: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
233
|
+
maintenance: Optional[pulumi.Input[_builtins.str]] = None,
|
|
234
234
|
managed_actions: Optional[pulumi.Input['BeanstalkManagedActionsArgs']] = None,
|
|
235
|
-
max_size: Optional[pulumi.Input[int]] = None,
|
|
236
|
-
min_size: Optional[pulumi.Input[int]] = None,
|
|
237
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
238
|
-
product: Optional[pulumi.Input[str]] = None,
|
|
239
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
235
|
+
max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
236
|
+
min_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
237
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
238
|
+
product: Optional[pulumi.Input[_builtins.str]] = None,
|
|
239
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
240
|
scheduled_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['BeanstalkScheduledTaskArgs']]]] = None):
|
|
241
241
|
"""
|
|
242
242
|
Input properties used for looking up and filtering Beanstalk resources.
|
|
243
|
-
:param pulumi.Input[str] beanstalk_environment_id: The id of an existing Beanstalk environment.
|
|
244
|
-
:param pulumi.Input[str] beanstalk_environment_name: The name of an existing Beanstalk environment.
|
|
243
|
+
:param pulumi.Input[_builtins.str] beanstalk_environment_id: The id of an existing Beanstalk environment.
|
|
244
|
+
:param pulumi.Input[_builtins.str] beanstalk_environment_name: The name of an existing Beanstalk environment.
|
|
245
245
|
:param pulumi.Input['BeanstalkDeploymentPreferencesArgs'] deployment_preferences: Preferences when performing a roll
|
|
246
|
-
:param pulumi.Input[int] desired_capacity: The desired number of instances the group should have at any time.
|
|
247
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types_spots: One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
246
|
+
:param pulumi.Input[_builtins.int] desired_capacity: The desired number of instances the group should have at any time.
|
|
247
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] instance_types_spots: One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
248
248
|
:param pulumi.Input['BeanstalkManagedActionsArgs'] managed_actions: Managed Actions parameters
|
|
249
|
-
:param pulumi.Input[int] max_size: The maximum number of instances the group should have at any time.
|
|
250
|
-
:param pulumi.Input[int] min_size: The minimum number of instances the group should have at any time.
|
|
251
|
-
:param pulumi.Input[str] name: The group name.
|
|
252
|
-
:param pulumi.Input[str] product: Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
249
|
+
:param pulumi.Input[_builtins.int] max_size: The maximum number of instances the group should have at any time.
|
|
250
|
+
:param pulumi.Input[_builtins.int] min_size: The minimum number of instances the group should have at any time.
|
|
251
|
+
:param pulumi.Input[_builtins.str] name: The group name.
|
|
252
|
+
:param pulumi.Input[_builtins.str] product: Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
253
253
|
For EC2 Classic instances: `"Linux/UNIX (Amazon VPC)"`, `"SUSE Linux (Amazon VPC)"`, `"Windows (Amazon VPC)"`.
|
|
254
|
-
:param pulumi.Input[str] region: The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
254
|
+
:param pulumi.Input[_builtins.str] region: The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
255
255
|
"""
|
|
256
256
|
if beanstalk_environment_id is not None:
|
|
257
257
|
pulumi.set(__self__, "beanstalk_environment_id", beanstalk_environment_id)
|
|
@@ -280,31 +280,31 @@ class _BeanstalkState:
|
|
|
280
280
|
if scheduled_tasks is not None:
|
|
281
281
|
pulumi.set(__self__, "scheduled_tasks", scheduled_tasks)
|
|
282
282
|
|
|
283
|
-
@property
|
|
283
|
+
@_builtins.property
|
|
284
284
|
@pulumi.getter(name="beanstalkEnvironmentId")
|
|
285
|
-
def beanstalk_environment_id(self) -> Optional[pulumi.Input[str]]:
|
|
285
|
+
def beanstalk_environment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
286
286
|
"""
|
|
287
287
|
The id of an existing Beanstalk environment.
|
|
288
288
|
"""
|
|
289
289
|
return pulumi.get(self, "beanstalk_environment_id")
|
|
290
290
|
|
|
291
291
|
@beanstalk_environment_id.setter
|
|
292
|
-
def beanstalk_environment_id(self, value: Optional[pulumi.Input[str]]):
|
|
292
|
+
def beanstalk_environment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
293
293
|
pulumi.set(self, "beanstalk_environment_id", value)
|
|
294
294
|
|
|
295
|
-
@property
|
|
295
|
+
@_builtins.property
|
|
296
296
|
@pulumi.getter(name="beanstalkEnvironmentName")
|
|
297
|
-
def beanstalk_environment_name(self) -> Optional[pulumi.Input[str]]:
|
|
297
|
+
def beanstalk_environment_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
298
298
|
"""
|
|
299
299
|
The name of an existing Beanstalk environment.
|
|
300
300
|
"""
|
|
301
301
|
return pulumi.get(self, "beanstalk_environment_name")
|
|
302
302
|
|
|
303
303
|
@beanstalk_environment_name.setter
|
|
304
|
-
def beanstalk_environment_name(self, value: Optional[pulumi.Input[str]]):
|
|
304
|
+
def beanstalk_environment_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
305
305
|
pulumi.set(self, "beanstalk_environment_name", value)
|
|
306
306
|
|
|
307
|
-
@property
|
|
307
|
+
@_builtins.property
|
|
308
308
|
@pulumi.getter(name="deploymentPreferences")
|
|
309
309
|
def deployment_preferences(self) -> Optional[pulumi.Input['BeanstalkDeploymentPreferencesArgs']]:
|
|
310
310
|
"""
|
|
@@ -316,40 +316,40 @@ class _BeanstalkState:
|
|
|
316
316
|
def deployment_preferences(self, value: Optional[pulumi.Input['BeanstalkDeploymentPreferencesArgs']]):
|
|
317
317
|
pulumi.set(self, "deployment_preferences", value)
|
|
318
318
|
|
|
319
|
-
@property
|
|
319
|
+
@_builtins.property
|
|
320
320
|
@pulumi.getter(name="desiredCapacity")
|
|
321
|
-
def desired_capacity(self) -> Optional[pulumi.Input[int]]:
|
|
321
|
+
def desired_capacity(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
322
322
|
"""
|
|
323
323
|
The desired number of instances the group should have at any time.
|
|
324
324
|
"""
|
|
325
325
|
return pulumi.get(self, "desired_capacity")
|
|
326
326
|
|
|
327
327
|
@desired_capacity.setter
|
|
328
|
-
def desired_capacity(self, value: Optional[pulumi.Input[int]]):
|
|
328
|
+
def desired_capacity(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
329
329
|
pulumi.set(self, "desired_capacity", value)
|
|
330
330
|
|
|
331
|
-
@property
|
|
331
|
+
@_builtins.property
|
|
332
332
|
@pulumi.getter(name="instanceTypesSpots")
|
|
333
|
-
def instance_types_spots(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
333
|
+
def instance_types_spots(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
334
334
|
"""
|
|
335
335
|
One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
336
336
|
"""
|
|
337
337
|
return pulumi.get(self, "instance_types_spots")
|
|
338
338
|
|
|
339
339
|
@instance_types_spots.setter
|
|
340
|
-
def instance_types_spots(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
340
|
+
def instance_types_spots(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
341
341
|
pulumi.set(self, "instance_types_spots", value)
|
|
342
342
|
|
|
343
|
-
@property
|
|
343
|
+
@_builtins.property
|
|
344
344
|
@pulumi.getter
|
|
345
|
-
def maintenance(self) -> Optional[pulumi.Input[str]]:
|
|
345
|
+
def maintenance(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
346
346
|
return pulumi.get(self, "maintenance")
|
|
347
347
|
|
|
348
348
|
@maintenance.setter
|
|
349
|
-
def maintenance(self, value: Optional[pulumi.Input[str]]):
|
|
349
|
+
def maintenance(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
350
350
|
pulumi.set(self, "maintenance", value)
|
|
351
351
|
|
|
352
|
-
@property
|
|
352
|
+
@_builtins.property
|
|
353
353
|
@pulumi.getter(name="managedActions")
|
|
354
354
|
def managed_actions(self) -> Optional[pulumi.Input['BeanstalkManagedActionsArgs']]:
|
|
355
355
|
"""
|
|
@@ -361,45 +361,45 @@ class _BeanstalkState:
|
|
|
361
361
|
def managed_actions(self, value: Optional[pulumi.Input['BeanstalkManagedActionsArgs']]):
|
|
362
362
|
pulumi.set(self, "managed_actions", value)
|
|
363
363
|
|
|
364
|
-
@property
|
|
364
|
+
@_builtins.property
|
|
365
365
|
@pulumi.getter(name="maxSize")
|
|
366
|
-
def max_size(self) -> Optional[pulumi.Input[int]]:
|
|
366
|
+
def max_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
367
367
|
"""
|
|
368
368
|
The maximum number of instances the group should have at any time.
|
|
369
369
|
"""
|
|
370
370
|
return pulumi.get(self, "max_size")
|
|
371
371
|
|
|
372
372
|
@max_size.setter
|
|
373
|
-
def max_size(self, value: Optional[pulumi.Input[int]]):
|
|
373
|
+
def max_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
374
374
|
pulumi.set(self, "max_size", value)
|
|
375
375
|
|
|
376
|
-
@property
|
|
376
|
+
@_builtins.property
|
|
377
377
|
@pulumi.getter(name="minSize")
|
|
378
|
-
def min_size(self) -> Optional[pulumi.Input[int]]:
|
|
378
|
+
def min_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
379
379
|
"""
|
|
380
380
|
The minimum number of instances the group should have at any time.
|
|
381
381
|
"""
|
|
382
382
|
return pulumi.get(self, "min_size")
|
|
383
383
|
|
|
384
384
|
@min_size.setter
|
|
385
|
-
def min_size(self, value: Optional[pulumi.Input[int]]):
|
|
385
|
+
def min_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
386
386
|
pulumi.set(self, "min_size", value)
|
|
387
387
|
|
|
388
|
-
@property
|
|
388
|
+
@_builtins.property
|
|
389
389
|
@pulumi.getter
|
|
390
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
390
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
391
391
|
"""
|
|
392
392
|
The group name.
|
|
393
393
|
"""
|
|
394
394
|
return pulumi.get(self, "name")
|
|
395
395
|
|
|
396
396
|
@name.setter
|
|
397
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
397
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
398
398
|
pulumi.set(self, "name", value)
|
|
399
399
|
|
|
400
|
-
@property
|
|
400
|
+
@_builtins.property
|
|
401
401
|
@pulumi.getter
|
|
402
|
-
def product(self) -> Optional[pulumi.Input[str]]:
|
|
402
|
+
def product(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
403
403
|
"""
|
|
404
404
|
Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
405
405
|
For EC2 Classic instances: `"Linux/UNIX (Amazon VPC)"`, `"SUSE Linux (Amazon VPC)"`, `"Windows (Amazon VPC)"`.
|
|
@@ -407,22 +407,22 @@ class _BeanstalkState:
|
|
|
407
407
|
return pulumi.get(self, "product")
|
|
408
408
|
|
|
409
409
|
@product.setter
|
|
410
|
-
def product(self, value: Optional[pulumi.Input[str]]):
|
|
410
|
+
def product(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
411
411
|
pulumi.set(self, "product", value)
|
|
412
412
|
|
|
413
|
-
@property
|
|
413
|
+
@_builtins.property
|
|
414
414
|
@pulumi.getter
|
|
415
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
|
415
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
416
416
|
"""
|
|
417
417
|
The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
418
418
|
"""
|
|
419
419
|
return pulumi.get(self, "region")
|
|
420
420
|
|
|
421
421
|
@region.setter
|
|
422
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
|
422
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
423
423
|
pulumi.set(self, "region", value)
|
|
424
424
|
|
|
425
|
-
@property
|
|
425
|
+
@_builtins.property
|
|
426
426
|
@pulumi.getter(name="scheduledTasks")
|
|
427
427
|
def scheduled_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BeanstalkScheduledTaskArgs']]]]:
|
|
428
428
|
return pulumi.get(self, "scheduled_tasks")
|
|
@@ -432,42 +432,81 @@ class _BeanstalkState:
|
|
|
432
432
|
pulumi.set(self, "scheduled_tasks", value)
|
|
433
433
|
|
|
434
434
|
|
|
435
|
+
@pulumi.type_token("spotinst:aws/beanstalk:Beanstalk")
|
|
435
436
|
class Beanstalk(pulumi.CustomResource):
|
|
436
437
|
@overload
|
|
437
438
|
def __init__(__self__,
|
|
438
439
|
resource_name: str,
|
|
439
440
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
440
|
-
beanstalk_environment_id: Optional[pulumi.Input[str]] = None,
|
|
441
|
-
beanstalk_environment_name: Optional[pulumi.Input[str]] = None,
|
|
441
|
+
beanstalk_environment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
442
|
+
beanstalk_environment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
442
443
|
deployment_preferences: Optional[pulumi.Input[Union['BeanstalkDeploymentPreferencesArgs', 'BeanstalkDeploymentPreferencesArgsDict']]] = None,
|
|
443
|
-
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
444
|
-
instance_types_spots: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
445
|
-
maintenance: Optional[pulumi.Input[str]] = None,
|
|
444
|
+
desired_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
445
|
+
instance_types_spots: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
446
|
+
maintenance: Optional[pulumi.Input[_builtins.str]] = None,
|
|
446
447
|
managed_actions: Optional[pulumi.Input[Union['BeanstalkManagedActionsArgs', 'BeanstalkManagedActionsArgsDict']]] = None,
|
|
447
|
-
max_size: Optional[pulumi.Input[int]] = None,
|
|
448
|
-
min_size: Optional[pulumi.Input[int]] = None,
|
|
449
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
450
|
-
product: Optional[pulumi.Input[str]] = None,
|
|
451
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
448
|
+
max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
449
|
+
min_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
450
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
451
|
+
product: Optional[pulumi.Input[_builtins.str]] = None,
|
|
452
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
452
453
|
scheduled_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BeanstalkScheduledTaskArgs', 'BeanstalkScheduledTaskArgsDict']]]]] = None,
|
|
453
454
|
__props__=None):
|
|
454
455
|
"""
|
|
455
456
|
Provides a Spotinst AWS group resource using Elastic Beanstalk.
|
|
456
457
|
|
|
458
|
+
## Example Usage
|
|
459
|
+
|
|
460
|
+
```python
|
|
461
|
+
import pulumi
|
|
462
|
+
import pulumi_spotinst as spotinst
|
|
463
|
+
|
|
464
|
+
elastigoup_aws_beanstalk = spotinst.aws.Beanstalk("elastigoup-aws-beanstalk",
|
|
465
|
+
name="example-elastigroup-beanstalk",
|
|
466
|
+
region="us-west-2",
|
|
467
|
+
product="Linux/UNIX",
|
|
468
|
+
min_size=0,
|
|
469
|
+
max_size=1,
|
|
470
|
+
desired_capacity=0,
|
|
471
|
+
beanstalk_environment_name="example-env",
|
|
472
|
+
beanstalk_environment_id="e-example",
|
|
473
|
+
instance_types_spots=[
|
|
474
|
+
"t2.micro",
|
|
475
|
+
"t2.medium",
|
|
476
|
+
"t2.large",
|
|
477
|
+
],
|
|
478
|
+
deployment_preferences={
|
|
479
|
+
"automatic_roll": True,
|
|
480
|
+
"batch_size_percentage": 100,
|
|
481
|
+
"grace_period": 90,
|
|
482
|
+
"strategies": [{
|
|
483
|
+
"action": "REPLACE_SERVER",
|
|
484
|
+
"should_drain_instances": True,
|
|
485
|
+
}],
|
|
486
|
+
},
|
|
487
|
+
managed_actions={
|
|
488
|
+
"platformUpdate": {
|
|
489
|
+
"performAt": "timeWindow",
|
|
490
|
+
"timeWindow": "Mon:23:50-Tue:00:20",
|
|
491
|
+
"updateLevel": "minorAndPatch",
|
|
492
|
+
},
|
|
493
|
+
}[0])
|
|
494
|
+
```
|
|
495
|
+
|
|
457
496
|
:param str resource_name: The name of the resource.
|
|
458
497
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
459
|
-
:param pulumi.Input[str] beanstalk_environment_id: The id of an existing Beanstalk environment.
|
|
460
|
-
:param pulumi.Input[str] beanstalk_environment_name: The name of an existing Beanstalk environment.
|
|
498
|
+
:param pulumi.Input[_builtins.str] beanstalk_environment_id: The id of an existing Beanstalk environment.
|
|
499
|
+
:param pulumi.Input[_builtins.str] beanstalk_environment_name: The name of an existing Beanstalk environment.
|
|
461
500
|
:param pulumi.Input[Union['BeanstalkDeploymentPreferencesArgs', 'BeanstalkDeploymentPreferencesArgsDict']] deployment_preferences: Preferences when performing a roll
|
|
462
|
-
:param pulumi.Input[int] desired_capacity: The desired number of instances the group should have at any time.
|
|
463
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types_spots: One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
501
|
+
:param pulumi.Input[_builtins.int] desired_capacity: The desired number of instances the group should have at any time.
|
|
502
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] instance_types_spots: One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
464
503
|
:param pulumi.Input[Union['BeanstalkManagedActionsArgs', 'BeanstalkManagedActionsArgsDict']] managed_actions: Managed Actions parameters
|
|
465
|
-
:param pulumi.Input[int] max_size: The maximum number of instances the group should have at any time.
|
|
466
|
-
:param pulumi.Input[int] min_size: The minimum number of instances the group should have at any time.
|
|
467
|
-
:param pulumi.Input[str] name: The group name.
|
|
468
|
-
:param pulumi.Input[str] product: Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
504
|
+
:param pulumi.Input[_builtins.int] max_size: The maximum number of instances the group should have at any time.
|
|
505
|
+
:param pulumi.Input[_builtins.int] min_size: The minimum number of instances the group should have at any time.
|
|
506
|
+
:param pulumi.Input[_builtins.str] name: The group name.
|
|
507
|
+
:param pulumi.Input[_builtins.str] product: Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
469
508
|
For EC2 Classic instances: `"Linux/UNIX (Amazon VPC)"`, `"SUSE Linux (Amazon VPC)"`, `"Windows (Amazon VPC)"`.
|
|
470
|
-
:param pulumi.Input[str] region: The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
509
|
+
:param pulumi.Input[_builtins.str] region: The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
471
510
|
"""
|
|
472
511
|
...
|
|
473
512
|
@overload
|
|
@@ -478,6 +517,44 @@ class Beanstalk(pulumi.CustomResource):
|
|
|
478
517
|
"""
|
|
479
518
|
Provides a Spotinst AWS group resource using Elastic Beanstalk.
|
|
480
519
|
|
|
520
|
+
## Example Usage
|
|
521
|
+
|
|
522
|
+
```python
|
|
523
|
+
import pulumi
|
|
524
|
+
import pulumi_spotinst as spotinst
|
|
525
|
+
|
|
526
|
+
elastigoup_aws_beanstalk = spotinst.aws.Beanstalk("elastigoup-aws-beanstalk",
|
|
527
|
+
name="example-elastigroup-beanstalk",
|
|
528
|
+
region="us-west-2",
|
|
529
|
+
product="Linux/UNIX",
|
|
530
|
+
min_size=0,
|
|
531
|
+
max_size=1,
|
|
532
|
+
desired_capacity=0,
|
|
533
|
+
beanstalk_environment_name="example-env",
|
|
534
|
+
beanstalk_environment_id="e-example",
|
|
535
|
+
instance_types_spots=[
|
|
536
|
+
"t2.micro",
|
|
537
|
+
"t2.medium",
|
|
538
|
+
"t2.large",
|
|
539
|
+
],
|
|
540
|
+
deployment_preferences={
|
|
541
|
+
"automatic_roll": True,
|
|
542
|
+
"batch_size_percentage": 100,
|
|
543
|
+
"grace_period": 90,
|
|
544
|
+
"strategies": [{
|
|
545
|
+
"action": "REPLACE_SERVER",
|
|
546
|
+
"should_drain_instances": True,
|
|
547
|
+
}],
|
|
548
|
+
},
|
|
549
|
+
managed_actions={
|
|
550
|
+
"platformUpdate": {
|
|
551
|
+
"performAt": "timeWindow",
|
|
552
|
+
"timeWindow": "Mon:23:50-Tue:00:20",
|
|
553
|
+
"updateLevel": "minorAndPatch",
|
|
554
|
+
},
|
|
555
|
+
}[0])
|
|
556
|
+
```
|
|
557
|
+
|
|
481
558
|
:param str resource_name: The name of the resource.
|
|
482
559
|
:param BeanstalkArgs args: The arguments to use to populate this resource's properties.
|
|
483
560
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -493,18 +570,18 @@ class Beanstalk(pulumi.CustomResource):
|
|
|
493
570
|
def _internal_init(__self__,
|
|
494
571
|
resource_name: str,
|
|
495
572
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
496
|
-
beanstalk_environment_id: Optional[pulumi.Input[str]] = None,
|
|
497
|
-
beanstalk_environment_name: Optional[pulumi.Input[str]] = None,
|
|
573
|
+
beanstalk_environment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
574
|
+
beanstalk_environment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
498
575
|
deployment_preferences: Optional[pulumi.Input[Union['BeanstalkDeploymentPreferencesArgs', 'BeanstalkDeploymentPreferencesArgsDict']]] = None,
|
|
499
|
-
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
500
|
-
instance_types_spots: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
501
|
-
maintenance: Optional[pulumi.Input[str]] = None,
|
|
576
|
+
desired_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
577
|
+
instance_types_spots: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
578
|
+
maintenance: Optional[pulumi.Input[_builtins.str]] = None,
|
|
502
579
|
managed_actions: Optional[pulumi.Input[Union['BeanstalkManagedActionsArgs', 'BeanstalkManagedActionsArgsDict']]] = None,
|
|
503
|
-
max_size: Optional[pulumi.Input[int]] = None,
|
|
504
|
-
min_size: Optional[pulumi.Input[int]] = None,
|
|
505
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
506
|
-
product: Optional[pulumi.Input[str]] = None,
|
|
507
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
580
|
+
max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
581
|
+
min_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
582
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
583
|
+
product: Optional[pulumi.Input[_builtins.str]] = None,
|
|
584
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
508
585
|
scheduled_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BeanstalkScheduledTaskArgs', 'BeanstalkScheduledTaskArgsDict']]]]] = None,
|
|
509
586
|
__props__=None):
|
|
510
587
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -550,18 +627,18 @@ class Beanstalk(pulumi.CustomResource):
|
|
|
550
627
|
def get(resource_name: str,
|
|
551
628
|
id: pulumi.Input[str],
|
|
552
629
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
553
|
-
beanstalk_environment_id: Optional[pulumi.Input[str]] = None,
|
|
554
|
-
beanstalk_environment_name: Optional[pulumi.Input[str]] = None,
|
|
630
|
+
beanstalk_environment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
631
|
+
beanstalk_environment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
555
632
|
deployment_preferences: Optional[pulumi.Input[Union['BeanstalkDeploymentPreferencesArgs', 'BeanstalkDeploymentPreferencesArgsDict']]] = None,
|
|
556
|
-
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
557
|
-
instance_types_spots: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
558
|
-
maintenance: Optional[pulumi.Input[str]] = None,
|
|
633
|
+
desired_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
634
|
+
instance_types_spots: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
635
|
+
maintenance: Optional[pulumi.Input[_builtins.str]] = None,
|
|
559
636
|
managed_actions: Optional[pulumi.Input[Union['BeanstalkManagedActionsArgs', 'BeanstalkManagedActionsArgsDict']]] = None,
|
|
560
|
-
max_size: Optional[pulumi.Input[int]] = None,
|
|
561
|
-
min_size: Optional[pulumi.Input[int]] = None,
|
|
562
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
563
|
-
product: Optional[pulumi.Input[str]] = None,
|
|
564
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
637
|
+
max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
638
|
+
min_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
639
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
640
|
+
product: Optional[pulumi.Input[_builtins.str]] = None,
|
|
641
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
565
642
|
scheduled_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BeanstalkScheduledTaskArgs', 'BeanstalkScheduledTaskArgsDict']]]]] = None) -> 'Beanstalk':
|
|
566
643
|
"""
|
|
567
644
|
Get an existing Beanstalk resource's state with the given name, id, and optional extra
|
|
@@ -570,18 +647,18 @@ class Beanstalk(pulumi.CustomResource):
|
|
|
570
647
|
:param str resource_name: The unique name of the resulting resource.
|
|
571
648
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
572
649
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
573
|
-
:param pulumi.Input[str] beanstalk_environment_id: The id of an existing Beanstalk environment.
|
|
574
|
-
:param pulumi.Input[str] beanstalk_environment_name: The name of an existing Beanstalk environment.
|
|
650
|
+
:param pulumi.Input[_builtins.str] beanstalk_environment_id: The id of an existing Beanstalk environment.
|
|
651
|
+
:param pulumi.Input[_builtins.str] beanstalk_environment_name: The name of an existing Beanstalk environment.
|
|
575
652
|
:param pulumi.Input[Union['BeanstalkDeploymentPreferencesArgs', 'BeanstalkDeploymentPreferencesArgsDict']] deployment_preferences: Preferences when performing a roll
|
|
576
|
-
:param pulumi.Input[int] desired_capacity: The desired number of instances the group should have at any time.
|
|
577
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types_spots: One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
653
|
+
:param pulumi.Input[_builtins.int] desired_capacity: The desired number of instances the group should have at any time.
|
|
654
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] instance_types_spots: One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
578
655
|
:param pulumi.Input[Union['BeanstalkManagedActionsArgs', 'BeanstalkManagedActionsArgsDict']] managed_actions: Managed Actions parameters
|
|
579
|
-
:param pulumi.Input[int] max_size: The maximum number of instances the group should have at any time.
|
|
580
|
-
:param pulumi.Input[int] min_size: The minimum number of instances the group should have at any time.
|
|
581
|
-
:param pulumi.Input[str] name: The group name.
|
|
582
|
-
:param pulumi.Input[str] product: Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
656
|
+
:param pulumi.Input[_builtins.int] max_size: The maximum number of instances the group should have at any time.
|
|
657
|
+
:param pulumi.Input[_builtins.int] min_size: The minimum number of instances the group should have at any time.
|
|
658
|
+
:param pulumi.Input[_builtins.str] name: The group name.
|
|
659
|
+
:param pulumi.Input[_builtins.str] product: Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
583
660
|
For EC2 Classic instances: `"Linux/UNIX (Amazon VPC)"`, `"SUSE Linux (Amazon VPC)"`, `"Windows (Amazon VPC)"`.
|
|
584
|
-
:param pulumi.Input[str] region: The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
661
|
+
:param pulumi.Input[_builtins.str] region: The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
585
662
|
"""
|
|
586
663
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
587
664
|
|
|
@@ -602,23 +679,23 @@ class Beanstalk(pulumi.CustomResource):
|
|
|
602
679
|
__props__.__dict__["scheduled_tasks"] = scheduled_tasks
|
|
603
680
|
return Beanstalk(resource_name, opts=opts, __props__=__props__)
|
|
604
681
|
|
|
605
|
-
@property
|
|
682
|
+
@_builtins.property
|
|
606
683
|
@pulumi.getter(name="beanstalkEnvironmentId")
|
|
607
|
-
def beanstalk_environment_id(self) -> pulumi.Output[Optional[str]]:
|
|
684
|
+
def beanstalk_environment_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
608
685
|
"""
|
|
609
686
|
The id of an existing Beanstalk environment.
|
|
610
687
|
"""
|
|
611
688
|
return pulumi.get(self, "beanstalk_environment_id")
|
|
612
689
|
|
|
613
|
-
@property
|
|
690
|
+
@_builtins.property
|
|
614
691
|
@pulumi.getter(name="beanstalkEnvironmentName")
|
|
615
|
-
def beanstalk_environment_name(self) -> pulumi.Output[Optional[str]]:
|
|
692
|
+
def beanstalk_environment_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
616
693
|
"""
|
|
617
694
|
The name of an existing Beanstalk environment.
|
|
618
695
|
"""
|
|
619
696
|
return pulumi.get(self, "beanstalk_environment_name")
|
|
620
697
|
|
|
621
|
-
@property
|
|
698
|
+
@_builtins.property
|
|
622
699
|
@pulumi.getter(name="deploymentPreferences")
|
|
623
700
|
def deployment_preferences(self) -> pulumi.Output[Optional['outputs.BeanstalkDeploymentPreferences']]:
|
|
624
701
|
"""
|
|
@@ -626,28 +703,28 @@ class Beanstalk(pulumi.CustomResource):
|
|
|
626
703
|
"""
|
|
627
704
|
return pulumi.get(self, "deployment_preferences")
|
|
628
705
|
|
|
629
|
-
@property
|
|
706
|
+
@_builtins.property
|
|
630
707
|
@pulumi.getter(name="desiredCapacity")
|
|
631
|
-
def desired_capacity(self) -> pulumi.Output[int]:
|
|
708
|
+
def desired_capacity(self) -> pulumi.Output[_builtins.int]:
|
|
632
709
|
"""
|
|
633
710
|
The desired number of instances the group should have at any time.
|
|
634
711
|
"""
|
|
635
712
|
return pulumi.get(self, "desired_capacity")
|
|
636
713
|
|
|
637
|
-
@property
|
|
714
|
+
@_builtins.property
|
|
638
715
|
@pulumi.getter(name="instanceTypesSpots")
|
|
639
|
-
def instance_types_spots(self) -> pulumi.Output[Sequence[str]]:
|
|
716
|
+
def instance_types_spots(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
640
717
|
"""
|
|
641
718
|
One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
|
|
642
719
|
"""
|
|
643
720
|
return pulumi.get(self, "instance_types_spots")
|
|
644
721
|
|
|
645
|
-
@property
|
|
722
|
+
@_builtins.property
|
|
646
723
|
@pulumi.getter
|
|
647
|
-
def maintenance(self) -> pulumi.Output[Optional[str]]:
|
|
724
|
+
def maintenance(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
648
725
|
return pulumi.get(self, "maintenance")
|
|
649
726
|
|
|
650
|
-
@property
|
|
727
|
+
@_builtins.property
|
|
651
728
|
@pulumi.getter(name="managedActions")
|
|
652
729
|
def managed_actions(self) -> pulumi.Output[Optional['outputs.BeanstalkManagedActions']]:
|
|
653
730
|
"""
|
|
@@ -655,48 +732,48 @@ class Beanstalk(pulumi.CustomResource):
|
|
|
655
732
|
"""
|
|
656
733
|
return pulumi.get(self, "managed_actions")
|
|
657
734
|
|
|
658
|
-
@property
|
|
735
|
+
@_builtins.property
|
|
659
736
|
@pulumi.getter(name="maxSize")
|
|
660
|
-
def max_size(self) -> pulumi.Output[int]:
|
|
737
|
+
def max_size(self) -> pulumi.Output[_builtins.int]:
|
|
661
738
|
"""
|
|
662
739
|
The maximum number of instances the group should have at any time.
|
|
663
740
|
"""
|
|
664
741
|
return pulumi.get(self, "max_size")
|
|
665
742
|
|
|
666
|
-
@property
|
|
743
|
+
@_builtins.property
|
|
667
744
|
@pulumi.getter(name="minSize")
|
|
668
|
-
def min_size(self) -> pulumi.Output[int]:
|
|
745
|
+
def min_size(self) -> pulumi.Output[_builtins.int]:
|
|
669
746
|
"""
|
|
670
747
|
The minimum number of instances the group should have at any time.
|
|
671
748
|
"""
|
|
672
749
|
return pulumi.get(self, "min_size")
|
|
673
750
|
|
|
674
|
-
@property
|
|
751
|
+
@_builtins.property
|
|
675
752
|
@pulumi.getter
|
|
676
|
-
def name(self) -> pulumi.Output[str]:
|
|
753
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
677
754
|
"""
|
|
678
755
|
The group name.
|
|
679
756
|
"""
|
|
680
757
|
return pulumi.get(self, "name")
|
|
681
758
|
|
|
682
|
-
@property
|
|
759
|
+
@_builtins.property
|
|
683
760
|
@pulumi.getter
|
|
684
|
-
def product(self) -> pulumi.Output[str]:
|
|
761
|
+
def product(self) -> pulumi.Output[_builtins.str]:
|
|
685
762
|
"""
|
|
686
763
|
Operation system type. Valid values: `"Linux/UNIX"`, `"SUSE Linux"`, `"Windows"`.
|
|
687
764
|
For EC2 Classic instances: `"Linux/UNIX (Amazon VPC)"`, `"SUSE Linux (Amazon VPC)"`, `"Windows (Amazon VPC)"`.
|
|
688
765
|
"""
|
|
689
766
|
return pulumi.get(self, "product")
|
|
690
767
|
|
|
691
|
-
@property
|
|
768
|
+
@_builtins.property
|
|
692
769
|
@pulumi.getter
|
|
693
|
-
def region(self) -> pulumi.Output[str]:
|
|
770
|
+
def region(self) -> pulumi.Output[_builtins.str]:
|
|
694
771
|
"""
|
|
695
772
|
The AWS region your group will be created in. Cannot be changed after the group has been created.
|
|
696
773
|
"""
|
|
697
774
|
return pulumi.get(self, "region")
|
|
698
775
|
|
|
699
|
-
@property
|
|
776
|
+
@_builtins.property
|
|
700
777
|
@pulumi.getter(name="scheduledTasks")
|
|
701
778
|
def scheduled_tasks(self) -> pulumi.Output[Optional[Sequence['outputs.BeanstalkScheduledTask']]]:
|
|
702
779
|
return pulumi.get(self, "scheduled_tasks")
|