cdktf-cdktf-provider-upcloud 15.8.0__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.
- cdktf_cdktf_provider_upcloud/__init__.py +247 -0
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +45 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.8.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +894 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +384 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +853 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +717 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +898 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +647 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +600 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +1093 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +725 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +558 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +421 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +364 -0
- cdktf_cdktf_provider_upcloud/file_storage/__init__.py +1683 -0
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +1233 -0
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +552 -0
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +1167 -0
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1299 -0
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1357 -0
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +801 -0
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +2674 -0
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +2113 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +1426 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +459 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +1290 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +11486 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +504 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +659 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +536 -0
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +4644 -0
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +13812 -0
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +7734 -0
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +1541 -0
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +3355 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +1198 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +409 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +521 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +454 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +505 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +485 -0
- cdktf_cdktf_provider_upcloud/network/__init__.py +1554 -0
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/provider/__init__.py +544 -0
- cdktf_cdktf_provider_upcloud/py.typed +1 -0
- cdktf_cdktf_provider_upcloud/router/__init__.py +1030 -0
- cdktf_cdktf_provider_upcloud/server/__init__.py +4542 -0
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +571 -0
- cdktf_cdktf_provider_upcloud/storage/__init__.py +1850 -0
- cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +483 -0
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +478 -0
- cdktf_cdktf_provider_upcloud/tag/__init__.py +493 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/LICENSE +355 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/METADATA +120 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/RECORD +66 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/WHEEL +5 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,2674 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `upcloud_kubernetes_node_group`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_kubernetes_node_group`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group).
|
|
5
|
+
'''
|
|
6
|
+
from pkgutil import extend_path
|
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
|
8
|
+
|
|
9
|
+
import abc
|
|
10
|
+
import builtins
|
|
11
|
+
import datetime
|
|
12
|
+
import enum
|
|
13
|
+
import typing
|
|
14
|
+
|
|
15
|
+
import jsii
|
|
16
|
+
import publication
|
|
17
|
+
import typing_extensions
|
|
18
|
+
|
|
19
|
+
import typeguard
|
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
22
|
+
|
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
26
|
+
else:
|
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
28
|
+
pass
|
|
29
|
+
else:
|
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
33
|
+
else:
|
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
35
|
+
|
|
36
|
+
from .._jsii import *
|
|
37
|
+
|
|
38
|
+
import cdktf as _cdktf_9a9027ec
|
|
39
|
+
import constructs as _constructs_77d1e7e8
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class KubernetesNodeGroup(
|
|
43
|
+
_cdktf_9a9027ec.TerraformResource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroup",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group upcloud_kubernetes_node_group}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
cluster: builtins.str,
|
|
55
|
+
name: builtins.str,
|
|
56
|
+
node_count: jsii.Number,
|
|
57
|
+
plan: builtins.str,
|
|
58
|
+
anti_affinity: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
59
|
+
cloud_native_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupCloudNativePlan", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
60
|
+
custom_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupCustomPlan", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
61
|
+
gpu_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupGpuPlan", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
62
|
+
kubelet_args: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupKubeletArgs", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
63
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
64
|
+
ssh_keys: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
65
|
+
storage_encryption: typing.Optional[builtins.str] = None,
|
|
66
|
+
taint: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupTaint", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
67
|
+
utility_network_access: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
68
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
69
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
70
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
71
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
72
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
73
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
74
|
+
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
75
|
+
) -> None:
|
|
76
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group upcloud_kubernetes_node_group} Resource.
|
|
77
|
+
|
|
78
|
+
:param scope: The scope in which to define this construct.
|
|
79
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
80
|
+
:param cluster: UUID of the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#cluster KubernetesNodeGroup#cluster}
|
|
81
|
+
:param name: The name of the node group. Needs to be unique within a cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#name KubernetesNodeGroup#name}
|
|
82
|
+
:param node_count: Amount of nodes to provision in the node group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#node_count KubernetesNodeGroup#node_count}
|
|
83
|
+
:param plan: The server plan used for the node group. You can list available plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#plan KubernetesNodeGroup#plan}
|
|
84
|
+
:param anti_affinity: If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#anti_affinity KubernetesNodeGroup#anti_affinity}
|
|
85
|
+
:param cloud_native_plan: cloud_native_plan block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#cloud_native_plan KubernetesNodeGroup#cloud_native_plan}
|
|
86
|
+
:param custom_plan: custom_plan block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#custom_plan KubernetesNodeGroup#custom_plan}
|
|
87
|
+
:param gpu_plan: gpu_plan block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#gpu_plan KubernetesNodeGroup#gpu_plan}
|
|
88
|
+
:param kubelet_args: kubelet_args block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#kubelet_args KubernetesNodeGroup#kubelet_args}
|
|
89
|
+
:param labels: User defined key-value pairs to classify the node_group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#labels KubernetesNodeGroup#labels}
|
|
90
|
+
:param ssh_keys: You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to connect to the nodes via SSH once they are running. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#ssh_keys KubernetesNodeGroup#ssh_keys}
|
|
91
|
+
:param storage_encryption: The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption strategy will be used, if applicable. Valid values are ``data-at-rest`` and ``none``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_encryption KubernetesNodeGroup#storage_encryption}
|
|
92
|
+
:param taint: taint block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#taint KubernetesNodeGroup#taint}
|
|
93
|
+
:param utility_network_access: If set to false, nodes in this group will not have access to utility network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#utility_network_access KubernetesNodeGroup#utility_network_access}
|
|
94
|
+
:param connection:
|
|
95
|
+
:param count:
|
|
96
|
+
:param depends_on:
|
|
97
|
+
:param for_each:
|
|
98
|
+
:param lifecycle:
|
|
99
|
+
:param provider:
|
|
100
|
+
:param provisioners:
|
|
101
|
+
'''
|
|
102
|
+
if __debug__:
|
|
103
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8bbcd241d9ab4cfd557f0a030c928c51f93c7d6d9f343e0bcdbdda3cbc8065e3)
|
|
104
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
105
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
106
|
+
config = KubernetesNodeGroupConfig(
|
|
107
|
+
cluster=cluster,
|
|
108
|
+
name=name,
|
|
109
|
+
node_count=node_count,
|
|
110
|
+
plan=plan,
|
|
111
|
+
anti_affinity=anti_affinity,
|
|
112
|
+
cloud_native_plan=cloud_native_plan,
|
|
113
|
+
custom_plan=custom_plan,
|
|
114
|
+
gpu_plan=gpu_plan,
|
|
115
|
+
kubelet_args=kubelet_args,
|
|
116
|
+
labels=labels,
|
|
117
|
+
ssh_keys=ssh_keys,
|
|
118
|
+
storage_encryption=storage_encryption,
|
|
119
|
+
taint=taint,
|
|
120
|
+
utility_network_access=utility_network_access,
|
|
121
|
+
connection=connection,
|
|
122
|
+
count=count,
|
|
123
|
+
depends_on=depends_on,
|
|
124
|
+
for_each=for_each,
|
|
125
|
+
lifecycle=lifecycle,
|
|
126
|
+
provider=provider,
|
|
127
|
+
provisioners=provisioners,
|
|
128
|
+
)
|
|
129
|
+
|
|
130
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
|
131
|
+
|
|
132
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
|
133
|
+
@builtins.classmethod
|
|
134
|
+
def generate_config_for_import(
|
|
135
|
+
cls,
|
|
136
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
137
|
+
import_to_id: builtins.str,
|
|
138
|
+
import_from_id: builtins.str,
|
|
139
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
140
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
|
141
|
+
'''Generates CDKTF code for importing a KubernetesNodeGroup resource upon running "cdktf plan ".
|
|
142
|
+
|
|
143
|
+
:param scope: The scope in which to define this construct.
|
|
144
|
+
:param import_to_id: The construct id used in the generated config for the KubernetesNodeGroup to import.
|
|
145
|
+
:param import_from_id: The id of the existing KubernetesNodeGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#import import section} in the documentation of this resource for the id to use
|
|
146
|
+
:param provider: ? Optional instance of the provider where the KubernetesNodeGroup to import is found.
|
|
147
|
+
'''
|
|
148
|
+
if __debug__:
|
|
149
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8e4418f3bc7d50550f1d889edee827b87fd9884602972643c6b82f110049ba71)
|
|
150
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
151
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
|
152
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
|
153
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
154
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
|
155
|
+
|
|
156
|
+
@jsii.member(jsii_name="putCloudNativePlan")
|
|
157
|
+
def put_cloud_native_plan(
|
|
158
|
+
self,
|
|
159
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupCloudNativePlan", typing.Dict[builtins.str, typing.Any]]]],
|
|
160
|
+
) -> None:
|
|
161
|
+
'''
|
|
162
|
+
:param value: -
|
|
163
|
+
'''
|
|
164
|
+
if __debug__:
|
|
165
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ac2f10d642c0079d30e463561c2878e59777f101807a48a08ccb9a8933285e30)
|
|
166
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
167
|
+
return typing.cast(None, jsii.invoke(self, "putCloudNativePlan", [value]))
|
|
168
|
+
|
|
169
|
+
@jsii.member(jsii_name="putCustomPlan")
|
|
170
|
+
def put_custom_plan(
|
|
171
|
+
self,
|
|
172
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupCustomPlan", typing.Dict[builtins.str, typing.Any]]]],
|
|
173
|
+
) -> None:
|
|
174
|
+
'''
|
|
175
|
+
:param value: -
|
|
176
|
+
'''
|
|
177
|
+
if __debug__:
|
|
178
|
+
type_hints = typing.get_type_hints(_typecheckingstub__710eeb24e681bc1abd473c02c09c72cd25116f5c53784cd07b46e161d215c56f)
|
|
179
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
180
|
+
return typing.cast(None, jsii.invoke(self, "putCustomPlan", [value]))
|
|
181
|
+
|
|
182
|
+
@jsii.member(jsii_name="putGpuPlan")
|
|
183
|
+
def put_gpu_plan(
|
|
184
|
+
self,
|
|
185
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupGpuPlan", typing.Dict[builtins.str, typing.Any]]]],
|
|
186
|
+
) -> None:
|
|
187
|
+
'''
|
|
188
|
+
:param value: -
|
|
189
|
+
'''
|
|
190
|
+
if __debug__:
|
|
191
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c17e1903eed937df8e22fb46de08949295493fcc3197086a410959cf85bd4e98)
|
|
192
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
193
|
+
return typing.cast(None, jsii.invoke(self, "putGpuPlan", [value]))
|
|
194
|
+
|
|
195
|
+
@jsii.member(jsii_name="putKubeletArgs")
|
|
196
|
+
def put_kubelet_args(
|
|
197
|
+
self,
|
|
198
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupKubeletArgs", typing.Dict[builtins.str, typing.Any]]]],
|
|
199
|
+
) -> None:
|
|
200
|
+
'''
|
|
201
|
+
:param value: -
|
|
202
|
+
'''
|
|
203
|
+
if __debug__:
|
|
204
|
+
type_hints = typing.get_type_hints(_typecheckingstub__32e3828076130e1cbd29ccb900f4d6ed322c27ffe5fa92f4dab04d41c7227a1f)
|
|
205
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
206
|
+
return typing.cast(None, jsii.invoke(self, "putKubeletArgs", [value]))
|
|
207
|
+
|
|
208
|
+
@jsii.member(jsii_name="putTaint")
|
|
209
|
+
def put_taint(
|
|
210
|
+
self,
|
|
211
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupTaint", typing.Dict[builtins.str, typing.Any]]]],
|
|
212
|
+
) -> None:
|
|
213
|
+
'''
|
|
214
|
+
:param value: -
|
|
215
|
+
'''
|
|
216
|
+
if __debug__:
|
|
217
|
+
type_hints = typing.get_type_hints(_typecheckingstub__374acc0d3de361c5076be47a8876b2f5870798afcd9887148234d9685257a419)
|
|
218
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
219
|
+
return typing.cast(None, jsii.invoke(self, "putTaint", [value]))
|
|
220
|
+
|
|
221
|
+
@jsii.member(jsii_name="resetAntiAffinity")
|
|
222
|
+
def reset_anti_affinity(self) -> None:
|
|
223
|
+
return typing.cast(None, jsii.invoke(self, "resetAntiAffinity", []))
|
|
224
|
+
|
|
225
|
+
@jsii.member(jsii_name="resetCloudNativePlan")
|
|
226
|
+
def reset_cloud_native_plan(self) -> None:
|
|
227
|
+
return typing.cast(None, jsii.invoke(self, "resetCloudNativePlan", []))
|
|
228
|
+
|
|
229
|
+
@jsii.member(jsii_name="resetCustomPlan")
|
|
230
|
+
def reset_custom_plan(self) -> None:
|
|
231
|
+
return typing.cast(None, jsii.invoke(self, "resetCustomPlan", []))
|
|
232
|
+
|
|
233
|
+
@jsii.member(jsii_name="resetGpuPlan")
|
|
234
|
+
def reset_gpu_plan(self) -> None:
|
|
235
|
+
return typing.cast(None, jsii.invoke(self, "resetGpuPlan", []))
|
|
236
|
+
|
|
237
|
+
@jsii.member(jsii_name="resetKubeletArgs")
|
|
238
|
+
def reset_kubelet_args(self) -> None:
|
|
239
|
+
return typing.cast(None, jsii.invoke(self, "resetKubeletArgs", []))
|
|
240
|
+
|
|
241
|
+
@jsii.member(jsii_name="resetLabels")
|
|
242
|
+
def reset_labels(self) -> None:
|
|
243
|
+
return typing.cast(None, jsii.invoke(self, "resetLabels", []))
|
|
244
|
+
|
|
245
|
+
@jsii.member(jsii_name="resetSshKeys")
|
|
246
|
+
def reset_ssh_keys(self) -> None:
|
|
247
|
+
return typing.cast(None, jsii.invoke(self, "resetSshKeys", []))
|
|
248
|
+
|
|
249
|
+
@jsii.member(jsii_name="resetStorageEncryption")
|
|
250
|
+
def reset_storage_encryption(self) -> None:
|
|
251
|
+
return typing.cast(None, jsii.invoke(self, "resetStorageEncryption", []))
|
|
252
|
+
|
|
253
|
+
@jsii.member(jsii_name="resetTaint")
|
|
254
|
+
def reset_taint(self) -> None:
|
|
255
|
+
return typing.cast(None, jsii.invoke(self, "resetTaint", []))
|
|
256
|
+
|
|
257
|
+
@jsii.member(jsii_name="resetUtilityNetworkAccess")
|
|
258
|
+
def reset_utility_network_access(self) -> None:
|
|
259
|
+
return typing.cast(None, jsii.invoke(self, "resetUtilityNetworkAccess", []))
|
|
260
|
+
|
|
261
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
262
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
263
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
264
|
+
|
|
265
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
266
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
267
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
268
|
+
|
|
269
|
+
@jsii.python.classproperty
|
|
270
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
271
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
272
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
273
|
+
|
|
274
|
+
@builtins.property
|
|
275
|
+
@jsii.member(jsii_name="cloudNativePlan")
|
|
276
|
+
def cloud_native_plan(self) -> "KubernetesNodeGroupCloudNativePlanList":
|
|
277
|
+
return typing.cast("KubernetesNodeGroupCloudNativePlanList", jsii.get(self, "cloudNativePlan"))
|
|
278
|
+
|
|
279
|
+
@builtins.property
|
|
280
|
+
@jsii.member(jsii_name="customPlan")
|
|
281
|
+
def custom_plan(self) -> "KubernetesNodeGroupCustomPlanList":
|
|
282
|
+
return typing.cast("KubernetesNodeGroupCustomPlanList", jsii.get(self, "customPlan"))
|
|
283
|
+
|
|
284
|
+
@builtins.property
|
|
285
|
+
@jsii.member(jsii_name="gpuPlan")
|
|
286
|
+
def gpu_plan(self) -> "KubernetesNodeGroupGpuPlanList":
|
|
287
|
+
return typing.cast("KubernetesNodeGroupGpuPlanList", jsii.get(self, "gpuPlan"))
|
|
288
|
+
|
|
289
|
+
@builtins.property
|
|
290
|
+
@jsii.member(jsii_name="id")
|
|
291
|
+
def id(self) -> builtins.str:
|
|
292
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
293
|
+
|
|
294
|
+
@builtins.property
|
|
295
|
+
@jsii.member(jsii_name="kubeletArgs")
|
|
296
|
+
def kubelet_args(self) -> "KubernetesNodeGroupKubeletArgsList":
|
|
297
|
+
return typing.cast("KubernetesNodeGroupKubeletArgsList", jsii.get(self, "kubeletArgs"))
|
|
298
|
+
|
|
299
|
+
@builtins.property
|
|
300
|
+
@jsii.member(jsii_name="taint")
|
|
301
|
+
def taint(self) -> "KubernetesNodeGroupTaintList":
|
|
302
|
+
return typing.cast("KubernetesNodeGroupTaintList", jsii.get(self, "taint"))
|
|
303
|
+
|
|
304
|
+
@builtins.property
|
|
305
|
+
@jsii.member(jsii_name="antiAffinityInput")
|
|
306
|
+
def anti_affinity_input(
|
|
307
|
+
self,
|
|
308
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
309
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "antiAffinityInput"))
|
|
310
|
+
|
|
311
|
+
@builtins.property
|
|
312
|
+
@jsii.member(jsii_name="cloudNativePlanInput")
|
|
313
|
+
def cloud_native_plan_input(
|
|
314
|
+
self,
|
|
315
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupCloudNativePlan"]]]:
|
|
316
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupCloudNativePlan"]]], jsii.get(self, "cloudNativePlanInput"))
|
|
317
|
+
|
|
318
|
+
@builtins.property
|
|
319
|
+
@jsii.member(jsii_name="clusterInput")
|
|
320
|
+
def cluster_input(self) -> typing.Optional[builtins.str]:
|
|
321
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "clusterInput"))
|
|
322
|
+
|
|
323
|
+
@builtins.property
|
|
324
|
+
@jsii.member(jsii_name="customPlanInput")
|
|
325
|
+
def custom_plan_input(
|
|
326
|
+
self,
|
|
327
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupCustomPlan"]]]:
|
|
328
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupCustomPlan"]]], jsii.get(self, "customPlanInput"))
|
|
329
|
+
|
|
330
|
+
@builtins.property
|
|
331
|
+
@jsii.member(jsii_name="gpuPlanInput")
|
|
332
|
+
def gpu_plan_input(
|
|
333
|
+
self,
|
|
334
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupGpuPlan"]]]:
|
|
335
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupGpuPlan"]]], jsii.get(self, "gpuPlanInput"))
|
|
336
|
+
|
|
337
|
+
@builtins.property
|
|
338
|
+
@jsii.member(jsii_name="kubeletArgsInput")
|
|
339
|
+
def kubelet_args_input(
|
|
340
|
+
self,
|
|
341
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupKubeletArgs"]]]:
|
|
342
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupKubeletArgs"]]], jsii.get(self, "kubeletArgsInput"))
|
|
343
|
+
|
|
344
|
+
@builtins.property
|
|
345
|
+
@jsii.member(jsii_name="labelsInput")
|
|
346
|
+
def labels_input(
|
|
347
|
+
self,
|
|
348
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
349
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "labelsInput"))
|
|
350
|
+
|
|
351
|
+
@builtins.property
|
|
352
|
+
@jsii.member(jsii_name="nameInput")
|
|
353
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
354
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
355
|
+
|
|
356
|
+
@builtins.property
|
|
357
|
+
@jsii.member(jsii_name="nodeCountInput")
|
|
358
|
+
def node_count_input(self) -> typing.Optional[jsii.Number]:
|
|
359
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "nodeCountInput"))
|
|
360
|
+
|
|
361
|
+
@builtins.property
|
|
362
|
+
@jsii.member(jsii_name="planInput")
|
|
363
|
+
def plan_input(self) -> typing.Optional[builtins.str]:
|
|
364
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "planInput"))
|
|
365
|
+
|
|
366
|
+
@builtins.property
|
|
367
|
+
@jsii.member(jsii_name="sshKeysInput")
|
|
368
|
+
def ssh_keys_input(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
369
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "sshKeysInput"))
|
|
370
|
+
|
|
371
|
+
@builtins.property
|
|
372
|
+
@jsii.member(jsii_name="storageEncryptionInput")
|
|
373
|
+
def storage_encryption_input(self) -> typing.Optional[builtins.str]:
|
|
374
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "storageEncryptionInput"))
|
|
375
|
+
|
|
376
|
+
@builtins.property
|
|
377
|
+
@jsii.member(jsii_name="taintInput")
|
|
378
|
+
def taint_input(
|
|
379
|
+
self,
|
|
380
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupTaint"]]]:
|
|
381
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupTaint"]]], jsii.get(self, "taintInput"))
|
|
382
|
+
|
|
383
|
+
@builtins.property
|
|
384
|
+
@jsii.member(jsii_name="utilityNetworkAccessInput")
|
|
385
|
+
def utility_network_access_input(
|
|
386
|
+
self,
|
|
387
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
388
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "utilityNetworkAccessInput"))
|
|
389
|
+
|
|
390
|
+
@builtins.property
|
|
391
|
+
@jsii.member(jsii_name="antiAffinity")
|
|
392
|
+
def anti_affinity(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
393
|
+
return typing.cast(typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable], jsii.get(self, "antiAffinity"))
|
|
394
|
+
|
|
395
|
+
@anti_affinity.setter
|
|
396
|
+
def anti_affinity(
|
|
397
|
+
self,
|
|
398
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
399
|
+
) -> None:
|
|
400
|
+
if __debug__:
|
|
401
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e621946f83e58f50c483b681d6a00e44ec81d2dccf1a4f8dafde9e0fb59d55b4)
|
|
402
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
403
|
+
jsii.set(self, "antiAffinity", value) # pyright: ignore[reportArgumentType]
|
|
404
|
+
|
|
405
|
+
@builtins.property
|
|
406
|
+
@jsii.member(jsii_name="cluster")
|
|
407
|
+
def cluster(self) -> builtins.str:
|
|
408
|
+
return typing.cast(builtins.str, jsii.get(self, "cluster"))
|
|
409
|
+
|
|
410
|
+
@cluster.setter
|
|
411
|
+
def cluster(self, value: builtins.str) -> None:
|
|
412
|
+
if __debug__:
|
|
413
|
+
type_hints = typing.get_type_hints(_typecheckingstub__251ecefce0fab4086841f5905fdd68a5182667a221b0cf9910dbc14eee214671)
|
|
414
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
415
|
+
jsii.set(self, "cluster", value) # pyright: ignore[reportArgumentType]
|
|
416
|
+
|
|
417
|
+
@builtins.property
|
|
418
|
+
@jsii.member(jsii_name="labels")
|
|
419
|
+
def labels(self) -> typing.Mapping[builtins.str, builtins.str]:
|
|
420
|
+
return typing.cast(typing.Mapping[builtins.str, builtins.str], jsii.get(self, "labels"))
|
|
421
|
+
|
|
422
|
+
@labels.setter
|
|
423
|
+
def labels(self, value: typing.Mapping[builtins.str, builtins.str]) -> None:
|
|
424
|
+
if __debug__:
|
|
425
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fccb7b922d5d84e539f4c8817753636ee4b2f0dec095ea9ff13030c9d7a17d58)
|
|
426
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
427
|
+
jsii.set(self, "labels", value) # pyright: ignore[reportArgumentType]
|
|
428
|
+
|
|
429
|
+
@builtins.property
|
|
430
|
+
@jsii.member(jsii_name="name")
|
|
431
|
+
def name(self) -> builtins.str:
|
|
432
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
433
|
+
|
|
434
|
+
@name.setter
|
|
435
|
+
def name(self, value: builtins.str) -> None:
|
|
436
|
+
if __debug__:
|
|
437
|
+
type_hints = typing.get_type_hints(_typecheckingstub__02535264f80e698e5cf251336456b8c83e944521501b454ed690a5d74067c620)
|
|
438
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
439
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
440
|
+
|
|
441
|
+
@builtins.property
|
|
442
|
+
@jsii.member(jsii_name="nodeCount")
|
|
443
|
+
def node_count(self) -> jsii.Number:
|
|
444
|
+
return typing.cast(jsii.Number, jsii.get(self, "nodeCount"))
|
|
445
|
+
|
|
446
|
+
@node_count.setter
|
|
447
|
+
def node_count(self, value: jsii.Number) -> None:
|
|
448
|
+
if __debug__:
|
|
449
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8670cbb382adf592bc5d0f3e42c4e96d4326983d0e4fe93743648b2ff3d09e74)
|
|
450
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
451
|
+
jsii.set(self, "nodeCount", value) # pyright: ignore[reportArgumentType]
|
|
452
|
+
|
|
453
|
+
@builtins.property
|
|
454
|
+
@jsii.member(jsii_name="plan")
|
|
455
|
+
def plan(self) -> builtins.str:
|
|
456
|
+
return typing.cast(builtins.str, jsii.get(self, "plan"))
|
|
457
|
+
|
|
458
|
+
@plan.setter
|
|
459
|
+
def plan(self, value: builtins.str) -> None:
|
|
460
|
+
if __debug__:
|
|
461
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bd9b94a7a760e7688eaafae17051a6d3f96c6ab95a43f2ccc57fa9c2e964189b)
|
|
462
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
463
|
+
jsii.set(self, "plan", value) # pyright: ignore[reportArgumentType]
|
|
464
|
+
|
|
465
|
+
@builtins.property
|
|
466
|
+
@jsii.member(jsii_name="sshKeys")
|
|
467
|
+
def ssh_keys(self) -> typing.List[builtins.str]:
|
|
468
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "sshKeys"))
|
|
469
|
+
|
|
470
|
+
@ssh_keys.setter
|
|
471
|
+
def ssh_keys(self, value: typing.List[builtins.str]) -> None:
|
|
472
|
+
if __debug__:
|
|
473
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3caf64b524bd36e4019e89ade967c6b4e62d55fddf7a8f9e9ed8118d38383759)
|
|
474
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
475
|
+
jsii.set(self, "sshKeys", value) # pyright: ignore[reportArgumentType]
|
|
476
|
+
|
|
477
|
+
@builtins.property
|
|
478
|
+
@jsii.member(jsii_name="storageEncryption")
|
|
479
|
+
def storage_encryption(self) -> builtins.str:
|
|
480
|
+
return typing.cast(builtins.str, jsii.get(self, "storageEncryption"))
|
|
481
|
+
|
|
482
|
+
@storage_encryption.setter
|
|
483
|
+
def storage_encryption(self, value: builtins.str) -> None:
|
|
484
|
+
if __debug__:
|
|
485
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b4b669e48a3836306fe80e34225d241ad384a8351e76d8d7b17ffdd8544edf45)
|
|
486
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
487
|
+
jsii.set(self, "storageEncryption", value) # pyright: ignore[reportArgumentType]
|
|
488
|
+
|
|
489
|
+
@builtins.property
|
|
490
|
+
@jsii.member(jsii_name="utilityNetworkAccess")
|
|
491
|
+
def utility_network_access(
|
|
492
|
+
self,
|
|
493
|
+
) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
494
|
+
return typing.cast(typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable], jsii.get(self, "utilityNetworkAccess"))
|
|
495
|
+
|
|
496
|
+
@utility_network_access.setter
|
|
497
|
+
def utility_network_access(
|
|
498
|
+
self,
|
|
499
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
500
|
+
) -> None:
|
|
501
|
+
if __debug__:
|
|
502
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1c2a3afca29e180734047644aa682bae1b7fbd5aacc3d234ed7616ba415f5fb6)
|
|
503
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
504
|
+
jsii.set(self, "utilityNetworkAccess", value) # pyright: ignore[reportArgumentType]
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
@jsii.data_type(
|
|
508
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupCloudNativePlan",
|
|
509
|
+
jsii_struct_bases=[],
|
|
510
|
+
name_mapping={"storage_size": "storageSize", "storage_tier": "storageTier"},
|
|
511
|
+
)
|
|
512
|
+
class KubernetesNodeGroupCloudNativePlan:
|
|
513
|
+
def __init__(
|
|
514
|
+
self,
|
|
515
|
+
*,
|
|
516
|
+
storage_size: typing.Optional[jsii.Number] = None,
|
|
517
|
+
storage_tier: typing.Optional[builtins.str] = None,
|
|
518
|
+
) -> None:
|
|
519
|
+
'''
|
|
520
|
+
:param storage_size: The size of the storage device in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_size KubernetesNodeGroup#storage_size}
|
|
521
|
+
:param storage_tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_tier KubernetesNodeGroup#storage_tier}
|
|
522
|
+
'''
|
|
523
|
+
if __debug__:
|
|
524
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5438388f4032834938f080084c7ae0430cf33858715d18b4e84c3c8b7d99c583)
|
|
525
|
+
check_type(argname="argument storage_size", value=storage_size, expected_type=type_hints["storage_size"])
|
|
526
|
+
check_type(argname="argument storage_tier", value=storage_tier, expected_type=type_hints["storage_tier"])
|
|
527
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
528
|
+
if storage_size is not None:
|
|
529
|
+
self._values["storage_size"] = storage_size
|
|
530
|
+
if storage_tier is not None:
|
|
531
|
+
self._values["storage_tier"] = storage_tier
|
|
532
|
+
|
|
533
|
+
@builtins.property
|
|
534
|
+
def storage_size(self) -> typing.Optional[jsii.Number]:
|
|
535
|
+
'''The size of the storage device in gigabytes.
|
|
536
|
+
|
|
537
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_size KubernetesNodeGroup#storage_size}
|
|
538
|
+
'''
|
|
539
|
+
result = self._values.get("storage_size")
|
|
540
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
541
|
+
|
|
542
|
+
@builtins.property
|
|
543
|
+
def storage_tier(self) -> typing.Optional[builtins.str]:
|
|
544
|
+
'''The storage tier to use.
|
|
545
|
+
|
|
546
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_tier KubernetesNodeGroup#storage_tier}
|
|
547
|
+
'''
|
|
548
|
+
result = self._values.get("storage_tier")
|
|
549
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
550
|
+
|
|
551
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
552
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
553
|
+
|
|
554
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
555
|
+
return not (rhs == self)
|
|
556
|
+
|
|
557
|
+
def __repr__(self) -> str:
|
|
558
|
+
return "KubernetesNodeGroupCloudNativePlan(%s)" % ", ".join(
|
|
559
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
560
|
+
)
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
class KubernetesNodeGroupCloudNativePlanList(
|
|
564
|
+
_cdktf_9a9027ec.ComplexList,
|
|
565
|
+
metaclass=jsii.JSIIMeta,
|
|
566
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupCloudNativePlanList",
|
|
567
|
+
):
|
|
568
|
+
def __init__(
|
|
569
|
+
self,
|
|
570
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
571
|
+
terraform_attribute: builtins.str,
|
|
572
|
+
wraps_set: builtins.bool,
|
|
573
|
+
) -> None:
|
|
574
|
+
'''
|
|
575
|
+
:param terraform_resource: The parent resource.
|
|
576
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
577
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
578
|
+
'''
|
|
579
|
+
if __debug__:
|
|
580
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8a5a3a16968d45ac84e9b283e63c8c906bd70e1a328640d5e7126d46a1c1fdd1)
|
|
581
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
582
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
583
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
584
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
585
|
+
|
|
586
|
+
@jsii.member(jsii_name="get")
|
|
587
|
+
def get(
|
|
588
|
+
self,
|
|
589
|
+
index: jsii.Number,
|
|
590
|
+
) -> "KubernetesNodeGroupCloudNativePlanOutputReference":
|
|
591
|
+
'''
|
|
592
|
+
:param index: the index of the item to return.
|
|
593
|
+
'''
|
|
594
|
+
if __debug__:
|
|
595
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2fe0c17e964827460fc66444ceb9d46776f4128115267f70dfc0ed4bfcb85920)
|
|
596
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
597
|
+
return typing.cast("KubernetesNodeGroupCloudNativePlanOutputReference", jsii.invoke(self, "get", [index]))
|
|
598
|
+
|
|
599
|
+
@builtins.property
|
|
600
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
601
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
602
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
603
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
604
|
+
|
|
605
|
+
@_terraform_attribute.setter
|
|
606
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
607
|
+
if __debug__:
|
|
608
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0d97187bd0b82a71876e431a81398d9cc1dc821d2610692158cc56a31a863789)
|
|
609
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
610
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
611
|
+
|
|
612
|
+
@builtins.property
|
|
613
|
+
@jsii.member(jsii_name="terraformResource")
|
|
614
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
615
|
+
'''The parent resource.'''
|
|
616
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
617
|
+
|
|
618
|
+
@_terraform_resource.setter
|
|
619
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
620
|
+
if __debug__:
|
|
621
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ae893d1d0df821f4f21d426fa80e3eb1d46fa1bbbc724b73e68a3bde2309032c)
|
|
622
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
623
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
624
|
+
|
|
625
|
+
@builtins.property
|
|
626
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
627
|
+
def _wraps_set(self) -> builtins.bool:
|
|
628
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
629
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
630
|
+
|
|
631
|
+
@_wraps_set.setter
|
|
632
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
633
|
+
if __debug__:
|
|
634
|
+
type_hints = typing.get_type_hints(_typecheckingstub__beb64ca1f717b4814637a6a29fa9ec5a455b360ac7185bac86f30c38c43272e8)
|
|
635
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
636
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
637
|
+
|
|
638
|
+
@builtins.property
|
|
639
|
+
@jsii.member(jsii_name="internalValue")
|
|
640
|
+
def internal_value(
|
|
641
|
+
self,
|
|
642
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCloudNativePlan]]]:
|
|
643
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCloudNativePlan]]], jsii.get(self, "internalValue"))
|
|
644
|
+
|
|
645
|
+
@internal_value.setter
|
|
646
|
+
def internal_value(
|
|
647
|
+
self,
|
|
648
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCloudNativePlan]]],
|
|
649
|
+
) -> None:
|
|
650
|
+
if __debug__:
|
|
651
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d82a371178e1731f4d1566a0c16e13ea3970cdd9188d838221dcd62f32757793)
|
|
652
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
653
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
class KubernetesNodeGroupCloudNativePlanOutputReference(
|
|
657
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
658
|
+
metaclass=jsii.JSIIMeta,
|
|
659
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupCloudNativePlanOutputReference",
|
|
660
|
+
):
|
|
661
|
+
def __init__(
|
|
662
|
+
self,
|
|
663
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
664
|
+
terraform_attribute: builtins.str,
|
|
665
|
+
complex_object_index: jsii.Number,
|
|
666
|
+
complex_object_is_from_set: builtins.bool,
|
|
667
|
+
) -> None:
|
|
668
|
+
'''
|
|
669
|
+
:param terraform_resource: The parent resource.
|
|
670
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
671
|
+
:param complex_object_index: the index of this item in the list.
|
|
672
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
673
|
+
'''
|
|
674
|
+
if __debug__:
|
|
675
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5aaf5281cf9fc6a97d4533c0769d0346349b54e0f7716d35e13101df78d13b1d)
|
|
676
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
677
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
678
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
679
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
680
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
681
|
+
|
|
682
|
+
@jsii.member(jsii_name="resetStorageSize")
|
|
683
|
+
def reset_storage_size(self) -> None:
|
|
684
|
+
return typing.cast(None, jsii.invoke(self, "resetStorageSize", []))
|
|
685
|
+
|
|
686
|
+
@jsii.member(jsii_name="resetStorageTier")
|
|
687
|
+
def reset_storage_tier(self) -> None:
|
|
688
|
+
return typing.cast(None, jsii.invoke(self, "resetStorageTier", []))
|
|
689
|
+
|
|
690
|
+
@builtins.property
|
|
691
|
+
@jsii.member(jsii_name="storageSizeInput")
|
|
692
|
+
def storage_size_input(self) -> typing.Optional[jsii.Number]:
|
|
693
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "storageSizeInput"))
|
|
694
|
+
|
|
695
|
+
@builtins.property
|
|
696
|
+
@jsii.member(jsii_name="storageTierInput")
|
|
697
|
+
def storage_tier_input(self) -> typing.Optional[builtins.str]:
|
|
698
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "storageTierInput"))
|
|
699
|
+
|
|
700
|
+
@builtins.property
|
|
701
|
+
@jsii.member(jsii_name="storageSize")
|
|
702
|
+
def storage_size(self) -> jsii.Number:
|
|
703
|
+
return typing.cast(jsii.Number, jsii.get(self, "storageSize"))
|
|
704
|
+
|
|
705
|
+
@storage_size.setter
|
|
706
|
+
def storage_size(self, value: jsii.Number) -> None:
|
|
707
|
+
if __debug__:
|
|
708
|
+
type_hints = typing.get_type_hints(_typecheckingstub__27f7ff508be8287499998f03c15d925e630d2e4e2a70ed3d542615d30fa9bf2d)
|
|
709
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
710
|
+
jsii.set(self, "storageSize", value) # pyright: ignore[reportArgumentType]
|
|
711
|
+
|
|
712
|
+
@builtins.property
|
|
713
|
+
@jsii.member(jsii_name="storageTier")
|
|
714
|
+
def storage_tier(self) -> builtins.str:
|
|
715
|
+
return typing.cast(builtins.str, jsii.get(self, "storageTier"))
|
|
716
|
+
|
|
717
|
+
@storage_tier.setter
|
|
718
|
+
def storage_tier(self, value: builtins.str) -> None:
|
|
719
|
+
if __debug__:
|
|
720
|
+
type_hints = typing.get_type_hints(_typecheckingstub__38df547be63e43097329d5785a3b9c86f9f334cd3b597e3faffc1473e6c3087c)
|
|
721
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
722
|
+
jsii.set(self, "storageTier", value) # pyright: ignore[reportArgumentType]
|
|
723
|
+
|
|
724
|
+
@builtins.property
|
|
725
|
+
@jsii.member(jsii_name="internalValue")
|
|
726
|
+
def internal_value(
|
|
727
|
+
self,
|
|
728
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupCloudNativePlan]]:
|
|
729
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupCloudNativePlan]], jsii.get(self, "internalValue"))
|
|
730
|
+
|
|
731
|
+
@internal_value.setter
|
|
732
|
+
def internal_value(
|
|
733
|
+
self,
|
|
734
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupCloudNativePlan]],
|
|
735
|
+
) -> None:
|
|
736
|
+
if __debug__:
|
|
737
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fb41ddc5a5a4d49616d4a8b63583841ac403b22e7f09d2806b25388722eb66a5)
|
|
738
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
739
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
@jsii.data_type(
|
|
743
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupConfig",
|
|
744
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
745
|
+
name_mapping={
|
|
746
|
+
"connection": "connection",
|
|
747
|
+
"count": "count",
|
|
748
|
+
"depends_on": "dependsOn",
|
|
749
|
+
"for_each": "forEach",
|
|
750
|
+
"lifecycle": "lifecycle",
|
|
751
|
+
"provider": "provider",
|
|
752
|
+
"provisioners": "provisioners",
|
|
753
|
+
"cluster": "cluster",
|
|
754
|
+
"name": "name",
|
|
755
|
+
"node_count": "nodeCount",
|
|
756
|
+
"plan": "plan",
|
|
757
|
+
"anti_affinity": "antiAffinity",
|
|
758
|
+
"cloud_native_plan": "cloudNativePlan",
|
|
759
|
+
"custom_plan": "customPlan",
|
|
760
|
+
"gpu_plan": "gpuPlan",
|
|
761
|
+
"kubelet_args": "kubeletArgs",
|
|
762
|
+
"labels": "labels",
|
|
763
|
+
"ssh_keys": "sshKeys",
|
|
764
|
+
"storage_encryption": "storageEncryption",
|
|
765
|
+
"taint": "taint",
|
|
766
|
+
"utility_network_access": "utilityNetworkAccess",
|
|
767
|
+
},
|
|
768
|
+
)
|
|
769
|
+
class KubernetesNodeGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
770
|
+
def __init__(
|
|
771
|
+
self,
|
|
772
|
+
*,
|
|
773
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
774
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
775
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
776
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
777
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
778
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
779
|
+
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
780
|
+
cluster: builtins.str,
|
|
781
|
+
name: builtins.str,
|
|
782
|
+
node_count: jsii.Number,
|
|
783
|
+
plan: builtins.str,
|
|
784
|
+
anti_affinity: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
785
|
+
cloud_native_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupCloudNativePlan, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
786
|
+
custom_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupCustomPlan", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
787
|
+
gpu_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupGpuPlan", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
788
|
+
kubelet_args: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupKubeletArgs", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
789
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
790
|
+
ssh_keys: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
791
|
+
storage_encryption: typing.Optional[builtins.str] = None,
|
|
792
|
+
taint: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["KubernetesNodeGroupTaint", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
793
|
+
utility_network_access: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
794
|
+
) -> None:
|
|
795
|
+
'''
|
|
796
|
+
:param connection:
|
|
797
|
+
:param count:
|
|
798
|
+
:param depends_on:
|
|
799
|
+
:param for_each:
|
|
800
|
+
:param lifecycle:
|
|
801
|
+
:param provider:
|
|
802
|
+
:param provisioners:
|
|
803
|
+
:param cluster: UUID of the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#cluster KubernetesNodeGroup#cluster}
|
|
804
|
+
:param name: The name of the node group. Needs to be unique within a cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#name KubernetesNodeGroup#name}
|
|
805
|
+
:param node_count: Amount of nodes to provision in the node group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#node_count KubernetesNodeGroup#node_count}
|
|
806
|
+
:param plan: The server plan used for the node group. You can list available plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#plan KubernetesNodeGroup#plan}
|
|
807
|
+
:param anti_affinity: If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#anti_affinity KubernetesNodeGroup#anti_affinity}
|
|
808
|
+
:param cloud_native_plan: cloud_native_plan block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#cloud_native_plan KubernetesNodeGroup#cloud_native_plan}
|
|
809
|
+
:param custom_plan: custom_plan block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#custom_plan KubernetesNodeGroup#custom_plan}
|
|
810
|
+
:param gpu_plan: gpu_plan block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#gpu_plan KubernetesNodeGroup#gpu_plan}
|
|
811
|
+
:param kubelet_args: kubelet_args block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#kubelet_args KubernetesNodeGroup#kubelet_args}
|
|
812
|
+
:param labels: User defined key-value pairs to classify the node_group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#labels KubernetesNodeGroup#labels}
|
|
813
|
+
:param ssh_keys: You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to connect to the nodes via SSH once they are running. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#ssh_keys KubernetesNodeGroup#ssh_keys}
|
|
814
|
+
:param storage_encryption: The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption strategy will be used, if applicable. Valid values are ``data-at-rest`` and ``none``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_encryption KubernetesNodeGroup#storage_encryption}
|
|
815
|
+
:param taint: taint block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#taint KubernetesNodeGroup#taint}
|
|
816
|
+
:param utility_network_access: If set to false, nodes in this group will not have access to utility network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#utility_network_access KubernetesNodeGroup#utility_network_access}
|
|
817
|
+
'''
|
|
818
|
+
if isinstance(lifecycle, dict):
|
|
819
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
820
|
+
if __debug__:
|
|
821
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2489ae5bd3c17ee9de104387734150d3686d0bce3df0c0db5244751c51da43c4)
|
|
822
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
823
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
824
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
825
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
826
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
827
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
828
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
829
|
+
check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
|
|
830
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
831
|
+
check_type(argname="argument node_count", value=node_count, expected_type=type_hints["node_count"])
|
|
832
|
+
check_type(argname="argument plan", value=plan, expected_type=type_hints["plan"])
|
|
833
|
+
check_type(argname="argument anti_affinity", value=anti_affinity, expected_type=type_hints["anti_affinity"])
|
|
834
|
+
check_type(argname="argument cloud_native_plan", value=cloud_native_plan, expected_type=type_hints["cloud_native_plan"])
|
|
835
|
+
check_type(argname="argument custom_plan", value=custom_plan, expected_type=type_hints["custom_plan"])
|
|
836
|
+
check_type(argname="argument gpu_plan", value=gpu_plan, expected_type=type_hints["gpu_plan"])
|
|
837
|
+
check_type(argname="argument kubelet_args", value=kubelet_args, expected_type=type_hints["kubelet_args"])
|
|
838
|
+
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
839
|
+
check_type(argname="argument ssh_keys", value=ssh_keys, expected_type=type_hints["ssh_keys"])
|
|
840
|
+
check_type(argname="argument storage_encryption", value=storage_encryption, expected_type=type_hints["storage_encryption"])
|
|
841
|
+
check_type(argname="argument taint", value=taint, expected_type=type_hints["taint"])
|
|
842
|
+
check_type(argname="argument utility_network_access", value=utility_network_access, expected_type=type_hints["utility_network_access"])
|
|
843
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
844
|
+
"cluster": cluster,
|
|
845
|
+
"name": name,
|
|
846
|
+
"node_count": node_count,
|
|
847
|
+
"plan": plan,
|
|
848
|
+
}
|
|
849
|
+
if connection is not None:
|
|
850
|
+
self._values["connection"] = connection
|
|
851
|
+
if count is not None:
|
|
852
|
+
self._values["count"] = count
|
|
853
|
+
if depends_on is not None:
|
|
854
|
+
self._values["depends_on"] = depends_on
|
|
855
|
+
if for_each is not None:
|
|
856
|
+
self._values["for_each"] = for_each
|
|
857
|
+
if lifecycle is not None:
|
|
858
|
+
self._values["lifecycle"] = lifecycle
|
|
859
|
+
if provider is not None:
|
|
860
|
+
self._values["provider"] = provider
|
|
861
|
+
if provisioners is not None:
|
|
862
|
+
self._values["provisioners"] = provisioners
|
|
863
|
+
if anti_affinity is not None:
|
|
864
|
+
self._values["anti_affinity"] = anti_affinity
|
|
865
|
+
if cloud_native_plan is not None:
|
|
866
|
+
self._values["cloud_native_plan"] = cloud_native_plan
|
|
867
|
+
if custom_plan is not None:
|
|
868
|
+
self._values["custom_plan"] = custom_plan
|
|
869
|
+
if gpu_plan is not None:
|
|
870
|
+
self._values["gpu_plan"] = gpu_plan
|
|
871
|
+
if kubelet_args is not None:
|
|
872
|
+
self._values["kubelet_args"] = kubelet_args
|
|
873
|
+
if labels is not None:
|
|
874
|
+
self._values["labels"] = labels
|
|
875
|
+
if ssh_keys is not None:
|
|
876
|
+
self._values["ssh_keys"] = ssh_keys
|
|
877
|
+
if storage_encryption is not None:
|
|
878
|
+
self._values["storage_encryption"] = storage_encryption
|
|
879
|
+
if taint is not None:
|
|
880
|
+
self._values["taint"] = taint
|
|
881
|
+
if utility_network_access is not None:
|
|
882
|
+
self._values["utility_network_access"] = utility_network_access
|
|
883
|
+
|
|
884
|
+
@builtins.property
|
|
885
|
+
def connection(
|
|
886
|
+
self,
|
|
887
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
888
|
+
'''
|
|
889
|
+
:stability: experimental
|
|
890
|
+
'''
|
|
891
|
+
result = self._values.get("connection")
|
|
892
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
893
|
+
|
|
894
|
+
@builtins.property
|
|
895
|
+
def count(
|
|
896
|
+
self,
|
|
897
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
898
|
+
'''
|
|
899
|
+
:stability: experimental
|
|
900
|
+
'''
|
|
901
|
+
result = self._values.get("count")
|
|
902
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
903
|
+
|
|
904
|
+
@builtins.property
|
|
905
|
+
def depends_on(
|
|
906
|
+
self,
|
|
907
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
908
|
+
'''
|
|
909
|
+
:stability: experimental
|
|
910
|
+
'''
|
|
911
|
+
result = self._values.get("depends_on")
|
|
912
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
913
|
+
|
|
914
|
+
@builtins.property
|
|
915
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
916
|
+
'''
|
|
917
|
+
:stability: experimental
|
|
918
|
+
'''
|
|
919
|
+
result = self._values.get("for_each")
|
|
920
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
921
|
+
|
|
922
|
+
@builtins.property
|
|
923
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
924
|
+
'''
|
|
925
|
+
:stability: experimental
|
|
926
|
+
'''
|
|
927
|
+
result = self._values.get("lifecycle")
|
|
928
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
929
|
+
|
|
930
|
+
@builtins.property
|
|
931
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
932
|
+
'''
|
|
933
|
+
:stability: experimental
|
|
934
|
+
'''
|
|
935
|
+
result = self._values.get("provider")
|
|
936
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
937
|
+
|
|
938
|
+
@builtins.property
|
|
939
|
+
def provisioners(
|
|
940
|
+
self,
|
|
941
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
942
|
+
'''
|
|
943
|
+
:stability: experimental
|
|
944
|
+
'''
|
|
945
|
+
result = self._values.get("provisioners")
|
|
946
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
947
|
+
|
|
948
|
+
@builtins.property
|
|
949
|
+
def cluster(self) -> builtins.str:
|
|
950
|
+
'''UUID of the cluster.
|
|
951
|
+
|
|
952
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#cluster KubernetesNodeGroup#cluster}
|
|
953
|
+
'''
|
|
954
|
+
result = self._values.get("cluster")
|
|
955
|
+
assert result is not None, "Required property 'cluster' is missing"
|
|
956
|
+
return typing.cast(builtins.str, result)
|
|
957
|
+
|
|
958
|
+
@builtins.property
|
|
959
|
+
def name(self) -> builtins.str:
|
|
960
|
+
'''The name of the node group. Needs to be unique within a cluster.
|
|
961
|
+
|
|
962
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#name KubernetesNodeGroup#name}
|
|
963
|
+
'''
|
|
964
|
+
result = self._values.get("name")
|
|
965
|
+
assert result is not None, "Required property 'name' is missing"
|
|
966
|
+
return typing.cast(builtins.str, result)
|
|
967
|
+
|
|
968
|
+
@builtins.property
|
|
969
|
+
def node_count(self) -> jsii.Number:
|
|
970
|
+
'''Amount of nodes to provision in the node group.
|
|
971
|
+
|
|
972
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#node_count KubernetesNodeGroup#node_count}
|
|
973
|
+
'''
|
|
974
|
+
result = self._values.get("node_count")
|
|
975
|
+
assert result is not None, "Required property 'node_count' is missing"
|
|
976
|
+
return typing.cast(jsii.Number, result)
|
|
977
|
+
|
|
978
|
+
@builtins.property
|
|
979
|
+
def plan(self) -> builtins.str:
|
|
980
|
+
'''The server plan used for the node group. You can list available plans with ``upctl server plans``.
|
|
981
|
+
|
|
982
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#plan KubernetesNodeGroup#plan}
|
|
983
|
+
'''
|
|
984
|
+
result = self._values.get("plan")
|
|
985
|
+
assert result is not None, "Required property 'plan' is missing"
|
|
986
|
+
return typing.cast(builtins.str, result)
|
|
987
|
+
|
|
988
|
+
@builtins.property
|
|
989
|
+
def anti_affinity(
|
|
990
|
+
self,
|
|
991
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
992
|
+
'''If set to true, nodes in this group will be placed on separate compute hosts.
|
|
993
|
+
|
|
994
|
+
Please note that anti-affinity policy is considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
|
|
995
|
+
|
|
996
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#anti_affinity KubernetesNodeGroup#anti_affinity}
|
|
997
|
+
'''
|
|
998
|
+
result = self._values.get("anti_affinity")
|
|
999
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
1000
|
+
|
|
1001
|
+
@builtins.property
|
|
1002
|
+
def cloud_native_plan(
|
|
1003
|
+
self,
|
|
1004
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCloudNativePlan]]]:
|
|
1005
|
+
'''cloud_native_plan block.
|
|
1006
|
+
|
|
1007
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#cloud_native_plan KubernetesNodeGroup#cloud_native_plan}
|
|
1008
|
+
'''
|
|
1009
|
+
result = self._values.get("cloud_native_plan")
|
|
1010
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCloudNativePlan]]], result)
|
|
1011
|
+
|
|
1012
|
+
@builtins.property
|
|
1013
|
+
def custom_plan(
|
|
1014
|
+
self,
|
|
1015
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupCustomPlan"]]]:
|
|
1016
|
+
'''custom_plan block.
|
|
1017
|
+
|
|
1018
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#custom_plan KubernetesNodeGroup#custom_plan}
|
|
1019
|
+
'''
|
|
1020
|
+
result = self._values.get("custom_plan")
|
|
1021
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupCustomPlan"]]], result)
|
|
1022
|
+
|
|
1023
|
+
@builtins.property
|
|
1024
|
+
def gpu_plan(
|
|
1025
|
+
self,
|
|
1026
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupGpuPlan"]]]:
|
|
1027
|
+
'''gpu_plan block.
|
|
1028
|
+
|
|
1029
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#gpu_plan KubernetesNodeGroup#gpu_plan}
|
|
1030
|
+
'''
|
|
1031
|
+
result = self._values.get("gpu_plan")
|
|
1032
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupGpuPlan"]]], result)
|
|
1033
|
+
|
|
1034
|
+
@builtins.property
|
|
1035
|
+
def kubelet_args(
|
|
1036
|
+
self,
|
|
1037
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupKubeletArgs"]]]:
|
|
1038
|
+
'''kubelet_args block.
|
|
1039
|
+
|
|
1040
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#kubelet_args KubernetesNodeGroup#kubelet_args}
|
|
1041
|
+
'''
|
|
1042
|
+
result = self._values.get("kubelet_args")
|
|
1043
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupKubeletArgs"]]], result)
|
|
1044
|
+
|
|
1045
|
+
@builtins.property
|
|
1046
|
+
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1047
|
+
'''User defined key-value pairs to classify the node_group.
|
|
1048
|
+
|
|
1049
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#labels KubernetesNodeGroup#labels}
|
|
1050
|
+
'''
|
|
1051
|
+
result = self._values.get("labels")
|
|
1052
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
1053
|
+
|
|
1054
|
+
@builtins.property
|
|
1055
|
+
def ssh_keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1056
|
+
'''You can optionally select SSH keys to be added as authorized keys to the nodes in this node group.
|
|
1057
|
+
|
|
1058
|
+
This allows you to connect to the nodes via SSH once they are running.
|
|
1059
|
+
|
|
1060
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#ssh_keys KubernetesNodeGroup#ssh_keys}
|
|
1061
|
+
'''
|
|
1062
|
+
result = self._values.get("ssh_keys")
|
|
1063
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1064
|
+
|
|
1065
|
+
@builtins.property
|
|
1066
|
+
def storage_encryption(self) -> typing.Optional[builtins.str]:
|
|
1067
|
+
'''The storage encryption strategy to use for the nodes in this group.
|
|
1068
|
+
|
|
1069
|
+
If not set, the cluster's storage encryption strategy will be used, if applicable. Valid values are ``data-at-rest`` and ``none``.
|
|
1070
|
+
|
|
1071
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_encryption KubernetesNodeGroup#storage_encryption}
|
|
1072
|
+
'''
|
|
1073
|
+
result = self._values.get("storage_encryption")
|
|
1074
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1075
|
+
|
|
1076
|
+
@builtins.property
|
|
1077
|
+
def taint(
|
|
1078
|
+
self,
|
|
1079
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupTaint"]]]:
|
|
1080
|
+
'''taint block.
|
|
1081
|
+
|
|
1082
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#taint KubernetesNodeGroup#taint}
|
|
1083
|
+
'''
|
|
1084
|
+
result = self._values.get("taint")
|
|
1085
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["KubernetesNodeGroupTaint"]]], result)
|
|
1086
|
+
|
|
1087
|
+
@builtins.property
|
|
1088
|
+
def utility_network_access(
|
|
1089
|
+
self,
|
|
1090
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1091
|
+
'''If set to false, nodes in this group will not have access to utility network.
|
|
1092
|
+
|
|
1093
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#utility_network_access KubernetesNodeGroup#utility_network_access}
|
|
1094
|
+
'''
|
|
1095
|
+
result = self._values.get("utility_network_access")
|
|
1096
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
1097
|
+
|
|
1098
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1099
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1100
|
+
|
|
1101
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1102
|
+
return not (rhs == self)
|
|
1103
|
+
|
|
1104
|
+
def __repr__(self) -> str:
|
|
1105
|
+
return "KubernetesNodeGroupConfig(%s)" % ", ".join(
|
|
1106
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1107
|
+
)
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
@jsii.data_type(
|
|
1111
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupCustomPlan",
|
|
1112
|
+
jsii_struct_bases=[],
|
|
1113
|
+
name_mapping={
|
|
1114
|
+
"cores": "cores",
|
|
1115
|
+
"memory": "memory",
|
|
1116
|
+
"storage_size": "storageSize",
|
|
1117
|
+
"storage_tier": "storageTier",
|
|
1118
|
+
},
|
|
1119
|
+
)
|
|
1120
|
+
class KubernetesNodeGroupCustomPlan:
|
|
1121
|
+
def __init__(
|
|
1122
|
+
self,
|
|
1123
|
+
*,
|
|
1124
|
+
cores: jsii.Number,
|
|
1125
|
+
memory: jsii.Number,
|
|
1126
|
+
storage_size: jsii.Number,
|
|
1127
|
+
storage_tier: typing.Optional[builtins.str] = None,
|
|
1128
|
+
) -> None:
|
|
1129
|
+
'''
|
|
1130
|
+
:param cores: The number of CPU cores dedicated to individual node group nodes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#cores KubernetesNodeGroup#cores}
|
|
1131
|
+
:param memory: The amount of memory in megabytes to assign to individual node group node. Value needs to be divisible by 1024. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#memory KubernetesNodeGroup#memory}
|
|
1132
|
+
:param storage_size: The size of the storage device in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_size KubernetesNodeGroup#storage_size}
|
|
1133
|
+
:param storage_tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_tier KubernetesNodeGroup#storage_tier}
|
|
1134
|
+
'''
|
|
1135
|
+
if __debug__:
|
|
1136
|
+
type_hints = typing.get_type_hints(_typecheckingstub__73a7225f6a5b39ce9f22f470a4b39f4020d9c2babc3a4001d90f5a255e45917c)
|
|
1137
|
+
check_type(argname="argument cores", value=cores, expected_type=type_hints["cores"])
|
|
1138
|
+
check_type(argname="argument memory", value=memory, expected_type=type_hints["memory"])
|
|
1139
|
+
check_type(argname="argument storage_size", value=storage_size, expected_type=type_hints["storage_size"])
|
|
1140
|
+
check_type(argname="argument storage_tier", value=storage_tier, expected_type=type_hints["storage_tier"])
|
|
1141
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1142
|
+
"cores": cores,
|
|
1143
|
+
"memory": memory,
|
|
1144
|
+
"storage_size": storage_size,
|
|
1145
|
+
}
|
|
1146
|
+
if storage_tier is not None:
|
|
1147
|
+
self._values["storage_tier"] = storage_tier
|
|
1148
|
+
|
|
1149
|
+
@builtins.property
|
|
1150
|
+
def cores(self) -> jsii.Number:
|
|
1151
|
+
'''The number of CPU cores dedicated to individual node group nodes.
|
|
1152
|
+
|
|
1153
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#cores KubernetesNodeGroup#cores}
|
|
1154
|
+
'''
|
|
1155
|
+
result = self._values.get("cores")
|
|
1156
|
+
assert result is not None, "Required property 'cores' is missing"
|
|
1157
|
+
return typing.cast(jsii.Number, result)
|
|
1158
|
+
|
|
1159
|
+
@builtins.property
|
|
1160
|
+
def memory(self) -> jsii.Number:
|
|
1161
|
+
'''The amount of memory in megabytes to assign to individual node group node.
|
|
1162
|
+
|
|
1163
|
+
Value needs to be divisible by 1024.
|
|
1164
|
+
|
|
1165
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#memory KubernetesNodeGroup#memory}
|
|
1166
|
+
'''
|
|
1167
|
+
result = self._values.get("memory")
|
|
1168
|
+
assert result is not None, "Required property 'memory' is missing"
|
|
1169
|
+
return typing.cast(jsii.Number, result)
|
|
1170
|
+
|
|
1171
|
+
@builtins.property
|
|
1172
|
+
def storage_size(self) -> jsii.Number:
|
|
1173
|
+
'''The size of the storage device in gigabytes.
|
|
1174
|
+
|
|
1175
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_size KubernetesNodeGroup#storage_size}
|
|
1176
|
+
'''
|
|
1177
|
+
result = self._values.get("storage_size")
|
|
1178
|
+
assert result is not None, "Required property 'storage_size' is missing"
|
|
1179
|
+
return typing.cast(jsii.Number, result)
|
|
1180
|
+
|
|
1181
|
+
@builtins.property
|
|
1182
|
+
def storage_tier(self) -> typing.Optional[builtins.str]:
|
|
1183
|
+
'''The storage tier to use.
|
|
1184
|
+
|
|
1185
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_tier KubernetesNodeGroup#storage_tier}
|
|
1186
|
+
'''
|
|
1187
|
+
result = self._values.get("storage_tier")
|
|
1188
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1189
|
+
|
|
1190
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1191
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1192
|
+
|
|
1193
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1194
|
+
return not (rhs == self)
|
|
1195
|
+
|
|
1196
|
+
def __repr__(self) -> str:
|
|
1197
|
+
return "KubernetesNodeGroupCustomPlan(%s)" % ", ".join(
|
|
1198
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1199
|
+
)
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
class KubernetesNodeGroupCustomPlanList(
|
|
1203
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1204
|
+
metaclass=jsii.JSIIMeta,
|
|
1205
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupCustomPlanList",
|
|
1206
|
+
):
|
|
1207
|
+
def __init__(
|
|
1208
|
+
self,
|
|
1209
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1210
|
+
terraform_attribute: builtins.str,
|
|
1211
|
+
wraps_set: builtins.bool,
|
|
1212
|
+
) -> None:
|
|
1213
|
+
'''
|
|
1214
|
+
:param terraform_resource: The parent resource.
|
|
1215
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1216
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1217
|
+
'''
|
|
1218
|
+
if __debug__:
|
|
1219
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b550730c152cdd521877d4cd4a76b2d1f548d64a196dbde61f47c82b091e854a)
|
|
1220
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1221
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1222
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1223
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1224
|
+
|
|
1225
|
+
@jsii.member(jsii_name="get")
|
|
1226
|
+
def get(self, index: jsii.Number) -> "KubernetesNodeGroupCustomPlanOutputReference":
|
|
1227
|
+
'''
|
|
1228
|
+
:param index: the index of the item to return.
|
|
1229
|
+
'''
|
|
1230
|
+
if __debug__:
|
|
1231
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ad2db79018ca305418ade3285985b0c22792d72ade4279a8d56d4cc611707192)
|
|
1232
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1233
|
+
return typing.cast("KubernetesNodeGroupCustomPlanOutputReference", jsii.invoke(self, "get", [index]))
|
|
1234
|
+
|
|
1235
|
+
@builtins.property
|
|
1236
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1237
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1238
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1239
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1240
|
+
|
|
1241
|
+
@_terraform_attribute.setter
|
|
1242
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1243
|
+
if __debug__:
|
|
1244
|
+
type_hints = typing.get_type_hints(_typecheckingstub__146491c26357a66d3726100bdae7a85cd1ce3f9d133170c7b888e4371863e15b)
|
|
1245
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1246
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1247
|
+
|
|
1248
|
+
@builtins.property
|
|
1249
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1250
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1251
|
+
'''The parent resource.'''
|
|
1252
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1253
|
+
|
|
1254
|
+
@_terraform_resource.setter
|
|
1255
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1256
|
+
if __debug__:
|
|
1257
|
+
type_hints = typing.get_type_hints(_typecheckingstub__981f0a78ff74ee055d79706678f7855b237a9c0e1fa4f77d6f528bc29b193924)
|
|
1258
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1259
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1260
|
+
|
|
1261
|
+
@builtins.property
|
|
1262
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1263
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1264
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1265
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1266
|
+
|
|
1267
|
+
@_wraps_set.setter
|
|
1268
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1269
|
+
if __debug__:
|
|
1270
|
+
type_hints = typing.get_type_hints(_typecheckingstub__de8e36f34a796164d1d848fa9ee03d21d32d20da9d69b2969c70bd64366fc15e)
|
|
1271
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1272
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
1273
|
+
|
|
1274
|
+
@builtins.property
|
|
1275
|
+
@jsii.member(jsii_name="internalValue")
|
|
1276
|
+
def internal_value(
|
|
1277
|
+
self,
|
|
1278
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCustomPlan]]]:
|
|
1279
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCustomPlan]]], jsii.get(self, "internalValue"))
|
|
1280
|
+
|
|
1281
|
+
@internal_value.setter
|
|
1282
|
+
def internal_value(
|
|
1283
|
+
self,
|
|
1284
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCustomPlan]]],
|
|
1285
|
+
) -> None:
|
|
1286
|
+
if __debug__:
|
|
1287
|
+
type_hints = typing.get_type_hints(_typecheckingstub__15bf7d5bcd50f8e0b7df457f502a8bb9362ca3bf6ab8c3190246a91e31ac4fb9)
|
|
1288
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1289
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
class KubernetesNodeGroupCustomPlanOutputReference(
|
|
1293
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1294
|
+
metaclass=jsii.JSIIMeta,
|
|
1295
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupCustomPlanOutputReference",
|
|
1296
|
+
):
|
|
1297
|
+
def __init__(
|
|
1298
|
+
self,
|
|
1299
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1300
|
+
terraform_attribute: builtins.str,
|
|
1301
|
+
complex_object_index: jsii.Number,
|
|
1302
|
+
complex_object_is_from_set: builtins.bool,
|
|
1303
|
+
) -> None:
|
|
1304
|
+
'''
|
|
1305
|
+
:param terraform_resource: The parent resource.
|
|
1306
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1307
|
+
:param complex_object_index: the index of this item in the list.
|
|
1308
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1309
|
+
'''
|
|
1310
|
+
if __debug__:
|
|
1311
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8d2b117bf11d56c5c2ad00b1177ef138495c9f14ccd650ff5fcac5bedc510e7f)
|
|
1312
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1313
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1314
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1315
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1316
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1317
|
+
|
|
1318
|
+
@jsii.member(jsii_name="resetStorageTier")
|
|
1319
|
+
def reset_storage_tier(self) -> None:
|
|
1320
|
+
return typing.cast(None, jsii.invoke(self, "resetStorageTier", []))
|
|
1321
|
+
|
|
1322
|
+
@builtins.property
|
|
1323
|
+
@jsii.member(jsii_name="coresInput")
|
|
1324
|
+
def cores_input(self) -> typing.Optional[jsii.Number]:
|
|
1325
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "coresInput"))
|
|
1326
|
+
|
|
1327
|
+
@builtins.property
|
|
1328
|
+
@jsii.member(jsii_name="memoryInput")
|
|
1329
|
+
def memory_input(self) -> typing.Optional[jsii.Number]:
|
|
1330
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "memoryInput"))
|
|
1331
|
+
|
|
1332
|
+
@builtins.property
|
|
1333
|
+
@jsii.member(jsii_name="storageSizeInput")
|
|
1334
|
+
def storage_size_input(self) -> typing.Optional[jsii.Number]:
|
|
1335
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "storageSizeInput"))
|
|
1336
|
+
|
|
1337
|
+
@builtins.property
|
|
1338
|
+
@jsii.member(jsii_name="storageTierInput")
|
|
1339
|
+
def storage_tier_input(self) -> typing.Optional[builtins.str]:
|
|
1340
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "storageTierInput"))
|
|
1341
|
+
|
|
1342
|
+
@builtins.property
|
|
1343
|
+
@jsii.member(jsii_name="cores")
|
|
1344
|
+
def cores(self) -> jsii.Number:
|
|
1345
|
+
return typing.cast(jsii.Number, jsii.get(self, "cores"))
|
|
1346
|
+
|
|
1347
|
+
@cores.setter
|
|
1348
|
+
def cores(self, value: jsii.Number) -> None:
|
|
1349
|
+
if __debug__:
|
|
1350
|
+
type_hints = typing.get_type_hints(_typecheckingstub__15878cdb5de9a8700102ae207bdd26c19d28bebbb88e918a78101ee82831a764)
|
|
1351
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1352
|
+
jsii.set(self, "cores", value) # pyright: ignore[reportArgumentType]
|
|
1353
|
+
|
|
1354
|
+
@builtins.property
|
|
1355
|
+
@jsii.member(jsii_name="memory")
|
|
1356
|
+
def memory(self) -> jsii.Number:
|
|
1357
|
+
return typing.cast(jsii.Number, jsii.get(self, "memory"))
|
|
1358
|
+
|
|
1359
|
+
@memory.setter
|
|
1360
|
+
def memory(self, value: jsii.Number) -> None:
|
|
1361
|
+
if __debug__:
|
|
1362
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c63d931f4ac068dc3819c8179015a8c83a41a8032a345678fcc3e6da49734aeb)
|
|
1363
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1364
|
+
jsii.set(self, "memory", value) # pyright: ignore[reportArgumentType]
|
|
1365
|
+
|
|
1366
|
+
@builtins.property
|
|
1367
|
+
@jsii.member(jsii_name="storageSize")
|
|
1368
|
+
def storage_size(self) -> jsii.Number:
|
|
1369
|
+
return typing.cast(jsii.Number, jsii.get(self, "storageSize"))
|
|
1370
|
+
|
|
1371
|
+
@storage_size.setter
|
|
1372
|
+
def storage_size(self, value: jsii.Number) -> None:
|
|
1373
|
+
if __debug__:
|
|
1374
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5657fcbc706cb9657327d1390116d8b8349d44ebea2c09586646bfd32bee67b2)
|
|
1375
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1376
|
+
jsii.set(self, "storageSize", value) # pyright: ignore[reportArgumentType]
|
|
1377
|
+
|
|
1378
|
+
@builtins.property
|
|
1379
|
+
@jsii.member(jsii_name="storageTier")
|
|
1380
|
+
def storage_tier(self) -> builtins.str:
|
|
1381
|
+
return typing.cast(builtins.str, jsii.get(self, "storageTier"))
|
|
1382
|
+
|
|
1383
|
+
@storage_tier.setter
|
|
1384
|
+
def storage_tier(self, value: builtins.str) -> None:
|
|
1385
|
+
if __debug__:
|
|
1386
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7b087d3351ca31ac1af59c32711d8f4d022346ac4bccf9ec972df910ff8c4e5a)
|
|
1387
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1388
|
+
jsii.set(self, "storageTier", value) # pyright: ignore[reportArgumentType]
|
|
1389
|
+
|
|
1390
|
+
@builtins.property
|
|
1391
|
+
@jsii.member(jsii_name="internalValue")
|
|
1392
|
+
def internal_value(
|
|
1393
|
+
self,
|
|
1394
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupCustomPlan]]:
|
|
1395
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupCustomPlan]], jsii.get(self, "internalValue"))
|
|
1396
|
+
|
|
1397
|
+
@internal_value.setter
|
|
1398
|
+
def internal_value(
|
|
1399
|
+
self,
|
|
1400
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupCustomPlan]],
|
|
1401
|
+
) -> None:
|
|
1402
|
+
if __debug__:
|
|
1403
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c7a11f561e4b919a685206286a7eed09483e309fbeeea066dff67583e94f0c7a)
|
|
1404
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1405
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
@jsii.data_type(
|
|
1409
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupGpuPlan",
|
|
1410
|
+
jsii_struct_bases=[],
|
|
1411
|
+
name_mapping={"storage_size": "storageSize", "storage_tier": "storageTier"},
|
|
1412
|
+
)
|
|
1413
|
+
class KubernetesNodeGroupGpuPlan:
|
|
1414
|
+
def __init__(
|
|
1415
|
+
self,
|
|
1416
|
+
*,
|
|
1417
|
+
storage_size: typing.Optional[jsii.Number] = None,
|
|
1418
|
+
storage_tier: typing.Optional[builtins.str] = None,
|
|
1419
|
+
) -> None:
|
|
1420
|
+
'''
|
|
1421
|
+
:param storage_size: The size of the storage device in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_size KubernetesNodeGroup#storage_size}
|
|
1422
|
+
:param storage_tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_tier KubernetesNodeGroup#storage_tier}
|
|
1423
|
+
'''
|
|
1424
|
+
if __debug__:
|
|
1425
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2fa7e5803de5175f0817ac85027aef2f8dcff8f820ba557a589bd58117442345)
|
|
1426
|
+
check_type(argname="argument storage_size", value=storage_size, expected_type=type_hints["storage_size"])
|
|
1427
|
+
check_type(argname="argument storage_tier", value=storage_tier, expected_type=type_hints["storage_tier"])
|
|
1428
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1429
|
+
if storage_size is not None:
|
|
1430
|
+
self._values["storage_size"] = storage_size
|
|
1431
|
+
if storage_tier is not None:
|
|
1432
|
+
self._values["storage_tier"] = storage_tier
|
|
1433
|
+
|
|
1434
|
+
@builtins.property
|
|
1435
|
+
def storage_size(self) -> typing.Optional[jsii.Number]:
|
|
1436
|
+
'''The size of the storage device in gigabytes.
|
|
1437
|
+
|
|
1438
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_size KubernetesNodeGroup#storage_size}
|
|
1439
|
+
'''
|
|
1440
|
+
result = self._values.get("storage_size")
|
|
1441
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1442
|
+
|
|
1443
|
+
@builtins.property
|
|
1444
|
+
def storage_tier(self) -> typing.Optional[builtins.str]:
|
|
1445
|
+
'''The storage tier to use.
|
|
1446
|
+
|
|
1447
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#storage_tier KubernetesNodeGroup#storage_tier}
|
|
1448
|
+
'''
|
|
1449
|
+
result = self._values.get("storage_tier")
|
|
1450
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1451
|
+
|
|
1452
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1453
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1454
|
+
|
|
1455
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1456
|
+
return not (rhs == self)
|
|
1457
|
+
|
|
1458
|
+
def __repr__(self) -> str:
|
|
1459
|
+
return "KubernetesNodeGroupGpuPlan(%s)" % ", ".join(
|
|
1460
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1461
|
+
)
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
class KubernetesNodeGroupGpuPlanList(
|
|
1465
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1466
|
+
metaclass=jsii.JSIIMeta,
|
|
1467
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupGpuPlanList",
|
|
1468
|
+
):
|
|
1469
|
+
def __init__(
|
|
1470
|
+
self,
|
|
1471
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1472
|
+
terraform_attribute: builtins.str,
|
|
1473
|
+
wraps_set: builtins.bool,
|
|
1474
|
+
) -> None:
|
|
1475
|
+
'''
|
|
1476
|
+
:param terraform_resource: The parent resource.
|
|
1477
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1478
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1479
|
+
'''
|
|
1480
|
+
if __debug__:
|
|
1481
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7b1116523b1a8f7cf2e4f21456b1e8c24a959cc22b4d33b2606bac63063972ed)
|
|
1482
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1483
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1484
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1485
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1486
|
+
|
|
1487
|
+
@jsii.member(jsii_name="get")
|
|
1488
|
+
def get(self, index: jsii.Number) -> "KubernetesNodeGroupGpuPlanOutputReference":
|
|
1489
|
+
'''
|
|
1490
|
+
:param index: the index of the item to return.
|
|
1491
|
+
'''
|
|
1492
|
+
if __debug__:
|
|
1493
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3bd2c3bdaf3a8a8a1c8bde2bae997a172480ee2fd03a9886261c781f02bd8511)
|
|
1494
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1495
|
+
return typing.cast("KubernetesNodeGroupGpuPlanOutputReference", jsii.invoke(self, "get", [index]))
|
|
1496
|
+
|
|
1497
|
+
@builtins.property
|
|
1498
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1499
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1500
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1501
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1502
|
+
|
|
1503
|
+
@_terraform_attribute.setter
|
|
1504
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1505
|
+
if __debug__:
|
|
1506
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a6d3362daab3ef72b55a53261618f6b4143936663c170097004850acc51fc7ba)
|
|
1507
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1508
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1509
|
+
|
|
1510
|
+
@builtins.property
|
|
1511
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1512
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1513
|
+
'''The parent resource.'''
|
|
1514
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1515
|
+
|
|
1516
|
+
@_terraform_resource.setter
|
|
1517
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1518
|
+
if __debug__:
|
|
1519
|
+
type_hints = typing.get_type_hints(_typecheckingstub__96ed86b311e36730c9fc332c1931b6642d6014d1fb2b09cb9ca90a24a941f6d7)
|
|
1520
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1521
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1522
|
+
|
|
1523
|
+
@builtins.property
|
|
1524
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1525
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1526
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1527
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1528
|
+
|
|
1529
|
+
@_wraps_set.setter
|
|
1530
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1531
|
+
if __debug__:
|
|
1532
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0c6b4a7ed698dfe86f81922561ac8dfd3e04fb00556732cbd2db190868c8f559)
|
|
1533
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1534
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
1535
|
+
|
|
1536
|
+
@builtins.property
|
|
1537
|
+
@jsii.member(jsii_name="internalValue")
|
|
1538
|
+
def internal_value(
|
|
1539
|
+
self,
|
|
1540
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupGpuPlan]]]:
|
|
1541
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupGpuPlan]]], jsii.get(self, "internalValue"))
|
|
1542
|
+
|
|
1543
|
+
@internal_value.setter
|
|
1544
|
+
def internal_value(
|
|
1545
|
+
self,
|
|
1546
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupGpuPlan]]],
|
|
1547
|
+
) -> None:
|
|
1548
|
+
if __debug__:
|
|
1549
|
+
type_hints = typing.get_type_hints(_typecheckingstub__56435d3f02cd0ef23c6f01ed04f7701d16a65a25ab90cce603c19e6145a084f6)
|
|
1550
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1551
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
class KubernetesNodeGroupGpuPlanOutputReference(
|
|
1555
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1556
|
+
metaclass=jsii.JSIIMeta,
|
|
1557
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupGpuPlanOutputReference",
|
|
1558
|
+
):
|
|
1559
|
+
def __init__(
|
|
1560
|
+
self,
|
|
1561
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1562
|
+
terraform_attribute: builtins.str,
|
|
1563
|
+
complex_object_index: jsii.Number,
|
|
1564
|
+
complex_object_is_from_set: builtins.bool,
|
|
1565
|
+
) -> None:
|
|
1566
|
+
'''
|
|
1567
|
+
:param terraform_resource: The parent resource.
|
|
1568
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1569
|
+
:param complex_object_index: the index of this item in the list.
|
|
1570
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1571
|
+
'''
|
|
1572
|
+
if __debug__:
|
|
1573
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4f1b7b6a41a17a31b8f915354ea57f1454e9ab1791768481ef8af39e44c85950)
|
|
1574
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1575
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1576
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1577
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1578
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1579
|
+
|
|
1580
|
+
@jsii.member(jsii_name="resetStorageSize")
|
|
1581
|
+
def reset_storage_size(self) -> None:
|
|
1582
|
+
return typing.cast(None, jsii.invoke(self, "resetStorageSize", []))
|
|
1583
|
+
|
|
1584
|
+
@jsii.member(jsii_name="resetStorageTier")
|
|
1585
|
+
def reset_storage_tier(self) -> None:
|
|
1586
|
+
return typing.cast(None, jsii.invoke(self, "resetStorageTier", []))
|
|
1587
|
+
|
|
1588
|
+
@builtins.property
|
|
1589
|
+
@jsii.member(jsii_name="storageSizeInput")
|
|
1590
|
+
def storage_size_input(self) -> typing.Optional[jsii.Number]:
|
|
1591
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "storageSizeInput"))
|
|
1592
|
+
|
|
1593
|
+
@builtins.property
|
|
1594
|
+
@jsii.member(jsii_name="storageTierInput")
|
|
1595
|
+
def storage_tier_input(self) -> typing.Optional[builtins.str]:
|
|
1596
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "storageTierInput"))
|
|
1597
|
+
|
|
1598
|
+
@builtins.property
|
|
1599
|
+
@jsii.member(jsii_name="storageSize")
|
|
1600
|
+
def storage_size(self) -> jsii.Number:
|
|
1601
|
+
return typing.cast(jsii.Number, jsii.get(self, "storageSize"))
|
|
1602
|
+
|
|
1603
|
+
@storage_size.setter
|
|
1604
|
+
def storage_size(self, value: jsii.Number) -> None:
|
|
1605
|
+
if __debug__:
|
|
1606
|
+
type_hints = typing.get_type_hints(_typecheckingstub__12bc49b7146309b28c7a7a7d7b2bb4d9dd5dd90208d75989bac24002fa035032)
|
|
1607
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1608
|
+
jsii.set(self, "storageSize", value) # pyright: ignore[reportArgumentType]
|
|
1609
|
+
|
|
1610
|
+
@builtins.property
|
|
1611
|
+
@jsii.member(jsii_name="storageTier")
|
|
1612
|
+
def storage_tier(self) -> builtins.str:
|
|
1613
|
+
return typing.cast(builtins.str, jsii.get(self, "storageTier"))
|
|
1614
|
+
|
|
1615
|
+
@storage_tier.setter
|
|
1616
|
+
def storage_tier(self, value: builtins.str) -> None:
|
|
1617
|
+
if __debug__:
|
|
1618
|
+
type_hints = typing.get_type_hints(_typecheckingstub__31a5992622b650da62b9685feb2241ec0c685dd517de9ef9205aa8049a237604)
|
|
1619
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1620
|
+
jsii.set(self, "storageTier", value) # pyright: ignore[reportArgumentType]
|
|
1621
|
+
|
|
1622
|
+
@builtins.property
|
|
1623
|
+
@jsii.member(jsii_name="internalValue")
|
|
1624
|
+
def internal_value(
|
|
1625
|
+
self,
|
|
1626
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupGpuPlan]]:
|
|
1627
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupGpuPlan]], jsii.get(self, "internalValue"))
|
|
1628
|
+
|
|
1629
|
+
@internal_value.setter
|
|
1630
|
+
def internal_value(
|
|
1631
|
+
self,
|
|
1632
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupGpuPlan]],
|
|
1633
|
+
) -> None:
|
|
1634
|
+
if __debug__:
|
|
1635
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f1e103e18c79ba9829a5353d403edb5702433cfe99ad39fe8da3d311d8c22dd0)
|
|
1636
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1637
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
@jsii.data_type(
|
|
1641
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupKubeletArgs",
|
|
1642
|
+
jsii_struct_bases=[],
|
|
1643
|
+
name_mapping={"key": "key", "value": "value"},
|
|
1644
|
+
)
|
|
1645
|
+
class KubernetesNodeGroupKubeletArgs:
|
|
1646
|
+
def __init__(self, *, key: builtins.str, value: builtins.str) -> None:
|
|
1647
|
+
'''
|
|
1648
|
+
:param key: Kubelet argument key. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#key KubernetesNodeGroup#key}
|
|
1649
|
+
:param value: Kubelet argument value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#value KubernetesNodeGroup#value}
|
|
1650
|
+
'''
|
|
1651
|
+
if __debug__:
|
|
1652
|
+
type_hints = typing.get_type_hints(_typecheckingstub__842da686c29c5adfe37f8e21bb7186ee26ad8d4d70cd1e8579de468f13543803)
|
|
1653
|
+
check_type(argname="argument key", value=key, expected_type=type_hints["key"])
|
|
1654
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1655
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1656
|
+
"key": key,
|
|
1657
|
+
"value": value,
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
@builtins.property
|
|
1661
|
+
def key(self) -> builtins.str:
|
|
1662
|
+
'''Kubelet argument key.
|
|
1663
|
+
|
|
1664
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#key KubernetesNodeGroup#key}
|
|
1665
|
+
'''
|
|
1666
|
+
result = self._values.get("key")
|
|
1667
|
+
assert result is not None, "Required property 'key' is missing"
|
|
1668
|
+
return typing.cast(builtins.str, result)
|
|
1669
|
+
|
|
1670
|
+
@builtins.property
|
|
1671
|
+
def value(self) -> builtins.str:
|
|
1672
|
+
'''Kubelet argument value.
|
|
1673
|
+
|
|
1674
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#value KubernetesNodeGroup#value}
|
|
1675
|
+
'''
|
|
1676
|
+
result = self._values.get("value")
|
|
1677
|
+
assert result is not None, "Required property 'value' is missing"
|
|
1678
|
+
return typing.cast(builtins.str, result)
|
|
1679
|
+
|
|
1680
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1681
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1682
|
+
|
|
1683
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1684
|
+
return not (rhs == self)
|
|
1685
|
+
|
|
1686
|
+
def __repr__(self) -> str:
|
|
1687
|
+
return "KubernetesNodeGroupKubeletArgs(%s)" % ", ".join(
|
|
1688
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1689
|
+
)
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
class KubernetesNodeGroupKubeletArgsList(
|
|
1693
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1694
|
+
metaclass=jsii.JSIIMeta,
|
|
1695
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupKubeletArgsList",
|
|
1696
|
+
):
|
|
1697
|
+
def __init__(
|
|
1698
|
+
self,
|
|
1699
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1700
|
+
terraform_attribute: builtins.str,
|
|
1701
|
+
wraps_set: builtins.bool,
|
|
1702
|
+
) -> None:
|
|
1703
|
+
'''
|
|
1704
|
+
:param terraform_resource: The parent resource.
|
|
1705
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1706
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1707
|
+
'''
|
|
1708
|
+
if __debug__:
|
|
1709
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e77d29d892ab28ae50ac4262b7332db2cbe370cd4ca1efaa114fcdec6f5c57c5)
|
|
1710
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1711
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1712
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1713
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1714
|
+
|
|
1715
|
+
@jsii.member(jsii_name="get")
|
|
1716
|
+
def get(
|
|
1717
|
+
self,
|
|
1718
|
+
index: jsii.Number,
|
|
1719
|
+
) -> "KubernetesNodeGroupKubeletArgsOutputReference":
|
|
1720
|
+
'''
|
|
1721
|
+
:param index: the index of the item to return.
|
|
1722
|
+
'''
|
|
1723
|
+
if __debug__:
|
|
1724
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aa6ca723d3e26a5237e5153600b91c17e1a3c31853e088a9dadfdb48d53f9a5a)
|
|
1725
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1726
|
+
return typing.cast("KubernetesNodeGroupKubeletArgsOutputReference", jsii.invoke(self, "get", [index]))
|
|
1727
|
+
|
|
1728
|
+
@builtins.property
|
|
1729
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1730
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1731
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1732
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1733
|
+
|
|
1734
|
+
@_terraform_attribute.setter
|
|
1735
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1736
|
+
if __debug__:
|
|
1737
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d60a7931de3e6139c97132bbd4c81870d3180a358bed18644632ac607d888e3f)
|
|
1738
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1739
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1740
|
+
|
|
1741
|
+
@builtins.property
|
|
1742
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1743
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1744
|
+
'''The parent resource.'''
|
|
1745
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1746
|
+
|
|
1747
|
+
@_terraform_resource.setter
|
|
1748
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1749
|
+
if __debug__:
|
|
1750
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b5025cd233c716e72c1b250acb3ef1951eb10755b75d25b900bb1ea9665b5824)
|
|
1751
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1752
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1753
|
+
|
|
1754
|
+
@builtins.property
|
|
1755
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1756
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1757
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1758
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1759
|
+
|
|
1760
|
+
@_wraps_set.setter
|
|
1761
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1762
|
+
if __debug__:
|
|
1763
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1da00c07635920f592f81dd8a1b5edbf670c685a0f0da4b6eab167085109616b)
|
|
1764
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1765
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
1766
|
+
|
|
1767
|
+
@builtins.property
|
|
1768
|
+
@jsii.member(jsii_name="internalValue")
|
|
1769
|
+
def internal_value(
|
|
1770
|
+
self,
|
|
1771
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupKubeletArgs]]]:
|
|
1772
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupKubeletArgs]]], jsii.get(self, "internalValue"))
|
|
1773
|
+
|
|
1774
|
+
@internal_value.setter
|
|
1775
|
+
def internal_value(
|
|
1776
|
+
self,
|
|
1777
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupKubeletArgs]]],
|
|
1778
|
+
) -> None:
|
|
1779
|
+
if __debug__:
|
|
1780
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a532fbf34887c150c2e5b1c80c46135e3c5fc280956c03a0f00097f4441c53f7)
|
|
1781
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1782
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
class KubernetesNodeGroupKubeletArgsOutputReference(
|
|
1786
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1787
|
+
metaclass=jsii.JSIIMeta,
|
|
1788
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupKubeletArgsOutputReference",
|
|
1789
|
+
):
|
|
1790
|
+
def __init__(
|
|
1791
|
+
self,
|
|
1792
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1793
|
+
terraform_attribute: builtins.str,
|
|
1794
|
+
complex_object_index: jsii.Number,
|
|
1795
|
+
complex_object_is_from_set: builtins.bool,
|
|
1796
|
+
) -> None:
|
|
1797
|
+
'''
|
|
1798
|
+
:param terraform_resource: The parent resource.
|
|
1799
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1800
|
+
:param complex_object_index: the index of this item in the list.
|
|
1801
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1802
|
+
'''
|
|
1803
|
+
if __debug__:
|
|
1804
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f2fb6ce4916be3e5e9096d3c5734710a960470e81aa83a263b22f51942b6c1f3)
|
|
1805
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1806
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1807
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1808
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1809
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1810
|
+
|
|
1811
|
+
@builtins.property
|
|
1812
|
+
@jsii.member(jsii_name="keyInput")
|
|
1813
|
+
def key_input(self) -> typing.Optional[builtins.str]:
|
|
1814
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "keyInput"))
|
|
1815
|
+
|
|
1816
|
+
@builtins.property
|
|
1817
|
+
@jsii.member(jsii_name="valueInput")
|
|
1818
|
+
def value_input(self) -> typing.Optional[builtins.str]:
|
|
1819
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "valueInput"))
|
|
1820
|
+
|
|
1821
|
+
@builtins.property
|
|
1822
|
+
@jsii.member(jsii_name="key")
|
|
1823
|
+
def key(self) -> builtins.str:
|
|
1824
|
+
return typing.cast(builtins.str, jsii.get(self, "key"))
|
|
1825
|
+
|
|
1826
|
+
@key.setter
|
|
1827
|
+
def key(self, value: builtins.str) -> None:
|
|
1828
|
+
if __debug__:
|
|
1829
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a0ca93e23304fb9d3092b6e042d7017f88c72f85e9ad92d73052c5eea4030011)
|
|
1830
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1831
|
+
jsii.set(self, "key", value) # pyright: ignore[reportArgumentType]
|
|
1832
|
+
|
|
1833
|
+
@builtins.property
|
|
1834
|
+
@jsii.member(jsii_name="value")
|
|
1835
|
+
def value(self) -> builtins.str:
|
|
1836
|
+
return typing.cast(builtins.str, jsii.get(self, "value"))
|
|
1837
|
+
|
|
1838
|
+
@value.setter
|
|
1839
|
+
def value(self, value: builtins.str) -> None:
|
|
1840
|
+
if __debug__:
|
|
1841
|
+
type_hints = typing.get_type_hints(_typecheckingstub__190c6fb08627f568dbff911b8ba8f0a445d8de7960b43dbcd5b8df5a922d2537)
|
|
1842
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1843
|
+
jsii.set(self, "value", value) # pyright: ignore[reportArgumentType]
|
|
1844
|
+
|
|
1845
|
+
@builtins.property
|
|
1846
|
+
@jsii.member(jsii_name="internalValue")
|
|
1847
|
+
def internal_value(
|
|
1848
|
+
self,
|
|
1849
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupKubeletArgs]]:
|
|
1850
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupKubeletArgs]], jsii.get(self, "internalValue"))
|
|
1851
|
+
|
|
1852
|
+
@internal_value.setter
|
|
1853
|
+
def internal_value(
|
|
1854
|
+
self,
|
|
1855
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupKubeletArgs]],
|
|
1856
|
+
) -> None:
|
|
1857
|
+
if __debug__:
|
|
1858
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5e8923d78289695708ec2e55a09b1595632c8cae49ff31863f2e4bbde79aac87)
|
|
1859
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1860
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
@jsii.data_type(
|
|
1864
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupTaint",
|
|
1865
|
+
jsii_struct_bases=[],
|
|
1866
|
+
name_mapping={"effect": "effect", "key": "key", "value": "value"},
|
|
1867
|
+
)
|
|
1868
|
+
class KubernetesNodeGroupTaint:
|
|
1869
|
+
def __init__(
|
|
1870
|
+
self,
|
|
1871
|
+
*,
|
|
1872
|
+
effect: builtins.str,
|
|
1873
|
+
key: builtins.str,
|
|
1874
|
+
value: builtins.str,
|
|
1875
|
+
) -> None:
|
|
1876
|
+
'''
|
|
1877
|
+
:param effect: Taint effect. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#effect KubernetesNodeGroup#effect}
|
|
1878
|
+
:param key: Taint key. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#key KubernetesNodeGroup#key}
|
|
1879
|
+
:param value: Taint value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#value KubernetesNodeGroup#value}
|
|
1880
|
+
'''
|
|
1881
|
+
if __debug__:
|
|
1882
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ea59ebf2232eca6d3573e469ce94ebcc61818a93352ae4370837428874ad8b8e)
|
|
1883
|
+
check_type(argname="argument effect", value=effect, expected_type=type_hints["effect"])
|
|
1884
|
+
check_type(argname="argument key", value=key, expected_type=type_hints["key"])
|
|
1885
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1886
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1887
|
+
"effect": effect,
|
|
1888
|
+
"key": key,
|
|
1889
|
+
"value": value,
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
@builtins.property
|
|
1893
|
+
def effect(self) -> builtins.str:
|
|
1894
|
+
'''Taint effect.
|
|
1895
|
+
|
|
1896
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#effect KubernetesNodeGroup#effect}
|
|
1897
|
+
'''
|
|
1898
|
+
result = self._values.get("effect")
|
|
1899
|
+
assert result is not None, "Required property 'effect' is missing"
|
|
1900
|
+
return typing.cast(builtins.str, result)
|
|
1901
|
+
|
|
1902
|
+
@builtins.property
|
|
1903
|
+
def key(self) -> builtins.str:
|
|
1904
|
+
'''Taint key.
|
|
1905
|
+
|
|
1906
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#key KubernetesNodeGroup#key}
|
|
1907
|
+
'''
|
|
1908
|
+
result = self._values.get("key")
|
|
1909
|
+
assert result is not None, "Required property 'key' is missing"
|
|
1910
|
+
return typing.cast(builtins.str, result)
|
|
1911
|
+
|
|
1912
|
+
@builtins.property
|
|
1913
|
+
def value(self) -> builtins.str:
|
|
1914
|
+
'''Taint value.
|
|
1915
|
+
|
|
1916
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/kubernetes_node_group#value KubernetesNodeGroup#value}
|
|
1917
|
+
'''
|
|
1918
|
+
result = self._values.get("value")
|
|
1919
|
+
assert result is not None, "Required property 'value' is missing"
|
|
1920
|
+
return typing.cast(builtins.str, result)
|
|
1921
|
+
|
|
1922
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1923
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1924
|
+
|
|
1925
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1926
|
+
return not (rhs == self)
|
|
1927
|
+
|
|
1928
|
+
def __repr__(self) -> str:
|
|
1929
|
+
return "KubernetesNodeGroupTaint(%s)" % ", ".join(
|
|
1930
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1931
|
+
)
|
|
1932
|
+
|
|
1933
|
+
|
|
1934
|
+
class KubernetesNodeGroupTaintList(
|
|
1935
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1936
|
+
metaclass=jsii.JSIIMeta,
|
|
1937
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupTaintList",
|
|
1938
|
+
):
|
|
1939
|
+
def __init__(
|
|
1940
|
+
self,
|
|
1941
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1942
|
+
terraform_attribute: builtins.str,
|
|
1943
|
+
wraps_set: builtins.bool,
|
|
1944
|
+
) -> None:
|
|
1945
|
+
'''
|
|
1946
|
+
:param terraform_resource: The parent resource.
|
|
1947
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1948
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1949
|
+
'''
|
|
1950
|
+
if __debug__:
|
|
1951
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ced2e8f57a270b9e3b65f3e6dce4744a50a37c2fd167cc05fa3cf3c196ad923b)
|
|
1952
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1953
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1954
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1955
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1956
|
+
|
|
1957
|
+
@jsii.member(jsii_name="get")
|
|
1958
|
+
def get(self, index: jsii.Number) -> "KubernetesNodeGroupTaintOutputReference":
|
|
1959
|
+
'''
|
|
1960
|
+
:param index: the index of the item to return.
|
|
1961
|
+
'''
|
|
1962
|
+
if __debug__:
|
|
1963
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bbf03c718d4d6a6f12757ac57ca746adc9fbe2fcd3eef0260defffcadcf2dcc5)
|
|
1964
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1965
|
+
return typing.cast("KubernetesNodeGroupTaintOutputReference", jsii.invoke(self, "get", [index]))
|
|
1966
|
+
|
|
1967
|
+
@builtins.property
|
|
1968
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1969
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1970
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1971
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1972
|
+
|
|
1973
|
+
@_terraform_attribute.setter
|
|
1974
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1975
|
+
if __debug__:
|
|
1976
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a653dbd7825419038762384e3dd6c1d35788318e615eb2113999140ca65d66af)
|
|
1977
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1978
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1979
|
+
|
|
1980
|
+
@builtins.property
|
|
1981
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1982
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1983
|
+
'''The parent resource.'''
|
|
1984
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1985
|
+
|
|
1986
|
+
@_terraform_resource.setter
|
|
1987
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1988
|
+
if __debug__:
|
|
1989
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b4ee5f41b3ba7599860324eea4d5d76c6689c846f4d728520696478cdf35c51c)
|
|
1990
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1991
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1992
|
+
|
|
1993
|
+
@builtins.property
|
|
1994
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1995
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1996
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1997
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1998
|
+
|
|
1999
|
+
@_wraps_set.setter
|
|
2000
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
2001
|
+
if __debug__:
|
|
2002
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a54ae18ac5c83380be8ee636436df8ec2171a507975c17e6b26b5fe263cf4680)
|
|
2003
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2004
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
2005
|
+
|
|
2006
|
+
@builtins.property
|
|
2007
|
+
@jsii.member(jsii_name="internalValue")
|
|
2008
|
+
def internal_value(
|
|
2009
|
+
self,
|
|
2010
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupTaint]]]:
|
|
2011
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupTaint]]], jsii.get(self, "internalValue"))
|
|
2012
|
+
|
|
2013
|
+
@internal_value.setter
|
|
2014
|
+
def internal_value(
|
|
2015
|
+
self,
|
|
2016
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupTaint]]],
|
|
2017
|
+
) -> None:
|
|
2018
|
+
if __debug__:
|
|
2019
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f2b3c89670f740885f361407f1e60afdaa764dae180511c09280eee471d90ae7)
|
|
2020
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2021
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
2022
|
+
|
|
2023
|
+
|
|
2024
|
+
class KubernetesNodeGroupTaintOutputReference(
|
|
2025
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
2026
|
+
metaclass=jsii.JSIIMeta,
|
|
2027
|
+
jsii_type="@cdktf/provider-upcloud.kubernetesNodeGroup.KubernetesNodeGroupTaintOutputReference",
|
|
2028
|
+
):
|
|
2029
|
+
def __init__(
|
|
2030
|
+
self,
|
|
2031
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2032
|
+
terraform_attribute: builtins.str,
|
|
2033
|
+
complex_object_index: jsii.Number,
|
|
2034
|
+
complex_object_is_from_set: builtins.bool,
|
|
2035
|
+
) -> None:
|
|
2036
|
+
'''
|
|
2037
|
+
:param terraform_resource: The parent resource.
|
|
2038
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
2039
|
+
:param complex_object_index: the index of this item in the list.
|
|
2040
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
2041
|
+
'''
|
|
2042
|
+
if __debug__:
|
|
2043
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9dd4a8354b794acedc53d938312c383d959e5a57e7799bce1de1ea672134d368)
|
|
2044
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
2045
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
2046
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
2047
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
2048
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
2049
|
+
|
|
2050
|
+
@builtins.property
|
|
2051
|
+
@jsii.member(jsii_name="effectInput")
|
|
2052
|
+
def effect_input(self) -> typing.Optional[builtins.str]:
|
|
2053
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "effectInput"))
|
|
2054
|
+
|
|
2055
|
+
@builtins.property
|
|
2056
|
+
@jsii.member(jsii_name="keyInput")
|
|
2057
|
+
def key_input(self) -> typing.Optional[builtins.str]:
|
|
2058
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "keyInput"))
|
|
2059
|
+
|
|
2060
|
+
@builtins.property
|
|
2061
|
+
@jsii.member(jsii_name="valueInput")
|
|
2062
|
+
def value_input(self) -> typing.Optional[builtins.str]:
|
|
2063
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "valueInput"))
|
|
2064
|
+
|
|
2065
|
+
@builtins.property
|
|
2066
|
+
@jsii.member(jsii_name="effect")
|
|
2067
|
+
def effect(self) -> builtins.str:
|
|
2068
|
+
return typing.cast(builtins.str, jsii.get(self, "effect"))
|
|
2069
|
+
|
|
2070
|
+
@effect.setter
|
|
2071
|
+
def effect(self, value: builtins.str) -> None:
|
|
2072
|
+
if __debug__:
|
|
2073
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aae6c80211b753dde976506b8fdaaaeb52317752c965fa8f71e691ab195c694a)
|
|
2074
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2075
|
+
jsii.set(self, "effect", value) # pyright: ignore[reportArgumentType]
|
|
2076
|
+
|
|
2077
|
+
@builtins.property
|
|
2078
|
+
@jsii.member(jsii_name="key")
|
|
2079
|
+
def key(self) -> builtins.str:
|
|
2080
|
+
return typing.cast(builtins.str, jsii.get(self, "key"))
|
|
2081
|
+
|
|
2082
|
+
@key.setter
|
|
2083
|
+
def key(self, value: builtins.str) -> None:
|
|
2084
|
+
if __debug__:
|
|
2085
|
+
type_hints = typing.get_type_hints(_typecheckingstub__55a026e007716eba12ee4e36307b091738d1cfd97602f2c5522ad02b04e0f132)
|
|
2086
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2087
|
+
jsii.set(self, "key", value) # pyright: ignore[reportArgumentType]
|
|
2088
|
+
|
|
2089
|
+
@builtins.property
|
|
2090
|
+
@jsii.member(jsii_name="value")
|
|
2091
|
+
def value(self) -> builtins.str:
|
|
2092
|
+
return typing.cast(builtins.str, jsii.get(self, "value"))
|
|
2093
|
+
|
|
2094
|
+
@value.setter
|
|
2095
|
+
def value(self, value: builtins.str) -> None:
|
|
2096
|
+
if __debug__:
|
|
2097
|
+
type_hints = typing.get_type_hints(_typecheckingstub__60c2f44434e8c966994b706bcde3d60ee6d488bc1150d9deb3e9a555a19dee0b)
|
|
2098
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2099
|
+
jsii.set(self, "value", value) # pyright: ignore[reportArgumentType]
|
|
2100
|
+
|
|
2101
|
+
@builtins.property
|
|
2102
|
+
@jsii.member(jsii_name="internalValue")
|
|
2103
|
+
def internal_value(
|
|
2104
|
+
self,
|
|
2105
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupTaint]]:
|
|
2106
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupTaint]], jsii.get(self, "internalValue"))
|
|
2107
|
+
|
|
2108
|
+
@internal_value.setter
|
|
2109
|
+
def internal_value(
|
|
2110
|
+
self,
|
|
2111
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupTaint]],
|
|
2112
|
+
) -> None:
|
|
2113
|
+
if __debug__:
|
|
2114
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8a11735bbf7d5e4dd383fb927e6bf80821b4d25f117c173b310cfc837a25c7f4)
|
|
2115
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2116
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
__all__ = [
|
|
2120
|
+
"KubernetesNodeGroup",
|
|
2121
|
+
"KubernetesNodeGroupCloudNativePlan",
|
|
2122
|
+
"KubernetesNodeGroupCloudNativePlanList",
|
|
2123
|
+
"KubernetesNodeGroupCloudNativePlanOutputReference",
|
|
2124
|
+
"KubernetesNodeGroupConfig",
|
|
2125
|
+
"KubernetesNodeGroupCustomPlan",
|
|
2126
|
+
"KubernetesNodeGroupCustomPlanList",
|
|
2127
|
+
"KubernetesNodeGroupCustomPlanOutputReference",
|
|
2128
|
+
"KubernetesNodeGroupGpuPlan",
|
|
2129
|
+
"KubernetesNodeGroupGpuPlanList",
|
|
2130
|
+
"KubernetesNodeGroupGpuPlanOutputReference",
|
|
2131
|
+
"KubernetesNodeGroupKubeletArgs",
|
|
2132
|
+
"KubernetesNodeGroupKubeletArgsList",
|
|
2133
|
+
"KubernetesNodeGroupKubeletArgsOutputReference",
|
|
2134
|
+
"KubernetesNodeGroupTaint",
|
|
2135
|
+
"KubernetesNodeGroupTaintList",
|
|
2136
|
+
"KubernetesNodeGroupTaintOutputReference",
|
|
2137
|
+
]
|
|
2138
|
+
|
|
2139
|
+
publication.publish()
|
|
2140
|
+
|
|
2141
|
+
def _typecheckingstub__8bbcd241d9ab4cfd557f0a030c928c51f93c7d6d9f343e0bcdbdda3cbc8065e3(
|
|
2142
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2143
|
+
id: builtins.str,
|
|
2144
|
+
*,
|
|
2145
|
+
cluster: builtins.str,
|
|
2146
|
+
name: builtins.str,
|
|
2147
|
+
node_count: jsii.Number,
|
|
2148
|
+
plan: builtins.str,
|
|
2149
|
+
anti_affinity: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
2150
|
+
cloud_native_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupCloudNativePlan, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2151
|
+
custom_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupCustomPlan, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2152
|
+
gpu_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupGpuPlan, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2153
|
+
kubelet_args: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupKubeletArgs, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2154
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2155
|
+
ssh_keys: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2156
|
+
storage_encryption: typing.Optional[builtins.str] = None,
|
|
2157
|
+
taint: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupTaint, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2158
|
+
utility_network_access: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
2159
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2160
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
2161
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
2162
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
2163
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2164
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
2165
|
+
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2166
|
+
) -> None:
|
|
2167
|
+
"""Type checking stubs"""
|
|
2168
|
+
pass
|
|
2169
|
+
|
|
2170
|
+
def _typecheckingstub__8e4418f3bc7d50550f1d889edee827b87fd9884602972643c6b82f110049ba71(
|
|
2171
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2172
|
+
import_to_id: builtins.str,
|
|
2173
|
+
import_from_id: builtins.str,
|
|
2174
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
2175
|
+
) -> None:
|
|
2176
|
+
"""Type checking stubs"""
|
|
2177
|
+
pass
|
|
2178
|
+
|
|
2179
|
+
def _typecheckingstub__ac2f10d642c0079d30e463561c2878e59777f101807a48a08ccb9a8933285e30(
|
|
2180
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupCloudNativePlan, typing.Dict[builtins.str, typing.Any]]]],
|
|
2181
|
+
) -> None:
|
|
2182
|
+
"""Type checking stubs"""
|
|
2183
|
+
pass
|
|
2184
|
+
|
|
2185
|
+
def _typecheckingstub__710eeb24e681bc1abd473c02c09c72cd25116f5c53784cd07b46e161d215c56f(
|
|
2186
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupCustomPlan, typing.Dict[builtins.str, typing.Any]]]],
|
|
2187
|
+
) -> None:
|
|
2188
|
+
"""Type checking stubs"""
|
|
2189
|
+
pass
|
|
2190
|
+
|
|
2191
|
+
def _typecheckingstub__c17e1903eed937df8e22fb46de08949295493fcc3197086a410959cf85bd4e98(
|
|
2192
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupGpuPlan, typing.Dict[builtins.str, typing.Any]]]],
|
|
2193
|
+
) -> None:
|
|
2194
|
+
"""Type checking stubs"""
|
|
2195
|
+
pass
|
|
2196
|
+
|
|
2197
|
+
def _typecheckingstub__32e3828076130e1cbd29ccb900f4d6ed322c27ffe5fa92f4dab04d41c7227a1f(
|
|
2198
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupKubeletArgs, typing.Dict[builtins.str, typing.Any]]]],
|
|
2199
|
+
) -> None:
|
|
2200
|
+
"""Type checking stubs"""
|
|
2201
|
+
pass
|
|
2202
|
+
|
|
2203
|
+
def _typecheckingstub__374acc0d3de361c5076be47a8876b2f5870798afcd9887148234d9685257a419(
|
|
2204
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupTaint, typing.Dict[builtins.str, typing.Any]]]],
|
|
2205
|
+
) -> None:
|
|
2206
|
+
"""Type checking stubs"""
|
|
2207
|
+
pass
|
|
2208
|
+
|
|
2209
|
+
def _typecheckingstub__e621946f83e58f50c483b681d6a00e44ec81d2dccf1a4f8dafde9e0fb59d55b4(
|
|
2210
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
2211
|
+
) -> None:
|
|
2212
|
+
"""Type checking stubs"""
|
|
2213
|
+
pass
|
|
2214
|
+
|
|
2215
|
+
def _typecheckingstub__251ecefce0fab4086841f5905fdd68a5182667a221b0cf9910dbc14eee214671(
|
|
2216
|
+
value: builtins.str,
|
|
2217
|
+
) -> None:
|
|
2218
|
+
"""Type checking stubs"""
|
|
2219
|
+
pass
|
|
2220
|
+
|
|
2221
|
+
def _typecheckingstub__fccb7b922d5d84e539f4c8817753636ee4b2f0dec095ea9ff13030c9d7a17d58(
|
|
2222
|
+
value: typing.Mapping[builtins.str, builtins.str],
|
|
2223
|
+
) -> None:
|
|
2224
|
+
"""Type checking stubs"""
|
|
2225
|
+
pass
|
|
2226
|
+
|
|
2227
|
+
def _typecheckingstub__02535264f80e698e5cf251336456b8c83e944521501b454ed690a5d74067c620(
|
|
2228
|
+
value: builtins.str,
|
|
2229
|
+
) -> None:
|
|
2230
|
+
"""Type checking stubs"""
|
|
2231
|
+
pass
|
|
2232
|
+
|
|
2233
|
+
def _typecheckingstub__8670cbb382adf592bc5d0f3e42c4e96d4326983d0e4fe93743648b2ff3d09e74(
|
|
2234
|
+
value: jsii.Number,
|
|
2235
|
+
) -> None:
|
|
2236
|
+
"""Type checking stubs"""
|
|
2237
|
+
pass
|
|
2238
|
+
|
|
2239
|
+
def _typecheckingstub__bd9b94a7a760e7688eaafae17051a6d3f96c6ab95a43f2ccc57fa9c2e964189b(
|
|
2240
|
+
value: builtins.str,
|
|
2241
|
+
) -> None:
|
|
2242
|
+
"""Type checking stubs"""
|
|
2243
|
+
pass
|
|
2244
|
+
|
|
2245
|
+
def _typecheckingstub__3caf64b524bd36e4019e89ade967c6b4e62d55fddf7a8f9e9ed8118d38383759(
|
|
2246
|
+
value: typing.List[builtins.str],
|
|
2247
|
+
) -> None:
|
|
2248
|
+
"""Type checking stubs"""
|
|
2249
|
+
pass
|
|
2250
|
+
|
|
2251
|
+
def _typecheckingstub__b4b669e48a3836306fe80e34225d241ad384a8351e76d8d7b17ffdd8544edf45(
|
|
2252
|
+
value: builtins.str,
|
|
2253
|
+
) -> None:
|
|
2254
|
+
"""Type checking stubs"""
|
|
2255
|
+
pass
|
|
2256
|
+
|
|
2257
|
+
def _typecheckingstub__1c2a3afca29e180734047644aa682bae1b7fbd5aacc3d234ed7616ba415f5fb6(
|
|
2258
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
2259
|
+
) -> None:
|
|
2260
|
+
"""Type checking stubs"""
|
|
2261
|
+
pass
|
|
2262
|
+
|
|
2263
|
+
def _typecheckingstub__5438388f4032834938f080084c7ae0430cf33858715d18b4e84c3c8b7d99c583(
|
|
2264
|
+
*,
|
|
2265
|
+
storage_size: typing.Optional[jsii.Number] = None,
|
|
2266
|
+
storage_tier: typing.Optional[builtins.str] = None,
|
|
2267
|
+
) -> None:
|
|
2268
|
+
"""Type checking stubs"""
|
|
2269
|
+
pass
|
|
2270
|
+
|
|
2271
|
+
def _typecheckingstub__8a5a3a16968d45ac84e9b283e63c8c906bd70e1a328640d5e7126d46a1c1fdd1(
|
|
2272
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2273
|
+
terraform_attribute: builtins.str,
|
|
2274
|
+
wraps_set: builtins.bool,
|
|
2275
|
+
) -> None:
|
|
2276
|
+
"""Type checking stubs"""
|
|
2277
|
+
pass
|
|
2278
|
+
|
|
2279
|
+
def _typecheckingstub__2fe0c17e964827460fc66444ceb9d46776f4128115267f70dfc0ed4bfcb85920(
|
|
2280
|
+
index: jsii.Number,
|
|
2281
|
+
) -> None:
|
|
2282
|
+
"""Type checking stubs"""
|
|
2283
|
+
pass
|
|
2284
|
+
|
|
2285
|
+
def _typecheckingstub__0d97187bd0b82a71876e431a81398d9cc1dc821d2610692158cc56a31a863789(
|
|
2286
|
+
value: builtins.str,
|
|
2287
|
+
) -> None:
|
|
2288
|
+
"""Type checking stubs"""
|
|
2289
|
+
pass
|
|
2290
|
+
|
|
2291
|
+
def _typecheckingstub__ae893d1d0df821f4f21d426fa80e3eb1d46fa1bbbc724b73e68a3bde2309032c(
|
|
2292
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2293
|
+
) -> None:
|
|
2294
|
+
"""Type checking stubs"""
|
|
2295
|
+
pass
|
|
2296
|
+
|
|
2297
|
+
def _typecheckingstub__beb64ca1f717b4814637a6a29fa9ec5a455b360ac7185bac86f30c38c43272e8(
|
|
2298
|
+
value: builtins.bool,
|
|
2299
|
+
) -> None:
|
|
2300
|
+
"""Type checking stubs"""
|
|
2301
|
+
pass
|
|
2302
|
+
|
|
2303
|
+
def _typecheckingstub__d82a371178e1731f4d1566a0c16e13ea3970cdd9188d838221dcd62f32757793(
|
|
2304
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCloudNativePlan]]],
|
|
2305
|
+
) -> None:
|
|
2306
|
+
"""Type checking stubs"""
|
|
2307
|
+
pass
|
|
2308
|
+
|
|
2309
|
+
def _typecheckingstub__5aaf5281cf9fc6a97d4533c0769d0346349b54e0f7716d35e13101df78d13b1d(
|
|
2310
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2311
|
+
terraform_attribute: builtins.str,
|
|
2312
|
+
complex_object_index: jsii.Number,
|
|
2313
|
+
complex_object_is_from_set: builtins.bool,
|
|
2314
|
+
) -> None:
|
|
2315
|
+
"""Type checking stubs"""
|
|
2316
|
+
pass
|
|
2317
|
+
|
|
2318
|
+
def _typecheckingstub__27f7ff508be8287499998f03c15d925e630d2e4e2a70ed3d542615d30fa9bf2d(
|
|
2319
|
+
value: jsii.Number,
|
|
2320
|
+
) -> None:
|
|
2321
|
+
"""Type checking stubs"""
|
|
2322
|
+
pass
|
|
2323
|
+
|
|
2324
|
+
def _typecheckingstub__38df547be63e43097329d5785a3b9c86f9f334cd3b597e3faffc1473e6c3087c(
|
|
2325
|
+
value: builtins.str,
|
|
2326
|
+
) -> None:
|
|
2327
|
+
"""Type checking stubs"""
|
|
2328
|
+
pass
|
|
2329
|
+
|
|
2330
|
+
def _typecheckingstub__fb41ddc5a5a4d49616d4a8b63583841ac403b22e7f09d2806b25388722eb66a5(
|
|
2331
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupCloudNativePlan]],
|
|
2332
|
+
) -> None:
|
|
2333
|
+
"""Type checking stubs"""
|
|
2334
|
+
pass
|
|
2335
|
+
|
|
2336
|
+
def _typecheckingstub__2489ae5bd3c17ee9de104387734150d3686d0bce3df0c0db5244751c51da43c4(
|
|
2337
|
+
*,
|
|
2338
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2339
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
2340
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
2341
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
2342
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2343
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
2344
|
+
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2345
|
+
cluster: builtins.str,
|
|
2346
|
+
name: builtins.str,
|
|
2347
|
+
node_count: jsii.Number,
|
|
2348
|
+
plan: builtins.str,
|
|
2349
|
+
anti_affinity: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
2350
|
+
cloud_native_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupCloudNativePlan, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2351
|
+
custom_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupCustomPlan, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2352
|
+
gpu_plan: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupGpuPlan, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2353
|
+
kubelet_args: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupKubeletArgs, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2354
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2355
|
+
ssh_keys: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2356
|
+
storage_encryption: typing.Optional[builtins.str] = None,
|
|
2357
|
+
taint: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[KubernetesNodeGroupTaint, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2358
|
+
utility_network_access: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
2359
|
+
) -> None:
|
|
2360
|
+
"""Type checking stubs"""
|
|
2361
|
+
pass
|
|
2362
|
+
|
|
2363
|
+
def _typecheckingstub__73a7225f6a5b39ce9f22f470a4b39f4020d9c2babc3a4001d90f5a255e45917c(
|
|
2364
|
+
*,
|
|
2365
|
+
cores: jsii.Number,
|
|
2366
|
+
memory: jsii.Number,
|
|
2367
|
+
storage_size: jsii.Number,
|
|
2368
|
+
storage_tier: typing.Optional[builtins.str] = None,
|
|
2369
|
+
) -> None:
|
|
2370
|
+
"""Type checking stubs"""
|
|
2371
|
+
pass
|
|
2372
|
+
|
|
2373
|
+
def _typecheckingstub__b550730c152cdd521877d4cd4a76b2d1f548d64a196dbde61f47c82b091e854a(
|
|
2374
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2375
|
+
terraform_attribute: builtins.str,
|
|
2376
|
+
wraps_set: builtins.bool,
|
|
2377
|
+
) -> None:
|
|
2378
|
+
"""Type checking stubs"""
|
|
2379
|
+
pass
|
|
2380
|
+
|
|
2381
|
+
def _typecheckingstub__ad2db79018ca305418ade3285985b0c22792d72ade4279a8d56d4cc611707192(
|
|
2382
|
+
index: jsii.Number,
|
|
2383
|
+
) -> None:
|
|
2384
|
+
"""Type checking stubs"""
|
|
2385
|
+
pass
|
|
2386
|
+
|
|
2387
|
+
def _typecheckingstub__146491c26357a66d3726100bdae7a85cd1ce3f9d133170c7b888e4371863e15b(
|
|
2388
|
+
value: builtins.str,
|
|
2389
|
+
) -> None:
|
|
2390
|
+
"""Type checking stubs"""
|
|
2391
|
+
pass
|
|
2392
|
+
|
|
2393
|
+
def _typecheckingstub__981f0a78ff74ee055d79706678f7855b237a9c0e1fa4f77d6f528bc29b193924(
|
|
2394
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2395
|
+
) -> None:
|
|
2396
|
+
"""Type checking stubs"""
|
|
2397
|
+
pass
|
|
2398
|
+
|
|
2399
|
+
def _typecheckingstub__de8e36f34a796164d1d848fa9ee03d21d32d20da9d69b2969c70bd64366fc15e(
|
|
2400
|
+
value: builtins.bool,
|
|
2401
|
+
) -> None:
|
|
2402
|
+
"""Type checking stubs"""
|
|
2403
|
+
pass
|
|
2404
|
+
|
|
2405
|
+
def _typecheckingstub__15bf7d5bcd50f8e0b7df457f502a8bb9362ca3bf6ab8c3190246a91e31ac4fb9(
|
|
2406
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupCustomPlan]]],
|
|
2407
|
+
) -> None:
|
|
2408
|
+
"""Type checking stubs"""
|
|
2409
|
+
pass
|
|
2410
|
+
|
|
2411
|
+
def _typecheckingstub__8d2b117bf11d56c5c2ad00b1177ef138495c9f14ccd650ff5fcac5bedc510e7f(
|
|
2412
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2413
|
+
terraform_attribute: builtins.str,
|
|
2414
|
+
complex_object_index: jsii.Number,
|
|
2415
|
+
complex_object_is_from_set: builtins.bool,
|
|
2416
|
+
) -> None:
|
|
2417
|
+
"""Type checking stubs"""
|
|
2418
|
+
pass
|
|
2419
|
+
|
|
2420
|
+
def _typecheckingstub__15878cdb5de9a8700102ae207bdd26c19d28bebbb88e918a78101ee82831a764(
|
|
2421
|
+
value: jsii.Number,
|
|
2422
|
+
) -> None:
|
|
2423
|
+
"""Type checking stubs"""
|
|
2424
|
+
pass
|
|
2425
|
+
|
|
2426
|
+
def _typecheckingstub__c63d931f4ac068dc3819c8179015a8c83a41a8032a345678fcc3e6da49734aeb(
|
|
2427
|
+
value: jsii.Number,
|
|
2428
|
+
) -> None:
|
|
2429
|
+
"""Type checking stubs"""
|
|
2430
|
+
pass
|
|
2431
|
+
|
|
2432
|
+
def _typecheckingstub__5657fcbc706cb9657327d1390116d8b8349d44ebea2c09586646bfd32bee67b2(
|
|
2433
|
+
value: jsii.Number,
|
|
2434
|
+
) -> None:
|
|
2435
|
+
"""Type checking stubs"""
|
|
2436
|
+
pass
|
|
2437
|
+
|
|
2438
|
+
def _typecheckingstub__7b087d3351ca31ac1af59c32711d8f4d022346ac4bccf9ec972df910ff8c4e5a(
|
|
2439
|
+
value: builtins.str,
|
|
2440
|
+
) -> None:
|
|
2441
|
+
"""Type checking stubs"""
|
|
2442
|
+
pass
|
|
2443
|
+
|
|
2444
|
+
def _typecheckingstub__c7a11f561e4b919a685206286a7eed09483e309fbeeea066dff67583e94f0c7a(
|
|
2445
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupCustomPlan]],
|
|
2446
|
+
) -> None:
|
|
2447
|
+
"""Type checking stubs"""
|
|
2448
|
+
pass
|
|
2449
|
+
|
|
2450
|
+
def _typecheckingstub__2fa7e5803de5175f0817ac85027aef2f8dcff8f820ba557a589bd58117442345(
|
|
2451
|
+
*,
|
|
2452
|
+
storage_size: typing.Optional[jsii.Number] = None,
|
|
2453
|
+
storage_tier: typing.Optional[builtins.str] = None,
|
|
2454
|
+
) -> None:
|
|
2455
|
+
"""Type checking stubs"""
|
|
2456
|
+
pass
|
|
2457
|
+
|
|
2458
|
+
def _typecheckingstub__7b1116523b1a8f7cf2e4f21456b1e8c24a959cc22b4d33b2606bac63063972ed(
|
|
2459
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2460
|
+
terraform_attribute: builtins.str,
|
|
2461
|
+
wraps_set: builtins.bool,
|
|
2462
|
+
) -> None:
|
|
2463
|
+
"""Type checking stubs"""
|
|
2464
|
+
pass
|
|
2465
|
+
|
|
2466
|
+
def _typecheckingstub__3bd2c3bdaf3a8a8a1c8bde2bae997a172480ee2fd03a9886261c781f02bd8511(
|
|
2467
|
+
index: jsii.Number,
|
|
2468
|
+
) -> None:
|
|
2469
|
+
"""Type checking stubs"""
|
|
2470
|
+
pass
|
|
2471
|
+
|
|
2472
|
+
def _typecheckingstub__a6d3362daab3ef72b55a53261618f6b4143936663c170097004850acc51fc7ba(
|
|
2473
|
+
value: builtins.str,
|
|
2474
|
+
) -> None:
|
|
2475
|
+
"""Type checking stubs"""
|
|
2476
|
+
pass
|
|
2477
|
+
|
|
2478
|
+
def _typecheckingstub__96ed86b311e36730c9fc332c1931b6642d6014d1fb2b09cb9ca90a24a941f6d7(
|
|
2479
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2480
|
+
) -> None:
|
|
2481
|
+
"""Type checking stubs"""
|
|
2482
|
+
pass
|
|
2483
|
+
|
|
2484
|
+
def _typecheckingstub__0c6b4a7ed698dfe86f81922561ac8dfd3e04fb00556732cbd2db190868c8f559(
|
|
2485
|
+
value: builtins.bool,
|
|
2486
|
+
) -> None:
|
|
2487
|
+
"""Type checking stubs"""
|
|
2488
|
+
pass
|
|
2489
|
+
|
|
2490
|
+
def _typecheckingstub__56435d3f02cd0ef23c6f01ed04f7701d16a65a25ab90cce603c19e6145a084f6(
|
|
2491
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupGpuPlan]]],
|
|
2492
|
+
) -> None:
|
|
2493
|
+
"""Type checking stubs"""
|
|
2494
|
+
pass
|
|
2495
|
+
|
|
2496
|
+
def _typecheckingstub__4f1b7b6a41a17a31b8f915354ea57f1454e9ab1791768481ef8af39e44c85950(
|
|
2497
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2498
|
+
terraform_attribute: builtins.str,
|
|
2499
|
+
complex_object_index: jsii.Number,
|
|
2500
|
+
complex_object_is_from_set: builtins.bool,
|
|
2501
|
+
) -> None:
|
|
2502
|
+
"""Type checking stubs"""
|
|
2503
|
+
pass
|
|
2504
|
+
|
|
2505
|
+
def _typecheckingstub__12bc49b7146309b28c7a7a7d7b2bb4d9dd5dd90208d75989bac24002fa035032(
|
|
2506
|
+
value: jsii.Number,
|
|
2507
|
+
) -> None:
|
|
2508
|
+
"""Type checking stubs"""
|
|
2509
|
+
pass
|
|
2510
|
+
|
|
2511
|
+
def _typecheckingstub__31a5992622b650da62b9685feb2241ec0c685dd517de9ef9205aa8049a237604(
|
|
2512
|
+
value: builtins.str,
|
|
2513
|
+
) -> None:
|
|
2514
|
+
"""Type checking stubs"""
|
|
2515
|
+
pass
|
|
2516
|
+
|
|
2517
|
+
def _typecheckingstub__f1e103e18c79ba9829a5353d403edb5702433cfe99ad39fe8da3d311d8c22dd0(
|
|
2518
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupGpuPlan]],
|
|
2519
|
+
) -> None:
|
|
2520
|
+
"""Type checking stubs"""
|
|
2521
|
+
pass
|
|
2522
|
+
|
|
2523
|
+
def _typecheckingstub__842da686c29c5adfe37f8e21bb7186ee26ad8d4d70cd1e8579de468f13543803(
|
|
2524
|
+
*,
|
|
2525
|
+
key: builtins.str,
|
|
2526
|
+
value: builtins.str,
|
|
2527
|
+
) -> None:
|
|
2528
|
+
"""Type checking stubs"""
|
|
2529
|
+
pass
|
|
2530
|
+
|
|
2531
|
+
def _typecheckingstub__e77d29d892ab28ae50ac4262b7332db2cbe370cd4ca1efaa114fcdec6f5c57c5(
|
|
2532
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2533
|
+
terraform_attribute: builtins.str,
|
|
2534
|
+
wraps_set: builtins.bool,
|
|
2535
|
+
) -> None:
|
|
2536
|
+
"""Type checking stubs"""
|
|
2537
|
+
pass
|
|
2538
|
+
|
|
2539
|
+
def _typecheckingstub__aa6ca723d3e26a5237e5153600b91c17e1a3c31853e088a9dadfdb48d53f9a5a(
|
|
2540
|
+
index: jsii.Number,
|
|
2541
|
+
) -> None:
|
|
2542
|
+
"""Type checking stubs"""
|
|
2543
|
+
pass
|
|
2544
|
+
|
|
2545
|
+
def _typecheckingstub__d60a7931de3e6139c97132bbd4c81870d3180a358bed18644632ac607d888e3f(
|
|
2546
|
+
value: builtins.str,
|
|
2547
|
+
) -> None:
|
|
2548
|
+
"""Type checking stubs"""
|
|
2549
|
+
pass
|
|
2550
|
+
|
|
2551
|
+
def _typecheckingstub__b5025cd233c716e72c1b250acb3ef1951eb10755b75d25b900bb1ea9665b5824(
|
|
2552
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2553
|
+
) -> None:
|
|
2554
|
+
"""Type checking stubs"""
|
|
2555
|
+
pass
|
|
2556
|
+
|
|
2557
|
+
def _typecheckingstub__1da00c07635920f592f81dd8a1b5edbf670c685a0f0da4b6eab167085109616b(
|
|
2558
|
+
value: builtins.bool,
|
|
2559
|
+
) -> None:
|
|
2560
|
+
"""Type checking stubs"""
|
|
2561
|
+
pass
|
|
2562
|
+
|
|
2563
|
+
def _typecheckingstub__a532fbf34887c150c2e5b1c80c46135e3c5fc280956c03a0f00097f4441c53f7(
|
|
2564
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupKubeletArgs]]],
|
|
2565
|
+
) -> None:
|
|
2566
|
+
"""Type checking stubs"""
|
|
2567
|
+
pass
|
|
2568
|
+
|
|
2569
|
+
def _typecheckingstub__f2fb6ce4916be3e5e9096d3c5734710a960470e81aa83a263b22f51942b6c1f3(
|
|
2570
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2571
|
+
terraform_attribute: builtins.str,
|
|
2572
|
+
complex_object_index: jsii.Number,
|
|
2573
|
+
complex_object_is_from_set: builtins.bool,
|
|
2574
|
+
) -> None:
|
|
2575
|
+
"""Type checking stubs"""
|
|
2576
|
+
pass
|
|
2577
|
+
|
|
2578
|
+
def _typecheckingstub__a0ca93e23304fb9d3092b6e042d7017f88c72f85e9ad92d73052c5eea4030011(
|
|
2579
|
+
value: builtins.str,
|
|
2580
|
+
) -> None:
|
|
2581
|
+
"""Type checking stubs"""
|
|
2582
|
+
pass
|
|
2583
|
+
|
|
2584
|
+
def _typecheckingstub__190c6fb08627f568dbff911b8ba8f0a445d8de7960b43dbcd5b8df5a922d2537(
|
|
2585
|
+
value: builtins.str,
|
|
2586
|
+
) -> None:
|
|
2587
|
+
"""Type checking stubs"""
|
|
2588
|
+
pass
|
|
2589
|
+
|
|
2590
|
+
def _typecheckingstub__5e8923d78289695708ec2e55a09b1595632c8cae49ff31863f2e4bbde79aac87(
|
|
2591
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupKubeletArgs]],
|
|
2592
|
+
) -> None:
|
|
2593
|
+
"""Type checking stubs"""
|
|
2594
|
+
pass
|
|
2595
|
+
|
|
2596
|
+
def _typecheckingstub__ea59ebf2232eca6d3573e469ce94ebcc61818a93352ae4370837428874ad8b8e(
|
|
2597
|
+
*,
|
|
2598
|
+
effect: builtins.str,
|
|
2599
|
+
key: builtins.str,
|
|
2600
|
+
value: builtins.str,
|
|
2601
|
+
) -> None:
|
|
2602
|
+
"""Type checking stubs"""
|
|
2603
|
+
pass
|
|
2604
|
+
|
|
2605
|
+
def _typecheckingstub__ced2e8f57a270b9e3b65f3e6dce4744a50a37c2fd167cc05fa3cf3c196ad923b(
|
|
2606
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2607
|
+
terraform_attribute: builtins.str,
|
|
2608
|
+
wraps_set: builtins.bool,
|
|
2609
|
+
) -> None:
|
|
2610
|
+
"""Type checking stubs"""
|
|
2611
|
+
pass
|
|
2612
|
+
|
|
2613
|
+
def _typecheckingstub__bbf03c718d4d6a6f12757ac57ca746adc9fbe2fcd3eef0260defffcadcf2dcc5(
|
|
2614
|
+
index: jsii.Number,
|
|
2615
|
+
) -> None:
|
|
2616
|
+
"""Type checking stubs"""
|
|
2617
|
+
pass
|
|
2618
|
+
|
|
2619
|
+
def _typecheckingstub__a653dbd7825419038762384e3dd6c1d35788318e615eb2113999140ca65d66af(
|
|
2620
|
+
value: builtins.str,
|
|
2621
|
+
) -> None:
|
|
2622
|
+
"""Type checking stubs"""
|
|
2623
|
+
pass
|
|
2624
|
+
|
|
2625
|
+
def _typecheckingstub__b4ee5f41b3ba7599860324eea4d5d76c6689c846f4d728520696478cdf35c51c(
|
|
2626
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2627
|
+
) -> None:
|
|
2628
|
+
"""Type checking stubs"""
|
|
2629
|
+
pass
|
|
2630
|
+
|
|
2631
|
+
def _typecheckingstub__a54ae18ac5c83380be8ee636436df8ec2171a507975c17e6b26b5fe263cf4680(
|
|
2632
|
+
value: builtins.bool,
|
|
2633
|
+
) -> None:
|
|
2634
|
+
"""Type checking stubs"""
|
|
2635
|
+
pass
|
|
2636
|
+
|
|
2637
|
+
def _typecheckingstub__f2b3c89670f740885f361407f1e60afdaa764dae180511c09280eee471d90ae7(
|
|
2638
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[KubernetesNodeGroupTaint]]],
|
|
2639
|
+
) -> None:
|
|
2640
|
+
"""Type checking stubs"""
|
|
2641
|
+
pass
|
|
2642
|
+
|
|
2643
|
+
def _typecheckingstub__9dd4a8354b794acedc53d938312c383d959e5a57e7799bce1de1ea672134d368(
|
|
2644
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2645
|
+
terraform_attribute: builtins.str,
|
|
2646
|
+
complex_object_index: jsii.Number,
|
|
2647
|
+
complex_object_is_from_set: builtins.bool,
|
|
2648
|
+
) -> None:
|
|
2649
|
+
"""Type checking stubs"""
|
|
2650
|
+
pass
|
|
2651
|
+
|
|
2652
|
+
def _typecheckingstub__aae6c80211b753dde976506b8fdaaaeb52317752c965fa8f71e691ab195c694a(
|
|
2653
|
+
value: builtins.str,
|
|
2654
|
+
) -> None:
|
|
2655
|
+
"""Type checking stubs"""
|
|
2656
|
+
pass
|
|
2657
|
+
|
|
2658
|
+
def _typecheckingstub__55a026e007716eba12ee4e36307b091738d1cfd97602f2c5522ad02b04e0f132(
|
|
2659
|
+
value: builtins.str,
|
|
2660
|
+
) -> None:
|
|
2661
|
+
"""Type checking stubs"""
|
|
2662
|
+
pass
|
|
2663
|
+
|
|
2664
|
+
def _typecheckingstub__60c2f44434e8c966994b706bcde3d60ee6d488bc1150d9deb3e9a555a19dee0b(
|
|
2665
|
+
value: builtins.str,
|
|
2666
|
+
) -> None:
|
|
2667
|
+
"""Type checking stubs"""
|
|
2668
|
+
pass
|
|
2669
|
+
|
|
2670
|
+
def _typecheckingstub__8a11735bbf7d5e4dd383fb927e6bf80821b4d25f117c173b310cfc837a25c7f4(
|
|
2671
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, KubernetesNodeGroupTaint]],
|
|
2672
|
+
) -> None:
|
|
2673
|
+
"""Type checking stubs"""
|
|
2674
|
+
pass
|