cdktf-cdktf-provider-upcloud 14.7.0__py3-none-any.whl → 14.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.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.8.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +83 -46
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +19 -59
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +215 -116
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +189 -189
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +431 -330
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +300 -300
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +117 -117
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +153 -153
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.7.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.8.0.dist-info/RECORD +61 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.7.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.7.0.dist-info/RECORD +0 -61
- {cdktf_cdktf_provider_upcloud-14.7.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.7.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.7.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_loadbalancer_frontend`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_loadbalancer_frontend`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_loadbalancer_frontend`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,21 +29,20 @@ class LoadbalancerFrontend(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.loadbalancerFrontend.LoadbalancerFrontend",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend upcloud_loadbalancer_frontend}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
36
36
|
scope: _constructs_77d1e7e8.Construct,
|
|
37
|
-
|
|
37
|
+
id: builtins.str,
|
|
38
38
|
*,
|
|
39
39
|
default_backend_name: builtins.str,
|
|
40
40
|
loadbalancer: builtins.str,
|
|
41
41
|
mode: builtins.str,
|
|
42
42
|
name: builtins.str,
|
|
43
43
|
port: jsii.Number,
|
|
44
|
-
id: typing.Optional[builtins.str] = None,
|
|
45
44
|
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerFrontendNetworks", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
46
|
-
properties: typing.Optional[typing.Union["LoadbalancerFrontendProperties", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
45
|
+
properties: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerFrontendProperties", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
47
46
|
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,
|
|
48
47
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
49
48
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -52,18 +51,17 @@ class LoadbalancerFrontend(
|
|
|
52
51
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
53
52
|
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,
|
|
54
53
|
) -> None:
|
|
55
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
54
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend upcloud_loadbalancer_frontend} Resource.
|
|
56
55
|
|
|
57
56
|
:param scope: The scope in which to define this construct.
|
|
58
|
-
:param
|
|
59
|
-
:param default_backend_name: The name of the default backend where traffic will be routed. Note, default backend can be overwritten in frontend rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
60
|
-
:param loadbalancer:
|
|
61
|
-
:param mode: When load balancer operating in ``tcp`` mode it acts as a layer 4 proxy. In ``http`` mode it acts as a layer 7 proxy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
62
|
-
:param name: The name of the frontend
|
|
63
|
-
:param port: Port to listen incoming requests. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
64
|
-
:param
|
|
65
|
-
:param
|
|
66
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.7.0/docs/resources/loadbalancer_frontend#properties LoadbalancerFrontend#properties}
|
|
57
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
58
|
+
:param default_backend_name: The name of the default backend where traffic will be routed. Note, default backend can be overwritten in frontend rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#default_backend_name LoadbalancerFrontend#default_backend_name}
|
|
59
|
+
:param loadbalancer: UUID of the load balancer to which the frontend is connected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#loadbalancer LoadbalancerFrontend#loadbalancer}
|
|
60
|
+
:param mode: When load balancer operating in ``tcp`` mode it acts as a layer 4 proxy. In ``http`` mode it acts as a layer 7 proxy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#mode LoadbalancerFrontend#mode}
|
|
61
|
+
:param name: The name of the frontend. Must be unique within the load balancer service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#name LoadbalancerFrontend#name}
|
|
62
|
+
:param port: Port to listen for incoming requests. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#port LoadbalancerFrontend#port}
|
|
63
|
+
:param networks: networks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#networks LoadbalancerFrontend#networks}
|
|
64
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#properties LoadbalancerFrontend#properties}
|
|
67
65
|
:param connection:
|
|
68
66
|
:param count:
|
|
69
67
|
:param depends_on:
|
|
@@ -75,14 +73,13 @@ class LoadbalancerFrontend(
|
|
|
75
73
|
if __debug__:
|
|
76
74
|
type_hints = typing.get_type_hints(_typecheckingstub__ff7fca61a93d25f4f7bfb31c0fac58b8298c00f04d5c45fe36d7eb97bad6c533)
|
|
77
75
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
78
|
-
check_type(argname="argument
|
|
76
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
79
77
|
config = LoadbalancerFrontendConfig(
|
|
80
78
|
default_backend_name=default_backend_name,
|
|
81
79
|
loadbalancer=loadbalancer,
|
|
82
80
|
mode=mode,
|
|
83
81
|
name=name,
|
|
84
82
|
port=port,
|
|
85
|
-
id=id,
|
|
86
83
|
networks=networks,
|
|
87
84
|
properties=properties,
|
|
88
85
|
connection=connection,
|
|
@@ -94,7 +91,7 @@ class LoadbalancerFrontend(
|
|
|
94
91
|
provisioners=provisioners,
|
|
95
92
|
)
|
|
96
93
|
|
|
97
|
-
jsii.create(self.__class__, self, [scope,
|
|
94
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
|
98
95
|
|
|
99
96
|
@jsii.member(jsii_name="generateConfigForImport")
|
|
100
97
|
@builtins.classmethod
|
|
@@ -109,7 +106,7 @@ class LoadbalancerFrontend(
|
|
|
109
106
|
|
|
110
107
|
:param scope: The scope in which to define this construct.
|
|
111
108
|
:param import_to_id: The construct id used in the generated config for the LoadbalancerFrontend to import.
|
|
112
|
-
:param import_from_id: The id of the existing LoadbalancerFrontend that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
109
|
+
:param import_from_id: The id of the existing LoadbalancerFrontend that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#import import section} in the documentation of this resource for the id to use
|
|
113
110
|
:param provider: ? Optional instance of the provider where the LoadbalancerFrontend to import is found.
|
|
114
111
|
'''
|
|
115
112
|
if __debug__:
|
|
@@ -136,28 +133,16 @@ class LoadbalancerFrontend(
|
|
|
136
133
|
@jsii.member(jsii_name="putProperties")
|
|
137
134
|
def put_properties(
|
|
138
135
|
self,
|
|
139
|
-
|
|
140
|
-
http2_enabled: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
141
|
-
inbound_proxy_protocol: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
142
|
-
timeout_client: typing.Optional[jsii.Number] = None,
|
|
136
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerFrontendProperties", typing.Dict[builtins.str, typing.Any]]]],
|
|
143
137
|
) -> None:
|
|
144
138
|
'''
|
|
145
|
-
:param
|
|
146
|
-
:param inbound_proxy_protocol: Enable or disable inbound proxy protocol support. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.7.0/docs/resources/loadbalancer_frontend#inbound_proxy_protocol LoadbalancerFrontend#inbound_proxy_protocol}
|
|
147
|
-
:param timeout_client: Client request timeout in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.7.0/docs/resources/loadbalancer_frontend#timeout_client LoadbalancerFrontend#timeout_client}
|
|
139
|
+
:param value: -
|
|
148
140
|
'''
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
timeout_client=timeout_client,
|
|
153
|
-
)
|
|
154
|
-
|
|
141
|
+
if __debug__:
|
|
142
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3b74bd543601e669d5e31cd7af0318d0114783ffcfaa186a5a2e1ebae6dd2b14)
|
|
143
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
155
144
|
return typing.cast(None, jsii.invoke(self, "putProperties", [value]))
|
|
156
145
|
|
|
157
|
-
@jsii.member(jsii_name="resetId")
|
|
158
|
-
def reset_id(self) -> None:
|
|
159
|
-
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
|
160
|
-
|
|
161
146
|
@jsii.member(jsii_name="resetNetworks")
|
|
162
147
|
def reset_networks(self) -> None:
|
|
163
148
|
return typing.cast(None, jsii.invoke(self, "resetNetworks", []))
|
|
@@ -179,6 +164,11 @@ class LoadbalancerFrontend(
|
|
|
179
164
|
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
180
165
|
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
181
166
|
|
|
167
|
+
@builtins.property
|
|
168
|
+
@jsii.member(jsii_name="id")
|
|
169
|
+
def id(self) -> builtins.str:
|
|
170
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
171
|
+
|
|
182
172
|
@builtins.property
|
|
183
173
|
@jsii.member(jsii_name="networks")
|
|
184
174
|
def networks(self) -> "LoadbalancerFrontendNetworksList":
|
|
@@ -186,8 +176,8 @@ class LoadbalancerFrontend(
|
|
|
186
176
|
|
|
187
177
|
@builtins.property
|
|
188
178
|
@jsii.member(jsii_name="properties")
|
|
189
|
-
def properties(self) -> "
|
|
190
|
-
return typing.cast("
|
|
179
|
+
def properties(self) -> "LoadbalancerFrontendPropertiesList":
|
|
180
|
+
return typing.cast("LoadbalancerFrontendPropertiesList", jsii.get(self, "properties"))
|
|
191
181
|
|
|
192
182
|
@builtins.property
|
|
193
183
|
@jsii.member(jsii_name="rules")
|
|
@@ -204,11 +194,6 @@ class LoadbalancerFrontend(
|
|
|
204
194
|
def default_backend_name_input(self) -> typing.Optional[builtins.str]:
|
|
205
195
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "defaultBackendNameInput"))
|
|
206
196
|
|
|
207
|
-
@builtins.property
|
|
208
|
-
@jsii.member(jsii_name="idInput")
|
|
209
|
-
def id_input(self) -> typing.Optional[builtins.str]:
|
|
210
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
211
|
-
|
|
212
197
|
@builtins.property
|
|
213
198
|
@jsii.member(jsii_name="loadbalancerInput")
|
|
214
199
|
def loadbalancer_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -238,8 +223,10 @@ class LoadbalancerFrontend(
|
|
|
238
223
|
|
|
239
224
|
@builtins.property
|
|
240
225
|
@jsii.member(jsii_name="propertiesInput")
|
|
241
|
-
def properties_input(
|
|
242
|
-
|
|
226
|
+
def properties_input(
|
|
227
|
+
self,
|
|
228
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerFrontendProperties"]]]:
|
|
229
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerFrontendProperties"]]], jsii.get(self, "propertiesInput"))
|
|
243
230
|
|
|
244
231
|
@builtins.property
|
|
245
232
|
@jsii.member(jsii_name="defaultBackendName")
|
|
@@ -253,18 +240,6 @@ class LoadbalancerFrontend(
|
|
|
253
240
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
254
241
|
jsii.set(self, "defaultBackendName", value)
|
|
255
242
|
|
|
256
|
-
@builtins.property
|
|
257
|
-
@jsii.member(jsii_name="id")
|
|
258
|
-
def id(self) -> builtins.str:
|
|
259
|
-
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
260
|
-
|
|
261
|
-
@id.setter
|
|
262
|
-
def id(self, value: builtins.str) -> None:
|
|
263
|
-
if __debug__:
|
|
264
|
-
type_hints = typing.get_type_hints(_typecheckingstub__c6a93833a395feb977eb7dde8ba33ad28f86355eab2fceab312ac20cf15bb94c)
|
|
265
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
266
|
-
jsii.set(self, "id", value)
|
|
267
|
-
|
|
268
243
|
@builtins.property
|
|
269
244
|
@jsii.member(jsii_name="loadbalancer")
|
|
270
245
|
def loadbalancer(self) -> builtins.str:
|
|
@@ -330,7 +305,6 @@ class LoadbalancerFrontend(
|
|
|
330
305
|
"mode": "mode",
|
|
331
306
|
"name": "name",
|
|
332
307
|
"port": "port",
|
|
333
|
-
"id": "id",
|
|
334
308
|
"networks": "networks",
|
|
335
309
|
"properties": "properties",
|
|
336
310
|
},
|
|
@@ -351,9 +325,8 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
351
325
|
mode: builtins.str,
|
|
352
326
|
name: builtins.str,
|
|
353
327
|
port: jsii.Number,
|
|
354
|
-
id: typing.Optional[builtins.str] = None,
|
|
355
328
|
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerFrontendNetworks", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
356
|
-
properties: typing.Optional[typing.Union["LoadbalancerFrontendProperties", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
329
|
+
properties: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerFrontendProperties", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
357
330
|
) -> None:
|
|
358
331
|
'''
|
|
359
332
|
:param connection:
|
|
@@ -363,19 +336,16 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
363
336
|
:param lifecycle:
|
|
364
337
|
:param provider:
|
|
365
338
|
:param provisioners:
|
|
366
|
-
:param default_backend_name: The name of the default backend where traffic will be routed. Note, default backend can be overwritten in frontend rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
367
|
-
:param loadbalancer:
|
|
368
|
-
:param mode: When load balancer operating in ``tcp`` mode it acts as a layer 4 proxy. In ``http`` mode it acts as a layer 7 proxy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
369
|
-
:param name: The name of the frontend
|
|
370
|
-
:param port: Port to listen incoming requests. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
371
|
-
:param
|
|
372
|
-
:param
|
|
373
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.7.0/docs/resources/loadbalancer_frontend#properties LoadbalancerFrontend#properties}
|
|
339
|
+
:param default_backend_name: The name of the default backend where traffic will be routed. Note, default backend can be overwritten in frontend rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#default_backend_name LoadbalancerFrontend#default_backend_name}
|
|
340
|
+
:param loadbalancer: UUID of the load balancer to which the frontend is connected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#loadbalancer LoadbalancerFrontend#loadbalancer}
|
|
341
|
+
:param mode: When load balancer operating in ``tcp`` mode it acts as a layer 4 proxy. In ``http`` mode it acts as a layer 7 proxy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#mode LoadbalancerFrontend#mode}
|
|
342
|
+
:param name: The name of the frontend. Must be unique within the load balancer service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#name LoadbalancerFrontend#name}
|
|
343
|
+
:param port: Port to listen for incoming requests. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#port LoadbalancerFrontend#port}
|
|
344
|
+
:param networks: networks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#networks LoadbalancerFrontend#networks}
|
|
345
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#properties LoadbalancerFrontend#properties}
|
|
374
346
|
'''
|
|
375
347
|
if isinstance(lifecycle, dict):
|
|
376
348
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
377
|
-
if isinstance(properties, dict):
|
|
378
|
-
properties = LoadbalancerFrontendProperties(**properties)
|
|
379
349
|
if __debug__:
|
|
380
350
|
type_hints = typing.get_type_hints(_typecheckingstub__a5c160455f31abc675bbfa01a0c745e32128dade0ae3da40272c6dcdc62021f9)
|
|
381
351
|
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
@@ -390,7 +360,6 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
390
360
|
check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
|
|
391
361
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
392
362
|
check_type(argname="argument port", value=port, expected_type=type_hints["port"])
|
|
393
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
394
363
|
check_type(argname="argument networks", value=networks, expected_type=type_hints["networks"])
|
|
395
364
|
check_type(argname="argument properties", value=properties, expected_type=type_hints["properties"])
|
|
396
365
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -414,8 +383,6 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
414
383
|
self._values["provider"] = provider
|
|
415
384
|
if provisioners is not None:
|
|
416
385
|
self._values["provisioners"] = provisioners
|
|
417
|
-
if id is not None:
|
|
418
|
-
self._values["id"] = id
|
|
419
386
|
if networks is not None:
|
|
420
387
|
self._values["networks"] = networks
|
|
421
388
|
if properties is not None:
|
|
@@ -491,7 +458,7 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
491
458
|
|
|
492
459
|
Note, default backend can be overwritten in frontend rules.
|
|
493
460
|
|
|
494
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
461
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#default_backend_name LoadbalancerFrontend#default_backend_name}
|
|
495
462
|
'''
|
|
496
463
|
result = self._values.get("default_backend_name")
|
|
497
464
|
assert result is not None, "Required property 'default_backend_name' is missing"
|
|
@@ -499,9 +466,9 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
499
466
|
|
|
500
467
|
@builtins.property
|
|
501
468
|
def loadbalancer(self) -> builtins.str:
|
|
502
|
-
'''
|
|
469
|
+
'''UUID of the load balancer to which the frontend is connected.
|
|
503
470
|
|
|
504
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
471
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#loadbalancer LoadbalancerFrontend#loadbalancer}
|
|
505
472
|
'''
|
|
506
473
|
result = self._values.get("loadbalancer")
|
|
507
474
|
assert result is not None, "Required property 'loadbalancer' is missing"
|
|
@@ -513,7 +480,7 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
513
480
|
|
|
514
481
|
In ``http`` mode it acts as a layer 7 proxy.
|
|
515
482
|
|
|
516
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
483
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#mode LoadbalancerFrontend#mode}
|
|
517
484
|
'''
|
|
518
485
|
result = self._values.get("mode")
|
|
519
486
|
assert result is not None, "Required property 'mode' is missing"
|
|
@@ -521,9 +488,9 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
521
488
|
|
|
522
489
|
@builtins.property
|
|
523
490
|
def name(self) -> builtins.str:
|
|
524
|
-
'''The name of the frontend
|
|
491
|
+
'''The name of the frontend. Must be unique within the load balancer service.
|
|
525
492
|
|
|
526
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
493
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#name LoadbalancerFrontend#name}
|
|
527
494
|
'''
|
|
528
495
|
result = self._values.get("name")
|
|
529
496
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -531,43 +498,35 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
531
498
|
|
|
532
499
|
@builtins.property
|
|
533
500
|
def port(self) -> jsii.Number:
|
|
534
|
-
'''Port to listen incoming requests.
|
|
501
|
+
'''Port to listen for incoming requests.
|
|
535
502
|
|
|
536
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
503
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#port LoadbalancerFrontend#port}
|
|
537
504
|
'''
|
|
538
505
|
result = self._values.get("port")
|
|
539
506
|
assert result is not None, "Required property 'port' is missing"
|
|
540
507
|
return typing.cast(jsii.Number, result)
|
|
541
508
|
|
|
542
|
-
@builtins.property
|
|
543
|
-
def id(self) -> typing.Optional[builtins.str]:
|
|
544
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.7.0/docs/resources/loadbalancer_frontend#id LoadbalancerFrontend#id}.
|
|
545
|
-
|
|
546
|
-
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
547
|
-
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
548
|
-
'''
|
|
549
|
-
result = self._values.get("id")
|
|
550
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
551
|
-
|
|
552
509
|
@builtins.property
|
|
553
510
|
def networks(
|
|
554
511
|
self,
|
|
555
512
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerFrontendNetworks"]]]:
|
|
556
513
|
'''networks block.
|
|
557
514
|
|
|
558
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
515
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#networks LoadbalancerFrontend#networks}
|
|
559
516
|
'''
|
|
560
517
|
result = self._values.get("networks")
|
|
561
518
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerFrontendNetworks"]]], result)
|
|
562
519
|
|
|
563
520
|
@builtins.property
|
|
564
|
-
def properties(
|
|
521
|
+
def properties(
|
|
522
|
+
self,
|
|
523
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerFrontendProperties"]]]:
|
|
565
524
|
'''properties block.
|
|
566
525
|
|
|
567
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
526
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#properties LoadbalancerFrontend#properties}
|
|
568
527
|
'''
|
|
569
528
|
result = self._values.get("properties")
|
|
570
|
-
return typing.cast(typing.Optional["LoadbalancerFrontendProperties"], result)
|
|
529
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerFrontendProperties"]]], result)
|
|
571
530
|
|
|
572
531
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
573
532
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -589,7 +548,7 @@ class LoadbalancerFrontendConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
589
548
|
class LoadbalancerFrontendNetworks:
|
|
590
549
|
def __init__(self, *, name: builtins.str) -> None:
|
|
591
550
|
'''
|
|
592
|
-
:param name: Name of the load balancer network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
551
|
+
:param name: Name of the load balancer network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#name LoadbalancerFrontend#name}
|
|
593
552
|
'''
|
|
594
553
|
if __debug__:
|
|
595
554
|
type_hints = typing.get_type_hints(_typecheckingstub__4b5de0eee12d20bee80ecff19c3c7a8b98570776dbf9471d6c66a7429e1db143)
|
|
@@ -602,7 +561,7 @@ class LoadbalancerFrontendNetworks:
|
|
|
602
561
|
def name(self) -> builtins.str:
|
|
603
562
|
'''Name of the load balancer network.
|
|
604
563
|
|
|
605
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
564
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#name LoadbalancerFrontend#name}
|
|
606
565
|
'''
|
|
607
566
|
result = self._values.get("name")
|
|
608
567
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -789,9 +748,9 @@ class LoadbalancerFrontendProperties:
|
|
|
789
748
|
timeout_client: typing.Optional[jsii.Number] = None,
|
|
790
749
|
) -> None:
|
|
791
750
|
'''
|
|
792
|
-
:param http2_enabled: Enable or disable HTTP/2 support. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
793
|
-
:param inbound_proxy_protocol: Enable or disable inbound proxy protocol support. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
794
|
-
:param timeout_client: Client request timeout in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
751
|
+
:param http2_enabled: Enable or disable HTTP/2 support. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#http2_enabled LoadbalancerFrontend#http2_enabled}
|
|
752
|
+
:param inbound_proxy_protocol: Enable or disable inbound proxy protocol support. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#inbound_proxy_protocol LoadbalancerFrontend#inbound_proxy_protocol}
|
|
753
|
+
:param timeout_client: Client request timeout in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#timeout_client LoadbalancerFrontend#timeout_client}
|
|
795
754
|
'''
|
|
796
755
|
if __debug__:
|
|
797
756
|
type_hints = typing.get_type_hints(_typecheckingstub__381cd7832d4c22c91ea769f6733eed4a776516c95a54ba5e691530b99cbe8b97)
|
|
@@ -812,7 +771,7 @@ class LoadbalancerFrontendProperties:
|
|
|
812
771
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
813
772
|
'''Enable or disable HTTP/2 support.
|
|
814
773
|
|
|
815
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
774
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#http2_enabled LoadbalancerFrontend#http2_enabled}
|
|
816
775
|
'''
|
|
817
776
|
result = self._values.get("http2_enabled")
|
|
818
777
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -823,7 +782,7 @@ class LoadbalancerFrontendProperties:
|
|
|
823
782
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
824
783
|
'''Enable or disable inbound proxy protocol support.
|
|
825
784
|
|
|
826
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
785
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#inbound_proxy_protocol LoadbalancerFrontend#inbound_proxy_protocol}
|
|
827
786
|
'''
|
|
828
787
|
result = self._values.get("inbound_proxy_protocol")
|
|
829
788
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -832,7 +791,7 @@ class LoadbalancerFrontendProperties:
|
|
|
832
791
|
def timeout_client(self) -> typing.Optional[jsii.Number]:
|
|
833
792
|
'''Client request timeout in seconds.
|
|
834
793
|
|
|
835
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
794
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/resources/loadbalancer_frontend#timeout_client LoadbalancerFrontend#timeout_client}
|
|
836
795
|
'''
|
|
837
796
|
result = self._values.get("timeout_client")
|
|
838
797
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -849,6 +808,99 @@ class LoadbalancerFrontendProperties:
|
|
|
849
808
|
)
|
|
850
809
|
|
|
851
810
|
|
|
811
|
+
class LoadbalancerFrontendPropertiesList(
|
|
812
|
+
_cdktf_9a9027ec.ComplexList,
|
|
813
|
+
metaclass=jsii.JSIIMeta,
|
|
814
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancerFrontend.LoadbalancerFrontendPropertiesList",
|
|
815
|
+
):
|
|
816
|
+
def __init__(
|
|
817
|
+
self,
|
|
818
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
819
|
+
terraform_attribute: builtins.str,
|
|
820
|
+
wraps_set: builtins.bool,
|
|
821
|
+
) -> None:
|
|
822
|
+
'''
|
|
823
|
+
:param terraform_resource: The parent resource.
|
|
824
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
825
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
826
|
+
'''
|
|
827
|
+
if __debug__:
|
|
828
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cbd3c1cf869acb46cb3e9f96a208f91d04d54568cb08c32eee8a006004296031)
|
|
829
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
830
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
831
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
832
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
833
|
+
|
|
834
|
+
@jsii.member(jsii_name="get")
|
|
835
|
+
def get(
|
|
836
|
+
self,
|
|
837
|
+
index: jsii.Number,
|
|
838
|
+
) -> "LoadbalancerFrontendPropertiesOutputReference":
|
|
839
|
+
'''
|
|
840
|
+
:param index: the index of the item to return.
|
|
841
|
+
'''
|
|
842
|
+
if __debug__:
|
|
843
|
+
type_hints = typing.get_type_hints(_typecheckingstub__97b0b08f8ff38a4f1bd3db9138a2d2a27edae804a04b7554b1ef75ef3eba06cf)
|
|
844
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
845
|
+
return typing.cast("LoadbalancerFrontendPropertiesOutputReference", jsii.invoke(self, "get", [index]))
|
|
846
|
+
|
|
847
|
+
@builtins.property
|
|
848
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
849
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
850
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
851
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
852
|
+
|
|
853
|
+
@_terraform_attribute.setter
|
|
854
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
855
|
+
if __debug__:
|
|
856
|
+
type_hints = typing.get_type_hints(_typecheckingstub__74cb9d02e453c5c90926e673e6fbe10deda28317b42a54cca3151eac7cd23535)
|
|
857
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
858
|
+
jsii.set(self, "terraformAttribute", value)
|
|
859
|
+
|
|
860
|
+
@builtins.property
|
|
861
|
+
@jsii.member(jsii_name="terraformResource")
|
|
862
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
863
|
+
'''The parent resource.'''
|
|
864
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
865
|
+
|
|
866
|
+
@_terraform_resource.setter
|
|
867
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
868
|
+
if __debug__:
|
|
869
|
+
type_hints = typing.get_type_hints(_typecheckingstub__80a95d4e90406caf1303657d6de7f2c4677da861ed2d33eec7113253b4c5ba17)
|
|
870
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
871
|
+
jsii.set(self, "terraformResource", value)
|
|
872
|
+
|
|
873
|
+
@builtins.property
|
|
874
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
875
|
+
def _wraps_set(self) -> builtins.bool:
|
|
876
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
877
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
878
|
+
|
|
879
|
+
@_wraps_set.setter
|
|
880
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
881
|
+
if __debug__:
|
|
882
|
+
type_hints = typing.get_type_hints(_typecheckingstub__003d38a25e0644e8afc78adac6de595f35bcb6813bbb165ff8c8d04c810a25cc)
|
|
883
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
884
|
+
jsii.set(self, "wrapsSet", value)
|
|
885
|
+
|
|
886
|
+
@builtins.property
|
|
887
|
+
@jsii.member(jsii_name="internalValue")
|
|
888
|
+
def internal_value(
|
|
889
|
+
self,
|
|
890
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerFrontendProperties]]]:
|
|
891
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerFrontendProperties]]], jsii.get(self, "internalValue"))
|
|
892
|
+
|
|
893
|
+
@internal_value.setter
|
|
894
|
+
def internal_value(
|
|
895
|
+
self,
|
|
896
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerFrontendProperties]]],
|
|
897
|
+
) -> None:
|
|
898
|
+
if __debug__:
|
|
899
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c4f3d528cf18bc69cc9159a685d062812d457aa5679fc9eeb6267fd3e285363d)
|
|
900
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
901
|
+
jsii.set(self, "internalValue", value)
|
|
902
|
+
|
|
903
|
+
|
|
852
904
|
class LoadbalancerFrontendPropertiesOutputReference(
|
|
853
905
|
_cdktf_9a9027ec.ComplexObject,
|
|
854
906
|
metaclass=jsii.JSIIMeta,
|
|
@@ -858,16 +910,22 @@ class LoadbalancerFrontendPropertiesOutputReference(
|
|
|
858
910
|
self,
|
|
859
911
|
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
860
912
|
terraform_attribute: builtins.str,
|
|
913
|
+
complex_object_index: jsii.Number,
|
|
914
|
+
complex_object_is_from_set: builtins.bool,
|
|
861
915
|
) -> None:
|
|
862
916
|
'''
|
|
863
917
|
:param terraform_resource: The parent resource.
|
|
864
918
|
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
919
|
+
:param complex_object_index: the index of this item in the list.
|
|
920
|
+
: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).
|
|
865
921
|
'''
|
|
866
922
|
if __debug__:
|
|
867
923
|
type_hints = typing.get_type_hints(_typecheckingstub__60c1ecef92234266b7062bb519d88bfa3221c49ea854a91fd8cf1d3c6b3c2d62)
|
|
868
924
|
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
869
925
|
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
870
|
-
|
|
926
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
927
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
928
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
871
929
|
|
|
872
930
|
@jsii.member(jsii_name="resetHttp2Enabled")
|
|
873
931
|
def reset_http2_enabled(self) -> None:
|
|
@@ -946,13 +1004,15 @@ class LoadbalancerFrontendPropertiesOutputReference(
|
|
|
946
1004
|
|
|
947
1005
|
@builtins.property
|
|
948
1006
|
@jsii.member(jsii_name="internalValue")
|
|
949
|
-
def internal_value(
|
|
950
|
-
|
|
1007
|
+
def internal_value(
|
|
1008
|
+
self,
|
|
1009
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerFrontendProperties]]:
|
|
1010
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerFrontendProperties]], jsii.get(self, "internalValue"))
|
|
951
1011
|
|
|
952
1012
|
@internal_value.setter
|
|
953
1013
|
def internal_value(
|
|
954
1014
|
self,
|
|
955
|
-
value: typing.Optional[LoadbalancerFrontendProperties],
|
|
1015
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerFrontendProperties]],
|
|
956
1016
|
) -> None:
|
|
957
1017
|
if __debug__:
|
|
958
1018
|
type_hints = typing.get_type_hints(_typecheckingstub__918caacfb00c254b043b27b148cc5504c1522bbde995792e7edfa97fe0990ea4)
|
|
@@ -967,6 +1027,7 @@ __all__ = [
|
|
|
967
1027
|
"LoadbalancerFrontendNetworksList",
|
|
968
1028
|
"LoadbalancerFrontendNetworksOutputReference",
|
|
969
1029
|
"LoadbalancerFrontendProperties",
|
|
1030
|
+
"LoadbalancerFrontendPropertiesList",
|
|
970
1031
|
"LoadbalancerFrontendPropertiesOutputReference",
|
|
971
1032
|
]
|
|
972
1033
|
|
|
@@ -974,16 +1035,15 @@ publication.publish()
|
|
|
974
1035
|
|
|
975
1036
|
def _typecheckingstub__ff7fca61a93d25f4f7bfb31c0fac58b8298c00f04d5c45fe36d7eb97bad6c533(
|
|
976
1037
|
scope: _constructs_77d1e7e8.Construct,
|
|
977
|
-
|
|
1038
|
+
id: builtins.str,
|
|
978
1039
|
*,
|
|
979
1040
|
default_backend_name: builtins.str,
|
|
980
1041
|
loadbalancer: builtins.str,
|
|
981
1042
|
mode: builtins.str,
|
|
982
1043
|
name: builtins.str,
|
|
983
1044
|
port: jsii.Number,
|
|
984
|
-
id: typing.Optional[builtins.str] = None,
|
|
985
1045
|
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerFrontendNetworks, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
986
|
-
properties: typing.Optional[typing.Union[LoadbalancerFrontendProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1046
|
+
properties: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerFrontendProperties, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
987
1047
|
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,
|
|
988
1048
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
989
1049
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -1010,13 +1070,13 @@ def _typecheckingstub__262fc8a445f22e918aeba06d5572e0eae470264b73e44f1eb11cb0197
|
|
|
1010
1070
|
"""Type checking stubs"""
|
|
1011
1071
|
pass
|
|
1012
1072
|
|
|
1013
|
-
def
|
|
1014
|
-
value: builtins.str,
|
|
1073
|
+
def _typecheckingstub__3b74bd543601e669d5e31cd7af0318d0114783ffcfaa186a5a2e1ebae6dd2b14(
|
|
1074
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerFrontendProperties, typing.Dict[builtins.str, typing.Any]]]],
|
|
1015
1075
|
) -> None:
|
|
1016
1076
|
"""Type checking stubs"""
|
|
1017
1077
|
pass
|
|
1018
1078
|
|
|
1019
|
-
def
|
|
1079
|
+
def _typecheckingstub__a543d3dfde4c169fb4d480f40a5addfe8bfcfe92301bd5aa47069e1ede1754a7(
|
|
1020
1080
|
value: builtins.str,
|
|
1021
1081
|
) -> None:
|
|
1022
1082
|
"""Type checking stubs"""
|
|
@@ -1060,9 +1120,8 @@ def _typecheckingstub__a5c160455f31abc675bbfa01a0c745e32128dade0ae3da40272c6dcdc
|
|
|
1060
1120
|
mode: builtins.str,
|
|
1061
1121
|
name: builtins.str,
|
|
1062
1122
|
port: jsii.Number,
|
|
1063
|
-
id: typing.Optional[builtins.str] = None,
|
|
1064
1123
|
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerFrontendNetworks, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1065
|
-
properties: typing.Optional[typing.Union[LoadbalancerFrontendProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1124
|
+
properties: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerFrontendProperties, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1066
1125
|
) -> None:
|
|
1067
1126
|
"""Type checking stubs"""
|
|
1068
1127
|
pass
|
|
@@ -1142,9 +1201,49 @@ def _typecheckingstub__381cd7832d4c22c91ea769f6733eed4a776516c95a54ba5e691530b99
|
|
|
1142
1201
|
"""Type checking stubs"""
|
|
1143
1202
|
pass
|
|
1144
1203
|
|
|
1204
|
+
def _typecheckingstub__cbd3c1cf869acb46cb3e9f96a208f91d04d54568cb08c32eee8a006004296031(
|
|
1205
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1206
|
+
terraform_attribute: builtins.str,
|
|
1207
|
+
wraps_set: builtins.bool,
|
|
1208
|
+
) -> None:
|
|
1209
|
+
"""Type checking stubs"""
|
|
1210
|
+
pass
|
|
1211
|
+
|
|
1212
|
+
def _typecheckingstub__97b0b08f8ff38a4f1bd3db9138a2d2a27edae804a04b7554b1ef75ef3eba06cf(
|
|
1213
|
+
index: jsii.Number,
|
|
1214
|
+
) -> None:
|
|
1215
|
+
"""Type checking stubs"""
|
|
1216
|
+
pass
|
|
1217
|
+
|
|
1218
|
+
def _typecheckingstub__74cb9d02e453c5c90926e673e6fbe10deda28317b42a54cca3151eac7cd23535(
|
|
1219
|
+
value: builtins.str,
|
|
1220
|
+
) -> None:
|
|
1221
|
+
"""Type checking stubs"""
|
|
1222
|
+
pass
|
|
1223
|
+
|
|
1224
|
+
def _typecheckingstub__80a95d4e90406caf1303657d6de7f2c4677da861ed2d33eec7113253b4c5ba17(
|
|
1225
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1226
|
+
) -> None:
|
|
1227
|
+
"""Type checking stubs"""
|
|
1228
|
+
pass
|
|
1229
|
+
|
|
1230
|
+
def _typecheckingstub__003d38a25e0644e8afc78adac6de595f35bcb6813bbb165ff8c8d04c810a25cc(
|
|
1231
|
+
value: builtins.bool,
|
|
1232
|
+
) -> None:
|
|
1233
|
+
"""Type checking stubs"""
|
|
1234
|
+
pass
|
|
1235
|
+
|
|
1236
|
+
def _typecheckingstub__c4f3d528cf18bc69cc9159a685d062812d457aa5679fc9eeb6267fd3e285363d(
|
|
1237
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerFrontendProperties]]],
|
|
1238
|
+
) -> None:
|
|
1239
|
+
"""Type checking stubs"""
|
|
1240
|
+
pass
|
|
1241
|
+
|
|
1145
1242
|
def _typecheckingstub__60c1ecef92234266b7062bb519d88bfa3221c49ea854a91fd8cf1d3c6b3c2d62(
|
|
1146
1243
|
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1147
1244
|
terraform_attribute: builtins.str,
|
|
1245
|
+
complex_object_index: jsii.Number,
|
|
1246
|
+
complex_object_is_from_set: builtins.bool,
|
|
1148
1247
|
) -> None:
|
|
1149
1248
|
"""Type checking stubs"""
|
|
1150
1249
|
pass
|
|
@@ -1168,7 +1267,7 @@ def _typecheckingstub__89d0a9a2f34f452adb96b0acb964ddb42cdde1f8ab2566673fc3ca4b3
|
|
|
1168
1267
|
pass
|
|
1169
1268
|
|
|
1170
1269
|
def _typecheckingstub__918caacfb00c254b043b27b148cc5504c1522bbde995792e7edfa97fe0990ea4(
|
|
1171
|
-
value: typing.Optional[LoadbalancerFrontendProperties],
|
|
1270
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerFrontendProperties]],
|
|
1172
1271
|
) -> None:
|
|
1173
1272
|
"""Type checking stubs"""
|
|
1174
1273
|
pass
|