cdktf-cdktf-provider-upcloud 14.2.3__py3-none-any.whl → 14.3.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.

Files changed (62) hide show
  1. cdktf_cdktf_provider_upcloud/__init__.py +5 -3
  2. cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
  3. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.3.0.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
  7. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
  12. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +82 -50
  13. cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
  14. cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
  15. cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
  16. cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
  17. cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +10 -10
  18. cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
  19. cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
  20. cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
  21. cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
  22. cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
  23. cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
  24. cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -47
  25. cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
  26. cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
  27. cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
  28. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
  29. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
  30. cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +39 -39
  31. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
  32. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
  33. cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
  34. cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
  35. cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
  36. cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
  37. cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +189 -189
  38. cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +330 -376
  39. cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +345 -345
  40. cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +117 -117
  41. cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
  42. cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
  43. cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +19 -19
  44. cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
  45. cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
  46. cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
  47. cdktf_cdktf_provider_upcloud/network/__init__.py +221 -130
  48. cdktf_cdktf_provider_upcloud/network_peering/__init__.py +1069 -0
  49. cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
  50. cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
  51. cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
  52. cdktf_cdktf_provider_upcloud/server/__init__.py +153 -153
  53. cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
  54. cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
  55. cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
  56. {cdktf_cdktf_provider_upcloud-14.2.3.dist-info → cdktf_cdktf_provider_upcloud-14.3.0.dist-info}/METADATA +5 -5
  57. cdktf_cdktf_provider_upcloud-14.3.0.dist-info/RECORD +61 -0
  58. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.2.3.jsii.tgz +0 -0
  59. cdktf_cdktf_provider_upcloud-14.2.3.dist-info/RECORD +0 -60
  60. {cdktf_cdktf_provider_upcloud-14.2.3.dist-info → cdktf_cdktf_provider_upcloud-14.3.0.dist-info}/LICENSE +0 -0
  61. {cdktf_cdktf_provider_upcloud-14.2.3.dist-info → cdktf_cdktf_provider_upcloud-14.3.0.dist-info}/WHEEL +0 -0
  62. {cdktf_cdktf_provider_upcloud-14.2.3.dist-info → cdktf_cdktf_provider_upcloud-14.3.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1069 @@
1
+ '''
2
+ # `upcloud_network_peering`
3
+
4
+ Refer to the Terraform Registry for docs: [`upcloud_network_peering`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering).
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
+ from typeguard import check_type
20
+
21
+ from .._jsii import *
22
+
23
+ import cdktf as _cdktf_9a9027ec
24
+ import constructs as _constructs_77d1e7e8
25
+
26
+
27
+ class NetworkPeering(
28
+ _cdktf_9a9027ec.TerraformResource,
29
+ metaclass=jsii.JSIIMeta,
30
+ jsii_type="@cdktf/provider-upcloud.networkPeering.NetworkPeering",
31
+ ):
32
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering upcloud_network_peering}.'''
33
+
34
+ def __init__(
35
+ self,
36
+ scope: _constructs_77d1e7e8.Construct,
37
+ id: builtins.str,
38
+ *,
39
+ name: builtins.str,
40
+ configured_status: typing.Optional[builtins.str] = None,
41
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
42
+ network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["NetworkPeeringNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
43
+ peer_network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["NetworkPeeringPeerNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
44
+ 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,
45
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
46
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
47
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
48
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
49
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
50
+ 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,
51
+ ) -> None:
52
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering upcloud_network_peering} Resource.
53
+
54
+ :param scope: The scope in which to define this construct.
55
+ :param id: The scoped construct ID. Must be unique amongst siblings in the same scope
56
+ :param name: Name of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#name NetworkPeering#name}
57
+ :param configured_status: Configured status of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#configured_status NetworkPeering#configured_status}
58
+ :param labels: Key-value pairs to classify the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#labels NetworkPeering#labels}
59
+ :param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#network NetworkPeering#network}
60
+ :param peer_network: peer_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#peer_network NetworkPeering#peer_network}
61
+ :param connection:
62
+ :param count:
63
+ :param depends_on:
64
+ :param for_each:
65
+ :param lifecycle:
66
+ :param provider:
67
+ :param provisioners:
68
+ '''
69
+ if __debug__:
70
+ type_hints = typing.get_type_hints(_typecheckingstub__c0a96a5334a78cd22a35a1e2b198b7e542ec2015cd840cad60fa729d1d1d9ae0)
71
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
72
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
73
+ config = NetworkPeeringConfig(
74
+ name=name,
75
+ configured_status=configured_status,
76
+ labels=labels,
77
+ network=network,
78
+ peer_network=peer_network,
79
+ connection=connection,
80
+ count=count,
81
+ depends_on=depends_on,
82
+ for_each=for_each,
83
+ lifecycle=lifecycle,
84
+ provider=provider,
85
+ provisioners=provisioners,
86
+ )
87
+
88
+ jsii.create(self.__class__, self, [scope, id, config])
89
+
90
+ @jsii.member(jsii_name="generateConfigForImport")
91
+ @builtins.classmethod
92
+ def generate_config_for_import(
93
+ cls,
94
+ scope: _constructs_77d1e7e8.Construct,
95
+ import_to_id: builtins.str,
96
+ import_from_id: builtins.str,
97
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
98
+ ) -> _cdktf_9a9027ec.ImportableResource:
99
+ '''Generates CDKTF code for importing a NetworkPeering resource upon running "cdktf plan ".
100
+
101
+ :param scope: The scope in which to define this construct.
102
+ :param import_to_id: The construct id used in the generated config for the NetworkPeering to import.
103
+ :param import_from_id: The id of the existing NetworkPeering that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#import import section} in the documentation of this resource for the id to use
104
+ :param provider: ? Optional instance of the provider where the NetworkPeering to import is found.
105
+ '''
106
+ if __debug__:
107
+ type_hints = typing.get_type_hints(_typecheckingstub__5841180269cc69be146e56570693687a11e9cd8244d89d2815af83047d699fb9)
108
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
109
+ check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
110
+ check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
111
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
112
+ return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
113
+
114
+ @jsii.member(jsii_name="putNetwork")
115
+ def put_network(
116
+ self,
117
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["NetworkPeeringNetwork", typing.Dict[builtins.str, typing.Any]]]],
118
+ ) -> None:
119
+ '''
120
+ :param value: -
121
+ '''
122
+ if __debug__:
123
+ type_hints = typing.get_type_hints(_typecheckingstub__465db4ca9ac80ab90575982ab7dd13b8d6be9e6d7916805211bf15fb9e11122f)
124
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
125
+ return typing.cast(None, jsii.invoke(self, "putNetwork", [value]))
126
+
127
+ @jsii.member(jsii_name="putPeerNetwork")
128
+ def put_peer_network(
129
+ self,
130
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["NetworkPeeringPeerNetwork", typing.Dict[builtins.str, typing.Any]]]],
131
+ ) -> None:
132
+ '''
133
+ :param value: -
134
+ '''
135
+ if __debug__:
136
+ type_hints = typing.get_type_hints(_typecheckingstub__2f63371b54c34ddf31997052bac8a75446130e7cb39149f0f540d307ae52862f)
137
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
138
+ return typing.cast(None, jsii.invoke(self, "putPeerNetwork", [value]))
139
+
140
+ @jsii.member(jsii_name="resetConfiguredStatus")
141
+ def reset_configured_status(self) -> None:
142
+ return typing.cast(None, jsii.invoke(self, "resetConfiguredStatus", []))
143
+
144
+ @jsii.member(jsii_name="resetLabels")
145
+ def reset_labels(self) -> None:
146
+ return typing.cast(None, jsii.invoke(self, "resetLabels", []))
147
+
148
+ @jsii.member(jsii_name="resetNetwork")
149
+ def reset_network(self) -> None:
150
+ return typing.cast(None, jsii.invoke(self, "resetNetwork", []))
151
+
152
+ @jsii.member(jsii_name="resetPeerNetwork")
153
+ def reset_peer_network(self) -> None:
154
+ return typing.cast(None, jsii.invoke(self, "resetPeerNetwork", []))
155
+
156
+ @jsii.member(jsii_name="synthesizeAttributes")
157
+ def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
158
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
159
+
160
+ @jsii.member(jsii_name="synthesizeHclAttributes")
161
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
162
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
163
+
164
+ @jsii.python.classproperty
165
+ @jsii.member(jsii_name="tfResourceType")
166
+ def TF_RESOURCE_TYPE(cls) -> builtins.str:
167
+ return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
168
+
169
+ @builtins.property
170
+ @jsii.member(jsii_name="id")
171
+ def id(self) -> builtins.str:
172
+ return typing.cast(builtins.str, jsii.get(self, "id"))
173
+
174
+ @builtins.property
175
+ @jsii.member(jsii_name="network")
176
+ def network(self) -> "NetworkPeeringNetworkList":
177
+ return typing.cast("NetworkPeeringNetworkList", jsii.get(self, "network"))
178
+
179
+ @builtins.property
180
+ @jsii.member(jsii_name="peerNetwork")
181
+ def peer_network(self) -> "NetworkPeeringPeerNetworkList":
182
+ return typing.cast("NetworkPeeringPeerNetworkList", jsii.get(self, "peerNetwork"))
183
+
184
+ @builtins.property
185
+ @jsii.member(jsii_name="configuredStatusInput")
186
+ def configured_status_input(self) -> typing.Optional[builtins.str]:
187
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "configuredStatusInput"))
188
+
189
+ @builtins.property
190
+ @jsii.member(jsii_name="labelsInput")
191
+ def labels_input(
192
+ self,
193
+ ) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
194
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "labelsInput"))
195
+
196
+ @builtins.property
197
+ @jsii.member(jsii_name="nameInput")
198
+ def name_input(self) -> typing.Optional[builtins.str]:
199
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
200
+
201
+ @builtins.property
202
+ @jsii.member(jsii_name="networkInput")
203
+ def network_input(
204
+ self,
205
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringNetwork"]]]:
206
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringNetwork"]]], jsii.get(self, "networkInput"))
207
+
208
+ @builtins.property
209
+ @jsii.member(jsii_name="peerNetworkInput")
210
+ def peer_network_input(
211
+ self,
212
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringPeerNetwork"]]]:
213
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringPeerNetwork"]]], jsii.get(self, "peerNetworkInput"))
214
+
215
+ @builtins.property
216
+ @jsii.member(jsii_name="configuredStatus")
217
+ def configured_status(self) -> builtins.str:
218
+ return typing.cast(builtins.str, jsii.get(self, "configuredStatus"))
219
+
220
+ @configured_status.setter
221
+ def configured_status(self, value: builtins.str) -> None:
222
+ if __debug__:
223
+ type_hints = typing.get_type_hints(_typecheckingstub__d52e99ad2efc93f92c4f10a717511f8e2b015fe050a36f1f5eaaec3fac3a9662)
224
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
225
+ jsii.set(self, "configuredStatus", value)
226
+
227
+ @builtins.property
228
+ @jsii.member(jsii_name="labels")
229
+ def labels(self) -> typing.Mapping[builtins.str, builtins.str]:
230
+ return typing.cast(typing.Mapping[builtins.str, builtins.str], jsii.get(self, "labels"))
231
+
232
+ @labels.setter
233
+ def labels(self, value: typing.Mapping[builtins.str, builtins.str]) -> None:
234
+ if __debug__:
235
+ type_hints = typing.get_type_hints(_typecheckingstub__3f7076c3b603d8ad784a4afe6b2b46a4cd34a2dceeaa06786f52eb4602a9ab99)
236
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
237
+ jsii.set(self, "labels", value)
238
+
239
+ @builtins.property
240
+ @jsii.member(jsii_name="name")
241
+ def name(self) -> builtins.str:
242
+ return typing.cast(builtins.str, jsii.get(self, "name"))
243
+
244
+ @name.setter
245
+ def name(self, value: builtins.str) -> None:
246
+ if __debug__:
247
+ type_hints = typing.get_type_hints(_typecheckingstub__b46257d45a014d98fe43ab4776c1928cb8d686a00f13b004b61391be19e4c6cf)
248
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
249
+ jsii.set(self, "name", value)
250
+
251
+
252
+ @jsii.data_type(
253
+ jsii_type="@cdktf/provider-upcloud.networkPeering.NetworkPeeringConfig",
254
+ jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
255
+ name_mapping={
256
+ "connection": "connection",
257
+ "count": "count",
258
+ "depends_on": "dependsOn",
259
+ "for_each": "forEach",
260
+ "lifecycle": "lifecycle",
261
+ "provider": "provider",
262
+ "provisioners": "provisioners",
263
+ "name": "name",
264
+ "configured_status": "configuredStatus",
265
+ "labels": "labels",
266
+ "network": "network",
267
+ "peer_network": "peerNetwork",
268
+ },
269
+ )
270
+ class NetworkPeeringConfig(_cdktf_9a9027ec.TerraformMetaArguments):
271
+ def __init__(
272
+ self,
273
+ *,
274
+ 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,
275
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
276
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
277
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
278
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
279
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
280
+ 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,
281
+ name: builtins.str,
282
+ configured_status: typing.Optional[builtins.str] = None,
283
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
284
+ network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["NetworkPeeringNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
285
+ peer_network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["NetworkPeeringPeerNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
286
+ ) -> None:
287
+ '''
288
+ :param connection:
289
+ :param count:
290
+ :param depends_on:
291
+ :param for_each:
292
+ :param lifecycle:
293
+ :param provider:
294
+ :param provisioners:
295
+ :param name: Name of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#name NetworkPeering#name}
296
+ :param configured_status: Configured status of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#configured_status NetworkPeering#configured_status}
297
+ :param labels: Key-value pairs to classify the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#labels NetworkPeering#labels}
298
+ :param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#network NetworkPeering#network}
299
+ :param peer_network: peer_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#peer_network NetworkPeering#peer_network}
300
+ '''
301
+ if isinstance(lifecycle, dict):
302
+ lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
303
+ if __debug__:
304
+ type_hints = typing.get_type_hints(_typecheckingstub__363420b281dc4d14ee0206055945e6437abf37cafbd1bccbaf44b614e18644db)
305
+ check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
306
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
307
+ check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
308
+ check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
309
+ check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
310
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
311
+ check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
312
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
313
+ check_type(argname="argument configured_status", value=configured_status, expected_type=type_hints["configured_status"])
314
+ check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
315
+ check_type(argname="argument network", value=network, expected_type=type_hints["network"])
316
+ check_type(argname="argument peer_network", value=peer_network, expected_type=type_hints["peer_network"])
317
+ self._values: typing.Dict[builtins.str, typing.Any] = {
318
+ "name": name,
319
+ }
320
+ if connection is not None:
321
+ self._values["connection"] = connection
322
+ if count is not None:
323
+ self._values["count"] = count
324
+ if depends_on is not None:
325
+ self._values["depends_on"] = depends_on
326
+ if for_each is not None:
327
+ self._values["for_each"] = for_each
328
+ if lifecycle is not None:
329
+ self._values["lifecycle"] = lifecycle
330
+ if provider is not None:
331
+ self._values["provider"] = provider
332
+ if provisioners is not None:
333
+ self._values["provisioners"] = provisioners
334
+ if configured_status is not None:
335
+ self._values["configured_status"] = configured_status
336
+ if labels is not None:
337
+ self._values["labels"] = labels
338
+ if network is not None:
339
+ self._values["network"] = network
340
+ if peer_network is not None:
341
+ self._values["peer_network"] = peer_network
342
+
343
+ @builtins.property
344
+ def connection(
345
+ self,
346
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
347
+ '''
348
+ :stability: experimental
349
+ '''
350
+ result = self._values.get("connection")
351
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
352
+
353
+ @builtins.property
354
+ def count(
355
+ self,
356
+ ) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
357
+ '''
358
+ :stability: experimental
359
+ '''
360
+ result = self._values.get("count")
361
+ return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
362
+
363
+ @builtins.property
364
+ def depends_on(
365
+ self,
366
+ ) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
367
+ '''
368
+ :stability: experimental
369
+ '''
370
+ result = self._values.get("depends_on")
371
+ return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
372
+
373
+ @builtins.property
374
+ def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
375
+ '''
376
+ :stability: experimental
377
+ '''
378
+ result = self._values.get("for_each")
379
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
380
+
381
+ @builtins.property
382
+ def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
383
+ '''
384
+ :stability: experimental
385
+ '''
386
+ result = self._values.get("lifecycle")
387
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
388
+
389
+ @builtins.property
390
+ def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
391
+ '''
392
+ :stability: experimental
393
+ '''
394
+ result = self._values.get("provider")
395
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
396
+
397
+ @builtins.property
398
+ def provisioners(
399
+ self,
400
+ ) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
401
+ '''
402
+ :stability: experimental
403
+ '''
404
+ result = self._values.get("provisioners")
405
+ return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
406
+
407
+ @builtins.property
408
+ def name(self) -> builtins.str:
409
+ '''Name of the network peering.
410
+
411
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#name NetworkPeering#name}
412
+ '''
413
+ result = self._values.get("name")
414
+ assert result is not None, "Required property 'name' is missing"
415
+ return typing.cast(builtins.str, result)
416
+
417
+ @builtins.property
418
+ def configured_status(self) -> typing.Optional[builtins.str]:
419
+ '''Configured status of the network peering.
420
+
421
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#configured_status NetworkPeering#configured_status}
422
+ '''
423
+ result = self._values.get("configured_status")
424
+ return typing.cast(typing.Optional[builtins.str], result)
425
+
426
+ @builtins.property
427
+ def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
428
+ '''Key-value pairs to classify the network peering.
429
+
430
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#labels NetworkPeering#labels}
431
+ '''
432
+ result = self._values.get("labels")
433
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
434
+
435
+ @builtins.property
436
+ def network(
437
+ self,
438
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringNetwork"]]]:
439
+ '''network block.
440
+
441
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#network NetworkPeering#network}
442
+ '''
443
+ result = self._values.get("network")
444
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringNetwork"]]], result)
445
+
446
+ @builtins.property
447
+ def peer_network(
448
+ self,
449
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringPeerNetwork"]]]:
450
+ '''peer_network block.
451
+
452
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#peer_network NetworkPeering#peer_network}
453
+ '''
454
+ result = self._values.get("peer_network")
455
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringPeerNetwork"]]], result)
456
+
457
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
458
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
459
+
460
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
461
+ return not (rhs == self)
462
+
463
+ def __repr__(self) -> str:
464
+ return "NetworkPeeringConfig(%s)" % ", ".join(
465
+ k + "=" + repr(v) for k, v in self._values.items()
466
+ )
467
+
468
+
469
+ @jsii.data_type(
470
+ jsii_type="@cdktf/provider-upcloud.networkPeering.NetworkPeeringNetwork",
471
+ jsii_struct_bases=[],
472
+ name_mapping={"uuid": "uuid"},
473
+ )
474
+ class NetworkPeeringNetwork:
475
+ def __init__(self, *, uuid: builtins.str) -> None:
476
+ '''
477
+ :param uuid: The UUID of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#uuid NetworkPeering#uuid}
478
+ '''
479
+ if __debug__:
480
+ type_hints = typing.get_type_hints(_typecheckingstub__55249435854778696115bf63e5ff3cef0bc5e473ffcdec977686b275ccfa8717)
481
+ check_type(argname="argument uuid", value=uuid, expected_type=type_hints["uuid"])
482
+ self._values: typing.Dict[builtins.str, typing.Any] = {
483
+ "uuid": uuid,
484
+ }
485
+
486
+ @builtins.property
487
+ def uuid(self) -> builtins.str:
488
+ '''The UUID of the network.
489
+
490
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#uuid NetworkPeering#uuid}
491
+ '''
492
+ result = self._values.get("uuid")
493
+ assert result is not None, "Required property 'uuid' is missing"
494
+ return typing.cast(builtins.str, result)
495
+
496
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
497
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
498
+
499
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
500
+ return not (rhs == self)
501
+
502
+ def __repr__(self) -> str:
503
+ return "NetworkPeeringNetwork(%s)" % ", ".join(
504
+ k + "=" + repr(v) for k, v in self._values.items()
505
+ )
506
+
507
+
508
+ class NetworkPeeringNetworkList(
509
+ _cdktf_9a9027ec.ComplexList,
510
+ metaclass=jsii.JSIIMeta,
511
+ jsii_type="@cdktf/provider-upcloud.networkPeering.NetworkPeeringNetworkList",
512
+ ):
513
+ def __init__(
514
+ self,
515
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
516
+ terraform_attribute: builtins.str,
517
+ wraps_set: builtins.bool,
518
+ ) -> None:
519
+ '''
520
+ :param terraform_resource: The parent resource.
521
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
522
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
523
+ '''
524
+ if __debug__:
525
+ type_hints = typing.get_type_hints(_typecheckingstub__4b055b1a416d9b00623c2243b86befa7a86843b85cffa6715558e2f7b7c17a2e)
526
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
527
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
528
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
529
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
530
+
531
+ @jsii.member(jsii_name="get")
532
+ def get(self, index: jsii.Number) -> "NetworkPeeringNetworkOutputReference":
533
+ '''
534
+ :param index: the index of the item to return.
535
+ '''
536
+ if __debug__:
537
+ type_hints = typing.get_type_hints(_typecheckingstub__c8bae792f76eae4cdc45df41c3782876ee0ac43830243b953df8afa5af74ad0a)
538
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
539
+ return typing.cast("NetworkPeeringNetworkOutputReference", jsii.invoke(self, "get", [index]))
540
+
541
+ @builtins.property
542
+ @jsii.member(jsii_name="terraformAttribute")
543
+ def _terraform_attribute(self) -> builtins.str:
544
+ '''The attribute on the parent resource this class is referencing.'''
545
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
546
+
547
+ @_terraform_attribute.setter
548
+ def _terraform_attribute(self, value: builtins.str) -> None:
549
+ if __debug__:
550
+ type_hints = typing.get_type_hints(_typecheckingstub__44d2d28b1384870b0886c37b6a7b316ae4529776e6fa78d02f074f208c3242d3)
551
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
552
+ jsii.set(self, "terraformAttribute", value)
553
+
554
+ @builtins.property
555
+ @jsii.member(jsii_name="terraformResource")
556
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
557
+ '''The parent resource.'''
558
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
559
+
560
+ @_terraform_resource.setter
561
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
562
+ if __debug__:
563
+ type_hints = typing.get_type_hints(_typecheckingstub__e574397365f67360a5f9abd52bc5dedbc1f9c429051a21cae0a2c639647e5da5)
564
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
565
+ jsii.set(self, "terraformResource", value)
566
+
567
+ @builtins.property
568
+ @jsii.member(jsii_name="wrapsSet")
569
+ def _wraps_set(self) -> builtins.bool:
570
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
571
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
572
+
573
+ @_wraps_set.setter
574
+ def _wraps_set(self, value: builtins.bool) -> None:
575
+ if __debug__:
576
+ type_hints = typing.get_type_hints(_typecheckingstub__787db8ad64145adde60bf6e32e4a9d36622e65fe4080adc6d5b81f674d231982)
577
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
578
+ jsii.set(self, "wrapsSet", value)
579
+
580
+ @builtins.property
581
+ @jsii.member(jsii_name="internalValue")
582
+ def internal_value(
583
+ self,
584
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkPeeringNetwork]]]:
585
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkPeeringNetwork]]], jsii.get(self, "internalValue"))
586
+
587
+ @internal_value.setter
588
+ def internal_value(
589
+ self,
590
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkPeeringNetwork]]],
591
+ ) -> None:
592
+ if __debug__:
593
+ type_hints = typing.get_type_hints(_typecheckingstub__5642fcb72bb8305e61ea8da13720dd602351417b3b2e93936cc60437345bab44)
594
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
595
+ jsii.set(self, "internalValue", value)
596
+
597
+
598
+ class NetworkPeeringNetworkOutputReference(
599
+ _cdktf_9a9027ec.ComplexObject,
600
+ metaclass=jsii.JSIIMeta,
601
+ jsii_type="@cdktf/provider-upcloud.networkPeering.NetworkPeeringNetworkOutputReference",
602
+ ):
603
+ def __init__(
604
+ self,
605
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
606
+ terraform_attribute: builtins.str,
607
+ complex_object_index: jsii.Number,
608
+ complex_object_is_from_set: builtins.bool,
609
+ ) -> None:
610
+ '''
611
+ :param terraform_resource: The parent resource.
612
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
613
+ :param complex_object_index: the index of this item in the list.
614
+ :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).
615
+ '''
616
+ if __debug__:
617
+ type_hints = typing.get_type_hints(_typecheckingstub__8a39fa0aefb6da60ac13ceb57285c141dd6c9949aecb3edf1dbeb0a180552a1a)
618
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
619
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
620
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
621
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
622
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
623
+
624
+ @builtins.property
625
+ @jsii.member(jsii_name="uuidInput")
626
+ def uuid_input(self) -> typing.Optional[builtins.str]:
627
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "uuidInput"))
628
+
629
+ @builtins.property
630
+ @jsii.member(jsii_name="uuid")
631
+ def uuid(self) -> builtins.str:
632
+ return typing.cast(builtins.str, jsii.get(self, "uuid"))
633
+
634
+ @uuid.setter
635
+ def uuid(self, value: builtins.str) -> None:
636
+ if __debug__:
637
+ type_hints = typing.get_type_hints(_typecheckingstub__fc335101ef4b4847942d189fc9d957f267d32167fc15dff8c2c424f9a676405e)
638
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
639
+ jsii.set(self, "uuid", value)
640
+
641
+ @builtins.property
642
+ @jsii.member(jsii_name="internalValue")
643
+ def internal_value(
644
+ self,
645
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkPeeringNetwork]]:
646
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkPeeringNetwork]], jsii.get(self, "internalValue"))
647
+
648
+ @internal_value.setter
649
+ def internal_value(
650
+ self,
651
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkPeeringNetwork]],
652
+ ) -> None:
653
+ if __debug__:
654
+ type_hints = typing.get_type_hints(_typecheckingstub__02ca276432d2cab25c86dd984f83f4b8213cfbaca1e0dc6be2bcb75fe0a96623)
655
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
656
+ jsii.set(self, "internalValue", value)
657
+
658
+
659
+ @jsii.data_type(
660
+ jsii_type="@cdktf/provider-upcloud.networkPeering.NetworkPeeringPeerNetwork",
661
+ jsii_struct_bases=[],
662
+ name_mapping={"uuid": "uuid"},
663
+ )
664
+ class NetworkPeeringPeerNetwork:
665
+ def __init__(self, *, uuid: builtins.str) -> None:
666
+ '''
667
+ :param uuid: The UUID of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#uuid NetworkPeering#uuid}
668
+ '''
669
+ if __debug__:
670
+ type_hints = typing.get_type_hints(_typecheckingstub__3d80346f024cbc2ca254e7975912525ac73b543ed8d8c085429350161c6a5c1e)
671
+ check_type(argname="argument uuid", value=uuid, expected_type=type_hints["uuid"])
672
+ self._values: typing.Dict[builtins.str, typing.Any] = {
673
+ "uuid": uuid,
674
+ }
675
+
676
+ @builtins.property
677
+ def uuid(self) -> builtins.str:
678
+ '''The UUID of the network.
679
+
680
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.3.0/docs/resources/network_peering#uuid NetworkPeering#uuid}
681
+ '''
682
+ result = self._values.get("uuid")
683
+ assert result is not None, "Required property 'uuid' is missing"
684
+ return typing.cast(builtins.str, result)
685
+
686
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
687
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
688
+
689
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
690
+ return not (rhs == self)
691
+
692
+ def __repr__(self) -> str:
693
+ return "NetworkPeeringPeerNetwork(%s)" % ", ".join(
694
+ k + "=" + repr(v) for k, v in self._values.items()
695
+ )
696
+
697
+
698
+ class NetworkPeeringPeerNetworkList(
699
+ _cdktf_9a9027ec.ComplexList,
700
+ metaclass=jsii.JSIIMeta,
701
+ jsii_type="@cdktf/provider-upcloud.networkPeering.NetworkPeeringPeerNetworkList",
702
+ ):
703
+ def __init__(
704
+ self,
705
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
706
+ terraform_attribute: builtins.str,
707
+ wraps_set: builtins.bool,
708
+ ) -> None:
709
+ '''
710
+ :param terraform_resource: The parent resource.
711
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
712
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
713
+ '''
714
+ if __debug__:
715
+ type_hints = typing.get_type_hints(_typecheckingstub__db7668f8e724167d0c31dc6f031a7c00d3714b1dbb9cd6ec817008b4d6ebf39b)
716
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
717
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
718
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
719
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
720
+
721
+ @jsii.member(jsii_name="get")
722
+ def get(self, index: jsii.Number) -> "NetworkPeeringPeerNetworkOutputReference":
723
+ '''
724
+ :param index: the index of the item to return.
725
+ '''
726
+ if __debug__:
727
+ type_hints = typing.get_type_hints(_typecheckingstub__48c112b1e251494973a67fba78b6324cb711aa99b3cfb29382f40c441e59f7e6)
728
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
729
+ return typing.cast("NetworkPeeringPeerNetworkOutputReference", jsii.invoke(self, "get", [index]))
730
+
731
+ @builtins.property
732
+ @jsii.member(jsii_name="terraformAttribute")
733
+ def _terraform_attribute(self) -> builtins.str:
734
+ '''The attribute on the parent resource this class is referencing.'''
735
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
736
+
737
+ @_terraform_attribute.setter
738
+ def _terraform_attribute(self, value: builtins.str) -> None:
739
+ if __debug__:
740
+ type_hints = typing.get_type_hints(_typecheckingstub__d280b8fd99ac74249214b913f7c5f8635180d95dcc43d01117acf75becb28fb7)
741
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
742
+ jsii.set(self, "terraformAttribute", value)
743
+
744
+ @builtins.property
745
+ @jsii.member(jsii_name="terraformResource")
746
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
747
+ '''The parent resource.'''
748
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
749
+
750
+ @_terraform_resource.setter
751
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
752
+ if __debug__:
753
+ type_hints = typing.get_type_hints(_typecheckingstub__b62f8c2831183c8b51fbc33901c17c36e948d265356c4fb5ba04b97a3d05bb11)
754
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
755
+ jsii.set(self, "terraformResource", value)
756
+
757
+ @builtins.property
758
+ @jsii.member(jsii_name="wrapsSet")
759
+ def _wraps_set(self) -> builtins.bool:
760
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
761
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
762
+
763
+ @_wraps_set.setter
764
+ def _wraps_set(self, value: builtins.bool) -> None:
765
+ if __debug__:
766
+ type_hints = typing.get_type_hints(_typecheckingstub__2cd0192ae5348b0a78e446a919c1102b31d82f3ecd6f145badfd2b39ba4a9db1)
767
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
768
+ jsii.set(self, "wrapsSet", value)
769
+
770
+ @builtins.property
771
+ @jsii.member(jsii_name="internalValue")
772
+ def internal_value(
773
+ self,
774
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkPeeringPeerNetwork]]]:
775
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkPeeringPeerNetwork]]], jsii.get(self, "internalValue"))
776
+
777
+ @internal_value.setter
778
+ def internal_value(
779
+ self,
780
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkPeeringPeerNetwork]]],
781
+ ) -> None:
782
+ if __debug__:
783
+ type_hints = typing.get_type_hints(_typecheckingstub__77e2f4167de8183af05abc272f18b41ac1f542f980f1c4036fc7f38497ff54bd)
784
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
785
+ jsii.set(self, "internalValue", value)
786
+
787
+
788
+ class NetworkPeeringPeerNetworkOutputReference(
789
+ _cdktf_9a9027ec.ComplexObject,
790
+ metaclass=jsii.JSIIMeta,
791
+ jsii_type="@cdktf/provider-upcloud.networkPeering.NetworkPeeringPeerNetworkOutputReference",
792
+ ):
793
+ def __init__(
794
+ self,
795
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
796
+ terraform_attribute: builtins.str,
797
+ complex_object_index: jsii.Number,
798
+ complex_object_is_from_set: builtins.bool,
799
+ ) -> None:
800
+ '''
801
+ :param terraform_resource: The parent resource.
802
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
803
+ :param complex_object_index: the index of this item in the list.
804
+ :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).
805
+ '''
806
+ if __debug__:
807
+ type_hints = typing.get_type_hints(_typecheckingstub__931c118dd54712e08d5bba707127057107829f309bad9ef0a91234d62eeae24f)
808
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
809
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
810
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
811
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
812
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
813
+
814
+ @builtins.property
815
+ @jsii.member(jsii_name="uuidInput")
816
+ def uuid_input(self) -> typing.Optional[builtins.str]:
817
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "uuidInput"))
818
+
819
+ @builtins.property
820
+ @jsii.member(jsii_name="uuid")
821
+ def uuid(self) -> builtins.str:
822
+ return typing.cast(builtins.str, jsii.get(self, "uuid"))
823
+
824
+ @uuid.setter
825
+ def uuid(self, value: builtins.str) -> None:
826
+ if __debug__:
827
+ type_hints = typing.get_type_hints(_typecheckingstub__de4aba0fbfe25c02480d1a02641af19e552410a1c7bdace66438257cd49ea872)
828
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
829
+ jsii.set(self, "uuid", value)
830
+
831
+ @builtins.property
832
+ @jsii.member(jsii_name="internalValue")
833
+ def internal_value(
834
+ self,
835
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkPeeringPeerNetwork]]:
836
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkPeeringPeerNetwork]], jsii.get(self, "internalValue"))
837
+
838
+ @internal_value.setter
839
+ def internal_value(
840
+ self,
841
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkPeeringPeerNetwork]],
842
+ ) -> None:
843
+ if __debug__:
844
+ type_hints = typing.get_type_hints(_typecheckingstub__a289bb16c42d5525a179f4ac6c5efc53a834567dc52583ad4418d104f7501922)
845
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
846
+ jsii.set(self, "internalValue", value)
847
+
848
+
849
+ __all__ = [
850
+ "NetworkPeering",
851
+ "NetworkPeeringConfig",
852
+ "NetworkPeeringNetwork",
853
+ "NetworkPeeringNetworkList",
854
+ "NetworkPeeringNetworkOutputReference",
855
+ "NetworkPeeringPeerNetwork",
856
+ "NetworkPeeringPeerNetworkList",
857
+ "NetworkPeeringPeerNetworkOutputReference",
858
+ ]
859
+
860
+ publication.publish()
861
+
862
+ def _typecheckingstub__c0a96a5334a78cd22a35a1e2b198b7e542ec2015cd840cad60fa729d1d1d9ae0(
863
+ scope: _constructs_77d1e7e8.Construct,
864
+ id: builtins.str,
865
+ *,
866
+ name: builtins.str,
867
+ configured_status: typing.Optional[builtins.str] = None,
868
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
869
+ network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[NetworkPeeringNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
870
+ peer_network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[NetworkPeeringPeerNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
871
+ 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,
872
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
873
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
874
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
875
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
876
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
877
+ 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,
878
+ ) -> None:
879
+ """Type checking stubs"""
880
+ pass
881
+
882
+ def _typecheckingstub__5841180269cc69be146e56570693687a11e9cd8244d89d2815af83047d699fb9(
883
+ scope: _constructs_77d1e7e8.Construct,
884
+ import_to_id: builtins.str,
885
+ import_from_id: builtins.str,
886
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
887
+ ) -> None:
888
+ """Type checking stubs"""
889
+ pass
890
+
891
+ def _typecheckingstub__465db4ca9ac80ab90575982ab7dd13b8d6be9e6d7916805211bf15fb9e11122f(
892
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[NetworkPeeringNetwork, typing.Dict[builtins.str, typing.Any]]]],
893
+ ) -> None:
894
+ """Type checking stubs"""
895
+ pass
896
+
897
+ def _typecheckingstub__2f63371b54c34ddf31997052bac8a75446130e7cb39149f0f540d307ae52862f(
898
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[NetworkPeeringPeerNetwork, typing.Dict[builtins.str, typing.Any]]]],
899
+ ) -> None:
900
+ """Type checking stubs"""
901
+ pass
902
+
903
+ def _typecheckingstub__d52e99ad2efc93f92c4f10a717511f8e2b015fe050a36f1f5eaaec3fac3a9662(
904
+ value: builtins.str,
905
+ ) -> None:
906
+ """Type checking stubs"""
907
+ pass
908
+
909
+ def _typecheckingstub__3f7076c3b603d8ad784a4afe6b2b46a4cd34a2dceeaa06786f52eb4602a9ab99(
910
+ value: typing.Mapping[builtins.str, builtins.str],
911
+ ) -> None:
912
+ """Type checking stubs"""
913
+ pass
914
+
915
+ def _typecheckingstub__b46257d45a014d98fe43ab4776c1928cb8d686a00f13b004b61391be19e4c6cf(
916
+ value: builtins.str,
917
+ ) -> None:
918
+ """Type checking stubs"""
919
+ pass
920
+
921
+ def _typecheckingstub__363420b281dc4d14ee0206055945e6437abf37cafbd1bccbaf44b614e18644db(
922
+ *,
923
+ 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,
924
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
925
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
926
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
927
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
928
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
929
+ 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,
930
+ name: builtins.str,
931
+ configured_status: typing.Optional[builtins.str] = None,
932
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
933
+ network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[NetworkPeeringNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
934
+ peer_network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[NetworkPeeringPeerNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
935
+ ) -> None:
936
+ """Type checking stubs"""
937
+ pass
938
+
939
+ def _typecheckingstub__55249435854778696115bf63e5ff3cef0bc5e473ffcdec977686b275ccfa8717(
940
+ *,
941
+ uuid: builtins.str,
942
+ ) -> None:
943
+ """Type checking stubs"""
944
+ pass
945
+
946
+ def _typecheckingstub__4b055b1a416d9b00623c2243b86befa7a86843b85cffa6715558e2f7b7c17a2e(
947
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
948
+ terraform_attribute: builtins.str,
949
+ wraps_set: builtins.bool,
950
+ ) -> None:
951
+ """Type checking stubs"""
952
+ pass
953
+
954
+ def _typecheckingstub__c8bae792f76eae4cdc45df41c3782876ee0ac43830243b953df8afa5af74ad0a(
955
+ index: jsii.Number,
956
+ ) -> None:
957
+ """Type checking stubs"""
958
+ pass
959
+
960
+ def _typecheckingstub__44d2d28b1384870b0886c37b6a7b316ae4529776e6fa78d02f074f208c3242d3(
961
+ value: builtins.str,
962
+ ) -> None:
963
+ """Type checking stubs"""
964
+ pass
965
+
966
+ def _typecheckingstub__e574397365f67360a5f9abd52bc5dedbc1f9c429051a21cae0a2c639647e5da5(
967
+ value: _cdktf_9a9027ec.IInterpolatingParent,
968
+ ) -> None:
969
+ """Type checking stubs"""
970
+ pass
971
+
972
+ def _typecheckingstub__787db8ad64145adde60bf6e32e4a9d36622e65fe4080adc6d5b81f674d231982(
973
+ value: builtins.bool,
974
+ ) -> None:
975
+ """Type checking stubs"""
976
+ pass
977
+
978
+ def _typecheckingstub__5642fcb72bb8305e61ea8da13720dd602351417b3b2e93936cc60437345bab44(
979
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkPeeringNetwork]]],
980
+ ) -> None:
981
+ """Type checking stubs"""
982
+ pass
983
+
984
+ def _typecheckingstub__8a39fa0aefb6da60ac13ceb57285c141dd6c9949aecb3edf1dbeb0a180552a1a(
985
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
986
+ terraform_attribute: builtins.str,
987
+ complex_object_index: jsii.Number,
988
+ complex_object_is_from_set: builtins.bool,
989
+ ) -> None:
990
+ """Type checking stubs"""
991
+ pass
992
+
993
+ def _typecheckingstub__fc335101ef4b4847942d189fc9d957f267d32167fc15dff8c2c424f9a676405e(
994
+ value: builtins.str,
995
+ ) -> None:
996
+ """Type checking stubs"""
997
+ pass
998
+
999
+ def _typecheckingstub__02ca276432d2cab25c86dd984f83f4b8213cfbaca1e0dc6be2bcb75fe0a96623(
1000
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkPeeringNetwork]],
1001
+ ) -> None:
1002
+ """Type checking stubs"""
1003
+ pass
1004
+
1005
+ def _typecheckingstub__3d80346f024cbc2ca254e7975912525ac73b543ed8d8c085429350161c6a5c1e(
1006
+ *,
1007
+ uuid: builtins.str,
1008
+ ) -> None:
1009
+ """Type checking stubs"""
1010
+ pass
1011
+
1012
+ def _typecheckingstub__db7668f8e724167d0c31dc6f031a7c00d3714b1dbb9cd6ec817008b4d6ebf39b(
1013
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1014
+ terraform_attribute: builtins.str,
1015
+ wraps_set: builtins.bool,
1016
+ ) -> None:
1017
+ """Type checking stubs"""
1018
+ pass
1019
+
1020
+ def _typecheckingstub__48c112b1e251494973a67fba78b6324cb711aa99b3cfb29382f40c441e59f7e6(
1021
+ index: jsii.Number,
1022
+ ) -> None:
1023
+ """Type checking stubs"""
1024
+ pass
1025
+
1026
+ def _typecheckingstub__d280b8fd99ac74249214b913f7c5f8635180d95dcc43d01117acf75becb28fb7(
1027
+ value: builtins.str,
1028
+ ) -> None:
1029
+ """Type checking stubs"""
1030
+ pass
1031
+
1032
+ def _typecheckingstub__b62f8c2831183c8b51fbc33901c17c36e948d265356c4fb5ba04b97a3d05bb11(
1033
+ value: _cdktf_9a9027ec.IInterpolatingParent,
1034
+ ) -> None:
1035
+ """Type checking stubs"""
1036
+ pass
1037
+
1038
+ def _typecheckingstub__2cd0192ae5348b0a78e446a919c1102b31d82f3ecd6f145badfd2b39ba4a9db1(
1039
+ value: builtins.bool,
1040
+ ) -> None:
1041
+ """Type checking stubs"""
1042
+ pass
1043
+
1044
+ def _typecheckingstub__77e2f4167de8183af05abc272f18b41ac1f542f980f1c4036fc7f38497ff54bd(
1045
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkPeeringPeerNetwork]]],
1046
+ ) -> None:
1047
+ """Type checking stubs"""
1048
+ pass
1049
+
1050
+ def _typecheckingstub__931c118dd54712e08d5bba707127057107829f309bad9ef0a91234d62eeae24f(
1051
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1052
+ terraform_attribute: builtins.str,
1053
+ complex_object_index: jsii.Number,
1054
+ complex_object_is_from_set: builtins.bool,
1055
+ ) -> None:
1056
+ """Type checking stubs"""
1057
+ pass
1058
+
1059
+ def _typecheckingstub__de4aba0fbfe25c02480d1a02641af19e552410a1c7bdace66438257cd49ea872(
1060
+ value: builtins.str,
1061
+ ) -> None:
1062
+ """Type checking stubs"""
1063
+ pass
1064
+
1065
+ def _typecheckingstub__a289bb16c42d5525a179f4ac6c5efc53a834567dc52583ad4418d104f7501922(
1066
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkPeeringPeerNetwork]],
1067
+ ) -> None:
1068
+ """Type checking stubs"""
1069
+ pass