cdktf-cdktf-provider-upcloud 15.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cdktf_cdktf_provider_upcloud/__init__.py +247 -0
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +45 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.8.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +894 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +384 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +853 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +717 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +898 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +647 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +600 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +1093 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +725 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +558 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +421 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +364 -0
- cdktf_cdktf_provider_upcloud/file_storage/__init__.py +1683 -0
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +1233 -0
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +552 -0
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +1167 -0
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1299 -0
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1357 -0
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +801 -0
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +2674 -0
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +2113 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +1426 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +459 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +1290 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +11486 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +504 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +659 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +536 -0
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +4644 -0
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +13812 -0
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +7734 -0
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +1541 -0
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +3355 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +1198 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +409 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +521 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +454 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +505 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +485 -0
- cdktf_cdktf_provider_upcloud/network/__init__.py +1554 -0
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/provider/__init__.py +544 -0
- cdktf_cdktf_provider_upcloud/py.typed +1 -0
- cdktf_cdktf_provider_upcloud/router/__init__.py +1030 -0
- cdktf_cdktf_provider_upcloud/server/__init__.py +4542 -0
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +571 -0
- cdktf_cdktf_provider_upcloud/storage/__init__.py +1850 -0
- cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +483 -0
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +478 -0
- cdktf_cdktf_provider_upcloud/tag/__init__.py +493 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/LICENSE +355 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/METADATA +120 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/RECORD +66 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/WHEEL +5 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1357 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `upcloud_gateway_connection_tunnel`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_gateway_connection_tunnel`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel).
|
|
5
|
+
'''
|
|
6
|
+
from pkgutil import extend_path
|
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
|
8
|
+
|
|
9
|
+
import abc
|
|
10
|
+
import builtins
|
|
11
|
+
import datetime
|
|
12
|
+
import enum
|
|
13
|
+
import typing
|
|
14
|
+
|
|
15
|
+
import jsii
|
|
16
|
+
import publication
|
|
17
|
+
import typing_extensions
|
|
18
|
+
|
|
19
|
+
import typeguard
|
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
22
|
+
|
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
26
|
+
else:
|
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
28
|
+
pass
|
|
29
|
+
else:
|
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
33
|
+
else:
|
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
35
|
+
|
|
36
|
+
from .._jsii import *
|
|
37
|
+
|
|
38
|
+
import cdktf as _cdktf_9a9027ec
|
|
39
|
+
import constructs as _constructs_77d1e7e8
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class GatewayConnectionTunnel(
|
|
43
|
+
_cdktf_9a9027ec.TerraformResource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.gatewayConnectionTunnel.GatewayConnectionTunnel",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel upcloud_gateway_connection_tunnel}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id_: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
connection_id: builtins.str,
|
|
55
|
+
ipsec_auth_psk: typing.Union["GatewayConnectionTunnelIpsecAuthPsk", typing.Dict[builtins.str, typing.Any]],
|
|
56
|
+
local_address_name: builtins.str,
|
|
57
|
+
name: builtins.str,
|
|
58
|
+
remote_address: builtins.str,
|
|
59
|
+
id: typing.Optional[builtins.str] = None,
|
|
60
|
+
ipsec_properties: typing.Optional[typing.Union["GatewayConnectionTunnelIpsecProperties", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
61
|
+
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,
|
|
62
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
63
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
64
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
65
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
66
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
67
|
+
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,
|
|
68
|
+
) -> None:
|
|
69
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel upcloud_gateway_connection_tunnel} Resource.
|
|
70
|
+
|
|
71
|
+
:param scope: The scope in which to define this construct.
|
|
72
|
+
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
73
|
+
:param connection_id: ID of the upcloud_gateway_connection resource to which the tunnel belongs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#connection_id GatewayConnectionTunnel#connection_id}
|
|
74
|
+
:param ipsec_auth_psk: ipsec_auth_psk block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#ipsec_auth_psk GatewayConnectionTunnel#ipsec_auth_psk}
|
|
75
|
+
:param local_address_name: Public (UpCloud) endpoint address of this tunnel. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#local_address_name GatewayConnectionTunnel#local_address_name}
|
|
76
|
+
:param name: The name of the tunnel, should be unique within the connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#name GatewayConnectionTunnel#name}
|
|
77
|
+
:param remote_address: Remote public IP address of the tunnel. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#remote_address GatewayConnectionTunnel#remote_address}
|
|
78
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#id GatewayConnectionTunnel#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. 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.
|
|
79
|
+
:param ipsec_properties: ipsec_properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#ipsec_properties GatewayConnectionTunnel#ipsec_properties}
|
|
80
|
+
:param connection:
|
|
81
|
+
:param count:
|
|
82
|
+
:param depends_on:
|
|
83
|
+
:param for_each:
|
|
84
|
+
:param lifecycle:
|
|
85
|
+
:param provider:
|
|
86
|
+
:param provisioners:
|
|
87
|
+
'''
|
|
88
|
+
if __debug__:
|
|
89
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bcba9d47af2d640b381a57614585e17d61c78e34893161a6bcb3a0e59e4893d0)
|
|
90
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
91
|
+
check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
|
|
92
|
+
config = GatewayConnectionTunnelConfig(
|
|
93
|
+
connection_id=connection_id,
|
|
94
|
+
ipsec_auth_psk=ipsec_auth_psk,
|
|
95
|
+
local_address_name=local_address_name,
|
|
96
|
+
name=name,
|
|
97
|
+
remote_address=remote_address,
|
|
98
|
+
id=id,
|
|
99
|
+
ipsec_properties=ipsec_properties,
|
|
100
|
+
connection=connection,
|
|
101
|
+
count=count,
|
|
102
|
+
depends_on=depends_on,
|
|
103
|
+
for_each=for_each,
|
|
104
|
+
lifecycle=lifecycle,
|
|
105
|
+
provider=provider,
|
|
106
|
+
provisioners=provisioners,
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
jsii.create(self.__class__, self, [scope, id_, config])
|
|
110
|
+
|
|
111
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
|
112
|
+
@builtins.classmethod
|
|
113
|
+
def generate_config_for_import(
|
|
114
|
+
cls,
|
|
115
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
116
|
+
import_to_id: builtins.str,
|
|
117
|
+
import_from_id: builtins.str,
|
|
118
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
119
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
|
120
|
+
'''Generates CDKTF code for importing a GatewayConnectionTunnel resource upon running "cdktf plan ".
|
|
121
|
+
|
|
122
|
+
:param scope: The scope in which to define this construct.
|
|
123
|
+
:param import_to_id: The construct id used in the generated config for the GatewayConnectionTunnel to import.
|
|
124
|
+
:param import_from_id: The id of the existing GatewayConnectionTunnel that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#import import section} in the documentation of this resource for the id to use
|
|
125
|
+
:param provider: ? Optional instance of the provider where the GatewayConnectionTunnel to import is found.
|
|
126
|
+
'''
|
|
127
|
+
if __debug__:
|
|
128
|
+
type_hints = typing.get_type_hints(_typecheckingstub__95236e9d369f33914f666fa8076ddef4b5b620b25f4b18ec52b8822131b193aa)
|
|
129
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
130
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
|
131
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
|
132
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
133
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
|
134
|
+
|
|
135
|
+
@jsii.member(jsii_name="putIpsecAuthPsk")
|
|
136
|
+
def put_ipsec_auth_psk(self, *, psk: builtins.str) -> None:
|
|
137
|
+
'''
|
|
138
|
+
:param psk: The pre-shared key. This value is only used during resource creation and is not returned in the state. It is not possible to update this value. If you need to update it, delete the connection and create a new one. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#psk GatewayConnectionTunnel#psk}
|
|
139
|
+
'''
|
|
140
|
+
value = GatewayConnectionTunnelIpsecAuthPsk(psk=psk)
|
|
141
|
+
|
|
142
|
+
return typing.cast(None, jsii.invoke(self, "putIpsecAuthPsk", [value]))
|
|
143
|
+
|
|
144
|
+
@jsii.member(jsii_name="putIpsecProperties")
|
|
145
|
+
def put_ipsec_properties(
|
|
146
|
+
self,
|
|
147
|
+
*,
|
|
148
|
+
child_rekey_time: typing.Optional[jsii.Number] = None,
|
|
149
|
+
dpd_delay: typing.Optional[jsii.Number] = None,
|
|
150
|
+
dpd_timeout: typing.Optional[jsii.Number] = None,
|
|
151
|
+
ike_lifetime: typing.Optional[jsii.Number] = None,
|
|
152
|
+
phase1_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
153
|
+
phase1_dh_group_numbers: typing.Optional[typing.Sequence[jsii.Number]] = None,
|
|
154
|
+
phase1_integrity_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
155
|
+
phase2_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
156
|
+
phase2_dh_group_numbers: typing.Optional[typing.Sequence[jsii.Number]] = None,
|
|
157
|
+
phase2_integrity_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
158
|
+
rekey_time: typing.Optional[jsii.Number] = None,
|
|
159
|
+
) -> None:
|
|
160
|
+
'''
|
|
161
|
+
:param child_rekey_time: IKE child SA rekey time in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#child_rekey_time GatewayConnectionTunnel#child_rekey_time}
|
|
162
|
+
:param dpd_delay: Delay before sending Dead Peer Detection packets if no traffic is detected, in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#dpd_delay GatewayConnectionTunnel#dpd_delay}
|
|
163
|
+
:param dpd_timeout: Timeout period for DPD reply before considering the peer to be dead, in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#dpd_timeout GatewayConnectionTunnel#dpd_timeout}
|
|
164
|
+
:param ike_lifetime: Maximum IKE SA lifetime in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#ike_lifetime GatewayConnectionTunnel#ike_lifetime}
|
|
165
|
+
:param phase1_algorithms: List of Phase 1: Proposal algorithms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase1_algorithms GatewayConnectionTunnel#phase1_algorithms}
|
|
166
|
+
:param phase1_dh_group_numbers: List of Phase 1 Diffie-Hellman group numbers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase1_dh_group_numbers GatewayConnectionTunnel#phase1_dh_group_numbers}
|
|
167
|
+
:param phase1_integrity_algorithms: List of Phase 1 integrity algorithms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase1_integrity_algorithms GatewayConnectionTunnel#phase1_integrity_algorithms}
|
|
168
|
+
:param phase2_algorithms: List of Phase 2: Security Association algorithms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase2_algorithms GatewayConnectionTunnel#phase2_algorithms}
|
|
169
|
+
:param phase2_dh_group_numbers: List of Phase 2 Diffie-Hellman group numbers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase2_dh_group_numbers GatewayConnectionTunnel#phase2_dh_group_numbers}
|
|
170
|
+
:param phase2_integrity_algorithms: List of Phase 2 integrity algorithms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase2_integrity_algorithms GatewayConnectionTunnel#phase2_integrity_algorithms}
|
|
171
|
+
:param rekey_time: IKE SA rekey time in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#rekey_time GatewayConnectionTunnel#rekey_time}
|
|
172
|
+
'''
|
|
173
|
+
value = GatewayConnectionTunnelIpsecProperties(
|
|
174
|
+
child_rekey_time=child_rekey_time,
|
|
175
|
+
dpd_delay=dpd_delay,
|
|
176
|
+
dpd_timeout=dpd_timeout,
|
|
177
|
+
ike_lifetime=ike_lifetime,
|
|
178
|
+
phase1_algorithms=phase1_algorithms,
|
|
179
|
+
phase1_dh_group_numbers=phase1_dh_group_numbers,
|
|
180
|
+
phase1_integrity_algorithms=phase1_integrity_algorithms,
|
|
181
|
+
phase2_algorithms=phase2_algorithms,
|
|
182
|
+
phase2_dh_group_numbers=phase2_dh_group_numbers,
|
|
183
|
+
phase2_integrity_algorithms=phase2_integrity_algorithms,
|
|
184
|
+
rekey_time=rekey_time,
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
return typing.cast(None, jsii.invoke(self, "putIpsecProperties", [value]))
|
|
188
|
+
|
|
189
|
+
@jsii.member(jsii_name="resetId")
|
|
190
|
+
def reset_id(self) -> None:
|
|
191
|
+
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
|
192
|
+
|
|
193
|
+
@jsii.member(jsii_name="resetIpsecProperties")
|
|
194
|
+
def reset_ipsec_properties(self) -> None:
|
|
195
|
+
return typing.cast(None, jsii.invoke(self, "resetIpsecProperties", []))
|
|
196
|
+
|
|
197
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
198
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
199
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
200
|
+
|
|
201
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
202
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
203
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
204
|
+
|
|
205
|
+
@jsii.python.classproperty
|
|
206
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
207
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
208
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
209
|
+
|
|
210
|
+
@builtins.property
|
|
211
|
+
@jsii.member(jsii_name="ipsecAuthPsk")
|
|
212
|
+
def ipsec_auth_psk(self) -> "GatewayConnectionTunnelIpsecAuthPskOutputReference":
|
|
213
|
+
return typing.cast("GatewayConnectionTunnelIpsecAuthPskOutputReference", jsii.get(self, "ipsecAuthPsk"))
|
|
214
|
+
|
|
215
|
+
@builtins.property
|
|
216
|
+
@jsii.member(jsii_name="ipsecProperties")
|
|
217
|
+
def ipsec_properties(
|
|
218
|
+
self,
|
|
219
|
+
) -> "GatewayConnectionTunnelIpsecPropertiesOutputReference":
|
|
220
|
+
return typing.cast("GatewayConnectionTunnelIpsecPropertiesOutputReference", jsii.get(self, "ipsecProperties"))
|
|
221
|
+
|
|
222
|
+
@builtins.property
|
|
223
|
+
@jsii.member(jsii_name="operationalState")
|
|
224
|
+
def operational_state(self) -> builtins.str:
|
|
225
|
+
return typing.cast(builtins.str, jsii.get(self, "operationalState"))
|
|
226
|
+
|
|
227
|
+
@builtins.property
|
|
228
|
+
@jsii.member(jsii_name="uuid")
|
|
229
|
+
def uuid(self) -> builtins.str:
|
|
230
|
+
return typing.cast(builtins.str, jsii.get(self, "uuid"))
|
|
231
|
+
|
|
232
|
+
@builtins.property
|
|
233
|
+
@jsii.member(jsii_name="connectionIdInput")
|
|
234
|
+
def connection_id_input(self) -> typing.Optional[builtins.str]:
|
|
235
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "connectionIdInput"))
|
|
236
|
+
|
|
237
|
+
@builtins.property
|
|
238
|
+
@jsii.member(jsii_name="idInput")
|
|
239
|
+
def id_input(self) -> typing.Optional[builtins.str]:
|
|
240
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
241
|
+
|
|
242
|
+
@builtins.property
|
|
243
|
+
@jsii.member(jsii_name="ipsecAuthPskInput")
|
|
244
|
+
def ipsec_auth_psk_input(
|
|
245
|
+
self,
|
|
246
|
+
) -> typing.Optional["GatewayConnectionTunnelIpsecAuthPsk"]:
|
|
247
|
+
return typing.cast(typing.Optional["GatewayConnectionTunnelIpsecAuthPsk"], jsii.get(self, "ipsecAuthPskInput"))
|
|
248
|
+
|
|
249
|
+
@builtins.property
|
|
250
|
+
@jsii.member(jsii_name="ipsecPropertiesInput")
|
|
251
|
+
def ipsec_properties_input(
|
|
252
|
+
self,
|
|
253
|
+
) -> typing.Optional["GatewayConnectionTunnelIpsecProperties"]:
|
|
254
|
+
return typing.cast(typing.Optional["GatewayConnectionTunnelIpsecProperties"], jsii.get(self, "ipsecPropertiesInput"))
|
|
255
|
+
|
|
256
|
+
@builtins.property
|
|
257
|
+
@jsii.member(jsii_name="localAddressNameInput")
|
|
258
|
+
def local_address_name_input(self) -> typing.Optional[builtins.str]:
|
|
259
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "localAddressNameInput"))
|
|
260
|
+
|
|
261
|
+
@builtins.property
|
|
262
|
+
@jsii.member(jsii_name="nameInput")
|
|
263
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
264
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
265
|
+
|
|
266
|
+
@builtins.property
|
|
267
|
+
@jsii.member(jsii_name="remoteAddressInput")
|
|
268
|
+
def remote_address_input(self) -> typing.Optional[builtins.str]:
|
|
269
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "remoteAddressInput"))
|
|
270
|
+
|
|
271
|
+
@builtins.property
|
|
272
|
+
@jsii.member(jsii_name="connectionId")
|
|
273
|
+
def connection_id(self) -> builtins.str:
|
|
274
|
+
return typing.cast(builtins.str, jsii.get(self, "connectionId"))
|
|
275
|
+
|
|
276
|
+
@connection_id.setter
|
|
277
|
+
def connection_id(self, value: builtins.str) -> None:
|
|
278
|
+
if __debug__:
|
|
279
|
+
type_hints = typing.get_type_hints(_typecheckingstub__126516e9f2491501373dc78a2ced217cc6983515585858bddaa97a43be47c46e)
|
|
280
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
281
|
+
jsii.set(self, "connectionId", value) # pyright: ignore[reportArgumentType]
|
|
282
|
+
|
|
283
|
+
@builtins.property
|
|
284
|
+
@jsii.member(jsii_name="id")
|
|
285
|
+
def id(self) -> builtins.str:
|
|
286
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
287
|
+
|
|
288
|
+
@id.setter
|
|
289
|
+
def id(self, value: builtins.str) -> None:
|
|
290
|
+
if __debug__:
|
|
291
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f700caa4649526605c5789b4b1af9dbc420a82c8c23deedc54920d5e9b5549cd)
|
|
292
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
293
|
+
jsii.set(self, "id", value) # pyright: ignore[reportArgumentType]
|
|
294
|
+
|
|
295
|
+
@builtins.property
|
|
296
|
+
@jsii.member(jsii_name="localAddressName")
|
|
297
|
+
def local_address_name(self) -> builtins.str:
|
|
298
|
+
return typing.cast(builtins.str, jsii.get(self, "localAddressName"))
|
|
299
|
+
|
|
300
|
+
@local_address_name.setter
|
|
301
|
+
def local_address_name(self, value: builtins.str) -> None:
|
|
302
|
+
if __debug__:
|
|
303
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0a349ea0021d2c6d6de75a59ca14d51e1948a94c4ed9d0daa4dfed83a20b53d5)
|
|
304
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
305
|
+
jsii.set(self, "localAddressName", value) # pyright: ignore[reportArgumentType]
|
|
306
|
+
|
|
307
|
+
@builtins.property
|
|
308
|
+
@jsii.member(jsii_name="name")
|
|
309
|
+
def name(self) -> builtins.str:
|
|
310
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
311
|
+
|
|
312
|
+
@name.setter
|
|
313
|
+
def name(self, value: builtins.str) -> None:
|
|
314
|
+
if __debug__:
|
|
315
|
+
type_hints = typing.get_type_hints(_typecheckingstub__22991b014c3d2e71d2ea4eecdc4d72c95098523fea98fea667712a8f2f3f7dcb)
|
|
316
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
317
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
318
|
+
|
|
319
|
+
@builtins.property
|
|
320
|
+
@jsii.member(jsii_name="remoteAddress")
|
|
321
|
+
def remote_address(self) -> builtins.str:
|
|
322
|
+
return typing.cast(builtins.str, jsii.get(self, "remoteAddress"))
|
|
323
|
+
|
|
324
|
+
@remote_address.setter
|
|
325
|
+
def remote_address(self, value: builtins.str) -> None:
|
|
326
|
+
if __debug__:
|
|
327
|
+
type_hints = typing.get_type_hints(_typecheckingstub__20fc183698bb25fe3dd18b8951c12e22d0f3fcff5c932fb833788131f196f2b6)
|
|
328
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
329
|
+
jsii.set(self, "remoteAddress", value) # pyright: ignore[reportArgumentType]
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
@jsii.data_type(
|
|
333
|
+
jsii_type="@cdktf/provider-upcloud.gatewayConnectionTunnel.GatewayConnectionTunnelConfig",
|
|
334
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
335
|
+
name_mapping={
|
|
336
|
+
"connection": "connection",
|
|
337
|
+
"count": "count",
|
|
338
|
+
"depends_on": "dependsOn",
|
|
339
|
+
"for_each": "forEach",
|
|
340
|
+
"lifecycle": "lifecycle",
|
|
341
|
+
"provider": "provider",
|
|
342
|
+
"provisioners": "provisioners",
|
|
343
|
+
"connection_id": "connectionId",
|
|
344
|
+
"ipsec_auth_psk": "ipsecAuthPsk",
|
|
345
|
+
"local_address_name": "localAddressName",
|
|
346
|
+
"name": "name",
|
|
347
|
+
"remote_address": "remoteAddress",
|
|
348
|
+
"id": "id",
|
|
349
|
+
"ipsec_properties": "ipsecProperties",
|
|
350
|
+
},
|
|
351
|
+
)
|
|
352
|
+
class GatewayConnectionTunnelConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
353
|
+
def __init__(
|
|
354
|
+
self,
|
|
355
|
+
*,
|
|
356
|
+
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,
|
|
357
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
358
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
359
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
360
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
361
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
362
|
+
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,
|
|
363
|
+
connection_id: builtins.str,
|
|
364
|
+
ipsec_auth_psk: typing.Union["GatewayConnectionTunnelIpsecAuthPsk", typing.Dict[builtins.str, typing.Any]],
|
|
365
|
+
local_address_name: builtins.str,
|
|
366
|
+
name: builtins.str,
|
|
367
|
+
remote_address: builtins.str,
|
|
368
|
+
id: typing.Optional[builtins.str] = None,
|
|
369
|
+
ipsec_properties: typing.Optional[typing.Union["GatewayConnectionTunnelIpsecProperties", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
370
|
+
) -> None:
|
|
371
|
+
'''
|
|
372
|
+
:param connection:
|
|
373
|
+
:param count:
|
|
374
|
+
:param depends_on:
|
|
375
|
+
:param for_each:
|
|
376
|
+
:param lifecycle:
|
|
377
|
+
:param provider:
|
|
378
|
+
:param provisioners:
|
|
379
|
+
:param connection_id: ID of the upcloud_gateway_connection resource to which the tunnel belongs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#connection_id GatewayConnectionTunnel#connection_id}
|
|
380
|
+
:param ipsec_auth_psk: ipsec_auth_psk block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#ipsec_auth_psk GatewayConnectionTunnel#ipsec_auth_psk}
|
|
381
|
+
:param local_address_name: Public (UpCloud) endpoint address of this tunnel. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#local_address_name GatewayConnectionTunnel#local_address_name}
|
|
382
|
+
:param name: The name of the tunnel, should be unique within the connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#name GatewayConnectionTunnel#name}
|
|
383
|
+
:param remote_address: Remote public IP address of the tunnel. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#remote_address GatewayConnectionTunnel#remote_address}
|
|
384
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#id GatewayConnectionTunnel#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. 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.
|
|
385
|
+
:param ipsec_properties: ipsec_properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#ipsec_properties GatewayConnectionTunnel#ipsec_properties}
|
|
386
|
+
'''
|
|
387
|
+
if isinstance(lifecycle, dict):
|
|
388
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
389
|
+
if isinstance(ipsec_auth_psk, dict):
|
|
390
|
+
ipsec_auth_psk = GatewayConnectionTunnelIpsecAuthPsk(**ipsec_auth_psk)
|
|
391
|
+
if isinstance(ipsec_properties, dict):
|
|
392
|
+
ipsec_properties = GatewayConnectionTunnelIpsecProperties(**ipsec_properties)
|
|
393
|
+
if __debug__:
|
|
394
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f6d11a79d0e62a94d31dbeeb1b1d2a1d94139d8c65e2ddf5917626ad2d4a6f99)
|
|
395
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
396
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
397
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
398
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
399
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
400
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
401
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
402
|
+
check_type(argname="argument connection_id", value=connection_id, expected_type=type_hints["connection_id"])
|
|
403
|
+
check_type(argname="argument ipsec_auth_psk", value=ipsec_auth_psk, expected_type=type_hints["ipsec_auth_psk"])
|
|
404
|
+
check_type(argname="argument local_address_name", value=local_address_name, expected_type=type_hints["local_address_name"])
|
|
405
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
406
|
+
check_type(argname="argument remote_address", value=remote_address, expected_type=type_hints["remote_address"])
|
|
407
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
408
|
+
check_type(argname="argument ipsec_properties", value=ipsec_properties, expected_type=type_hints["ipsec_properties"])
|
|
409
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
410
|
+
"connection_id": connection_id,
|
|
411
|
+
"ipsec_auth_psk": ipsec_auth_psk,
|
|
412
|
+
"local_address_name": local_address_name,
|
|
413
|
+
"name": name,
|
|
414
|
+
"remote_address": remote_address,
|
|
415
|
+
}
|
|
416
|
+
if connection is not None:
|
|
417
|
+
self._values["connection"] = connection
|
|
418
|
+
if count is not None:
|
|
419
|
+
self._values["count"] = count
|
|
420
|
+
if depends_on is not None:
|
|
421
|
+
self._values["depends_on"] = depends_on
|
|
422
|
+
if for_each is not None:
|
|
423
|
+
self._values["for_each"] = for_each
|
|
424
|
+
if lifecycle is not None:
|
|
425
|
+
self._values["lifecycle"] = lifecycle
|
|
426
|
+
if provider is not None:
|
|
427
|
+
self._values["provider"] = provider
|
|
428
|
+
if provisioners is not None:
|
|
429
|
+
self._values["provisioners"] = provisioners
|
|
430
|
+
if id is not None:
|
|
431
|
+
self._values["id"] = id
|
|
432
|
+
if ipsec_properties is not None:
|
|
433
|
+
self._values["ipsec_properties"] = ipsec_properties
|
|
434
|
+
|
|
435
|
+
@builtins.property
|
|
436
|
+
def connection(
|
|
437
|
+
self,
|
|
438
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
439
|
+
'''
|
|
440
|
+
:stability: experimental
|
|
441
|
+
'''
|
|
442
|
+
result = self._values.get("connection")
|
|
443
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
444
|
+
|
|
445
|
+
@builtins.property
|
|
446
|
+
def count(
|
|
447
|
+
self,
|
|
448
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
449
|
+
'''
|
|
450
|
+
:stability: experimental
|
|
451
|
+
'''
|
|
452
|
+
result = self._values.get("count")
|
|
453
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
454
|
+
|
|
455
|
+
@builtins.property
|
|
456
|
+
def depends_on(
|
|
457
|
+
self,
|
|
458
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
459
|
+
'''
|
|
460
|
+
:stability: experimental
|
|
461
|
+
'''
|
|
462
|
+
result = self._values.get("depends_on")
|
|
463
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
464
|
+
|
|
465
|
+
@builtins.property
|
|
466
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
467
|
+
'''
|
|
468
|
+
:stability: experimental
|
|
469
|
+
'''
|
|
470
|
+
result = self._values.get("for_each")
|
|
471
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
472
|
+
|
|
473
|
+
@builtins.property
|
|
474
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
475
|
+
'''
|
|
476
|
+
:stability: experimental
|
|
477
|
+
'''
|
|
478
|
+
result = self._values.get("lifecycle")
|
|
479
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
480
|
+
|
|
481
|
+
@builtins.property
|
|
482
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
483
|
+
'''
|
|
484
|
+
:stability: experimental
|
|
485
|
+
'''
|
|
486
|
+
result = self._values.get("provider")
|
|
487
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
488
|
+
|
|
489
|
+
@builtins.property
|
|
490
|
+
def provisioners(
|
|
491
|
+
self,
|
|
492
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
493
|
+
'''
|
|
494
|
+
:stability: experimental
|
|
495
|
+
'''
|
|
496
|
+
result = self._values.get("provisioners")
|
|
497
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
498
|
+
|
|
499
|
+
@builtins.property
|
|
500
|
+
def connection_id(self) -> builtins.str:
|
|
501
|
+
'''ID of the upcloud_gateway_connection resource to which the tunnel belongs.
|
|
502
|
+
|
|
503
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#connection_id GatewayConnectionTunnel#connection_id}
|
|
504
|
+
'''
|
|
505
|
+
result = self._values.get("connection_id")
|
|
506
|
+
assert result is not None, "Required property 'connection_id' is missing"
|
|
507
|
+
return typing.cast(builtins.str, result)
|
|
508
|
+
|
|
509
|
+
@builtins.property
|
|
510
|
+
def ipsec_auth_psk(self) -> "GatewayConnectionTunnelIpsecAuthPsk":
|
|
511
|
+
'''ipsec_auth_psk block.
|
|
512
|
+
|
|
513
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#ipsec_auth_psk GatewayConnectionTunnel#ipsec_auth_psk}
|
|
514
|
+
'''
|
|
515
|
+
result = self._values.get("ipsec_auth_psk")
|
|
516
|
+
assert result is not None, "Required property 'ipsec_auth_psk' is missing"
|
|
517
|
+
return typing.cast("GatewayConnectionTunnelIpsecAuthPsk", result)
|
|
518
|
+
|
|
519
|
+
@builtins.property
|
|
520
|
+
def local_address_name(self) -> builtins.str:
|
|
521
|
+
'''Public (UpCloud) endpoint address of this tunnel.
|
|
522
|
+
|
|
523
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#local_address_name GatewayConnectionTunnel#local_address_name}
|
|
524
|
+
'''
|
|
525
|
+
result = self._values.get("local_address_name")
|
|
526
|
+
assert result is not None, "Required property 'local_address_name' is missing"
|
|
527
|
+
return typing.cast(builtins.str, result)
|
|
528
|
+
|
|
529
|
+
@builtins.property
|
|
530
|
+
def name(self) -> builtins.str:
|
|
531
|
+
'''The name of the tunnel, should be unique within the connection.
|
|
532
|
+
|
|
533
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#name GatewayConnectionTunnel#name}
|
|
534
|
+
'''
|
|
535
|
+
result = self._values.get("name")
|
|
536
|
+
assert result is not None, "Required property 'name' is missing"
|
|
537
|
+
return typing.cast(builtins.str, result)
|
|
538
|
+
|
|
539
|
+
@builtins.property
|
|
540
|
+
def remote_address(self) -> builtins.str:
|
|
541
|
+
'''Remote public IP address of the tunnel.
|
|
542
|
+
|
|
543
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#remote_address GatewayConnectionTunnel#remote_address}
|
|
544
|
+
'''
|
|
545
|
+
result = self._values.get("remote_address")
|
|
546
|
+
assert result is not None, "Required property 'remote_address' is missing"
|
|
547
|
+
return typing.cast(builtins.str, result)
|
|
548
|
+
|
|
549
|
+
@builtins.property
|
|
550
|
+
def id(self) -> typing.Optional[builtins.str]:
|
|
551
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#id GatewayConnectionTunnel#id}.
|
|
552
|
+
|
|
553
|
+
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
554
|
+
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.
|
|
555
|
+
'''
|
|
556
|
+
result = self._values.get("id")
|
|
557
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
558
|
+
|
|
559
|
+
@builtins.property
|
|
560
|
+
def ipsec_properties(
|
|
561
|
+
self,
|
|
562
|
+
) -> typing.Optional["GatewayConnectionTunnelIpsecProperties"]:
|
|
563
|
+
'''ipsec_properties block.
|
|
564
|
+
|
|
565
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#ipsec_properties GatewayConnectionTunnel#ipsec_properties}
|
|
566
|
+
'''
|
|
567
|
+
result = self._values.get("ipsec_properties")
|
|
568
|
+
return typing.cast(typing.Optional["GatewayConnectionTunnelIpsecProperties"], result)
|
|
569
|
+
|
|
570
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
571
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
572
|
+
|
|
573
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
574
|
+
return not (rhs == self)
|
|
575
|
+
|
|
576
|
+
def __repr__(self) -> str:
|
|
577
|
+
return "GatewayConnectionTunnelConfig(%s)" % ", ".join(
|
|
578
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
579
|
+
)
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
@jsii.data_type(
|
|
583
|
+
jsii_type="@cdktf/provider-upcloud.gatewayConnectionTunnel.GatewayConnectionTunnelIpsecAuthPsk",
|
|
584
|
+
jsii_struct_bases=[],
|
|
585
|
+
name_mapping={"psk": "psk"},
|
|
586
|
+
)
|
|
587
|
+
class GatewayConnectionTunnelIpsecAuthPsk:
|
|
588
|
+
def __init__(self, *, psk: builtins.str) -> None:
|
|
589
|
+
'''
|
|
590
|
+
:param psk: The pre-shared key. This value is only used during resource creation and is not returned in the state. It is not possible to update this value. If you need to update it, delete the connection and create a new one. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#psk GatewayConnectionTunnel#psk}
|
|
591
|
+
'''
|
|
592
|
+
if __debug__:
|
|
593
|
+
type_hints = typing.get_type_hints(_typecheckingstub__87c835e7d7c5605931c1ca38462874908e77d68cd5b951debc157a3d43ca979a)
|
|
594
|
+
check_type(argname="argument psk", value=psk, expected_type=type_hints["psk"])
|
|
595
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
596
|
+
"psk": psk,
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
@builtins.property
|
|
600
|
+
def psk(self) -> builtins.str:
|
|
601
|
+
'''The pre-shared key.
|
|
602
|
+
|
|
603
|
+
This value is only used during resource creation and is not returned in the state. It is not possible to update this value. If you need to update it, delete the connection and create a new one.
|
|
604
|
+
|
|
605
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#psk GatewayConnectionTunnel#psk}
|
|
606
|
+
'''
|
|
607
|
+
result = self._values.get("psk")
|
|
608
|
+
assert result is not None, "Required property 'psk' is missing"
|
|
609
|
+
return typing.cast(builtins.str, result)
|
|
610
|
+
|
|
611
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
612
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
613
|
+
|
|
614
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
615
|
+
return not (rhs == self)
|
|
616
|
+
|
|
617
|
+
def __repr__(self) -> str:
|
|
618
|
+
return "GatewayConnectionTunnelIpsecAuthPsk(%s)" % ", ".join(
|
|
619
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
620
|
+
)
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
class GatewayConnectionTunnelIpsecAuthPskOutputReference(
|
|
624
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
625
|
+
metaclass=jsii.JSIIMeta,
|
|
626
|
+
jsii_type="@cdktf/provider-upcloud.gatewayConnectionTunnel.GatewayConnectionTunnelIpsecAuthPskOutputReference",
|
|
627
|
+
):
|
|
628
|
+
def __init__(
|
|
629
|
+
self,
|
|
630
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
631
|
+
terraform_attribute: builtins.str,
|
|
632
|
+
) -> None:
|
|
633
|
+
'''
|
|
634
|
+
:param terraform_resource: The parent resource.
|
|
635
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
636
|
+
'''
|
|
637
|
+
if __debug__:
|
|
638
|
+
type_hints = typing.get_type_hints(_typecheckingstub__685fc99f2c3e31478dfaba417d0029c9f025f9f6781f1b846b229190d1465d10)
|
|
639
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
640
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
641
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute])
|
|
642
|
+
|
|
643
|
+
@builtins.property
|
|
644
|
+
@jsii.member(jsii_name="pskInput")
|
|
645
|
+
def psk_input(self) -> typing.Optional[builtins.str]:
|
|
646
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "pskInput"))
|
|
647
|
+
|
|
648
|
+
@builtins.property
|
|
649
|
+
@jsii.member(jsii_name="psk")
|
|
650
|
+
def psk(self) -> builtins.str:
|
|
651
|
+
return typing.cast(builtins.str, jsii.get(self, "psk"))
|
|
652
|
+
|
|
653
|
+
@psk.setter
|
|
654
|
+
def psk(self, value: builtins.str) -> None:
|
|
655
|
+
if __debug__:
|
|
656
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4c54073d7ff76d5ff3a7bb48388097398cf24b757cf5ceecdd25321fb42e85b3)
|
|
657
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
658
|
+
jsii.set(self, "psk", value) # pyright: ignore[reportArgumentType]
|
|
659
|
+
|
|
660
|
+
@builtins.property
|
|
661
|
+
@jsii.member(jsii_name="internalValue")
|
|
662
|
+
def internal_value(self) -> typing.Optional[GatewayConnectionTunnelIpsecAuthPsk]:
|
|
663
|
+
return typing.cast(typing.Optional[GatewayConnectionTunnelIpsecAuthPsk], jsii.get(self, "internalValue"))
|
|
664
|
+
|
|
665
|
+
@internal_value.setter
|
|
666
|
+
def internal_value(
|
|
667
|
+
self,
|
|
668
|
+
value: typing.Optional[GatewayConnectionTunnelIpsecAuthPsk],
|
|
669
|
+
) -> None:
|
|
670
|
+
if __debug__:
|
|
671
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9e2d2460505ab3151036fc5067cfb416cf9ea5829b3ff70c70b0eba1e32b0f6f)
|
|
672
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
673
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
@jsii.data_type(
|
|
677
|
+
jsii_type="@cdktf/provider-upcloud.gatewayConnectionTunnel.GatewayConnectionTunnelIpsecProperties",
|
|
678
|
+
jsii_struct_bases=[],
|
|
679
|
+
name_mapping={
|
|
680
|
+
"child_rekey_time": "childRekeyTime",
|
|
681
|
+
"dpd_delay": "dpdDelay",
|
|
682
|
+
"dpd_timeout": "dpdTimeout",
|
|
683
|
+
"ike_lifetime": "ikeLifetime",
|
|
684
|
+
"phase1_algorithms": "phase1Algorithms",
|
|
685
|
+
"phase1_dh_group_numbers": "phase1DhGroupNumbers",
|
|
686
|
+
"phase1_integrity_algorithms": "phase1IntegrityAlgorithms",
|
|
687
|
+
"phase2_algorithms": "phase2Algorithms",
|
|
688
|
+
"phase2_dh_group_numbers": "phase2DhGroupNumbers",
|
|
689
|
+
"phase2_integrity_algorithms": "phase2IntegrityAlgorithms",
|
|
690
|
+
"rekey_time": "rekeyTime",
|
|
691
|
+
},
|
|
692
|
+
)
|
|
693
|
+
class GatewayConnectionTunnelIpsecProperties:
|
|
694
|
+
def __init__(
|
|
695
|
+
self,
|
|
696
|
+
*,
|
|
697
|
+
child_rekey_time: typing.Optional[jsii.Number] = None,
|
|
698
|
+
dpd_delay: typing.Optional[jsii.Number] = None,
|
|
699
|
+
dpd_timeout: typing.Optional[jsii.Number] = None,
|
|
700
|
+
ike_lifetime: typing.Optional[jsii.Number] = None,
|
|
701
|
+
phase1_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
702
|
+
phase1_dh_group_numbers: typing.Optional[typing.Sequence[jsii.Number]] = None,
|
|
703
|
+
phase1_integrity_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
704
|
+
phase2_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
705
|
+
phase2_dh_group_numbers: typing.Optional[typing.Sequence[jsii.Number]] = None,
|
|
706
|
+
phase2_integrity_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
707
|
+
rekey_time: typing.Optional[jsii.Number] = None,
|
|
708
|
+
) -> None:
|
|
709
|
+
'''
|
|
710
|
+
:param child_rekey_time: IKE child SA rekey time in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#child_rekey_time GatewayConnectionTunnel#child_rekey_time}
|
|
711
|
+
:param dpd_delay: Delay before sending Dead Peer Detection packets if no traffic is detected, in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#dpd_delay GatewayConnectionTunnel#dpd_delay}
|
|
712
|
+
:param dpd_timeout: Timeout period for DPD reply before considering the peer to be dead, in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#dpd_timeout GatewayConnectionTunnel#dpd_timeout}
|
|
713
|
+
:param ike_lifetime: Maximum IKE SA lifetime in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#ike_lifetime GatewayConnectionTunnel#ike_lifetime}
|
|
714
|
+
:param phase1_algorithms: List of Phase 1: Proposal algorithms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase1_algorithms GatewayConnectionTunnel#phase1_algorithms}
|
|
715
|
+
:param phase1_dh_group_numbers: List of Phase 1 Diffie-Hellman group numbers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase1_dh_group_numbers GatewayConnectionTunnel#phase1_dh_group_numbers}
|
|
716
|
+
:param phase1_integrity_algorithms: List of Phase 1 integrity algorithms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase1_integrity_algorithms GatewayConnectionTunnel#phase1_integrity_algorithms}
|
|
717
|
+
:param phase2_algorithms: List of Phase 2: Security Association algorithms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase2_algorithms GatewayConnectionTunnel#phase2_algorithms}
|
|
718
|
+
:param phase2_dh_group_numbers: List of Phase 2 Diffie-Hellman group numbers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase2_dh_group_numbers GatewayConnectionTunnel#phase2_dh_group_numbers}
|
|
719
|
+
:param phase2_integrity_algorithms: List of Phase 2 integrity algorithms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase2_integrity_algorithms GatewayConnectionTunnel#phase2_integrity_algorithms}
|
|
720
|
+
:param rekey_time: IKE SA rekey time in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#rekey_time GatewayConnectionTunnel#rekey_time}
|
|
721
|
+
'''
|
|
722
|
+
if __debug__:
|
|
723
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a50b18894047098027d5d6be1b8a41d8e32b22c4297ebea79c281f4c838921f4)
|
|
724
|
+
check_type(argname="argument child_rekey_time", value=child_rekey_time, expected_type=type_hints["child_rekey_time"])
|
|
725
|
+
check_type(argname="argument dpd_delay", value=dpd_delay, expected_type=type_hints["dpd_delay"])
|
|
726
|
+
check_type(argname="argument dpd_timeout", value=dpd_timeout, expected_type=type_hints["dpd_timeout"])
|
|
727
|
+
check_type(argname="argument ike_lifetime", value=ike_lifetime, expected_type=type_hints["ike_lifetime"])
|
|
728
|
+
check_type(argname="argument phase1_algorithms", value=phase1_algorithms, expected_type=type_hints["phase1_algorithms"])
|
|
729
|
+
check_type(argname="argument phase1_dh_group_numbers", value=phase1_dh_group_numbers, expected_type=type_hints["phase1_dh_group_numbers"])
|
|
730
|
+
check_type(argname="argument phase1_integrity_algorithms", value=phase1_integrity_algorithms, expected_type=type_hints["phase1_integrity_algorithms"])
|
|
731
|
+
check_type(argname="argument phase2_algorithms", value=phase2_algorithms, expected_type=type_hints["phase2_algorithms"])
|
|
732
|
+
check_type(argname="argument phase2_dh_group_numbers", value=phase2_dh_group_numbers, expected_type=type_hints["phase2_dh_group_numbers"])
|
|
733
|
+
check_type(argname="argument phase2_integrity_algorithms", value=phase2_integrity_algorithms, expected_type=type_hints["phase2_integrity_algorithms"])
|
|
734
|
+
check_type(argname="argument rekey_time", value=rekey_time, expected_type=type_hints["rekey_time"])
|
|
735
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
736
|
+
if child_rekey_time is not None:
|
|
737
|
+
self._values["child_rekey_time"] = child_rekey_time
|
|
738
|
+
if dpd_delay is not None:
|
|
739
|
+
self._values["dpd_delay"] = dpd_delay
|
|
740
|
+
if dpd_timeout is not None:
|
|
741
|
+
self._values["dpd_timeout"] = dpd_timeout
|
|
742
|
+
if ike_lifetime is not None:
|
|
743
|
+
self._values["ike_lifetime"] = ike_lifetime
|
|
744
|
+
if phase1_algorithms is not None:
|
|
745
|
+
self._values["phase1_algorithms"] = phase1_algorithms
|
|
746
|
+
if phase1_dh_group_numbers is not None:
|
|
747
|
+
self._values["phase1_dh_group_numbers"] = phase1_dh_group_numbers
|
|
748
|
+
if phase1_integrity_algorithms is not None:
|
|
749
|
+
self._values["phase1_integrity_algorithms"] = phase1_integrity_algorithms
|
|
750
|
+
if phase2_algorithms is not None:
|
|
751
|
+
self._values["phase2_algorithms"] = phase2_algorithms
|
|
752
|
+
if phase2_dh_group_numbers is not None:
|
|
753
|
+
self._values["phase2_dh_group_numbers"] = phase2_dh_group_numbers
|
|
754
|
+
if phase2_integrity_algorithms is not None:
|
|
755
|
+
self._values["phase2_integrity_algorithms"] = phase2_integrity_algorithms
|
|
756
|
+
if rekey_time is not None:
|
|
757
|
+
self._values["rekey_time"] = rekey_time
|
|
758
|
+
|
|
759
|
+
@builtins.property
|
|
760
|
+
def child_rekey_time(self) -> typing.Optional[jsii.Number]:
|
|
761
|
+
'''IKE child SA rekey time in seconds.
|
|
762
|
+
|
|
763
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#child_rekey_time GatewayConnectionTunnel#child_rekey_time}
|
|
764
|
+
'''
|
|
765
|
+
result = self._values.get("child_rekey_time")
|
|
766
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
767
|
+
|
|
768
|
+
@builtins.property
|
|
769
|
+
def dpd_delay(self) -> typing.Optional[jsii.Number]:
|
|
770
|
+
'''Delay before sending Dead Peer Detection packets if no traffic is detected, in seconds.
|
|
771
|
+
|
|
772
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#dpd_delay GatewayConnectionTunnel#dpd_delay}
|
|
773
|
+
'''
|
|
774
|
+
result = self._values.get("dpd_delay")
|
|
775
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
776
|
+
|
|
777
|
+
@builtins.property
|
|
778
|
+
def dpd_timeout(self) -> typing.Optional[jsii.Number]:
|
|
779
|
+
'''Timeout period for DPD reply before considering the peer to be dead, in seconds.
|
|
780
|
+
|
|
781
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#dpd_timeout GatewayConnectionTunnel#dpd_timeout}
|
|
782
|
+
'''
|
|
783
|
+
result = self._values.get("dpd_timeout")
|
|
784
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
785
|
+
|
|
786
|
+
@builtins.property
|
|
787
|
+
def ike_lifetime(self) -> typing.Optional[jsii.Number]:
|
|
788
|
+
'''Maximum IKE SA lifetime in seconds.
|
|
789
|
+
|
|
790
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#ike_lifetime GatewayConnectionTunnel#ike_lifetime}
|
|
791
|
+
'''
|
|
792
|
+
result = self._values.get("ike_lifetime")
|
|
793
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
794
|
+
|
|
795
|
+
@builtins.property
|
|
796
|
+
def phase1_algorithms(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
797
|
+
'''List of Phase 1: Proposal algorithms.
|
|
798
|
+
|
|
799
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase1_algorithms GatewayConnectionTunnel#phase1_algorithms}
|
|
800
|
+
'''
|
|
801
|
+
result = self._values.get("phase1_algorithms")
|
|
802
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
803
|
+
|
|
804
|
+
@builtins.property
|
|
805
|
+
def phase1_dh_group_numbers(self) -> typing.Optional[typing.List[jsii.Number]]:
|
|
806
|
+
'''List of Phase 1 Diffie-Hellman group numbers.
|
|
807
|
+
|
|
808
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase1_dh_group_numbers GatewayConnectionTunnel#phase1_dh_group_numbers}
|
|
809
|
+
'''
|
|
810
|
+
result = self._values.get("phase1_dh_group_numbers")
|
|
811
|
+
return typing.cast(typing.Optional[typing.List[jsii.Number]], result)
|
|
812
|
+
|
|
813
|
+
@builtins.property
|
|
814
|
+
def phase1_integrity_algorithms(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
815
|
+
'''List of Phase 1 integrity algorithms.
|
|
816
|
+
|
|
817
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase1_integrity_algorithms GatewayConnectionTunnel#phase1_integrity_algorithms}
|
|
818
|
+
'''
|
|
819
|
+
result = self._values.get("phase1_integrity_algorithms")
|
|
820
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
821
|
+
|
|
822
|
+
@builtins.property
|
|
823
|
+
def phase2_algorithms(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
824
|
+
'''List of Phase 2: Security Association algorithms.
|
|
825
|
+
|
|
826
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase2_algorithms GatewayConnectionTunnel#phase2_algorithms}
|
|
827
|
+
'''
|
|
828
|
+
result = self._values.get("phase2_algorithms")
|
|
829
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
830
|
+
|
|
831
|
+
@builtins.property
|
|
832
|
+
def phase2_dh_group_numbers(self) -> typing.Optional[typing.List[jsii.Number]]:
|
|
833
|
+
'''List of Phase 2 Diffie-Hellman group numbers.
|
|
834
|
+
|
|
835
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase2_dh_group_numbers GatewayConnectionTunnel#phase2_dh_group_numbers}
|
|
836
|
+
'''
|
|
837
|
+
result = self._values.get("phase2_dh_group_numbers")
|
|
838
|
+
return typing.cast(typing.Optional[typing.List[jsii.Number]], result)
|
|
839
|
+
|
|
840
|
+
@builtins.property
|
|
841
|
+
def phase2_integrity_algorithms(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
842
|
+
'''List of Phase 2 integrity algorithms.
|
|
843
|
+
|
|
844
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#phase2_integrity_algorithms GatewayConnectionTunnel#phase2_integrity_algorithms}
|
|
845
|
+
'''
|
|
846
|
+
result = self._values.get("phase2_integrity_algorithms")
|
|
847
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
848
|
+
|
|
849
|
+
@builtins.property
|
|
850
|
+
def rekey_time(self) -> typing.Optional[jsii.Number]:
|
|
851
|
+
'''IKE SA rekey time in seconds.
|
|
852
|
+
|
|
853
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/gateway_connection_tunnel#rekey_time GatewayConnectionTunnel#rekey_time}
|
|
854
|
+
'''
|
|
855
|
+
result = self._values.get("rekey_time")
|
|
856
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
857
|
+
|
|
858
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
859
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
860
|
+
|
|
861
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
862
|
+
return not (rhs == self)
|
|
863
|
+
|
|
864
|
+
def __repr__(self) -> str:
|
|
865
|
+
return "GatewayConnectionTunnelIpsecProperties(%s)" % ", ".join(
|
|
866
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
867
|
+
)
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
class GatewayConnectionTunnelIpsecPropertiesOutputReference(
|
|
871
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
872
|
+
metaclass=jsii.JSIIMeta,
|
|
873
|
+
jsii_type="@cdktf/provider-upcloud.gatewayConnectionTunnel.GatewayConnectionTunnelIpsecPropertiesOutputReference",
|
|
874
|
+
):
|
|
875
|
+
def __init__(
|
|
876
|
+
self,
|
|
877
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
878
|
+
terraform_attribute: builtins.str,
|
|
879
|
+
) -> None:
|
|
880
|
+
'''
|
|
881
|
+
:param terraform_resource: The parent resource.
|
|
882
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
883
|
+
'''
|
|
884
|
+
if __debug__:
|
|
885
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f3ce480a94c93bf5e7f9b3393fc3227f8192dbb60f5168d77e6bd72d78790a0d)
|
|
886
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
887
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
888
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute])
|
|
889
|
+
|
|
890
|
+
@jsii.member(jsii_name="resetChildRekeyTime")
|
|
891
|
+
def reset_child_rekey_time(self) -> None:
|
|
892
|
+
return typing.cast(None, jsii.invoke(self, "resetChildRekeyTime", []))
|
|
893
|
+
|
|
894
|
+
@jsii.member(jsii_name="resetDpdDelay")
|
|
895
|
+
def reset_dpd_delay(self) -> None:
|
|
896
|
+
return typing.cast(None, jsii.invoke(self, "resetDpdDelay", []))
|
|
897
|
+
|
|
898
|
+
@jsii.member(jsii_name="resetDpdTimeout")
|
|
899
|
+
def reset_dpd_timeout(self) -> None:
|
|
900
|
+
return typing.cast(None, jsii.invoke(self, "resetDpdTimeout", []))
|
|
901
|
+
|
|
902
|
+
@jsii.member(jsii_name="resetIkeLifetime")
|
|
903
|
+
def reset_ike_lifetime(self) -> None:
|
|
904
|
+
return typing.cast(None, jsii.invoke(self, "resetIkeLifetime", []))
|
|
905
|
+
|
|
906
|
+
@jsii.member(jsii_name="resetPhase1Algorithms")
|
|
907
|
+
def reset_phase1_algorithms(self) -> None:
|
|
908
|
+
return typing.cast(None, jsii.invoke(self, "resetPhase1Algorithms", []))
|
|
909
|
+
|
|
910
|
+
@jsii.member(jsii_name="resetPhase1DhGroupNumbers")
|
|
911
|
+
def reset_phase1_dh_group_numbers(self) -> None:
|
|
912
|
+
return typing.cast(None, jsii.invoke(self, "resetPhase1DhGroupNumbers", []))
|
|
913
|
+
|
|
914
|
+
@jsii.member(jsii_name="resetPhase1IntegrityAlgorithms")
|
|
915
|
+
def reset_phase1_integrity_algorithms(self) -> None:
|
|
916
|
+
return typing.cast(None, jsii.invoke(self, "resetPhase1IntegrityAlgorithms", []))
|
|
917
|
+
|
|
918
|
+
@jsii.member(jsii_name="resetPhase2Algorithms")
|
|
919
|
+
def reset_phase2_algorithms(self) -> None:
|
|
920
|
+
return typing.cast(None, jsii.invoke(self, "resetPhase2Algorithms", []))
|
|
921
|
+
|
|
922
|
+
@jsii.member(jsii_name="resetPhase2DhGroupNumbers")
|
|
923
|
+
def reset_phase2_dh_group_numbers(self) -> None:
|
|
924
|
+
return typing.cast(None, jsii.invoke(self, "resetPhase2DhGroupNumbers", []))
|
|
925
|
+
|
|
926
|
+
@jsii.member(jsii_name="resetPhase2IntegrityAlgorithms")
|
|
927
|
+
def reset_phase2_integrity_algorithms(self) -> None:
|
|
928
|
+
return typing.cast(None, jsii.invoke(self, "resetPhase2IntegrityAlgorithms", []))
|
|
929
|
+
|
|
930
|
+
@jsii.member(jsii_name="resetRekeyTime")
|
|
931
|
+
def reset_rekey_time(self) -> None:
|
|
932
|
+
return typing.cast(None, jsii.invoke(self, "resetRekeyTime", []))
|
|
933
|
+
|
|
934
|
+
@builtins.property
|
|
935
|
+
@jsii.member(jsii_name="childRekeyTimeInput")
|
|
936
|
+
def child_rekey_time_input(self) -> typing.Optional[jsii.Number]:
|
|
937
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "childRekeyTimeInput"))
|
|
938
|
+
|
|
939
|
+
@builtins.property
|
|
940
|
+
@jsii.member(jsii_name="dpdDelayInput")
|
|
941
|
+
def dpd_delay_input(self) -> typing.Optional[jsii.Number]:
|
|
942
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "dpdDelayInput"))
|
|
943
|
+
|
|
944
|
+
@builtins.property
|
|
945
|
+
@jsii.member(jsii_name="dpdTimeoutInput")
|
|
946
|
+
def dpd_timeout_input(self) -> typing.Optional[jsii.Number]:
|
|
947
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "dpdTimeoutInput"))
|
|
948
|
+
|
|
949
|
+
@builtins.property
|
|
950
|
+
@jsii.member(jsii_name="ikeLifetimeInput")
|
|
951
|
+
def ike_lifetime_input(self) -> typing.Optional[jsii.Number]:
|
|
952
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "ikeLifetimeInput"))
|
|
953
|
+
|
|
954
|
+
@builtins.property
|
|
955
|
+
@jsii.member(jsii_name="phase1AlgorithmsInput")
|
|
956
|
+
def phase1_algorithms_input(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
957
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "phase1AlgorithmsInput"))
|
|
958
|
+
|
|
959
|
+
@builtins.property
|
|
960
|
+
@jsii.member(jsii_name="phase1DhGroupNumbersInput")
|
|
961
|
+
def phase1_dh_group_numbers_input(
|
|
962
|
+
self,
|
|
963
|
+
) -> typing.Optional[typing.List[jsii.Number]]:
|
|
964
|
+
return typing.cast(typing.Optional[typing.List[jsii.Number]], jsii.get(self, "phase1DhGroupNumbersInput"))
|
|
965
|
+
|
|
966
|
+
@builtins.property
|
|
967
|
+
@jsii.member(jsii_name="phase1IntegrityAlgorithmsInput")
|
|
968
|
+
def phase1_integrity_algorithms_input(
|
|
969
|
+
self,
|
|
970
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
971
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "phase1IntegrityAlgorithmsInput"))
|
|
972
|
+
|
|
973
|
+
@builtins.property
|
|
974
|
+
@jsii.member(jsii_name="phase2AlgorithmsInput")
|
|
975
|
+
def phase2_algorithms_input(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
976
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "phase2AlgorithmsInput"))
|
|
977
|
+
|
|
978
|
+
@builtins.property
|
|
979
|
+
@jsii.member(jsii_name="phase2DhGroupNumbersInput")
|
|
980
|
+
def phase2_dh_group_numbers_input(
|
|
981
|
+
self,
|
|
982
|
+
) -> typing.Optional[typing.List[jsii.Number]]:
|
|
983
|
+
return typing.cast(typing.Optional[typing.List[jsii.Number]], jsii.get(self, "phase2DhGroupNumbersInput"))
|
|
984
|
+
|
|
985
|
+
@builtins.property
|
|
986
|
+
@jsii.member(jsii_name="phase2IntegrityAlgorithmsInput")
|
|
987
|
+
def phase2_integrity_algorithms_input(
|
|
988
|
+
self,
|
|
989
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
990
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "phase2IntegrityAlgorithmsInput"))
|
|
991
|
+
|
|
992
|
+
@builtins.property
|
|
993
|
+
@jsii.member(jsii_name="rekeyTimeInput")
|
|
994
|
+
def rekey_time_input(self) -> typing.Optional[jsii.Number]:
|
|
995
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "rekeyTimeInput"))
|
|
996
|
+
|
|
997
|
+
@builtins.property
|
|
998
|
+
@jsii.member(jsii_name="childRekeyTime")
|
|
999
|
+
def child_rekey_time(self) -> jsii.Number:
|
|
1000
|
+
return typing.cast(jsii.Number, jsii.get(self, "childRekeyTime"))
|
|
1001
|
+
|
|
1002
|
+
@child_rekey_time.setter
|
|
1003
|
+
def child_rekey_time(self, value: jsii.Number) -> None:
|
|
1004
|
+
if __debug__:
|
|
1005
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e694f6486c74cbeab4edc4f6423d56ac98188fab9411d41541eeb8ab5f2b2c2b)
|
|
1006
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1007
|
+
jsii.set(self, "childRekeyTime", value) # pyright: ignore[reportArgumentType]
|
|
1008
|
+
|
|
1009
|
+
@builtins.property
|
|
1010
|
+
@jsii.member(jsii_name="dpdDelay")
|
|
1011
|
+
def dpd_delay(self) -> jsii.Number:
|
|
1012
|
+
return typing.cast(jsii.Number, jsii.get(self, "dpdDelay"))
|
|
1013
|
+
|
|
1014
|
+
@dpd_delay.setter
|
|
1015
|
+
def dpd_delay(self, value: jsii.Number) -> None:
|
|
1016
|
+
if __debug__:
|
|
1017
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e9809278546031a43fb807e38f15896eacfe09e2c1583ee1d39a97cf723d5620)
|
|
1018
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1019
|
+
jsii.set(self, "dpdDelay", value) # pyright: ignore[reportArgumentType]
|
|
1020
|
+
|
|
1021
|
+
@builtins.property
|
|
1022
|
+
@jsii.member(jsii_name="dpdTimeout")
|
|
1023
|
+
def dpd_timeout(self) -> jsii.Number:
|
|
1024
|
+
return typing.cast(jsii.Number, jsii.get(self, "dpdTimeout"))
|
|
1025
|
+
|
|
1026
|
+
@dpd_timeout.setter
|
|
1027
|
+
def dpd_timeout(self, value: jsii.Number) -> None:
|
|
1028
|
+
if __debug__:
|
|
1029
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1837f3667d2a8fe66b2d42eb54e6d6d67dec37cb6fcebaa2a823a00ee6774075)
|
|
1030
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1031
|
+
jsii.set(self, "dpdTimeout", value) # pyright: ignore[reportArgumentType]
|
|
1032
|
+
|
|
1033
|
+
@builtins.property
|
|
1034
|
+
@jsii.member(jsii_name="ikeLifetime")
|
|
1035
|
+
def ike_lifetime(self) -> jsii.Number:
|
|
1036
|
+
return typing.cast(jsii.Number, jsii.get(self, "ikeLifetime"))
|
|
1037
|
+
|
|
1038
|
+
@ike_lifetime.setter
|
|
1039
|
+
def ike_lifetime(self, value: jsii.Number) -> None:
|
|
1040
|
+
if __debug__:
|
|
1041
|
+
type_hints = typing.get_type_hints(_typecheckingstub__41e21702f384dacba68c3d7d2d95c69d6c893645f0354660bed5c9def6625bf0)
|
|
1042
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1043
|
+
jsii.set(self, "ikeLifetime", value) # pyright: ignore[reportArgumentType]
|
|
1044
|
+
|
|
1045
|
+
@builtins.property
|
|
1046
|
+
@jsii.member(jsii_name="phase1Algorithms")
|
|
1047
|
+
def phase1_algorithms(self) -> typing.List[builtins.str]:
|
|
1048
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "phase1Algorithms"))
|
|
1049
|
+
|
|
1050
|
+
@phase1_algorithms.setter
|
|
1051
|
+
def phase1_algorithms(self, value: typing.List[builtins.str]) -> None:
|
|
1052
|
+
if __debug__:
|
|
1053
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a43467d84bfc37a6a4e595c41f4d6c9c30894c3ac6e1a4e674997a0ee8df2afb)
|
|
1054
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1055
|
+
jsii.set(self, "phase1Algorithms", value) # pyright: ignore[reportArgumentType]
|
|
1056
|
+
|
|
1057
|
+
@builtins.property
|
|
1058
|
+
@jsii.member(jsii_name="phase1DhGroupNumbers")
|
|
1059
|
+
def phase1_dh_group_numbers(self) -> typing.List[jsii.Number]:
|
|
1060
|
+
return typing.cast(typing.List[jsii.Number], jsii.get(self, "phase1DhGroupNumbers"))
|
|
1061
|
+
|
|
1062
|
+
@phase1_dh_group_numbers.setter
|
|
1063
|
+
def phase1_dh_group_numbers(self, value: typing.List[jsii.Number]) -> None:
|
|
1064
|
+
if __debug__:
|
|
1065
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ca6d6dd74a2a391d08ad0799a154941150db5c432038fe91aca9cc24e167e656)
|
|
1066
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1067
|
+
jsii.set(self, "phase1DhGroupNumbers", value) # pyright: ignore[reportArgumentType]
|
|
1068
|
+
|
|
1069
|
+
@builtins.property
|
|
1070
|
+
@jsii.member(jsii_name="phase1IntegrityAlgorithms")
|
|
1071
|
+
def phase1_integrity_algorithms(self) -> typing.List[builtins.str]:
|
|
1072
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "phase1IntegrityAlgorithms"))
|
|
1073
|
+
|
|
1074
|
+
@phase1_integrity_algorithms.setter
|
|
1075
|
+
def phase1_integrity_algorithms(self, value: typing.List[builtins.str]) -> None:
|
|
1076
|
+
if __debug__:
|
|
1077
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6bb396276f6888905c069f5204b8854f84ae09ae7175f40b5f63b2d43d87eb0a)
|
|
1078
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1079
|
+
jsii.set(self, "phase1IntegrityAlgorithms", value) # pyright: ignore[reportArgumentType]
|
|
1080
|
+
|
|
1081
|
+
@builtins.property
|
|
1082
|
+
@jsii.member(jsii_name="phase2Algorithms")
|
|
1083
|
+
def phase2_algorithms(self) -> typing.List[builtins.str]:
|
|
1084
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "phase2Algorithms"))
|
|
1085
|
+
|
|
1086
|
+
@phase2_algorithms.setter
|
|
1087
|
+
def phase2_algorithms(self, value: typing.List[builtins.str]) -> None:
|
|
1088
|
+
if __debug__:
|
|
1089
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0a120198d98550b7ccf0a29f6db6aa1a65f8591468a18b4fafa9a375ce7b4010)
|
|
1090
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1091
|
+
jsii.set(self, "phase2Algorithms", value) # pyright: ignore[reportArgumentType]
|
|
1092
|
+
|
|
1093
|
+
@builtins.property
|
|
1094
|
+
@jsii.member(jsii_name="phase2DhGroupNumbers")
|
|
1095
|
+
def phase2_dh_group_numbers(self) -> typing.List[jsii.Number]:
|
|
1096
|
+
return typing.cast(typing.List[jsii.Number], jsii.get(self, "phase2DhGroupNumbers"))
|
|
1097
|
+
|
|
1098
|
+
@phase2_dh_group_numbers.setter
|
|
1099
|
+
def phase2_dh_group_numbers(self, value: typing.List[jsii.Number]) -> None:
|
|
1100
|
+
if __debug__:
|
|
1101
|
+
type_hints = typing.get_type_hints(_typecheckingstub__30138e6759809e39e8182db3c4fcd90a02cbdaa2ace0041f7e602af46b521794)
|
|
1102
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1103
|
+
jsii.set(self, "phase2DhGroupNumbers", value) # pyright: ignore[reportArgumentType]
|
|
1104
|
+
|
|
1105
|
+
@builtins.property
|
|
1106
|
+
@jsii.member(jsii_name="phase2IntegrityAlgorithms")
|
|
1107
|
+
def phase2_integrity_algorithms(self) -> typing.List[builtins.str]:
|
|
1108
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "phase2IntegrityAlgorithms"))
|
|
1109
|
+
|
|
1110
|
+
@phase2_integrity_algorithms.setter
|
|
1111
|
+
def phase2_integrity_algorithms(self, value: typing.List[builtins.str]) -> None:
|
|
1112
|
+
if __debug__:
|
|
1113
|
+
type_hints = typing.get_type_hints(_typecheckingstub__05dc13f6a5572e354b037783a155ecf1b682d7d79671c4046d8ec5277c86120f)
|
|
1114
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1115
|
+
jsii.set(self, "phase2IntegrityAlgorithms", value) # pyright: ignore[reportArgumentType]
|
|
1116
|
+
|
|
1117
|
+
@builtins.property
|
|
1118
|
+
@jsii.member(jsii_name="rekeyTime")
|
|
1119
|
+
def rekey_time(self) -> jsii.Number:
|
|
1120
|
+
return typing.cast(jsii.Number, jsii.get(self, "rekeyTime"))
|
|
1121
|
+
|
|
1122
|
+
@rekey_time.setter
|
|
1123
|
+
def rekey_time(self, value: jsii.Number) -> None:
|
|
1124
|
+
if __debug__:
|
|
1125
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6e31a7bfb67f1a32f8676774d45f8c8b631c74fee0b7d0931cdeb61318f84332)
|
|
1126
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1127
|
+
jsii.set(self, "rekeyTime", value) # pyright: ignore[reportArgumentType]
|
|
1128
|
+
|
|
1129
|
+
@builtins.property
|
|
1130
|
+
@jsii.member(jsii_name="internalValue")
|
|
1131
|
+
def internal_value(self) -> typing.Optional[GatewayConnectionTunnelIpsecProperties]:
|
|
1132
|
+
return typing.cast(typing.Optional[GatewayConnectionTunnelIpsecProperties], jsii.get(self, "internalValue"))
|
|
1133
|
+
|
|
1134
|
+
@internal_value.setter
|
|
1135
|
+
def internal_value(
|
|
1136
|
+
self,
|
|
1137
|
+
value: typing.Optional[GatewayConnectionTunnelIpsecProperties],
|
|
1138
|
+
) -> None:
|
|
1139
|
+
if __debug__:
|
|
1140
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f9e1d36a513f06f91166fd6a6e6052ccb8fefc74d4ca1aa3c237c66c2e7f09a2)
|
|
1141
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1142
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
__all__ = [
|
|
1146
|
+
"GatewayConnectionTunnel",
|
|
1147
|
+
"GatewayConnectionTunnelConfig",
|
|
1148
|
+
"GatewayConnectionTunnelIpsecAuthPsk",
|
|
1149
|
+
"GatewayConnectionTunnelIpsecAuthPskOutputReference",
|
|
1150
|
+
"GatewayConnectionTunnelIpsecProperties",
|
|
1151
|
+
"GatewayConnectionTunnelIpsecPropertiesOutputReference",
|
|
1152
|
+
]
|
|
1153
|
+
|
|
1154
|
+
publication.publish()
|
|
1155
|
+
|
|
1156
|
+
def _typecheckingstub__bcba9d47af2d640b381a57614585e17d61c78e34893161a6bcb3a0e59e4893d0(
|
|
1157
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1158
|
+
id_: builtins.str,
|
|
1159
|
+
*,
|
|
1160
|
+
connection_id: builtins.str,
|
|
1161
|
+
ipsec_auth_psk: typing.Union[GatewayConnectionTunnelIpsecAuthPsk, typing.Dict[builtins.str, typing.Any]],
|
|
1162
|
+
local_address_name: builtins.str,
|
|
1163
|
+
name: builtins.str,
|
|
1164
|
+
remote_address: builtins.str,
|
|
1165
|
+
id: typing.Optional[builtins.str] = None,
|
|
1166
|
+
ipsec_properties: typing.Optional[typing.Union[GatewayConnectionTunnelIpsecProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1167
|
+
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,
|
|
1168
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
1169
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
1170
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
1171
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1172
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
1173
|
+
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,
|
|
1174
|
+
) -> None:
|
|
1175
|
+
"""Type checking stubs"""
|
|
1176
|
+
pass
|
|
1177
|
+
|
|
1178
|
+
def _typecheckingstub__95236e9d369f33914f666fa8076ddef4b5b620b25f4b18ec52b8822131b193aa(
|
|
1179
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1180
|
+
import_to_id: builtins.str,
|
|
1181
|
+
import_from_id: builtins.str,
|
|
1182
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
1183
|
+
) -> None:
|
|
1184
|
+
"""Type checking stubs"""
|
|
1185
|
+
pass
|
|
1186
|
+
|
|
1187
|
+
def _typecheckingstub__126516e9f2491501373dc78a2ced217cc6983515585858bddaa97a43be47c46e(
|
|
1188
|
+
value: builtins.str,
|
|
1189
|
+
) -> None:
|
|
1190
|
+
"""Type checking stubs"""
|
|
1191
|
+
pass
|
|
1192
|
+
|
|
1193
|
+
def _typecheckingstub__f700caa4649526605c5789b4b1af9dbc420a82c8c23deedc54920d5e9b5549cd(
|
|
1194
|
+
value: builtins.str,
|
|
1195
|
+
) -> None:
|
|
1196
|
+
"""Type checking stubs"""
|
|
1197
|
+
pass
|
|
1198
|
+
|
|
1199
|
+
def _typecheckingstub__0a349ea0021d2c6d6de75a59ca14d51e1948a94c4ed9d0daa4dfed83a20b53d5(
|
|
1200
|
+
value: builtins.str,
|
|
1201
|
+
) -> None:
|
|
1202
|
+
"""Type checking stubs"""
|
|
1203
|
+
pass
|
|
1204
|
+
|
|
1205
|
+
def _typecheckingstub__22991b014c3d2e71d2ea4eecdc4d72c95098523fea98fea667712a8f2f3f7dcb(
|
|
1206
|
+
value: builtins.str,
|
|
1207
|
+
) -> None:
|
|
1208
|
+
"""Type checking stubs"""
|
|
1209
|
+
pass
|
|
1210
|
+
|
|
1211
|
+
def _typecheckingstub__20fc183698bb25fe3dd18b8951c12e22d0f3fcff5c932fb833788131f196f2b6(
|
|
1212
|
+
value: builtins.str,
|
|
1213
|
+
) -> None:
|
|
1214
|
+
"""Type checking stubs"""
|
|
1215
|
+
pass
|
|
1216
|
+
|
|
1217
|
+
def _typecheckingstub__f6d11a79d0e62a94d31dbeeb1b1d2a1d94139d8c65e2ddf5917626ad2d4a6f99(
|
|
1218
|
+
*,
|
|
1219
|
+
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,
|
|
1220
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
1221
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
1222
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
1223
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1224
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
1225
|
+
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,
|
|
1226
|
+
connection_id: builtins.str,
|
|
1227
|
+
ipsec_auth_psk: typing.Union[GatewayConnectionTunnelIpsecAuthPsk, typing.Dict[builtins.str, typing.Any]],
|
|
1228
|
+
local_address_name: builtins.str,
|
|
1229
|
+
name: builtins.str,
|
|
1230
|
+
remote_address: builtins.str,
|
|
1231
|
+
id: typing.Optional[builtins.str] = None,
|
|
1232
|
+
ipsec_properties: typing.Optional[typing.Union[GatewayConnectionTunnelIpsecProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1233
|
+
) -> None:
|
|
1234
|
+
"""Type checking stubs"""
|
|
1235
|
+
pass
|
|
1236
|
+
|
|
1237
|
+
def _typecheckingstub__87c835e7d7c5605931c1ca38462874908e77d68cd5b951debc157a3d43ca979a(
|
|
1238
|
+
*,
|
|
1239
|
+
psk: builtins.str,
|
|
1240
|
+
) -> None:
|
|
1241
|
+
"""Type checking stubs"""
|
|
1242
|
+
pass
|
|
1243
|
+
|
|
1244
|
+
def _typecheckingstub__685fc99f2c3e31478dfaba417d0029c9f025f9f6781f1b846b229190d1465d10(
|
|
1245
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1246
|
+
terraform_attribute: builtins.str,
|
|
1247
|
+
) -> None:
|
|
1248
|
+
"""Type checking stubs"""
|
|
1249
|
+
pass
|
|
1250
|
+
|
|
1251
|
+
def _typecheckingstub__4c54073d7ff76d5ff3a7bb48388097398cf24b757cf5ceecdd25321fb42e85b3(
|
|
1252
|
+
value: builtins.str,
|
|
1253
|
+
) -> None:
|
|
1254
|
+
"""Type checking stubs"""
|
|
1255
|
+
pass
|
|
1256
|
+
|
|
1257
|
+
def _typecheckingstub__9e2d2460505ab3151036fc5067cfb416cf9ea5829b3ff70c70b0eba1e32b0f6f(
|
|
1258
|
+
value: typing.Optional[GatewayConnectionTunnelIpsecAuthPsk],
|
|
1259
|
+
) -> None:
|
|
1260
|
+
"""Type checking stubs"""
|
|
1261
|
+
pass
|
|
1262
|
+
|
|
1263
|
+
def _typecheckingstub__a50b18894047098027d5d6be1b8a41d8e32b22c4297ebea79c281f4c838921f4(
|
|
1264
|
+
*,
|
|
1265
|
+
child_rekey_time: typing.Optional[jsii.Number] = None,
|
|
1266
|
+
dpd_delay: typing.Optional[jsii.Number] = None,
|
|
1267
|
+
dpd_timeout: typing.Optional[jsii.Number] = None,
|
|
1268
|
+
ike_lifetime: typing.Optional[jsii.Number] = None,
|
|
1269
|
+
phase1_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1270
|
+
phase1_dh_group_numbers: typing.Optional[typing.Sequence[jsii.Number]] = None,
|
|
1271
|
+
phase1_integrity_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1272
|
+
phase2_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1273
|
+
phase2_dh_group_numbers: typing.Optional[typing.Sequence[jsii.Number]] = None,
|
|
1274
|
+
phase2_integrity_algorithms: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1275
|
+
rekey_time: typing.Optional[jsii.Number] = None,
|
|
1276
|
+
) -> None:
|
|
1277
|
+
"""Type checking stubs"""
|
|
1278
|
+
pass
|
|
1279
|
+
|
|
1280
|
+
def _typecheckingstub__f3ce480a94c93bf5e7f9b3393fc3227f8192dbb60f5168d77e6bd72d78790a0d(
|
|
1281
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1282
|
+
terraform_attribute: builtins.str,
|
|
1283
|
+
) -> None:
|
|
1284
|
+
"""Type checking stubs"""
|
|
1285
|
+
pass
|
|
1286
|
+
|
|
1287
|
+
def _typecheckingstub__e694f6486c74cbeab4edc4f6423d56ac98188fab9411d41541eeb8ab5f2b2c2b(
|
|
1288
|
+
value: jsii.Number,
|
|
1289
|
+
) -> None:
|
|
1290
|
+
"""Type checking stubs"""
|
|
1291
|
+
pass
|
|
1292
|
+
|
|
1293
|
+
def _typecheckingstub__e9809278546031a43fb807e38f15896eacfe09e2c1583ee1d39a97cf723d5620(
|
|
1294
|
+
value: jsii.Number,
|
|
1295
|
+
) -> None:
|
|
1296
|
+
"""Type checking stubs"""
|
|
1297
|
+
pass
|
|
1298
|
+
|
|
1299
|
+
def _typecheckingstub__1837f3667d2a8fe66b2d42eb54e6d6d67dec37cb6fcebaa2a823a00ee6774075(
|
|
1300
|
+
value: jsii.Number,
|
|
1301
|
+
) -> None:
|
|
1302
|
+
"""Type checking stubs"""
|
|
1303
|
+
pass
|
|
1304
|
+
|
|
1305
|
+
def _typecheckingstub__41e21702f384dacba68c3d7d2d95c69d6c893645f0354660bed5c9def6625bf0(
|
|
1306
|
+
value: jsii.Number,
|
|
1307
|
+
) -> None:
|
|
1308
|
+
"""Type checking stubs"""
|
|
1309
|
+
pass
|
|
1310
|
+
|
|
1311
|
+
def _typecheckingstub__a43467d84bfc37a6a4e595c41f4d6c9c30894c3ac6e1a4e674997a0ee8df2afb(
|
|
1312
|
+
value: typing.List[builtins.str],
|
|
1313
|
+
) -> None:
|
|
1314
|
+
"""Type checking stubs"""
|
|
1315
|
+
pass
|
|
1316
|
+
|
|
1317
|
+
def _typecheckingstub__ca6d6dd74a2a391d08ad0799a154941150db5c432038fe91aca9cc24e167e656(
|
|
1318
|
+
value: typing.List[jsii.Number],
|
|
1319
|
+
) -> None:
|
|
1320
|
+
"""Type checking stubs"""
|
|
1321
|
+
pass
|
|
1322
|
+
|
|
1323
|
+
def _typecheckingstub__6bb396276f6888905c069f5204b8854f84ae09ae7175f40b5f63b2d43d87eb0a(
|
|
1324
|
+
value: typing.List[builtins.str],
|
|
1325
|
+
) -> None:
|
|
1326
|
+
"""Type checking stubs"""
|
|
1327
|
+
pass
|
|
1328
|
+
|
|
1329
|
+
def _typecheckingstub__0a120198d98550b7ccf0a29f6db6aa1a65f8591468a18b4fafa9a375ce7b4010(
|
|
1330
|
+
value: typing.List[builtins.str],
|
|
1331
|
+
) -> None:
|
|
1332
|
+
"""Type checking stubs"""
|
|
1333
|
+
pass
|
|
1334
|
+
|
|
1335
|
+
def _typecheckingstub__30138e6759809e39e8182db3c4fcd90a02cbdaa2ace0041f7e602af46b521794(
|
|
1336
|
+
value: typing.List[jsii.Number],
|
|
1337
|
+
) -> None:
|
|
1338
|
+
"""Type checking stubs"""
|
|
1339
|
+
pass
|
|
1340
|
+
|
|
1341
|
+
def _typecheckingstub__05dc13f6a5572e354b037783a155ecf1b682d7d79671c4046d8ec5277c86120f(
|
|
1342
|
+
value: typing.List[builtins.str],
|
|
1343
|
+
) -> None:
|
|
1344
|
+
"""Type checking stubs"""
|
|
1345
|
+
pass
|
|
1346
|
+
|
|
1347
|
+
def _typecheckingstub__6e31a7bfb67f1a32f8676774d45f8c8b631c74fee0b7d0931cdeb61318f84332(
|
|
1348
|
+
value: jsii.Number,
|
|
1349
|
+
) -> None:
|
|
1350
|
+
"""Type checking stubs"""
|
|
1351
|
+
pass
|
|
1352
|
+
|
|
1353
|
+
def _typecheckingstub__f9e1d36a513f06f91166fd6a6e6052ccb8fefc74d4ca1aa3c237c66c2e7f09a2(
|
|
1354
|
+
value: typing.Optional[GatewayConnectionTunnelIpsecProperties],
|
|
1355
|
+
) -> None:
|
|
1356
|
+
"""Type checking stubs"""
|
|
1357
|
+
pass
|