@cdktf-providers/aviatrixsystems-aviatrix 8.1.10

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.
Files changed (307) hide show
  1. package/LICENSE +355 -0
  2. package/README.md +19 -0
  3. package/dist/account/index.d.ts +762 -0
  4. package/dist/account/index.js +1600 -0
  5. package/dist/account-user/index.d.ts +74 -0
  6. package/dist/account-user/index.js +151 -0
  7. package/dist/aws-guard-duty/index.d.ts +75 -0
  8. package/dist/aws-guard-duty/index.js +154 -0
  9. package/dist/aws-peer/index.d.ts +126 -0
  10. package/dist/aws-peer/index.js +257 -0
  11. package/dist/aws-tgw/index.d.ts +129 -0
  12. package/dist/aws-tgw/index.js +267 -0
  13. package/dist/aws-tgw-connect/index.d.ts +86 -0
  14. package/dist/aws-tgw-connect/index.js +179 -0
  15. package/dist/aws-tgw-connect-peer/index.d.ts +126 -0
  16. package/dist/aws-tgw-connect-peer/index.js +258 -0
  17. package/dist/aws-tgw-directconnect/index.d.ts +105 -0
  18. package/dist/aws-tgw-directconnect/index.js +214 -0
  19. package/dist/aws-tgw-intra-domain-inspection/index.d.ts +74 -0
  20. package/dist/aws-tgw-intra-domain-inspection/index.js +151 -0
  21. package/dist/aws-tgw-network-domain/index.d.ts +97 -0
  22. package/dist/aws-tgw-network-domain/index.js +200 -0
  23. package/dist/aws-tgw-peering/index.d.ts +64 -0
  24. package/dist/aws-tgw-peering/index.js +131 -0
  25. package/dist/aws-tgw-peering-domain-conn/index.d.ts +84 -0
  26. package/dist/aws-tgw-peering-domain-conn/index.js +171 -0
  27. package/dist/aws-tgw-transit-gateway-attachment/index.d.ts +94 -0
  28. package/dist/aws-tgw-transit-gateway-attachment/index.js +191 -0
  29. package/dist/aws-tgw-vpc-attachment/index.d.ts +160 -0
  30. package/dist/aws-tgw-vpc-attachment/index.js +329 -0
  31. package/dist/aws-tgw-vpn-conn/index.d.ts +225 -0
  32. package/dist/aws-tgw-vpn-conn/index.js +485 -0
  33. package/dist/azure-peer/index.d.ts +106 -0
  34. package/dist/azure-peer/index.js +219 -0
  35. package/dist/azure-spoke-native-peering/index.d.ts +84 -0
  36. package/dist/azure-spoke-native-peering/index.js +171 -0
  37. package/dist/azure-vng-conn/index.d.ts +67 -0
  38. package/dist/azure-vng-conn/index.js +143 -0
  39. package/dist/centralized-transit-firenet/index.d.ts +64 -0
  40. package/dist/centralized-transit-firenet/index.js +131 -0
  41. package/dist/cloudwatch-agent/index.d.ts +87 -0
  42. package/dist/cloudwatch-agent/index.js +181 -0
  43. package/dist/controller-access-allow-list-config/index.d.ts +119 -0
  44. package/dist/controller-access-allow-list-config/index.js +267 -0
  45. package/dist/controller-bgp-communities-auto-cloud-config/index.d.ts +64 -0
  46. package/dist/controller-bgp-communities-auto-cloud-config/index.js +131 -0
  47. package/dist/controller-bgp-communities-global-config/index.d.ts +54 -0
  48. package/dist/controller-bgp-communities-global-config/index.js +111 -0
  49. package/dist/controller-bgp-max-as-limit-config/index.d.ts +54 -0
  50. package/dist/controller-bgp-max-as-limit-config/index.js +111 -0
  51. package/dist/controller-cert-domain-config/index.d.ts +55 -0
  52. package/dist/controller-cert-domain-config/index.js +114 -0
  53. package/dist/controller-config/index.d.ts +267 -0
  54. package/dist/controller-config/index.js +563 -0
  55. package/dist/controller-email-config/index.d.ts +99 -0
  56. package/dist/controller-email-config/index.js +210 -0
  57. package/dist/controller-email-exception-notification-config/index.d.ts +55 -0
  58. package/dist/controller-email-exception-notification-config/index.js +114 -0
  59. package/dist/controller-gateway-keepalive-config/index.d.ts +54 -0
  60. package/dist/controller-gateway-keepalive-config/index.js +111 -0
  61. package/dist/controller-private-mode-config/index.d.ts +65 -0
  62. package/dist/controller-private-mode-config/index.js +134 -0
  63. package/dist/controller-private-oob/index.d.ts +55 -0
  64. package/dist/controller-private-oob/index.js +114 -0
  65. package/dist/controller-security-group-management-config/index.d.ts +65 -0
  66. package/dist/controller-security-group-management-config/index.js +134 -0
  67. package/dist/copilot-association/index.d.ts +54 -0
  68. package/dist/copilot-association/index.js +111 -0
  69. package/dist/copilot-fault-tolerant-deployment/index.d.ts +212 -0
  70. package/dist/copilot-fault-tolerant-deployment/index.js +468 -0
  71. package/dist/copilot-security-group-management-config/index.d.ts +120 -0
  72. package/dist/copilot-security-group-management-config/index.js +249 -0
  73. package/dist/copilot-simple-deployment/index.d.ts +138 -0
  74. package/dist/copilot-simple-deployment/index.js +285 -0
  75. package/dist/data-aviatrix-account/index.d.ts +73 -0
  76. package/dist/data-aviatrix-account/index.js +187 -0
  77. package/dist/data-aviatrix-caller-identity/index.d.ts +45 -0
  78. package/dist/data-aviatrix-caller-identity/index.js +95 -0
  79. package/dist/data-aviatrix-controller-metadata/index.d.ts +48 -0
  80. package/dist/data-aviatrix-controller-metadata/index.js +107 -0
  81. package/dist/data-aviatrix-device-interfaces/index.d.ts +89 -0
  82. package/dist/data-aviatrix-device-interfaces/index.js +190 -0
  83. package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.d.ts +65 -0
  84. package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.js +135 -0
  85. package/dist/data-aviatrix-firenet/index.d.ts +59 -0
  86. package/dist/data-aviatrix-firenet/index.js +131 -0
  87. package/dist/data-aviatrix-firenet-firewall-manager/index.d.ts +184 -0
  88. package/dist/data-aviatrix-firenet-firewall-manager/index.js +381 -0
  89. package/dist/data-aviatrix-firenet-vendor-integration/index.d.ts +195 -0
  90. package/dist/data-aviatrix-firenet-vendor-integration/index.js +404 -0
  91. package/dist/data-aviatrix-firewall/index.d.ts +96 -0
  92. package/dist/data-aviatrix-firewall/index.js +218 -0
  93. package/dist/data-aviatrix-firewall-instance-images/index.d.ts +90 -0
  94. package/dist/data-aviatrix-firewall-instance-images/index.js +194 -0
  95. package/dist/data-aviatrix-gateway/index.d.ts +135 -0
  96. package/dist/data-aviatrix-gateway/index.js +432 -0
  97. package/dist/data-aviatrix-gateway-image/index.d.ts +65 -0
  98. package/dist/data-aviatrix-gateway-image/index.js +135 -0
  99. package/dist/data-aviatrix-network-domains/index.d.ts +89 -0
  100. package/dist/data-aviatrix-network-domains/index.js +210 -0
  101. package/dist/data-aviatrix-smart-groups/index.d.ts +161 -0
  102. package/dist/data-aviatrix-smart-groups/index.js +373 -0
  103. package/dist/data-aviatrix-spoke-gateway/index.d.ts +125 -0
  104. package/dist/data-aviatrix-spoke-gateway/index.js +392 -0
  105. package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.d.ts +55 -0
  106. package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.js +115 -0
  107. package/dist/data-aviatrix-spoke-gateways/index.d.ts +130 -0
  108. package/dist/data-aviatrix-spoke-gateways/index.js +374 -0
  109. package/dist/data-aviatrix-transit-gateway/index.d.ts +208 -0
  110. package/dist/data-aviatrix-transit-gateway/index.js +602 -0
  111. package/dist/data-aviatrix-transit-gateways/index.d.ts +202 -0
  112. package/dist/data-aviatrix-transit-gateways/index.js +540 -0
  113. package/dist/data-aviatrix-vpc/index.d.ts +187 -0
  114. package/dist/data-aviatrix-vpc/index.js +439 -0
  115. package/dist/data-aviatrix-vpc-tracker/index.d.ts +165 -0
  116. package/dist/data-aviatrix-vpc-tracker/index.js +369 -0
  117. package/dist/datadog-agent/index.d.ts +88 -0
  118. package/dist/datadog-agent/index.js +184 -0
  119. package/dist/device-interface-config/index.d.ts +74 -0
  120. package/dist/device-interface-config/index.js +151 -0
  121. package/dist/distributed-firewalling-config/index.d.ts +55 -0
  122. package/dist/distributed-firewalling-config/index.js +114 -0
  123. package/dist/distributed-firewalling-default-action-rule/index.d.ts +64 -0
  124. package/dist/distributed-firewalling-default-action-rule/index.js +131 -0
  125. package/dist/distributed-firewalling-intra-vpc/index.d.ts +117 -0
  126. package/dist/distributed-firewalling-intra-vpc/index.js +266 -0
  127. package/dist/distributed-firewalling-origin-cert-enforcement-config/index.d.ts +55 -0
  128. package/dist/distributed-firewalling-origin-cert-enforcement-config/index.js +114 -0
  129. package/dist/distributed-firewalling-policy-list/index.d.ts +291 -0
  130. package/dist/distributed-firewalling-policy-list/index.js +705 -0
  131. package/dist/distributed-firewalling-proxy-ca-config/index.d.ts +69 -0
  132. package/dist/distributed-firewalling-proxy-ca-config/index.js +151 -0
  133. package/dist/edge-csp/index.d.ts +693 -0
  134. package/dist/edge-csp/index.js +1561 -0
  135. package/dist/edge-csp-ha/index.d.ts +227 -0
  136. package/dist/edge-csp-ha/index.js +532 -0
  137. package/dist/edge-equinix/index.d.ts +651 -0
  138. package/dist/edge-equinix/index.js +1475 -0
  139. package/dist/edge-equinix-ha/index.d.ts +227 -0
  140. package/dist/edge-equinix-ha/index.js +532 -0
  141. package/dist/edge-gateway-selfmanaged/index.d.ts +607 -0
  142. package/dist/edge-gateway-selfmanaged/index.js +1378 -0
  143. package/dist/edge-gateway-selfmanaged-ha/index.d.ts +246 -0
  144. package/dist/edge-gateway-selfmanaged-ha/index.js +558 -0
  145. package/dist/edge-megaport/index.d.ts +704 -0
  146. package/dist/edge-megaport/index.js +1600 -0
  147. package/dist/edge-megaport-ha/index.d.ts +206 -0
  148. package/dist/edge-megaport-ha/index.js +479 -0
  149. package/dist/edge-neo/index.d.ts +669 -0
  150. package/dist/edge-neo/index.js +1509 -0
  151. package/dist/edge-neo-device-onboarding/index.d.ts +216 -0
  152. package/dist/edge-neo-device-onboarding/index.js +489 -0
  153. package/dist/edge-neo-ha/index.d.ts +227 -0
  154. package/dist/edge-neo-ha/index.js +532 -0
  155. package/dist/edge-platform/index.d.ts +691 -0
  156. package/dist/edge-platform/index.js +1555 -0
  157. package/dist/edge-platform-device-onboarding/index.d.ts +216 -0
  158. package/dist/edge-platform-device-onboarding/index.js +489 -0
  159. package/dist/edge-platform-ha/index.d.ts +227 -0
  160. package/dist/edge-platform-ha/index.js +532 -0
  161. package/dist/edge-proxy-profile/index.d.ts +98 -0
  162. package/dist/edge-proxy-profile/index.js +204 -0
  163. package/dist/edge-spoke/index.d.ts +434 -0
  164. package/dist/edge-spoke/index.js +953 -0
  165. package/dist/edge-spoke-external-device-conn/index.d.ts +371 -0
  166. package/dist/edge-spoke-external-device-conn/index.js +800 -0
  167. package/dist/edge-spoke-transit-attachment/index.d.ts +197 -0
  168. package/dist/edge-spoke-transit-attachment/index.js +411 -0
  169. package/dist/edge-vm-selfmanaged/index.d.ts +423 -0
  170. package/dist/edge-vm-selfmanaged/index.js +930 -0
  171. package/dist/edge-vm-selfmanaged-ha/index.d.ts +202 -0
  172. package/dist/edge-vm-selfmanaged-ha/index.js +456 -0
  173. package/dist/edge-zededa/index.d.ts +693 -0
  174. package/dist/edge-zededa/index.js +1561 -0
  175. package/dist/edge-zededa-ha/index.d.ts +227 -0
  176. package/dist/edge-zededa-ha/index.js +532 -0
  177. package/dist/filebeat-forwarder/index.d.ts +98 -0
  178. package/dist/filebeat-forwarder/index.js +204 -0
  179. package/dist/firenet/index.d.ts +120 -0
  180. package/dist/firenet/index.js +249 -0
  181. package/dist/firewall/index.d.ts +204 -0
  182. package/dist/firewall/index.js +467 -0
  183. package/dist/firewall-instance/index.d.ts +384 -0
  184. package/dist/firewall-instance/index.js +794 -0
  185. package/dist/firewall-instance-association/index.d.ts +141 -0
  186. package/dist/firewall-instance-association/index.js +292 -0
  187. package/dist/firewall-management-access/index.d.ts +64 -0
  188. package/dist/firewall-management-access/index.js +131 -0
  189. package/dist/firewall-policy/index.d.ts +138 -0
  190. package/dist/firewall-policy/index.js +283 -0
  191. package/dist/firewall-tag/index.d.ts +118 -0
  192. package/dist/firewall-tag/index.js +264 -0
  193. package/dist/fqdn/index.d.ts +237 -0
  194. package/dist/fqdn/index.js +542 -0
  195. package/dist/fqdn-global-config/index.d.ts +110 -0
  196. package/dist/fqdn-global-config/index.js +229 -0
  197. package/dist/fqdn-pass-through/index.d.ts +64 -0
  198. package/dist/fqdn-pass-through/index.js +131 -0
  199. package/dist/fqdn-tag-rule/index.d.ts +95 -0
  200. package/dist/fqdn-tag-rule/index.js +194 -0
  201. package/dist/gateway/index.d.ts +913 -0
  202. package/dist/gateway/index.js +1904 -0
  203. package/dist/gateway-certificate-config/index.d.ts +64 -0
  204. package/dist/gateway-certificate-config/index.js +131 -0
  205. package/dist/gateway-dnat/index.d.ts +319 -0
  206. package/dist/gateway-dnat/index.js +785 -0
  207. package/dist/gateway-snat/index.d.ts +342 -0
  208. package/dist/gateway-snat/index.js +834 -0
  209. package/dist/geo-vpn/index.d.ts +94 -0
  210. package/dist/geo-vpn/index.js +191 -0
  211. package/dist/global-vpc-excluded-instance/index.d.ts +75 -0
  212. package/dist/global-vpc-excluded-instance/index.js +155 -0
  213. package/dist/global-vpc-tagging-settings/index.d.ts +64 -0
  214. package/dist/global-vpc-tagging-settings/index.js +131 -0
  215. package/dist/index.d.ts +150 -0
  216. package/dist/index.js +151 -0
  217. package/dist/kubernetes-cluster/index.d.ts +232 -0
  218. package/dist/kubernetes-cluster/index.js +534 -0
  219. package/dist/lazy-index.d.ts +0 -0
  220. package/dist/lazy-index.js +151 -0
  221. package/dist/link-hierarchy/index.d.ts +161 -0
  222. package/dist/link-hierarchy/index.js +370 -0
  223. package/dist/netflow-agent/index.d.ts +98 -0
  224. package/dist/netflow-agent/index.js +204 -0
  225. package/dist/periodic-ping/index.d.ts +74 -0
  226. package/dist/periodic-ping/index.js +151 -0
  227. package/dist/private-mode-lb/index.d.ts +159 -0
  228. package/dist/private-mode-lb/index.js +347 -0
  229. package/dist/private-mode-multicloud-endpoint/index.d.ts +85 -0
  230. package/dist/private-mode-multicloud-endpoint/index.js +175 -0
  231. package/dist/provider/index.d.ts +121 -0
  232. package/dist/provider/index.js +273 -0
  233. package/dist/proxy-config/index.d.ts +75 -0
  234. package/dist/proxy-config/index.js +154 -0
  235. package/dist/qos-class/index.d.ts +65 -0
  236. package/dist/qos-class/index.js +135 -0
  237. package/dist/qos-policy-list/index.d.ts +118 -0
  238. package/dist/qos-policy-list/index.js +270 -0
  239. package/dist/rbac-group/index.d.ts +65 -0
  240. package/dist/rbac-group/index.js +134 -0
  241. package/dist/rbac-group-access-account-attachment/index.d.ts +64 -0
  242. package/dist/rbac-group-access-account-attachment/index.js +131 -0
  243. package/dist/rbac-group-permission-attachment/index.d.ts +64 -0
  244. package/dist/rbac-group-permission-attachment/index.js +131 -0
  245. package/dist/rbac-group-user-attachment/index.d.ts +64 -0
  246. package/dist/rbac-group-user-attachment/index.js +131 -0
  247. package/dist/remote-syslog/index.d.ts +154 -0
  248. package/dist/remote-syslog/index.js +323 -0
  249. package/dist/saml-endpoint/index.d.ts +152 -0
  250. package/dist/saml-endpoint/index.js +315 -0
  251. package/dist/segmentation-network-domain/index.d.ts +54 -0
  252. package/dist/segmentation-network-domain/index.js +111 -0
  253. package/dist/segmentation-network-domain-association/index.d.ts +75 -0
  254. package/dist/segmentation-network-domain-association/index.js +154 -0
  255. package/dist/segmentation-network-domain-connection-policy/index.d.ts +64 -0
  256. package/dist/segmentation-network-domain-connection-policy/index.js +131 -0
  257. package/dist/site2cloud/index.d.ts +642 -0
  258. package/dist/site2cloud/index.js +1335 -0
  259. package/dist/site2cloud-ca-cert-tag/index.d.ts +112 -0
  260. package/dist/site2cloud-ca-cert-tag/index.js +256 -0
  261. package/dist/sla-class/index.d.ts +85 -0
  262. package/dist/sla-class/index.js +175 -0
  263. package/dist/smart-group/index.d.ts +336 -0
  264. package/dist/smart-group/index.js +789 -0
  265. package/dist/splunk-logging/index.d.ts +100 -0
  266. package/dist/splunk-logging/index.js +210 -0
  267. package/dist/spoke-external-device-conn/index.d.ts +638 -0
  268. package/dist/spoke-external-device-conn/index.js +1361 -0
  269. package/dist/spoke-gateway/index.d.ts +903 -0
  270. package/dist/spoke-gateway/index.js +1885 -0
  271. package/dist/spoke-gateway-subnet-group/index.d.ts +75 -0
  272. package/dist/spoke-gateway-subnet-group/index.js +154 -0
  273. package/dist/spoke-ha-gateway/index.d.ts +172 -0
  274. package/dist/spoke-ha-gateway/index.js +374 -0
  275. package/dist/spoke-transit-attachment/index.d.ts +131 -0
  276. package/dist/spoke-transit-attachment/index.js +273 -0
  277. package/dist/sumologic-forwarder/index.d.ts +98 -0
  278. package/dist/sumologic-forwarder/index.js +204 -0
  279. package/dist/traffic-classifier/index.d.ts +239 -0
  280. package/dist/traffic-classifier/index.js +574 -0
  281. package/dist/trans-peer/index.d.ts +74 -0
  282. package/dist/trans-peer/index.js +151 -0
  283. package/dist/transit-external-device-conn/index.d.ts +694 -0
  284. package/dist/transit-external-device-conn/index.js +1479 -0
  285. package/dist/transit-firenet-policy/index.d.ts +64 -0
  286. package/dist/transit-firenet-policy/index.js +131 -0
  287. package/dist/transit-gateway/index.d.ts +1566 -0
  288. package/dist/transit-gateway/index.js +3442 -0
  289. package/dist/transit-gateway-peering/index.d.ts +240 -0
  290. package/dist/transit-gateway-peering/index.js +499 -0
  291. package/dist/tunnel/index.d.ts +78 -0
  292. package/dist/tunnel/index.js +166 -0
  293. package/dist/vgw-conn/index.d.ts +158 -0
  294. package/dist/vgw-conn/index.js +323 -0
  295. package/dist/vpc/index.d.ts +339 -0
  296. package/dist/vpc/index.js +758 -0
  297. package/dist/vpn-cert-download/index.d.ts +66 -0
  298. package/dist/vpn-cert-download/index.js +137 -0
  299. package/dist/vpn-profile/index.d.ts +169 -0
  300. package/dist/vpn-profile/index.js +383 -0
  301. package/dist/vpn-user/index.d.ts +129 -0
  302. package/dist/vpn-user/index.js +272 -0
  303. package/dist/vpn-user-accelerator/index.d.ts +54 -0
  304. package/dist/vpn-user-accelerator/index.js +111 -0
  305. package/dist/web-group/index.d.ts +144 -0
  306. package/dist/web-group/index.js +341 -0
  307. package/package.json +51 -0
@@ -0,0 +1,1335 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/site2cloud
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ /**
5
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/site2cloud aviatrix_site2cloud}
6
+ */
7
+ export class Site2Cloud extends cdktf.TerraformResource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aviatrix_site2cloud";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a Site2Cloud resource upon running "cdktf plan <stack-name>"
17
+ * @param scope The scope in which to define this construct
18
+ * @param importToId The construct id used in the generated config for the Site2Cloud to import
19
+ * @param importFromId The id of the existing Site2Cloud that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/site2cloud#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the Site2Cloud to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_site2cloud", importId: importFromId, provider });
24
+ }
25
+ // ===========
26
+ // INITIALIZER
27
+ // ===========
28
+ /**
29
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/site2cloud aviatrix_site2cloud} Resource
30
+ *
31
+ * @param scope The scope in which to define this construct
32
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
33
+ * @param options Site2CloudConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aviatrix_site2cloud',
38
+ terraformGeneratorMetadata: {
39
+ providerName: 'aviatrix',
40
+ providerVersion: '8.1.10',
41
+ providerVersionConstraint: '8.1.10'
42
+ },
43
+ provider: config.provider,
44
+ dependsOn: config.dependsOn,
45
+ count: config.count,
46
+ lifecycle: config.lifecycle,
47
+ provisioners: config.provisioners,
48
+ connection: config.connection,
49
+ forEach: config.forEach
50
+ });
51
+ this._authType = config.authType;
52
+ this._backupGatewayName = config.backupGatewayName;
53
+ this._backupLocalTunnelIp = config.backupLocalTunnelIp;
54
+ this._backupPreSharedKey = config.backupPreSharedKey;
55
+ this._backupRemoteGatewayIp = config.backupRemoteGatewayIp;
56
+ this._backupRemoteGatewayLatitude = config.backupRemoteGatewayLatitude;
57
+ this._backupRemoteGatewayLongitude = config.backupRemoteGatewayLongitude;
58
+ this._backupRemoteIdentifier = config.backupRemoteIdentifier;
59
+ this._backupRemoteTunnelIp = config.backupRemoteTunnelIp;
60
+ this._caCertTagName = config.caCertTagName;
61
+ this._connectionName = config.connectionName;
62
+ this._connectionType = config.connectionType;
63
+ this._customAlgorithms = config.customAlgorithms;
64
+ this._customMapped = config.customMapped;
65
+ this._enableActiveActive = config.enableActiveActive;
66
+ this._enableDeadPeerDetection = config.enableDeadPeerDetection;
67
+ this._enableEventTriggeredHa = config.enableEventTriggeredHa;
68
+ this._enableIkev2 = config.enableIkev2;
69
+ this._enableSingleIpHa = config.enableSingleIpHa;
70
+ this._forwardTrafficToTransit = config.forwardTrafficToTransit;
71
+ this._haEnabled = config.haEnabled;
72
+ this._id = config.id;
73
+ this._localDestinationRealCidrs = config.localDestinationRealCidrs;
74
+ this._localDestinationVirtualCidrs = config.localDestinationVirtualCidrs;
75
+ this._localSourceRealCidrs = config.localSourceRealCidrs;
76
+ this._localSourceVirtualCidrs = config.localSourceVirtualCidrs;
77
+ this._localSubnetCidr = config.localSubnetCidr;
78
+ this._localSubnetVirtual = config.localSubnetVirtual;
79
+ this._localTunnelIp = config.localTunnelIp;
80
+ this._phase1LocalIdentifier = config.phase1LocalIdentifier;
81
+ this._phase1RemoteIdentifier = config.phase1RemoteIdentifier;
82
+ this._phase1Authentication = config.phase1Authentication;
83
+ this._phase1DhGroups = config.phase1DhGroups;
84
+ this._phase1Encryption = config.phase1Encryption;
85
+ this._phase2Authentication = config.phase2Authentication;
86
+ this._phase2DhGroups = config.phase2DhGroups;
87
+ this._phase2Encryption = config.phase2Encryption;
88
+ this._preSharedKey = config.preSharedKey;
89
+ this._primaryCloudGatewayName = config.primaryCloudGatewayName;
90
+ this._privateRouteEncryption = config.privateRouteEncryption;
91
+ this._remoteDestinationRealCidrs = config.remoteDestinationRealCidrs;
92
+ this._remoteDestinationVirtualCidrs = config.remoteDestinationVirtualCidrs;
93
+ this._remoteGatewayIp = config.remoteGatewayIp;
94
+ this._remoteGatewayLatitude = config.remoteGatewayLatitude;
95
+ this._remoteGatewayLongitude = config.remoteGatewayLongitude;
96
+ this._remoteGatewayType = config.remoteGatewayType;
97
+ this._remoteIdentifier = config.remoteIdentifier;
98
+ this._remoteSourceRealCidrs = config.remoteSourceRealCidrs;
99
+ this._remoteSourceVirtualCidrs = config.remoteSourceVirtualCidrs;
100
+ this._remoteSubnetCidr = config.remoteSubnetCidr;
101
+ this._remoteSubnetVirtual = config.remoteSubnetVirtual;
102
+ this._remoteTunnelIp = config.remoteTunnelIp;
103
+ this._routeTableList = config.routeTableList;
104
+ this._sslServerPool = config.sslServerPool;
105
+ this._tunnelType = config.tunnelType;
106
+ this._vpcId = config.vpcId;
107
+ }
108
+ // ==========
109
+ // ATTRIBUTES
110
+ // ==========
111
+ // auth_type - computed: false, optional: true, required: false
112
+ _authType;
113
+ get authType() {
114
+ return this.getStringAttribute('auth_type');
115
+ }
116
+ set authType(value) {
117
+ this._authType = value;
118
+ }
119
+ resetAuthType() {
120
+ this._authType = undefined;
121
+ }
122
+ // Temporarily expose input value. Use with caution.
123
+ get authTypeInput() {
124
+ return this._authType;
125
+ }
126
+ // backup_gateway_name - computed: false, optional: true, required: false
127
+ _backupGatewayName;
128
+ get backupGatewayName() {
129
+ return this.getStringAttribute('backup_gateway_name');
130
+ }
131
+ set backupGatewayName(value) {
132
+ this._backupGatewayName = value;
133
+ }
134
+ resetBackupGatewayName() {
135
+ this._backupGatewayName = undefined;
136
+ }
137
+ // Temporarily expose input value. Use with caution.
138
+ get backupGatewayNameInput() {
139
+ return this._backupGatewayName;
140
+ }
141
+ // backup_local_tunnel_ip - computed: false, optional: true, required: false
142
+ _backupLocalTunnelIp;
143
+ get backupLocalTunnelIp() {
144
+ return this.getStringAttribute('backup_local_tunnel_ip');
145
+ }
146
+ set backupLocalTunnelIp(value) {
147
+ this._backupLocalTunnelIp = value;
148
+ }
149
+ resetBackupLocalTunnelIp() {
150
+ this._backupLocalTunnelIp = undefined;
151
+ }
152
+ // Temporarily expose input value. Use with caution.
153
+ get backupLocalTunnelIpInput() {
154
+ return this._backupLocalTunnelIp;
155
+ }
156
+ // backup_pre_shared_key - computed: false, optional: true, required: false
157
+ _backupPreSharedKey;
158
+ get backupPreSharedKey() {
159
+ return this.getStringAttribute('backup_pre_shared_key');
160
+ }
161
+ set backupPreSharedKey(value) {
162
+ this._backupPreSharedKey = value;
163
+ }
164
+ resetBackupPreSharedKey() {
165
+ this._backupPreSharedKey = undefined;
166
+ }
167
+ // Temporarily expose input value. Use with caution.
168
+ get backupPreSharedKeyInput() {
169
+ return this._backupPreSharedKey;
170
+ }
171
+ // backup_remote_gateway_ip - computed: true, optional: true, required: false
172
+ _backupRemoteGatewayIp;
173
+ get backupRemoteGatewayIp() {
174
+ return this.getStringAttribute('backup_remote_gateway_ip');
175
+ }
176
+ set backupRemoteGatewayIp(value) {
177
+ this._backupRemoteGatewayIp = value;
178
+ }
179
+ resetBackupRemoteGatewayIp() {
180
+ this._backupRemoteGatewayIp = undefined;
181
+ }
182
+ // Temporarily expose input value. Use with caution.
183
+ get backupRemoteGatewayIpInput() {
184
+ return this._backupRemoteGatewayIp;
185
+ }
186
+ // backup_remote_gateway_latitude - computed: false, optional: true, required: false
187
+ _backupRemoteGatewayLatitude;
188
+ get backupRemoteGatewayLatitude() {
189
+ return this.getNumberAttribute('backup_remote_gateway_latitude');
190
+ }
191
+ set backupRemoteGatewayLatitude(value) {
192
+ this._backupRemoteGatewayLatitude = value;
193
+ }
194
+ resetBackupRemoteGatewayLatitude() {
195
+ this._backupRemoteGatewayLatitude = undefined;
196
+ }
197
+ // Temporarily expose input value. Use with caution.
198
+ get backupRemoteGatewayLatitudeInput() {
199
+ return this._backupRemoteGatewayLatitude;
200
+ }
201
+ // backup_remote_gateway_longitude - computed: false, optional: true, required: false
202
+ _backupRemoteGatewayLongitude;
203
+ get backupRemoteGatewayLongitude() {
204
+ return this.getNumberAttribute('backup_remote_gateway_longitude');
205
+ }
206
+ set backupRemoteGatewayLongitude(value) {
207
+ this._backupRemoteGatewayLongitude = value;
208
+ }
209
+ resetBackupRemoteGatewayLongitude() {
210
+ this._backupRemoteGatewayLongitude = undefined;
211
+ }
212
+ // Temporarily expose input value. Use with caution.
213
+ get backupRemoteGatewayLongitudeInput() {
214
+ return this._backupRemoteGatewayLongitude;
215
+ }
216
+ // backup_remote_identifier - computed: false, optional: true, required: false
217
+ _backupRemoteIdentifier;
218
+ get backupRemoteIdentifier() {
219
+ return this.getStringAttribute('backup_remote_identifier');
220
+ }
221
+ set backupRemoteIdentifier(value) {
222
+ this._backupRemoteIdentifier = value;
223
+ }
224
+ resetBackupRemoteIdentifier() {
225
+ this._backupRemoteIdentifier = undefined;
226
+ }
227
+ // Temporarily expose input value. Use with caution.
228
+ get backupRemoteIdentifierInput() {
229
+ return this._backupRemoteIdentifier;
230
+ }
231
+ // backup_remote_tunnel_ip - computed: false, optional: true, required: false
232
+ _backupRemoteTunnelIp;
233
+ get backupRemoteTunnelIp() {
234
+ return this.getStringAttribute('backup_remote_tunnel_ip');
235
+ }
236
+ set backupRemoteTunnelIp(value) {
237
+ this._backupRemoteTunnelIp = value;
238
+ }
239
+ resetBackupRemoteTunnelIp() {
240
+ this._backupRemoteTunnelIp = undefined;
241
+ }
242
+ // Temporarily expose input value. Use with caution.
243
+ get backupRemoteTunnelIpInput() {
244
+ return this._backupRemoteTunnelIp;
245
+ }
246
+ // ca_cert_tag_name - computed: false, optional: true, required: false
247
+ _caCertTagName;
248
+ get caCertTagName() {
249
+ return this.getStringAttribute('ca_cert_tag_name');
250
+ }
251
+ set caCertTagName(value) {
252
+ this._caCertTagName = value;
253
+ }
254
+ resetCaCertTagName() {
255
+ this._caCertTagName = undefined;
256
+ }
257
+ // Temporarily expose input value. Use with caution.
258
+ get caCertTagNameInput() {
259
+ return this._caCertTagName;
260
+ }
261
+ // connection_name - computed: false, optional: false, required: true
262
+ _connectionName;
263
+ get connectionName() {
264
+ return this.getStringAttribute('connection_name');
265
+ }
266
+ set connectionName(value) {
267
+ this._connectionName = value;
268
+ }
269
+ // Temporarily expose input value. Use with caution.
270
+ get connectionNameInput() {
271
+ return this._connectionName;
272
+ }
273
+ // connection_type - computed: false, optional: false, required: true
274
+ _connectionType;
275
+ get connectionType() {
276
+ return this.getStringAttribute('connection_type');
277
+ }
278
+ set connectionType(value) {
279
+ this._connectionType = value;
280
+ }
281
+ // Temporarily expose input value. Use with caution.
282
+ get connectionTypeInput() {
283
+ return this._connectionType;
284
+ }
285
+ // custom_algorithms - computed: false, optional: true, required: false
286
+ _customAlgorithms;
287
+ get customAlgorithms() {
288
+ return this.getBooleanAttribute('custom_algorithms');
289
+ }
290
+ set customAlgorithms(value) {
291
+ this._customAlgorithms = value;
292
+ }
293
+ resetCustomAlgorithms() {
294
+ this._customAlgorithms = undefined;
295
+ }
296
+ // Temporarily expose input value. Use with caution.
297
+ get customAlgorithmsInput() {
298
+ return this._customAlgorithms;
299
+ }
300
+ // custom_mapped - computed: false, optional: true, required: false
301
+ _customMapped;
302
+ get customMapped() {
303
+ return this.getBooleanAttribute('custom_mapped');
304
+ }
305
+ set customMapped(value) {
306
+ this._customMapped = value;
307
+ }
308
+ resetCustomMapped() {
309
+ this._customMapped = undefined;
310
+ }
311
+ // Temporarily expose input value. Use with caution.
312
+ get customMappedInput() {
313
+ return this._customMapped;
314
+ }
315
+ // enable_active_active - computed: false, optional: true, required: false
316
+ _enableActiveActive;
317
+ get enableActiveActive() {
318
+ return this.getBooleanAttribute('enable_active_active');
319
+ }
320
+ set enableActiveActive(value) {
321
+ this._enableActiveActive = value;
322
+ }
323
+ resetEnableActiveActive() {
324
+ this._enableActiveActive = undefined;
325
+ }
326
+ // Temporarily expose input value. Use with caution.
327
+ get enableActiveActiveInput() {
328
+ return this._enableActiveActive;
329
+ }
330
+ // enable_dead_peer_detection - computed: false, optional: true, required: false
331
+ _enableDeadPeerDetection;
332
+ get enableDeadPeerDetection() {
333
+ return this.getBooleanAttribute('enable_dead_peer_detection');
334
+ }
335
+ set enableDeadPeerDetection(value) {
336
+ this._enableDeadPeerDetection = value;
337
+ }
338
+ resetEnableDeadPeerDetection() {
339
+ this._enableDeadPeerDetection = undefined;
340
+ }
341
+ // Temporarily expose input value. Use with caution.
342
+ get enableDeadPeerDetectionInput() {
343
+ return this._enableDeadPeerDetection;
344
+ }
345
+ // enable_event_triggered_ha - computed: false, optional: true, required: false
346
+ _enableEventTriggeredHa;
347
+ get enableEventTriggeredHa() {
348
+ return this.getBooleanAttribute('enable_event_triggered_ha');
349
+ }
350
+ set enableEventTriggeredHa(value) {
351
+ this._enableEventTriggeredHa = value;
352
+ }
353
+ resetEnableEventTriggeredHa() {
354
+ this._enableEventTriggeredHa = undefined;
355
+ }
356
+ // Temporarily expose input value. Use with caution.
357
+ get enableEventTriggeredHaInput() {
358
+ return this._enableEventTriggeredHa;
359
+ }
360
+ // enable_ikev2 - computed: false, optional: true, required: false
361
+ _enableIkev2;
362
+ get enableIkev2() {
363
+ return this.getBooleanAttribute('enable_ikev2');
364
+ }
365
+ set enableIkev2(value) {
366
+ this._enableIkev2 = value;
367
+ }
368
+ resetEnableIkev2() {
369
+ this._enableIkev2 = undefined;
370
+ }
371
+ // Temporarily expose input value. Use with caution.
372
+ get enableIkev2Input() {
373
+ return this._enableIkev2;
374
+ }
375
+ // enable_single_ip_ha - computed: false, optional: true, required: false
376
+ _enableSingleIpHa;
377
+ get enableSingleIpHa() {
378
+ return this.getBooleanAttribute('enable_single_ip_ha');
379
+ }
380
+ set enableSingleIpHa(value) {
381
+ this._enableSingleIpHa = value;
382
+ }
383
+ resetEnableSingleIpHa() {
384
+ this._enableSingleIpHa = undefined;
385
+ }
386
+ // Temporarily expose input value. Use with caution.
387
+ get enableSingleIpHaInput() {
388
+ return this._enableSingleIpHa;
389
+ }
390
+ // forward_traffic_to_transit - computed: false, optional: true, required: false
391
+ _forwardTrafficToTransit;
392
+ get forwardTrafficToTransit() {
393
+ return this.getBooleanAttribute('forward_traffic_to_transit');
394
+ }
395
+ set forwardTrafficToTransit(value) {
396
+ this._forwardTrafficToTransit = value;
397
+ }
398
+ resetForwardTrafficToTransit() {
399
+ this._forwardTrafficToTransit = undefined;
400
+ }
401
+ // Temporarily expose input value. Use with caution.
402
+ get forwardTrafficToTransitInput() {
403
+ return this._forwardTrafficToTransit;
404
+ }
405
+ // ha_enabled - computed: false, optional: true, required: false
406
+ _haEnabled;
407
+ get haEnabled() {
408
+ return this.getBooleanAttribute('ha_enabled');
409
+ }
410
+ set haEnabled(value) {
411
+ this._haEnabled = value;
412
+ }
413
+ resetHaEnabled() {
414
+ this._haEnabled = undefined;
415
+ }
416
+ // Temporarily expose input value. Use with caution.
417
+ get haEnabledInput() {
418
+ return this._haEnabled;
419
+ }
420
+ // id - computed: true, optional: true, required: false
421
+ _id;
422
+ get id() {
423
+ return this.getStringAttribute('id');
424
+ }
425
+ set id(value) {
426
+ this._id = value;
427
+ }
428
+ resetId() {
429
+ this._id = undefined;
430
+ }
431
+ // Temporarily expose input value. Use with caution.
432
+ get idInput() {
433
+ return this._id;
434
+ }
435
+ // local_destination_real_cidrs - computed: false, optional: true, required: false
436
+ _localDestinationRealCidrs;
437
+ get localDestinationRealCidrs() {
438
+ return this.getListAttribute('local_destination_real_cidrs');
439
+ }
440
+ set localDestinationRealCidrs(value) {
441
+ this._localDestinationRealCidrs = value;
442
+ }
443
+ resetLocalDestinationRealCidrs() {
444
+ this._localDestinationRealCidrs = undefined;
445
+ }
446
+ // Temporarily expose input value. Use with caution.
447
+ get localDestinationRealCidrsInput() {
448
+ return this._localDestinationRealCidrs;
449
+ }
450
+ // local_destination_virtual_cidrs - computed: false, optional: true, required: false
451
+ _localDestinationVirtualCidrs;
452
+ get localDestinationVirtualCidrs() {
453
+ return this.getListAttribute('local_destination_virtual_cidrs');
454
+ }
455
+ set localDestinationVirtualCidrs(value) {
456
+ this._localDestinationVirtualCidrs = value;
457
+ }
458
+ resetLocalDestinationVirtualCidrs() {
459
+ this._localDestinationVirtualCidrs = undefined;
460
+ }
461
+ // Temporarily expose input value. Use with caution.
462
+ get localDestinationVirtualCidrsInput() {
463
+ return this._localDestinationVirtualCidrs;
464
+ }
465
+ // local_source_real_cidrs - computed: false, optional: true, required: false
466
+ _localSourceRealCidrs;
467
+ get localSourceRealCidrs() {
468
+ return this.getListAttribute('local_source_real_cidrs');
469
+ }
470
+ set localSourceRealCidrs(value) {
471
+ this._localSourceRealCidrs = value;
472
+ }
473
+ resetLocalSourceRealCidrs() {
474
+ this._localSourceRealCidrs = undefined;
475
+ }
476
+ // Temporarily expose input value. Use with caution.
477
+ get localSourceRealCidrsInput() {
478
+ return this._localSourceRealCidrs;
479
+ }
480
+ // local_source_virtual_cidrs - computed: false, optional: true, required: false
481
+ _localSourceVirtualCidrs;
482
+ get localSourceVirtualCidrs() {
483
+ return this.getListAttribute('local_source_virtual_cidrs');
484
+ }
485
+ set localSourceVirtualCidrs(value) {
486
+ this._localSourceVirtualCidrs = value;
487
+ }
488
+ resetLocalSourceVirtualCidrs() {
489
+ this._localSourceVirtualCidrs = undefined;
490
+ }
491
+ // Temporarily expose input value. Use with caution.
492
+ get localSourceVirtualCidrsInput() {
493
+ return this._localSourceVirtualCidrs;
494
+ }
495
+ // local_subnet_cidr - computed: true, optional: true, required: false
496
+ _localSubnetCidr;
497
+ get localSubnetCidr() {
498
+ return this.getStringAttribute('local_subnet_cidr');
499
+ }
500
+ set localSubnetCidr(value) {
501
+ this._localSubnetCidr = value;
502
+ }
503
+ resetLocalSubnetCidr() {
504
+ this._localSubnetCidr = undefined;
505
+ }
506
+ // Temporarily expose input value. Use with caution.
507
+ get localSubnetCidrInput() {
508
+ return this._localSubnetCidr;
509
+ }
510
+ // local_subnet_virtual - computed: false, optional: true, required: false
511
+ _localSubnetVirtual;
512
+ get localSubnetVirtual() {
513
+ return this.getStringAttribute('local_subnet_virtual');
514
+ }
515
+ set localSubnetVirtual(value) {
516
+ this._localSubnetVirtual = value;
517
+ }
518
+ resetLocalSubnetVirtual() {
519
+ this._localSubnetVirtual = undefined;
520
+ }
521
+ // Temporarily expose input value. Use with caution.
522
+ get localSubnetVirtualInput() {
523
+ return this._localSubnetVirtual;
524
+ }
525
+ // local_tunnel_ip - computed: false, optional: true, required: false
526
+ _localTunnelIp;
527
+ get localTunnelIp() {
528
+ return this.getStringAttribute('local_tunnel_ip');
529
+ }
530
+ set localTunnelIp(value) {
531
+ this._localTunnelIp = value;
532
+ }
533
+ resetLocalTunnelIp() {
534
+ this._localTunnelIp = undefined;
535
+ }
536
+ // Temporarily expose input value. Use with caution.
537
+ get localTunnelIpInput() {
538
+ return this._localTunnelIp;
539
+ }
540
+ // phase1_local_identifier - computed: false, optional: true, required: false
541
+ _phase1LocalIdentifier;
542
+ get phase1LocalIdentifier() {
543
+ return this.getStringAttribute('phase1_local_identifier');
544
+ }
545
+ set phase1LocalIdentifier(value) {
546
+ this._phase1LocalIdentifier = value;
547
+ }
548
+ resetPhase1LocalIdentifier() {
549
+ this._phase1LocalIdentifier = undefined;
550
+ }
551
+ // Temporarily expose input value. Use with caution.
552
+ get phase1LocalIdentifierInput() {
553
+ return this._phase1LocalIdentifier;
554
+ }
555
+ // phase1_remote_identifier - computed: false, optional: true, required: false
556
+ _phase1RemoteIdentifier;
557
+ get phase1RemoteIdentifier() {
558
+ return this.getListAttribute('phase1_remote_identifier');
559
+ }
560
+ set phase1RemoteIdentifier(value) {
561
+ this._phase1RemoteIdentifier = value;
562
+ }
563
+ resetPhase1RemoteIdentifier() {
564
+ this._phase1RemoteIdentifier = undefined;
565
+ }
566
+ // Temporarily expose input value. Use with caution.
567
+ get phase1RemoteIdentifierInput() {
568
+ return this._phase1RemoteIdentifier;
569
+ }
570
+ // phase_1_authentication - computed: false, optional: true, required: false
571
+ _phase1Authentication;
572
+ get phase1Authentication() {
573
+ return this.getStringAttribute('phase_1_authentication');
574
+ }
575
+ set phase1Authentication(value) {
576
+ this._phase1Authentication = value;
577
+ }
578
+ resetPhase1Authentication() {
579
+ this._phase1Authentication = undefined;
580
+ }
581
+ // Temporarily expose input value. Use with caution.
582
+ get phase1AuthenticationInput() {
583
+ return this._phase1Authentication;
584
+ }
585
+ // phase_1_dh_groups - computed: false, optional: true, required: false
586
+ _phase1DhGroups;
587
+ get phase1DhGroups() {
588
+ return this.getStringAttribute('phase_1_dh_groups');
589
+ }
590
+ set phase1DhGroups(value) {
591
+ this._phase1DhGroups = value;
592
+ }
593
+ resetPhase1DhGroups() {
594
+ this._phase1DhGroups = undefined;
595
+ }
596
+ // Temporarily expose input value. Use with caution.
597
+ get phase1DhGroupsInput() {
598
+ return this._phase1DhGroups;
599
+ }
600
+ // phase_1_encryption - computed: false, optional: true, required: false
601
+ _phase1Encryption;
602
+ get phase1Encryption() {
603
+ return this.getStringAttribute('phase_1_encryption');
604
+ }
605
+ set phase1Encryption(value) {
606
+ this._phase1Encryption = value;
607
+ }
608
+ resetPhase1Encryption() {
609
+ this._phase1Encryption = undefined;
610
+ }
611
+ // Temporarily expose input value. Use with caution.
612
+ get phase1EncryptionInput() {
613
+ return this._phase1Encryption;
614
+ }
615
+ // phase_2_authentication - computed: false, optional: true, required: false
616
+ _phase2Authentication;
617
+ get phase2Authentication() {
618
+ return this.getStringAttribute('phase_2_authentication');
619
+ }
620
+ set phase2Authentication(value) {
621
+ this._phase2Authentication = value;
622
+ }
623
+ resetPhase2Authentication() {
624
+ this._phase2Authentication = undefined;
625
+ }
626
+ // Temporarily expose input value. Use with caution.
627
+ get phase2AuthenticationInput() {
628
+ return this._phase2Authentication;
629
+ }
630
+ // phase_2_dh_groups - computed: false, optional: true, required: false
631
+ _phase2DhGroups;
632
+ get phase2DhGroups() {
633
+ return this.getStringAttribute('phase_2_dh_groups');
634
+ }
635
+ set phase2DhGroups(value) {
636
+ this._phase2DhGroups = value;
637
+ }
638
+ resetPhase2DhGroups() {
639
+ this._phase2DhGroups = undefined;
640
+ }
641
+ // Temporarily expose input value. Use with caution.
642
+ get phase2DhGroupsInput() {
643
+ return this._phase2DhGroups;
644
+ }
645
+ // phase_2_encryption - computed: false, optional: true, required: false
646
+ _phase2Encryption;
647
+ get phase2Encryption() {
648
+ return this.getStringAttribute('phase_2_encryption');
649
+ }
650
+ set phase2Encryption(value) {
651
+ this._phase2Encryption = value;
652
+ }
653
+ resetPhase2Encryption() {
654
+ this._phase2Encryption = undefined;
655
+ }
656
+ // Temporarily expose input value. Use with caution.
657
+ get phase2EncryptionInput() {
658
+ return this._phase2Encryption;
659
+ }
660
+ // pre_shared_key - computed: false, optional: true, required: false
661
+ _preSharedKey;
662
+ get preSharedKey() {
663
+ return this.getStringAttribute('pre_shared_key');
664
+ }
665
+ set preSharedKey(value) {
666
+ this._preSharedKey = value;
667
+ }
668
+ resetPreSharedKey() {
669
+ this._preSharedKey = undefined;
670
+ }
671
+ // Temporarily expose input value. Use with caution.
672
+ get preSharedKeyInput() {
673
+ return this._preSharedKey;
674
+ }
675
+ // primary_cloud_gateway_name - computed: false, optional: false, required: true
676
+ _primaryCloudGatewayName;
677
+ get primaryCloudGatewayName() {
678
+ return this.getStringAttribute('primary_cloud_gateway_name');
679
+ }
680
+ set primaryCloudGatewayName(value) {
681
+ this._primaryCloudGatewayName = value;
682
+ }
683
+ // Temporarily expose input value. Use with caution.
684
+ get primaryCloudGatewayNameInput() {
685
+ return this._primaryCloudGatewayName;
686
+ }
687
+ // private_route_encryption - computed: false, optional: true, required: false
688
+ _privateRouteEncryption;
689
+ get privateRouteEncryption() {
690
+ return this.getBooleanAttribute('private_route_encryption');
691
+ }
692
+ set privateRouteEncryption(value) {
693
+ this._privateRouteEncryption = value;
694
+ }
695
+ resetPrivateRouteEncryption() {
696
+ this._privateRouteEncryption = undefined;
697
+ }
698
+ // Temporarily expose input value. Use with caution.
699
+ get privateRouteEncryptionInput() {
700
+ return this._privateRouteEncryption;
701
+ }
702
+ // remote_destination_real_cidrs - computed: false, optional: true, required: false
703
+ _remoteDestinationRealCidrs;
704
+ get remoteDestinationRealCidrs() {
705
+ return this.getListAttribute('remote_destination_real_cidrs');
706
+ }
707
+ set remoteDestinationRealCidrs(value) {
708
+ this._remoteDestinationRealCidrs = value;
709
+ }
710
+ resetRemoteDestinationRealCidrs() {
711
+ this._remoteDestinationRealCidrs = undefined;
712
+ }
713
+ // Temporarily expose input value. Use with caution.
714
+ get remoteDestinationRealCidrsInput() {
715
+ return this._remoteDestinationRealCidrs;
716
+ }
717
+ // remote_destination_virtual_cidrs - computed: false, optional: true, required: false
718
+ _remoteDestinationVirtualCidrs;
719
+ get remoteDestinationVirtualCidrs() {
720
+ return this.getListAttribute('remote_destination_virtual_cidrs');
721
+ }
722
+ set remoteDestinationVirtualCidrs(value) {
723
+ this._remoteDestinationVirtualCidrs = value;
724
+ }
725
+ resetRemoteDestinationVirtualCidrs() {
726
+ this._remoteDestinationVirtualCidrs = undefined;
727
+ }
728
+ // Temporarily expose input value. Use with caution.
729
+ get remoteDestinationVirtualCidrsInput() {
730
+ return this._remoteDestinationVirtualCidrs;
731
+ }
732
+ // remote_gateway_ip - computed: false, optional: false, required: true
733
+ _remoteGatewayIp;
734
+ get remoteGatewayIp() {
735
+ return this.getStringAttribute('remote_gateway_ip');
736
+ }
737
+ set remoteGatewayIp(value) {
738
+ this._remoteGatewayIp = value;
739
+ }
740
+ // Temporarily expose input value. Use with caution.
741
+ get remoteGatewayIpInput() {
742
+ return this._remoteGatewayIp;
743
+ }
744
+ // remote_gateway_latitude - computed: false, optional: true, required: false
745
+ _remoteGatewayLatitude;
746
+ get remoteGatewayLatitude() {
747
+ return this.getNumberAttribute('remote_gateway_latitude');
748
+ }
749
+ set remoteGatewayLatitude(value) {
750
+ this._remoteGatewayLatitude = value;
751
+ }
752
+ resetRemoteGatewayLatitude() {
753
+ this._remoteGatewayLatitude = undefined;
754
+ }
755
+ // Temporarily expose input value. Use with caution.
756
+ get remoteGatewayLatitudeInput() {
757
+ return this._remoteGatewayLatitude;
758
+ }
759
+ // remote_gateway_longitude - computed: false, optional: true, required: false
760
+ _remoteGatewayLongitude;
761
+ get remoteGatewayLongitude() {
762
+ return this.getNumberAttribute('remote_gateway_longitude');
763
+ }
764
+ set remoteGatewayLongitude(value) {
765
+ this._remoteGatewayLongitude = value;
766
+ }
767
+ resetRemoteGatewayLongitude() {
768
+ this._remoteGatewayLongitude = undefined;
769
+ }
770
+ // Temporarily expose input value. Use with caution.
771
+ get remoteGatewayLongitudeInput() {
772
+ return this._remoteGatewayLongitude;
773
+ }
774
+ // remote_gateway_type - computed: false, optional: false, required: true
775
+ _remoteGatewayType;
776
+ get remoteGatewayType() {
777
+ return this.getStringAttribute('remote_gateway_type');
778
+ }
779
+ set remoteGatewayType(value) {
780
+ this._remoteGatewayType = value;
781
+ }
782
+ // Temporarily expose input value. Use with caution.
783
+ get remoteGatewayTypeInput() {
784
+ return this._remoteGatewayType;
785
+ }
786
+ // remote_identifier - computed: false, optional: true, required: false
787
+ _remoteIdentifier;
788
+ get remoteIdentifier() {
789
+ return this.getStringAttribute('remote_identifier');
790
+ }
791
+ set remoteIdentifier(value) {
792
+ this._remoteIdentifier = value;
793
+ }
794
+ resetRemoteIdentifier() {
795
+ this._remoteIdentifier = undefined;
796
+ }
797
+ // Temporarily expose input value. Use with caution.
798
+ get remoteIdentifierInput() {
799
+ return this._remoteIdentifier;
800
+ }
801
+ // remote_source_real_cidrs - computed: false, optional: true, required: false
802
+ _remoteSourceRealCidrs;
803
+ get remoteSourceRealCidrs() {
804
+ return this.getListAttribute('remote_source_real_cidrs');
805
+ }
806
+ set remoteSourceRealCidrs(value) {
807
+ this._remoteSourceRealCidrs = value;
808
+ }
809
+ resetRemoteSourceRealCidrs() {
810
+ this._remoteSourceRealCidrs = undefined;
811
+ }
812
+ // Temporarily expose input value. Use with caution.
813
+ get remoteSourceRealCidrsInput() {
814
+ return this._remoteSourceRealCidrs;
815
+ }
816
+ // remote_source_virtual_cidrs - computed: false, optional: true, required: false
817
+ _remoteSourceVirtualCidrs;
818
+ get remoteSourceVirtualCidrs() {
819
+ return this.getListAttribute('remote_source_virtual_cidrs');
820
+ }
821
+ set remoteSourceVirtualCidrs(value) {
822
+ this._remoteSourceVirtualCidrs = value;
823
+ }
824
+ resetRemoteSourceVirtualCidrs() {
825
+ this._remoteSourceVirtualCidrs = undefined;
826
+ }
827
+ // Temporarily expose input value. Use with caution.
828
+ get remoteSourceVirtualCidrsInput() {
829
+ return this._remoteSourceVirtualCidrs;
830
+ }
831
+ // remote_subnet_cidr - computed: false, optional: true, required: false
832
+ _remoteSubnetCidr;
833
+ get remoteSubnetCidr() {
834
+ return this.getStringAttribute('remote_subnet_cidr');
835
+ }
836
+ set remoteSubnetCidr(value) {
837
+ this._remoteSubnetCidr = value;
838
+ }
839
+ resetRemoteSubnetCidr() {
840
+ this._remoteSubnetCidr = undefined;
841
+ }
842
+ // Temporarily expose input value. Use with caution.
843
+ get remoteSubnetCidrInput() {
844
+ return this._remoteSubnetCidr;
845
+ }
846
+ // remote_subnet_virtual - computed: false, optional: true, required: false
847
+ _remoteSubnetVirtual;
848
+ get remoteSubnetVirtual() {
849
+ return this.getStringAttribute('remote_subnet_virtual');
850
+ }
851
+ set remoteSubnetVirtual(value) {
852
+ this._remoteSubnetVirtual = value;
853
+ }
854
+ resetRemoteSubnetVirtual() {
855
+ this._remoteSubnetVirtual = undefined;
856
+ }
857
+ // Temporarily expose input value. Use with caution.
858
+ get remoteSubnetVirtualInput() {
859
+ return this._remoteSubnetVirtual;
860
+ }
861
+ // remote_tunnel_ip - computed: false, optional: true, required: false
862
+ _remoteTunnelIp;
863
+ get remoteTunnelIp() {
864
+ return this.getStringAttribute('remote_tunnel_ip');
865
+ }
866
+ set remoteTunnelIp(value) {
867
+ this._remoteTunnelIp = value;
868
+ }
869
+ resetRemoteTunnelIp() {
870
+ this._remoteTunnelIp = undefined;
871
+ }
872
+ // Temporarily expose input value. Use with caution.
873
+ get remoteTunnelIpInput() {
874
+ return this._remoteTunnelIp;
875
+ }
876
+ // route_table_list - computed: false, optional: true, required: false
877
+ _routeTableList;
878
+ get routeTableList() {
879
+ return this.getListAttribute('route_table_list');
880
+ }
881
+ set routeTableList(value) {
882
+ this._routeTableList = value;
883
+ }
884
+ resetRouteTableList() {
885
+ this._routeTableList = undefined;
886
+ }
887
+ // Temporarily expose input value. Use with caution.
888
+ get routeTableListInput() {
889
+ return this._routeTableList;
890
+ }
891
+ // ssl_server_pool - computed: false, optional: true, required: false
892
+ _sslServerPool;
893
+ get sslServerPool() {
894
+ return this.getStringAttribute('ssl_server_pool');
895
+ }
896
+ set sslServerPool(value) {
897
+ this._sslServerPool = value;
898
+ }
899
+ resetSslServerPool() {
900
+ this._sslServerPool = undefined;
901
+ }
902
+ // Temporarily expose input value. Use with caution.
903
+ get sslServerPoolInput() {
904
+ return this._sslServerPool;
905
+ }
906
+ // tunnel_type - computed: false, optional: false, required: true
907
+ _tunnelType;
908
+ get tunnelType() {
909
+ return this.getStringAttribute('tunnel_type');
910
+ }
911
+ set tunnelType(value) {
912
+ this._tunnelType = value;
913
+ }
914
+ // Temporarily expose input value. Use with caution.
915
+ get tunnelTypeInput() {
916
+ return this._tunnelType;
917
+ }
918
+ // vpc_id - computed: false, optional: false, required: true
919
+ _vpcId;
920
+ get vpcId() {
921
+ return this.getStringAttribute('vpc_id');
922
+ }
923
+ set vpcId(value) {
924
+ this._vpcId = value;
925
+ }
926
+ // Temporarily expose input value. Use with caution.
927
+ get vpcIdInput() {
928
+ return this._vpcId;
929
+ }
930
+ // =========
931
+ // SYNTHESIS
932
+ // =========
933
+ synthesizeAttributes() {
934
+ return {
935
+ auth_type: cdktf.stringToTerraform(this._authType),
936
+ backup_gateway_name: cdktf.stringToTerraform(this._backupGatewayName),
937
+ backup_local_tunnel_ip: cdktf.stringToTerraform(this._backupLocalTunnelIp),
938
+ backup_pre_shared_key: cdktf.stringToTerraform(this._backupPreSharedKey),
939
+ backup_remote_gateway_ip: cdktf.stringToTerraform(this._backupRemoteGatewayIp),
940
+ backup_remote_gateway_latitude: cdktf.numberToTerraform(this._backupRemoteGatewayLatitude),
941
+ backup_remote_gateway_longitude: cdktf.numberToTerraform(this._backupRemoteGatewayLongitude),
942
+ backup_remote_identifier: cdktf.stringToTerraform(this._backupRemoteIdentifier),
943
+ backup_remote_tunnel_ip: cdktf.stringToTerraform(this._backupRemoteTunnelIp),
944
+ ca_cert_tag_name: cdktf.stringToTerraform(this._caCertTagName),
945
+ connection_name: cdktf.stringToTerraform(this._connectionName),
946
+ connection_type: cdktf.stringToTerraform(this._connectionType),
947
+ custom_algorithms: cdktf.booleanToTerraform(this._customAlgorithms),
948
+ custom_mapped: cdktf.booleanToTerraform(this._customMapped),
949
+ enable_active_active: cdktf.booleanToTerraform(this._enableActiveActive),
950
+ enable_dead_peer_detection: cdktf.booleanToTerraform(this._enableDeadPeerDetection),
951
+ enable_event_triggered_ha: cdktf.booleanToTerraform(this._enableEventTriggeredHa),
952
+ enable_ikev2: cdktf.booleanToTerraform(this._enableIkev2),
953
+ enable_single_ip_ha: cdktf.booleanToTerraform(this._enableSingleIpHa),
954
+ forward_traffic_to_transit: cdktf.booleanToTerraform(this._forwardTrafficToTransit),
955
+ ha_enabled: cdktf.booleanToTerraform(this._haEnabled),
956
+ id: cdktf.stringToTerraform(this._id),
957
+ local_destination_real_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._localDestinationRealCidrs),
958
+ local_destination_virtual_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._localDestinationVirtualCidrs),
959
+ local_source_real_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._localSourceRealCidrs),
960
+ local_source_virtual_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._localSourceVirtualCidrs),
961
+ local_subnet_cidr: cdktf.stringToTerraform(this._localSubnetCidr),
962
+ local_subnet_virtual: cdktf.stringToTerraform(this._localSubnetVirtual),
963
+ local_tunnel_ip: cdktf.stringToTerraform(this._localTunnelIp),
964
+ phase1_local_identifier: cdktf.stringToTerraform(this._phase1LocalIdentifier),
965
+ phase1_remote_identifier: cdktf.listMapper(cdktf.stringToTerraform, false)(this._phase1RemoteIdentifier),
966
+ phase_1_authentication: cdktf.stringToTerraform(this._phase1Authentication),
967
+ phase_1_dh_groups: cdktf.stringToTerraform(this._phase1DhGroups),
968
+ phase_1_encryption: cdktf.stringToTerraform(this._phase1Encryption),
969
+ phase_2_authentication: cdktf.stringToTerraform(this._phase2Authentication),
970
+ phase_2_dh_groups: cdktf.stringToTerraform(this._phase2DhGroups),
971
+ phase_2_encryption: cdktf.stringToTerraform(this._phase2Encryption),
972
+ pre_shared_key: cdktf.stringToTerraform(this._preSharedKey),
973
+ primary_cloud_gateway_name: cdktf.stringToTerraform(this._primaryCloudGatewayName),
974
+ private_route_encryption: cdktf.booleanToTerraform(this._privateRouteEncryption),
975
+ remote_destination_real_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._remoteDestinationRealCidrs),
976
+ remote_destination_virtual_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._remoteDestinationVirtualCidrs),
977
+ remote_gateway_ip: cdktf.stringToTerraform(this._remoteGatewayIp),
978
+ remote_gateway_latitude: cdktf.numberToTerraform(this._remoteGatewayLatitude),
979
+ remote_gateway_longitude: cdktf.numberToTerraform(this._remoteGatewayLongitude),
980
+ remote_gateway_type: cdktf.stringToTerraform(this._remoteGatewayType),
981
+ remote_identifier: cdktf.stringToTerraform(this._remoteIdentifier),
982
+ remote_source_real_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._remoteSourceRealCidrs),
983
+ remote_source_virtual_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._remoteSourceVirtualCidrs),
984
+ remote_subnet_cidr: cdktf.stringToTerraform(this._remoteSubnetCidr),
985
+ remote_subnet_virtual: cdktf.stringToTerraform(this._remoteSubnetVirtual),
986
+ remote_tunnel_ip: cdktf.stringToTerraform(this._remoteTunnelIp),
987
+ route_table_list: cdktf.listMapper(cdktf.stringToTerraform, false)(this._routeTableList),
988
+ ssl_server_pool: cdktf.stringToTerraform(this._sslServerPool),
989
+ tunnel_type: cdktf.stringToTerraform(this._tunnelType),
990
+ vpc_id: cdktf.stringToTerraform(this._vpcId),
991
+ };
992
+ }
993
+ synthesizeHclAttributes() {
994
+ const attrs = {
995
+ auth_type: {
996
+ value: cdktf.stringToHclTerraform(this._authType),
997
+ isBlock: false,
998
+ type: "simple",
999
+ storageClassType: "string",
1000
+ },
1001
+ backup_gateway_name: {
1002
+ value: cdktf.stringToHclTerraform(this._backupGatewayName),
1003
+ isBlock: false,
1004
+ type: "simple",
1005
+ storageClassType: "string",
1006
+ },
1007
+ backup_local_tunnel_ip: {
1008
+ value: cdktf.stringToHclTerraform(this._backupLocalTunnelIp),
1009
+ isBlock: false,
1010
+ type: "simple",
1011
+ storageClassType: "string",
1012
+ },
1013
+ backup_pre_shared_key: {
1014
+ value: cdktf.stringToHclTerraform(this._backupPreSharedKey),
1015
+ isBlock: false,
1016
+ type: "simple",
1017
+ storageClassType: "string",
1018
+ },
1019
+ backup_remote_gateway_ip: {
1020
+ value: cdktf.stringToHclTerraform(this._backupRemoteGatewayIp),
1021
+ isBlock: false,
1022
+ type: "simple",
1023
+ storageClassType: "string",
1024
+ },
1025
+ backup_remote_gateway_latitude: {
1026
+ value: cdktf.numberToHclTerraform(this._backupRemoteGatewayLatitude),
1027
+ isBlock: false,
1028
+ type: "simple",
1029
+ storageClassType: "number",
1030
+ },
1031
+ backup_remote_gateway_longitude: {
1032
+ value: cdktf.numberToHclTerraform(this._backupRemoteGatewayLongitude),
1033
+ isBlock: false,
1034
+ type: "simple",
1035
+ storageClassType: "number",
1036
+ },
1037
+ backup_remote_identifier: {
1038
+ value: cdktf.stringToHclTerraform(this._backupRemoteIdentifier),
1039
+ isBlock: false,
1040
+ type: "simple",
1041
+ storageClassType: "string",
1042
+ },
1043
+ backup_remote_tunnel_ip: {
1044
+ value: cdktf.stringToHclTerraform(this._backupRemoteTunnelIp),
1045
+ isBlock: false,
1046
+ type: "simple",
1047
+ storageClassType: "string",
1048
+ },
1049
+ ca_cert_tag_name: {
1050
+ value: cdktf.stringToHclTerraform(this._caCertTagName),
1051
+ isBlock: false,
1052
+ type: "simple",
1053
+ storageClassType: "string",
1054
+ },
1055
+ connection_name: {
1056
+ value: cdktf.stringToHclTerraform(this._connectionName),
1057
+ isBlock: false,
1058
+ type: "simple",
1059
+ storageClassType: "string",
1060
+ },
1061
+ connection_type: {
1062
+ value: cdktf.stringToHclTerraform(this._connectionType),
1063
+ isBlock: false,
1064
+ type: "simple",
1065
+ storageClassType: "string",
1066
+ },
1067
+ custom_algorithms: {
1068
+ value: cdktf.booleanToHclTerraform(this._customAlgorithms),
1069
+ isBlock: false,
1070
+ type: "simple",
1071
+ storageClassType: "boolean",
1072
+ },
1073
+ custom_mapped: {
1074
+ value: cdktf.booleanToHclTerraform(this._customMapped),
1075
+ isBlock: false,
1076
+ type: "simple",
1077
+ storageClassType: "boolean",
1078
+ },
1079
+ enable_active_active: {
1080
+ value: cdktf.booleanToHclTerraform(this._enableActiveActive),
1081
+ isBlock: false,
1082
+ type: "simple",
1083
+ storageClassType: "boolean",
1084
+ },
1085
+ enable_dead_peer_detection: {
1086
+ value: cdktf.booleanToHclTerraform(this._enableDeadPeerDetection),
1087
+ isBlock: false,
1088
+ type: "simple",
1089
+ storageClassType: "boolean",
1090
+ },
1091
+ enable_event_triggered_ha: {
1092
+ value: cdktf.booleanToHclTerraform(this._enableEventTriggeredHa),
1093
+ isBlock: false,
1094
+ type: "simple",
1095
+ storageClassType: "boolean",
1096
+ },
1097
+ enable_ikev2: {
1098
+ value: cdktf.booleanToHclTerraform(this._enableIkev2),
1099
+ isBlock: false,
1100
+ type: "simple",
1101
+ storageClassType: "boolean",
1102
+ },
1103
+ enable_single_ip_ha: {
1104
+ value: cdktf.booleanToHclTerraform(this._enableSingleIpHa),
1105
+ isBlock: false,
1106
+ type: "simple",
1107
+ storageClassType: "boolean",
1108
+ },
1109
+ forward_traffic_to_transit: {
1110
+ value: cdktf.booleanToHclTerraform(this._forwardTrafficToTransit),
1111
+ isBlock: false,
1112
+ type: "simple",
1113
+ storageClassType: "boolean",
1114
+ },
1115
+ ha_enabled: {
1116
+ value: cdktf.booleanToHclTerraform(this._haEnabled),
1117
+ isBlock: false,
1118
+ type: "simple",
1119
+ storageClassType: "boolean",
1120
+ },
1121
+ id: {
1122
+ value: cdktf.stringToHclTerraform(this._id),
1123
+ isBlock: false,
1124
+ type: "simple",
1125
+ storageClassType: "string",
1126
+ },
1127
+ local_destination_real_cidrs: {
1128
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._localDestinationRealCidrs),
1129
+ isBlock: false,
1130
+ type: "list",
1131
+ storageClassType: "stringList",
1132
+ },
1133
+ local_destination_virtual_cidrs: {
1134
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._localDestinationVirtualCidrs),
1135
+ isBlock: false,
1136
+ type: "list",
1137
+ storageClassType: "stringList",
1138
+ },
1139
+ local_source_real_cidrs: {
1140
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._localSourceRealCidrs),
1141
+ isBlock: false,
1142
+ type: "list",
1143
+ storageClassType: "stringList",
1144
+ },
1145
+ local_source_virtual_cidrs: {
1146
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._localSourceVirtualCidrs),
1147
+ isBlock: false,
1148
+ type: "list",
1149
+ storageClassType: "stringList",
1150
+ },
1151
+ local_subnet_cidr: {
1152
+ value: cdktf.stringToHclTerraform(this._localSubnetCidr),
1153
+ isBlock: false,
1154
+ type: "simple",
1155
+ storageClassType: "string",
1156
+ },
1157
+ local_subnet_virtual: {
1158
+ value: cdktf.stringToHclTerraform(this._localSubnetVirtual),
1159
+ isBlock: false,
1160
+ type: "simple",
1161
+ storageClassType: "string",
1162
+ },
1163
+ local_tunnel_ip: {
1164
+ value: cdktf.stringToHclTerraform(this._localTunnelIp),
1165
+ isBlock: false,
1166
+ type: "simple",
1167
+ storageClassType: "string",
1168
+ },
1169
+ phase1_local_identifier: {
1170
+ value: cdktf.stringToHclTerraform(this._phase1LocalIdentifier),
1171
+ isBlock: false,
1172
+ type: "simple",
1173
+ storageClassType: "string",
1174
+ },
1175
+ phase1_remote_identifier: {
1176
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._phase1RemoteIdentifier),
1177
+ isBlock: false,
1178
+ type: "list",
1179
+ storageClassType: "stringList",
1180
+ },
1181
+ phase_1_authentication: {
1182
+ value: cdktf.stringToHclTerraform(this._phase1Authentication),
1183
+ isBlock: false,
1184
+ type: "simple",
1185
+ storageClassType: "string",
1186
+ },
1187
+ phase_1_dh_groups: {
1188
+ value: cdktf.stringToHclTerraform(this._phase1DhGroups),
1189
+ isBlock: false,
1190
+ type: "simple",
1191
+ storageClassType: "string",
1192
+ },
1193
+ phase_1_encryption: {
1194
+ value: cdktf.stringToHclTerraform(this._phase1Encryption),
1195
+ isBlock: false,
1196
+ type: "simple",
1197
+ storageClassType: "string",
1198
+ },
1199
+ phase_2_authentication: {
1200
+ value: cdktf.stringToHclTerraform(this._phase2Authentication),
1201
+ isBlock: false,
1202
+ type: "simple",
1203
+ storageClassType: "string",
1204
+ },
1205
+ phase_2_dh_groups: {
1206
+ value: cdktf.stringToHclTerraform(this._phase2DhGroups),
1207
+ isBlock: false,
1208
+ type: "simple",
1209
+ storageClassType: "string",
1210
+ },
1211
+ phase_2_encryption: {
1212
+ value: cdktf.stringToHclTerraform(this._phase2Encryption),
1213
+ isBlock: false,
1214
+ type: "simple",
1215
+ storageClassType: "string",
1216
+ },
1217
+ pre_shared_key: {
1218
+ value: cdktf.stringToHclTerraform(this._preSharedKey),
1219
+ isBlock: false,
1220
+ type: "simple",
1221
+ storageClassType: "string",
1222
+ },
1223
+ primary_cloud_gateway_name: {
1224
+ value: cdktf.stringToHclTerraform(this._primaryCloudGatewayName),
1225
+ isBlock: false,
1226
+ type: "simple",
1227
+ storageClassType: "string",
1228
+ },
1229
+ private_route_encryption: {
1230
+ value: cdktf.booleanToHclTerraform(this._privateRouteEncryption),
1231
+ isBlock: false,
1232
+ type: "simple",
1233
+ storageClassType: "boolean",
1234
+ },
1235
+ remote_destination_real_cidrs: {
1236
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._remoteDestinationRealCidrs),
1237
+ isBlock: false,
1238
+ type: "list",
1239
+ storageClassType: "stringList",
1240
+ },
1241
+ remote_destination_virtual_cidrs: {
1242
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._remoteDestinationVirtualCidrs),
1243
+ isBlock: false,
1244
+ type: "list",
1245
+ storageClassType: "stringList",
1246
+ },
1247
+ remote_gateway_ip: {
1248
+ value: cdktf.stringToHclTerraform(this._remoteGatewayIp),
1249
+ isBlock: false,
1250
+ type: "simple",
1251
+ storageClassType: "string",
1252
+ },
1253
+ remote_gateway_latitude: {
1254
+ value: cdktf.numberToHclTerraform(this._remoteGatewayLatitude),
1255
+ isBlock: false,
1256
+ type: "simple",
1257
+ storageClassType: "number",
1258
+ },
1259
+ remote_gateway_longitude: {
1260
+ value: cdktf.numberToHclTerraform(this._remoteGatewayLongitude),
1261
+ isBlock: false,
1262
+ type: "simple",
1263
+ storageClassType: "number",
1264
+ },
1265
+ remote_gateway_type: {
1266
+ value: cdktf.stringToHclTerraform(this._remoteGatewayType),
1267
+ isBlock: false,
1268
+ type: "simple",
1269
+ storageClassType: "string",
1270
+ },
1271
+ remote_identifier: {
1272
+ value: cdktf.stringToHclTerraform(this._remoteIdentifier),
1273
+ isBlock: false,
1274
+ type: "simple",
1275
+ storageClassType: "string",
1276
+ },
1277
+ remote_source_real_cidrs: {
1278
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._remoteSourceRealCidrs),
1279
+ isBlock: false,
1280
+ type: "list",
1281
+ storageClassType: "stringList",
1282
+ },
1283
+ remote_source_virtual_cidrs: {
1284
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._remoteSourceVirtualCidrs),
1285
+ isBlock: false,
1286
+ type: "list",
1287
+ storageClassType: "stringList",
1288
+ },
1289
+ remote_subnet_cidr: {
1290
+ value: cdktf.stringToHclTerraform(this._remoteSubnetCidr),
1291
+ isBlock: false,
1292
+ type: "simple",
1293
+ storageClassType: "string",
1294
+ },
1295
+ remote_subnet_virtual: {
1296
+ value: cdktf.stringToHclTerraform(this._remoteSubnetVirtual),
1297
+ isBlock: false,
1298
+ type: "simple",
1299
+ storageClassType: "string",
1300
+ },
1301
+ remote_tunnel_ip: {
1302
+ value: cdktf.stringToHclTerraform(this._remoteTunnelIp),
1303
+ isBlock: false,
1304
+ type: "simple",
1305
+ storageClassType: "string",
1306
+ },
1307
+ route_table_list: {
1308
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._routeTableList),
1309
+ isBlock: false,
1310
+ type: "list",
1311
+ storageClassType: "stringList",
1312
+ },
1313
+ ssl_server_pool: {
1314
+ value: cdktf.stringToHclTerraform(this._sslServerPool),
1315
+ isBlock: false,
1316
+ type: "simple",
1317
+ storageClassType: "string",
1318
+ },
1319
+ tunnel_type: {
1320
+ value: cdktf.stringToHclTerraform(this._tunnelType),
1321
+ isBlock: false,
1322
+ type: "simple",
1323
+ storageClassType: "string",
1324
+ },
1325
+ vpc_id: {
1326
+ value: cdktf.stringToHclTerraform(this._vpcId),
1327
+ isBlock: false,
1328
+ type: "simple",
1329
+ storageClassType: "string",
1330
+ },
1331
+ };
1332
+ // remove undefined attributes
1333
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
1334
+ }
1335
+ }