@pulumiverse/scaleway 1.39.0 → 1.40.0-alpha.1766140471

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.
@@ -0,0 +1,361 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Creates and manages Scaleway Site-to-Site VPN Connections.
6
+ * A connection links a Scaleway VPN Gateway to a Customer Gateway and establishes an IPSec tunnel with BGP routing.
7
+ *
8
+ * For more information, see [the main documentation](https://www.scaleway.com/en/docs/site-to-site-vpn/reference-content/understanding-s2svpn/).
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ### Basic Connection
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as scaleway from "@pulumiverse/scaleway";
17
+ *
18
+ * const vpc = new scaleway.network.Vpc("vpc", {name: "my-vpc"});
19
+ * const pn = new scaleway.network.PrivateNetwork("pn", {
20
+ * name: "my-private-network",
21
+ * vpcId: vpc.id,
22
+ * ipv4Subnet: {
23
+ * subnet: "10.0.1.0/24",
24
+ * },
25
+ * });
26
+ * const gateway = new scaleway.s2svpn.Gateway("gateway", {
27
+ * name: "my-vpn-gateway",
28
+ * gatewayType: "VGW-S",
29
+ * privateNetworkId: pn.id,
30
+ * });
31
+ * const customerGw = new scaleway.s2svpn.CustomerGateway("customer_gw", {
32
+ * name: "my-customer-gateway",
33
+ * ipv4Public: "203.0.113.1",
34
+ * asn: 65000,
35
+ * });
36
+ * const policy = new scaleway.s2svpn.RoutingPolicy("policy", {
37
+ * name: "my-routing-policy",
38
+ * prefixFilterIns: ["10.0.2.0/24"],
39
+ * prefixFilterOuts: ["10.0.1.0/24"],
40
+ * });
41
+ * const main = new scaleway.s2svpn.Connection("main", {
42
+ * name: "my-vpn-connection",
43
+ * vpnGatewayId: gateway.id,
44
+ * customerGatewayId: customerGw.id,
45
+ * initiationPolicy: "customer_gateway",
46
+ * enableRoutePropagation: true,
47
+ * bgpConfigIpv4s: [{
48
+ * routingPolicyId: policy.id,
49
+ * privateIp: "169.254.0.1/30",
50
+ * peerPrivateIp: "169.254.0.2/30",
51
+ * }],
52
+ * ikev2Ciphers: [{
53
+ * encryption: "aes256",
54
+ * integrity: "sha256",
55
+ * dhGroup: "modp2048",
56
+ * }],
57
+ * espCiphers: [{
58
+ * encryption: "aes256",
59
+ * integrity: "sha256",
60
+ * dhGroup: "modp2048",
61
+ * }],
62
+ * });
63
+ * ```
64
+ *
65
+ * ## Import
66
+ *
67
+ * Connections can be imported using `{region}/{id}`, e.g.
68
+ *
69
+ * bash
70
+ *
71
+ * ```sh
72
+ * $ pulumi import scaleway:s2svpn/connection:Connection main fr-par/11111111-1111-1111-1111-111111111111
73
+ * ```
74
+ */
75
+ export declare class Connection extends pulumi.CustomResource {
76
+ /**
77
+ * Get an existing Connection resource's state with the given name, ID, and optional extra
78
+ * properties used to qualify the lookup.
79
+ *
80
+ * @param name The _unique_ name of the resulting resource.
81
+ * @param id The _unique_ provider ID of the resource to lookup.
82
+ * @param state Any extra arguments used during the lookup.
83
+ * @param opts Optional settings to control the behavior of the CustomResource.
84
+ */
85
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectionState, opts?: pulumi.CustomResourceOptions): Connection;
86
+ /**
87
+ * Returns true if the given object is an instance of Connection. This is designed to work even
88
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
89
+ */
90
+ static isInstance(obj: any): obj is Connection;
91
+ /**
92
+ * BGP configuration for IPv4. See BGP Config below.
93
+ */
94
+ readonly bgpConfigIpv4s: pulumi.Output<outputs.s2svpn.ConnectionBgpConfigIpv4[]>;
95
+ /**
96
+ * BGP configuration for IPv6. See BGP Config below.
97
+ */
98
+ readonly bgpConfigIpv6s: pulumi.Output<outputs.s2svpn.ConnectionBgpConfigIpv6[]>;
99
+ /**
100
+ * The BGP IPv4 session information. See BGP Session below.
101
+ */
102
+ readonly bgpSessionIpv4s: pulumi.Output<outputs.s2svpn.ConnectionBgpSessionIpv4[]>;
103
+ /**
104
+ * The BGP IPv6 session information. See BGP Session below.
105
+ */
106
+ readonly bgpSessionIpv6s: pulumi.Output<outputs.s2svpn.ConnectionBgpSessionIpv6[]>;
107
+ /**
108
+ * The status of the BGP IPv4 session.
109
+ */
110
+ readonly bgpStatusIpv4: pulumi.Output<string>;
111
+ /**
112
+ * The status of the BGP IPv6 session.
113
+ */
114
+ readonly bgpStatusIpv6: pulumi.Output<string>;
115
+ /**
116
+ * The date and time of the creation of the connection (RFC 3339 format).
117
+ */
118
+ readonly createdAt: pulumi.Output<string>;
119
+ /**
120
+ * The ID of the customer gateway to attach to the connection.
121
+ */
122
+ readonly customerGatewayId: pulumi.Output<string>;
123
+ /**
124
+ * Defines whether route propagation is enabled or not.
125
+ */
126
+ readonly enableRoutePropagation: pulumi.Output<boolean>;
127
+ /**
128
+ * ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
129
+ */
130
+ readonly espCiphers: pulumi.Output<outputs.s2svpn.ConnectionEspCipher[]>;
131
+ /**
132
+ * IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
133
+ */
134
+ readonly ikev2Ciphers: pulumi.Output<outputs.s2svpn.ConnectionIkev2Cipher[]>;
135
+ /**
136
+ * Defines who initiates the IPSec tunnel.
137
+ */
138
+ readonly initiationPolicy: pulumi.Output<string>;
139
+ /**
140
+ * Defines IP version of the IPSec Tunnel. Defaults to `false` (IPv4).
141
+ */
142
+ readonly isIpv6: pulumi.Output<boolean>;
143
+ /**
144
+ * The name of the connection.
145
+ */
146
+ readonly name: pulumi.Output<string>;
147
+ /**
148
+ * The Organization ID the connection is associated with.
149
+ */
150
+ readonly organizationId: pulumi.Output<string>;
151
+ /**
152
+ * `projectId`) The ID of the project the connection is associated with.
153
+ */
154
+ readonly projectId: pulumi.Output<string>;
155
+ /**
156
+ * `region`) The region in which the connection should be created.
157
+ */
158
+ readonly region: pulumi.Output<string | undefined>;
159
+ /**
160
+ * Whether route propagation is enabled.
161
+ */
162
+ readonly routePropagationEnabled: pulumi.Output<boolean>;
163
+ /**
164
+ * The ID of the secret containing the pre-shared key (PSK) for the connection.
165
+ */
166
+ readonly secretId: pulumi.Output<string>;
167
+ /**
168
+ * The version of the secret containing the PSK.
169
+ */
170
+ readonly secretVersion: pulumi.Output<number>;
171
+ /**
172
+ * The status of the connection.
173
+ */
174
+ readonly status: pulumi.Output<string>;
175
+ /**
176
+ * The list of tags to apply to the connection.
177
+ */
178
+ readonly tags: pulumi.Output<string[] | undefined>;
179
+ /**
180
+ * The status of the IPSec tunnel.
181
+ */
182
+ readonly tunnelStatus: pulumi.Output<string>;
183
+ /**
184
+ * The date and time of the last update of the connection (RFC 3339 format).
185
+ */
186
+ readonly updatedAt: pulumi.Output<string>;
187
+ /**
188
+ * The ID of the VPN gateway to attach to the connection.
189
+ */
190
+ readonly vpnGatewayId: pulumi.Output<string>;
191
+ /**
192
+ * Create a Connection resource with the given unique name, arguments, and options.
193
+ *
194
+ * @param name The _unique_ name of the resource.
195
+ * @param args The arguments to use to populate this resource's properties.
196
+ * @param opts A bag of options that control this resource's behavior.
197
+ */
198
+ constructor(name: string, args?: ConnectionArgs, opts?: pulumi.CustomResourceOptions);
199
+ }
200
+ /**
201
+ * Input properties used for looking up and filtering Connection resources.
202
+ */
203
+ export interface ConnectionState {
204
+ /**
205
+ * BGP configuration for IPv4. See BGP Config below.
206
+ */
207
+ bgpConfigIpv4s?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionBgpConfigIpv4>[]>;
208
+ /**
209
+ * BGP configuration for IPv6. See BGP Config below.
210
+ */
211
+ bgpConfigIpv6s?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionBgpConfigIpv6>[]>;
212
+ /**
213
+ * The BGP IPv4 session information. See BGP Session below.
214
+ */
215
+ bgpSessionIpv4s?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionBgpSessionIpv4>[]>;
216
+ /**
217
+ * The BGP IPv6 session information. See BGP Session below.
218
+ */
219
+ bgpSessionIpv6s?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionBgpSessionIpv6>[]>;
220
+ /**
221
+ * The status of the BGP IPv4 session.
222
+ */
223
+ bgpStatusIpv4?: pulumi.Input<string>;
224
+ /**
225
+ * The status of the BGP IPv6 session.
226
+ */
227
+ bgpStatusIpv6?: pulumi.Input<string>;
228
+ /**
229
+ * The date and time of the creation of the connection (RFC 3339 format).
230
+ */
231
+ createdAt?: pulumi.Input<string>;
232
+ /**
233
+ * The ID of the customer gateway to attach to the connection.
234
+ */
235
+ customerGatewayId?: pulumi.Input<string>;
236
+ /**
237
+ * Defines whether route propagation is enabled or not.
238
+ */
239
+ enableRoutePropagation?: pulumi.Input<boolean>;
240
+ /**
241
+ * ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
242
+ */
243
+ espCiphers?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionEspCipher>[]>;
244
+ /**
245
+ * IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
246
+ */
247
+ ikev2Ciphers?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionIkev2Cipher>[]>;
248
+ /**
249
+ * Defines who initiates the IPSec tunnel.
250
+ */
251
+ initiationPolicy?: pulumi.Input<string>;
252
+ /**
253
+ * Defines IP version of the IPSec Tunnel. Defaults to `false` (IPv4).
254
+ */
255
+ isIpv6?: pulumi.Input<boolean>;
256
+ /**
257
+ * The name of the connection.
258
+ */
259
+ name?: pulumi.Input<string>;
260
+ /**
261
+ * The Organization ID the connection is associated with.
262
+ */
263
+ organizationId?: pulumi.Input<string>;
264
+ /**
265
+ * `projectId`) The ID of the project the connection is associated with.
266
+ */
267
+ projectId?: pulumi.Input<string>;
268
+ /**
269
+ * `region`) The region in which the connection should be created.
270
+ */
271
+ region?: pulumi.Input<string>;
272
+ /**
273
+ * Whether route propagation is enabled.
274
+ */
275
+ routePropagationEnabled?: pulumi.Input<boolean>;
276
+ /**
277
+ * The ID of the secret containing the pre-shared key (PSK) for the connection.
278
+ */
279
+ secretId?: pulumi.Input<string>;
280
+ /**
281
+ * The version of the secret containing the PSK.
282
+ */
283
+ secretVersion?: pulumi.Input<number>;
284
+ /**
285
+ * The status of the connection.
286
+ */
287
+ status?: pulumi.Input<string>;
288
+ /**
289
+ * The list of tags to apply to the connection.
290
+ */
291
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
292
+ /**
293
+ * The status of the IPSec tunnel.
294
+ */
295
+ tunnelStatus?: pulumi.Input<string>;
296
+ /**
297
+ * The date and time of the last update of the connection (RFC 3339 format).
298
+ */
299
+ updatedAt?: pulumi.Input<string>;
300
+ /**
301
+ * The ID of the VPN gateway to attach to the connection.
302
+ */
303
+ vpnGatewayId?: pulumi.Input<string>;
304
+ }
305
+ /**
306
+ * The set of arguments for constructing a Connection resource.
307
+ */
308
+ export interface ConnectionArgs {
309
+ /**
310
+ * BGP configuration for IPv4. See BGP Config below.
311
+ */
312
+ bgpConfigIpv4s?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionBgpConfigIpv4>[]>;
313
+ /**
314
+ * BGP configuration for IPv6. See BGP Config below.
315
+ */
316
+ bgpConfigIpv6s?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionBgpConfigIpv6>[]>;
317
+ /**
318
+ * The ID of the customer gateway to attach to the connection.
319
+ */
320
+ customerGatewayId?: pulumi.Input<string>;
321
+ /**
322
+ * Defines whether route propagation is enabled or not.
323
+ */
324
+ enableRoutePropagation?: pulumi.Input<boolean>;
325
+ /**
326
+ * ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
327
+ */
328
+ espCiphers?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionEspCipher>[]>;
329
+ /**
330
+ * IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
331
+ */
332
+ ikev2Ciphers?: pulumi.Input<pulumi.Input<inputs.s2svpn.ConnectionIkev2Cipher>[]>;
333
+ /**
334
+ * Defines who initiates the IPSec tunnel.
335
+ */
336
+ initiationPolicy?: pulumi.Input<string>;
337
+ /**
338
+ * Defines IP version of the IPSec Tunnel. Defaults to `false` (IPv4).
339
+ */
340
+ isIpv6?: pulumi.Input<boolean>;
341
+ /**
342
+ * The name of the connection.
343
+ */
344
+ name?: pulumi.Input<string>;
345
+ /**
346
+ * `projectId`) The ID of the project the connection is associated with.
347
+ */
348
+ projectId?: pulumi.Input<string>;
349
+ /**
350
+ * `region`) The region in which the connection should be created.
351
+ */
352
+ region?: pulumi.Input<string>;
353
+ /**
354
+ * The list of tags to apply to the connection.
355
+ */
356
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
357
+ /**
358
+ * The ID of the VPN gateway to attach to the connection.
359
+ */
360
+ vpnGatewayId?: pulumi.Input<string>;
361
+ }
@@ -0,0 +1,168 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Connection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Creates and manages Scaleway Site-to-Site VPN Connections.
10
+ * A connection links a Scaleway VPN Gateway to a Customer Gateway and establishes an IPSec tunnel with BGP routing.
11
+ *
12
+ * For more information, see [the main documentation](https://www.scaleway.com/en/docs/site-to-site-vpn/reference-content/understanding-s2svpn/).
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * ### Basic Connection
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as scaleway from "@pulumiverse/scaleway";
21
+ *
22
+ * const vpc = new scaleway.network.Vpc("vpc", {name: "my-vpc"});
23
+ * const pn = new scaleway.network.PrivateNetwork("pn", {
24
+ * name: "my-private-network",
25
+ * vpcId: vpc.id,
26
+ * ipv4Subnet: {
27
+ * subnet: "10.0.1.0/24",
28
+ * },
29
+ * });
30
+ * const gateway = new scaleway.s2svpn.Gateway("gateway", {
31
+ * name: "my-vpn-gateway",
32
+ * gatewayType: "VGW-S",
33
+ * privateNetworkId: pn.id,
34
+ * });
35
+ * const customerGw = new scaleway.s2svpn.CustomerGateway("customer_gw", {
36
+ * name: "my-customer-gateway",
37
+ * ipv4Public: "203.0.113.1",
38
+ * asn: 65000,
39
+ * });
40
+ * const policy = new scaleway.s2svpn.RoutingPolicy("policy", {
41
+ * name: "my-routing-policy",
42
+ * prefixFilterIns: ["10.0.2.0/24"],
43
+ * prefixFilterOuts: ["10.0.1.0/24"],
44
+ * });
45
+ * const main = new scaleway.s2svpn.Connection("main", {
46
+ * name: "my-vpn-connection",
47
+ * vpnGatewayId: gateway.id,
48
+ * customerGatewayId: customerGw.id,
49
+ * initiationPolicy: "customer_gateway",
50
+ * enableRoutePropagation: true,
51
+ * bgpConfigIpv4s: [{
52
+ * routingPolicyId: policy.id,
53
+ * privateIp: "169.254.0.1/30",
54
+ * peerPrivateIp: "169.254.0.2/30",
55
+ * }],
56
+ * ikev2Ciphers: [{
57
+ * encryption: "aes256",
58
+ * integrity: "sha256",
59
+ * dhGroup: "modp2048",
60
+ * }],
61
+ * espCiphers: [{
62
+ * encryption: "aes256",
63
+ * integrity: "sha256",
64
+ * dhGroup: "modp2048",
65
+ * }],
66
+ * });
67
+ * ```
68
+ *
69
+ * ## Import
70
+ *
71
+ * Connections can be imported using `{region}/{id}`, e.g.
72
+ *
73
+ * bash
74
+ *
75
+ * ```sh
76
+ * $ pulumi import scaleway:s2svpn/connection:Connection main fr-par/11111111-1111-1111-1111-111111111111
77
+ * ```
78
+ */
79
+ class Connection extends pulumi.CustomResource {
80
+ /**
81
+ * Get an existing Connection resource's state with the given name, ID, and optional extra
82
+ * properties used to qualify the lookup.
83
+ *
84
+ * @param name The _unique_ name of the resulting resource.
85
+ * @param id The _unique_ provider ID of the resource to lookup.
86
+ * @param state Any extra arguments used during the lookup.
87
+ * @param opts Optional settings to control the behavior of the CustomResource.
88
+ */
89
+ static get(name, id, state, opts) {
90
+ return new Connection(name, state, { ...opts, id: id });
91
+ }
92
+ /**
93
+ * Returns true if the given object is an instance of Connection. This is designed to work even
94
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
95
+ */
96
+ static isInstance(obj) {
97
+ if (obj === undefined || obj === null) {
98
+ return false;
99
+ }
100
+ return obj['__pulumiType'] === Connection.__pulumiType;
101
+ }
102
+ constructor(name, argsOrState, opts) {
103
+ let resourceInputs = {};
104
+ opts = opts || {};
105
+ if (opts.id) {
106
+ const state = argsOrState;
107
+ resourceInputs["bgpConfigIpv4s"] = state?.bgpConfigIpv4s;
108
+ resourceInputs["bgpConfigIpv6s"] = state?.bgpConfigIpv6s;
109
+ resourceInputs["bgpSessionIpv4s"] = state?.bgpSessionIpv4s;
110
+ resourceInputs["bgpSessionIpv6s"] = state?.bgpSessionIpv6s;
111
+ resourceInputs["bgpStatusIpv4"] = state?.bgpStatusIpv4;
112
+ resourceInputs["bgpStatusIpv6"] = state?.bgpStatusIpv6;
113
+ resourceInputs["createdAt"] = state?.createdAt;
114
+ resourceInputs["customerGatewayId"] = state?.customerGatewayId;
115
+ resourceInputs["enableRoutePropagation"] = state?.enableRoutePropagation;
116
+ resourceInputs["espCiphers"] = state?.espCiphers;
117
+ resourceInputs["ikev2Ciphers"] = state?.ikev2Ciphers;
118
+ resourceInputs["initiationPolicy"] = state?.initiationPolicy;
119
+ resourceInputs["isIpv6"] = state?.isIpv6;
120
+ resourceInputs["name"] = state?.name;
121
+ resourceInputs["organizationId"] = state?.organizationId;
122
+ resourceInputs["projectId"] = state?.projectId;
123
+ resourceInputs["region"] = state?.region;
124
+ resourceInputs["routePropagationEnabled"] = state?.routePropagationEnabled;
125
+ resourceInputs["secretId"] = state?.secretId;
126
+ resourceInputs["secretVersion"] = state?.secretVersion;
127
+ resourceInputs["status"] = state?.status;
128
+ resourceInputs["tags"] = state?.tags;
129
+ resourceInputs["tunnelStatus"] = state?.tunnelStatus;
130
+ resourceInputs["updatedAt"] = state?.updatedAt;
131
+ resourceInputs["vpnGatewayId"] = state?.vpnGatewayId;
132
+ }
133
+ else {
134
+ const args = argsOrState;
135
+ resourceInputs["bgpConfigIpv4s"] = args?.bgpConfigIpv4s;
136
+ resourceInputs["bgpConfigIpv6s"] = args?.bgpConfigIpv6s;
137
+ resourceInputs["customerGatewayId"] = args?.customerGatewayId;
138
+ resourceInputs["enableRoutePropagation"] = args?.enableRoutePropagation;
139
+ resourceInputs["espCiphers"] = args?.espCiphers;
140
+ resourceInputs["ikev2Ciphers"] = args?.ikev2Ciphers;
141
+ resourceInputs["initiationPolicy"] = args?.initiationPolicy;
142
+ resourceInputs["isIpv6"] = args?.isIpv6;
143
+ resourceInputs["name"] = args?.name;
144
+ resourceInputs["projectId"] = args?.projectId;
145
+ resourceInputs["region"] = args?.region;
146
+ resourceInputs["tags"] = args?.tags;
147
+ resourceInputs["vpnGatewayId"] = args?.vpnGatewayId;
148
+ resourceInputs["bgpSessionIpv4s"] = undefined /*out*/;
149
+ resourceInputs["bgpSessionIpv6s"] = undefined /*out*/;
150
+ resourceInputs["bgpStatusIpv4"] = undefined /*out*/;
151
+ resourceInputs["bgpStatusIpv6"] = undefined /*out*/;
152
+ resourceInputs["createdAt"] = undefined /*out*/;
153
+ resourceInputs["organizationId"] = undefined /*out*/;
154
+ resourceInputs["routePropagationEnabled"] = undefined /*out*/;
155
+ resourceInputs["secretId"] = undefined /*out*/;
156
+ resourceInputs["secretVersion"] = undefined /*out*/;
157
+ resourceInputs["status"] = undefined /*out*/;
158
+ resourceInputs["tunnelStatus"] = undefined /*out*/;
159
+ resourceInputs["updatedAt"] = undefined /*out*/;
160
+ }
161
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
162
+ super(Connection.__pulumiType, name, resourceInputs, opts);
163
+ }
164
+ }
165
+ exports.Connection = Connection;
166
+ /** @internal */
167
+ Connection.__pulumiType = 'scaleway:s2svpn/connection:Connection';
168
+ //# sourceMappingURL=connection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connection.js","sourceRoot":"","sources":["../../s2svpn/connection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA+GD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,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