/
_inputs.py
540 lines (457 loc) · 24.5 KB
/
_inputs.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = [
'ClusterCertificateAuthorityArgs',
'ClusterEncryptionConfigArgs',
'ClusterEncryptionConfigProviderArgs',
'ClusterIdentityArgs',
'ClusterIdentityOidcArgs',
'ClusterKubernetesNetworkConfigArgs',
'ClusterVpcConfigArgs',
'FargateProfileSelectorArgs',
'NodeGroupLaunchTemplateArgs',
'NodeGroupRemoteAccessArgs',
'NodeGroupResourceArgs',
'NodeGroupResourceAutoscalingGroupArgs',
'NodeGroupScalingConfigArgs',
]
@pulumi.input_type
class ClusterCertificateAuthorityArgs:
def __init__(__self__, *,
data: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] data: Base64 encoded certificate data required to communicate with your cluster. Add this to the `certificate-authority-data` section of the `kubeconfig` file for your cluster.
"""
if data is not None:
pulumi.set(__self__, "data", data)
@property
@pulumi.getter
def data(self) -> Optional[pulumi.Input[str]]:
"""
Base64 encoded certificate data required to communicate with your cluster. Add this to the `certificate-authority-data` section of the `kubeconfig` file for your cluster.
"""
return pulumi.get(self, "data")
@data.setter
def data(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "data", value)
@pulumi.input_type
class ClusterEncryptionConfigArgs:
def __init__(__self__, *,
provider: pulumi.Input['ClusterEncryptionConfigProviderArgs'],
resources: pulumi.Input[Sequence[pulumi.Input[str]]]):
"""
:param pulumi.Input['ClusterEncryptionConfigProviderArgs'] provider: Configuration block with provider for encryption. Detailed below.
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: List of strings with resources to be encrypted. Valid values: `secrets`.
"""
pulumi.set(__self__, "provider", provider)
pulumi.set(__self__, "resources", resources)
@property
@pulumi.getter
def provider(self) -> pulumi.Input['ClusterEncryptionConfigProviderArgs']:
"""
Configuration block with provider for encryption. Detailed below.
"""
return pulumi.get(self, "provider")
@provider.setter
def provider(self, value: pulumi.Input['ClusterEncryptionConfigProviderArgs']):
pulumi.set(self, "provider", value)
@property
@pulumi.getter
def resources(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
"""
List of strings with resources to be encrypted. Valid values: `secrets`.
"""
return pulumi.get(self, "resources")
@resources.setter
def resources(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
pulumi.set(self, "resources", value)
@pulumi.input_type
class ClusterEncryptionConfigProviderArgs:
def __init__(__self__, *,
key_arn: pulumi.Input[str]):
"""
:param pulumi.Input[str] key_arn: ARN of the Key Management Service (KMS) customer master key (CMK). The CMK must be symmetric, created in the same region as the cluster, and if the CMK was created in a different account, the user must have access to the CMK. For more information, see [Allowing Users in Other Accounts to Use a CMK in the AWS Key Management Service Developer Guide](https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html).
"""
pulumi.set(__self__, "key_arn", key_arn)
@property
@pulumi.getter(name="keyArn")
def key_arn(self) -> pulumi.Input[str]:
"""
ARN of the Key Management Service (KMS) customer master key (CMK). The CMK must be symmetric, created in the same region as the cluster, and if the CMK was created in a different account, the user must have access to the CMK. For more information, see [Allowing Users in Other Accounts to Use a CMK in the AWS Key Management Service Developer Guide](https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html).
"""
return pulumi.get(self, "key_arn")
@key_arn.setter
def key_arn(self, value: pulumi.Input[str]):
pulumi.set(self, "key_arn", value)
@pulumi.input_type
class ClusterIdentityArgs:
def __init__(__self__, *,
oidcs: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterIdentityOidcArgs']]]] = None):
"""
:param pulumi.Input[Sequence[pulumi.Input['ClusterIdentityOidcArgs']]] oidcs: Nested block containing [OpenID Connect](https://openid.net/connect/) identity provider information for the cluster. Detailed below.
"""
if oidcs is not None:
pulumi.set(__self__, "oidcs", oidcs)
@property
@pulumi.getter
def oidcs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterIdentityOidcArgs']]]]:
"""
Nested block containing [OpenID Connect](https://openid.net/connect/) identity provider information for the cluster. Detailed below.
"""
return pulumi.get(self, "oidcs")
@oidcs.setter
def oidcs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterIdentityOidcArgs']]]]):
pulumi.set(self, "oidcs", value)
@pulumi.input_type
class ClusterIdentityOidcArgs:
def __init__(__self__, *,
issuer: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] issuer: Issuer URL for the OpenID Connect identity provider.
"""
if issuer is not None:
pulumi.set(__self__, "issuer", issuer)
@property
@pulumi.getter
def issuer(self) -> Optional[pulumi.Input[str]]:
"""
Issuer URL for the OpenID Connect identity provider.
"""
return pulumi.get(self, "issuer")
@issuer.setter
def issuer(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "issuer", value)
@pulumi.input_type
class ClusterKubernetesNetworkConfigArgs:
def __init__(__self__, *,
service_ipv4_cidr: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] service_ipv4_cidr: The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. You can only specify a custom CIDR block when you create a cluster, changing this value will force a new cluster to be created. The block must meet the following requirements:
"""
if service_ipv4_cidr is not None:
pulumi.set(__self__, "service_ipv4_cidr", service_ipv4_cidr)
@property
@pulumi.getter(name="serviceIpv4Cidr")
def service_ipv4_cidr(self) -> Optional[pulumi.Input[str]]:
"""
The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. You can only specify a custom CIDR block when you create a cluster, changing this value will force a new cluster to be created. The block must meet the following requirements:
"""
return pulumi.get(self, "service_ipv4_cidr")
@service_ipv4_cidr.setter
def service_ipv4_cidr(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "service_ipv4_cidr", value)
@pulumi.input_type
class ClusterVpcConfigArgs:
def __init__(__self__, *,
subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
cluster_security_group_id: Optional[pulumi.Input[str]] = None,
endpoint_private_access: Optional[pulumi.Input[bool]] = None,
endpoint_public_access: Optional[pulumi.Input[bool]] = None,
public_access_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
vpc_id: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: List of subnet IDs. Must be in at least two different availability zones. Amazon EKS creates cross-account elastic network interfaces in these subnets to allow communication between your worker nodes and the Kubernetes control plane.
:param pulumi.Input[str] cluster_security_group_id: Cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
:param pulumi.Input[bool] endpoint_private_access: Whether the Amazon EKS private API server endpoint is enabled. Default is `false`.
:param pulumi.Input[bool] endpoint_public_access: Whether the Amazon EKS public API server endpoint is enabled. Default is `true`.
:param pulumi.Input[Sequence[pulumi.Input[str]]] public_access_cidrs: List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint when enabled. EKS defaults this to a list with `0.0.0.0/0`. This provider will only perform drift detection of its value when present in a configuration.
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: List of security group IDs for the cross-account elastic network interfaces that Amazon EKS creates to use to allow communication between your worker nodes and the Kubernetes control plane.
:param pulumi.Input[str] vpc_id: ID of the VPC associated with your cluster.
"""
pulumi.set(__self__, "subnet_ids", subnet_ids)
if cluster_security_group_id is not None:
pulumi.set(__self__, "cluster_security_group_id", cluster_security_group_id)
if endpoint_private_access is not None:
pulumi.set(__self__, "endpoint_private_access", endpoint_private_access)
if endpoint_public_access is not None:
pulumi.set(__self__, "endpoint_public_access", endpoint_public_access)
if public_access_cidrs is not None:
pulumi.set(__self__, "public_access_cidrs", public_access_cidrs)
if security_group_ids is not None:
pulumi.set(__self__, "security_group_ids", security_group_ids)
if vpc_id is not None:
pulumi.set(__self__, "vpc_id", vpc_id)
@property
@pulumi.getter(name="subnetIds")
def subnet_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
"""
List of subnet IDs. Must be in at least two different availability zones. Amazon EKS creates cross-account elastic network interfaces in these subnets to allow communication between your worker nodes and the Kubernetes control plane.
"""
return pulumi.get(self, "subnet_ids")
@subnet_ids.setter
def subnet_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
pulumi.set(self, "subnet_ids", value)
@property
@pulumi.getter(name="clusterSecurityGroupId")
def cluster_security_group_id(self) -> Optional[pulumi.Input[str]]:
"""
Cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
"""
return pulumi.get(self, "cluster_security_group_id")
@cluster_security_group_id.setter
def cluster_security_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "cluster_security_group_id", value)
@property
@pulumi.getter(name="endpointPrivateAccess")
def endpoint_private_access(self) -> Optional[pulumi.Input[bool]]:
"""
Whether the Amazon EKS private API server endpoint is enabled. Default is `false`.
"""
return pulumi.get(self, "endpoint_private_access")
@endpoint_private_access.setter
def endpoint_private_access(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "endpoint_private_access", value)
@property
@pulumi.getter(name="endpointPublicAccess")
def endpoint_public_access(self) -> Optional[pulumi.Input[bool]]:
"""
Whether the Amazon EKS public API server endpoint is enabled. Default is `true`.
"""
return pulumi.get(self, "endpoint_public_access")
@endpoint_public_access.setter
def endpoint_public_access(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "endpoint_public_access", value)
@property
@pulumi.getter(name="publicAccessCidrs")
def public_access_cidrs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint when enabled. EKS defaults this to a list with `0.0.0.0/0`. This provider will only perform drift detection of its value when present in a configuration.
"""
return pulumi.get(self, "public_access_cidrs")
@public_access_cidrs.setter
def public_access_cidrs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "public_access_cidrs", value)
@property
@pulumi.getter(name="securityGroupIds")
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of security group IDs for the cross-account elastic network interfaces that Amazon EKS creates to use to allow communication between your worker nodes and the Kubernetes control plane.
"""
return pulumi.get(self, "security_group_ids")
@security_group_ids.setter
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "security_group_ids", value)
@property
@pulumi.getter(name="vpcId")
def vpc_id(self) -> Optional[pulumi.Input[str]]:
"""
ID of the VPC associated with your cluster.
"""
return pulumi.get(self, "vpc_id")
@vpc_id.setter
def vpc_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "vpc_id", value)
@pulumi.input_type
class FargateProfileSelectorArgs:
def __init__(__self__, *,
namespace: pulumi.Input[str],
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
"""
:param pulumi.Input[str] namespace: Kubernetes namespace for selection.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Key-value map of Kubernetes labels for selection.
"""
pulumi.set(__self__, "namespace", namespace)
if labels is not None:
pulumi.set(__self__, "labels", labels)
@property
@pulumi.getter
def namespace(self) -> pulumi.Input[str]:
"""
Kubernetes namespace for selection.
"""
return pulumi.get(self, "namespace")
@namespace.setter
def namespace(self, value: pulumi.Input[str]):
pulumi.set(self, "namespace", value)
@property
@pulumi.getter
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
"""
Key-value map of Kubernetes labels for selection.
"""
return pulumi.get(self, "labels")
@labels.setter
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "labels", value)
@pulumi.input_type
class NodeGroupLaunchTemplateArgs:
def __init__(__self__, *,
version: pulumi.Input[str],
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] version: EC2 Launch Template version number. While the API accepts values like `$Default` and `$Latest`, the API will convert the value to the associated version number (e.g. `1`) on read and This provider will show a difference on next plan. Using the `default_version` or `latest_version` attribute of the `ec2.LaunchTemplate` resource or data source is recommended for this argument.
:param pulumi.Input[str] id: Identifier of the EC2 Launch Template. Conflicts with `name`.
:param pulumi.Input[str] name: Name of the EC2 Launch Template. Conflicts with `id`.
"""
pulumi.set(__self__, "version", version)
if id is not None:
pulumi.set(__self__, "id", id)
if name is not None:
pulumi.set(__self__, "name", name)
@property
@pulumi.getter
def version(self) -> pulumi.Input[str]:
"""
EC2 Launch Template version number. While the API accepts values like `$Default` and `$Latest`, the API will convert the value to the associated version number (e.g. `1`) on read and This provider will show a difference on next plan. Using the `default_version` or `latest_version` attribute of the `ec2.LaunchTemplate` resource or data source is recommended for this argument.
"""
return pulumi.get(self, "version")
@version.setter
def version(self, value: pulumi.Input[str]):
pulumi.set(self, "version", value)
@property
@pulumi.getter
def id(self) -> Optional[pulumi.Input[str]]:
"""
Identifier of the EC2 Launch Template. Conflicts with `name`.
"""
return pulumi.get(self, "id")
@id.setter
def id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "id", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
Name of the EC2 Launch Template. Conflicts with `id`.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@pulumi.input_type
class NodeGroupRemoteAccessArgs:
def __init__(__self__, *,
ec2_ssh_key: Optional[pulumi.Input[str]] = None,
source_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
"""
:param pulumi.Input[str] ec2_ssh_key: EC2 Key Pair name that provides access for SSH communication with the worker nodes in the EKS Node Group. If you specify this configuration, but do not specify `source_security_group_ids` when you create an EKS Node Group, port 22 on the worker nodes is opened to the Internet (0.0.0.0/0).
:param pulumi.Input[Sequence[pulumi.Input[str]]] source_security_group_ids: Set of EC2 Security Group IDs to allow SSH access (port 22) from on the worker nodes. If you specify `ec2_ssh_key`, but do not specify this configuration when you create an EKS Node Group, port 22 on the worker nodes is opened to the Internet (0.0.0.0/0).
"""
if ec2_ssh_key is not None:
pulumi.set(__self__, "ec2_ssh_key", ec2_ssh_key)
if source_security_group_ids is not None:
pulumi.set(__self__, "source_security_group_ids", source_security_group_ids)
@property
@pulumi.getter(name="ec2SshKey")
def ec2_ssh_key(self) -> Optional[pulumi.Input[str]]:
"""
EC2 Key Pair name that provides access for SSH communication with the worker nodes in the EKS Node Group. If you specify this configuration, but do not specify `source_security_group_ids` when you create an EKS Node Group, port 22 on the worker nodes is opened to the Internet (0.0.0.0/0).
"""
return pulumi.get(self, "ec2_ssh_key")
@ec2_ssh_key.setter
def ec2_ssh_key(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ec2_ssh_key", value)
@property
@pulumi.getter(name="sourceSecurityGroupIds")
def source_security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
Set of EC2 Security Group IDs to allow SSH access (port 22) from on the worker nodes. If you specify `ec2_ssh_key`, but do not specify this configuration when you create an EKS Node Group, port 22 on the worker nodes is opened to the Internet (0.0.0.0/0).
"""
return pulumi.get(self, "source_security_group_ids")
@source_security_group_ids.setter
def source_security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "source_security_group_ids", value)
@pulumi.input_type
class NodeGroupResourceArgs:
def __init__(__self__, *,
autoscaling_groups: Optional[pulumi.Input[Sequence[pulumi.Input['NodeGroupResourceAutoscalingGroupArgs']]]] = None,
remote_access_security_group_id: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[Sequence[pulumi.Input['NodeGroupResourceAutoscalingGroupArgs']]] autoscaling_groups: List of objects containing information about AutoScaling Groups.
:param pulumi.Input[str] remote_access_security_group_id: Identifier of the remote access EC2 Security Group.
"""
if autoscaling_groups is not None:
pulumi.set(__self__, "autoscaling_groups", autoscaling_groups)
if remote_access_security_group_id is not None:
pulumi.set(__self__, "remote_access_security_group_id", remote_access_security_group_id)
@property
@pulumi.getter(name="autoscalingGroups")
def autoscaling_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NodeGroupResourceAutoscalingGroupArgs']]]]:
"""
List of objects containing information about AutoScaling Groups.
"""
return pulumi.get(self, "autoscaling_groups")
@autoscaling_groups.setter
def autoscaling_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NodeGroupResourceAutoscalingGroupArgs']]]]):
pulumi.set(self, "autoscaling_groups", value)
@property
@pulumi.getter(name="remoteAccessSecurityGroupId")
def remote_access_security_group_id(self) -> Optional[pulumi.Input[str]]:
"""
Identifier of the remote access EC2 Security Group.
"""
return pulumi.get(self, "remote_access_security_group_id")
@remote_access_security_group_id.setter
def remote_access_security_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "remote_access_security_group_id", value)
@pulumi.input_type
class NodeGroupResourceAutoscalingGroupArgs:
def __init__(__self__, *,
name: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] name: Name of the EC2 Launch Template. Conflicts with `id`.
"""
if name is not None:
pulumi.set(__self__, "name", name)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
Name of the EC2 Launch Template. Conflicts with `id`.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@pulumi.input_type
class NodeGroupScalingConfigArgs:
def __init__(__self__, *,
desired_size: pulumi.Input[int],
max_size: pulumi.Input[int],
min_size: pulumi.Input[int]):
"""
:param pulumi.Input[int] desired_size: Desired number of worker nodes.
:param pulumi.Input[int] max_size: Maximum number of worker nodes.
:param pulumi.Input[int] min_size: Minimum number of worker nodes.
"""
pulumi.set(__self__, "desired_size", desired_size)
pulumi.set(__self__, "max_size", max_size)
pulumi.set(__self__, "min_size", min_size)
@property
@pulumi.getter(name="desiredSize")
def desired_size(self) -> pulumi.Input[int]:
"""
Desired number of worker nodes.
"""
return pulumi.get(self, "desired_size")
@desired_size.setter
def desired_size(self, value: pulumi.Input[int]):
pulumi.set(self, "desired_size", value)
@property
@pulumi.getter(name="maxSize")
def max_size(self) -> pulumi.Input[int]:
"""
Maximum number of worker nodes.
"""
return pulumi.get(self, "max_size")
@max_size.setter
def max_size(self, value: pulumi.Input[int]):
pulumi.set(self, "max_size", value)
@property
@pulumi.getter(name="minSize")
def min_size(self) -> pulumi.Input[int]:
"""
Minimum number of worker nodes.
"""
return pulumi.get(self, "min_size")
@min_size.setter
def min_size(self, value: pulumi.Input[int]):
pulumi.set(self, "min_size", value)