@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,166 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/tunnel
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/tunnel aviatrix_tunnel}
6
+ */
7
+ export class Tunnel extends cdktf.TerraformResource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aviatrix_tunnel";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a Tunnel 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 Tunnel to import
19
+ * @param importFromId The id of the existing Tunnel that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/tunnel#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the Tunnel to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_tunnel", 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/tunnel aviatrix_tunnel} 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 TunnelConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aviatrix_tunnel',
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._enableHa = config.enableHa;
52
+ this._gwName1 = config.gwName1;
53
+ this._gwName2 = config.gwName2;
54
+ this._id = config.id;
55
+ }
56
+ // ==========
57
+ // ATTRIBUTES
58
+ // ==========
59
+ // enable_ha - computed: false, optional: true, required: false
60
+ _enableHa;
61
+ get enableHa() {
62
+ return this.getBooleanAttribute('enable_ha');
63
+ }
64
+ set enableHa(value) {
65
+ this._enableHa = value;
66
+ }
67
+ resetEnableHa() {
68
+ this._enableHa = undefined;
69
+ }
70
+ // Temporarily expose input value. Use with caution.
71
+ get enableHaInput() {
72
+ return this._enableHa;
73
+ }
74
+ // gw_name1 - computed: false, optional: false, required: true
75
+ _gwName1;
76
+ get gwName1() {
77
+ return this.getStringAttribute('gw_name1');
78
+ }
79
+ set gwName1(value) {
80
+ this._gwName1 = value;
81
+ }
82
+ // Temporarily expose input value. Use with caution.
83
+ get gwName1Input() {
84
+ return this._gwName1;
85
+ }
86
+ // gw_name2 - computed: false, optional: false, required: true
87
+ _gwName2;
88
+ get gwName2() {
89
+ return this.getStringAttribute('gw_name2');
90
+ }
91
+ set gwName2(value) {
92
+ this._gwName2 = value;
93
+ }
94
+ // Temporarily expose input value. Use with caution.
95
+ get gwName2Input() {
96
+ return this._gwName2;
97
+ }
98
+ // id - computed: true, optional: true, required: false
99
+ _id;
100
+ get id() {
101
+ return this.getStringAttribute('id');
102
+ }
103
+ set id(value) {
104
+ this._id = value;
105
+ }
106
+ resetId() {
107
+ this._id = undefined;
108
+ }
109
+ // Temporarily expose input value. Use with caution.
110
+ get idInput() {
111
+ return this._id;
112
+ }
113
+ // peering_hastatus - computed: true, optional: false, required: false
114
+ get peeringHastatus() {
115
+ return this.getStringAttribute('peering_hastatus');
116
+ }
117
+ // peering_link - computed: true, optional: false, required: false
118
+ get peeringLink() {
119
+ return this.getStringAttribute('peering_link');
120
+ }
121
+ // peering_state - computed: true, optional: false, required: false
122
+ get peeringState() {
123
+ return this.getStringAttribute('peering_state');
124
+ }
125
+ // =========
126
+ // SYNTHESIS
127
+ // =========
128
+ synthesizeAttributes() {
129
+ return {
130
+ enable_ha: cdktf.booleanToTerraform(this._enableHa),
131
+ gw_name1: cdktf.stringToTerraform(this._gwName1),
132
+ gw_name2: cdktf.stringToTerraform(this._gwName2),
133
+ id: cdktf.stringToTerraform(this._id),
134
+ };
135
+ }
136
+ synthesizeHclAttributes() {
137
+ const attrs = {
138
+ enable_ha: {
139
+ value: cdktf.booleanToHclTerraform(this._enableHa),
140
+ isBlock: false,
141
+ type: "simple",
142
+ storageClassType: "boolean",
143
+ },
144
+ gw_name1: {
145
+ value: cdktf.stringToHclTerraform(this._gwName1),
146
+ isBlock: false,
147
+ type: "simple",
148
+ storageClassType: "string",
149
+ },
150
+ gw_name2: {
151
+ value: cdktf.stringToHclTerraform(this._gwName2),
152
+ isBlock: false,
153
+ type: "simple",
154
+ storageClassType: "string",
155
+ },
156
+ id: {
157
+ value: cdktf.stringToHclTerraform(this._id),
158
+ isBlock: false,
159
+ type: "simple",
160
+ storageClassType: "string",
161
+ },
162
+ };
163
+ // remove undefined attributes
164
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
165
+ }
166
+ }
@@ -0,0 +1,158 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface VgwConnConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * BGP local ASN (Autonomous System Number). Integer between 1-4294967294.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#bgp_local_as_num VgwConn#bgp_local_as_num}
8
+ */
9
+ readonly bgpLocalAsNum: string;
10
+ /**
11
+ * Account of AWS's VGW that is used for this connection.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#bgp_vgw_account VgwConn#bgp_vgw_account}
14
+ */
15
+ readonly bgpVgwAccount: string;
16
+ /**
17
+ * Id of AWS's VGW that is used for this connection.
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#bgp_vgw_id VgwConn#bgp_vgw_id}
20
+ */
21
+ readonly bgpVgwId: string;
22
+ /**
23
+ * Region of AWS's VGW that is used for this connection.
24
+ *
25
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#bgp_vgw_region VgwConn#bgp_vgw_region}
26
+ */
27
+ readonly bgpVgwRegion: string;
28
+ /**
29
+ * The name of the VGW connection which is going to be created.
30
+ *
31
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#conn_name VgwConn#conn_name}
32
+ */
33
+ readonly connName: string;
34
+ /**
35
+ * Enable Event Triggered HA.
36
+ *
37
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#enable_event_triggered_ha VgwConn#enable_event_triggered_ha}
38
+ */
39
+ readonly enableEventTriggeredHa?: boolean | cdktf.IResolvable;
40
+ /**
41
+ * Enable learned CIDR approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
42
+ *
43
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#enable_learned_cidrs_approval VgwConn#enable_learned_cidrs_approval}
44
+ */
45
+ readonly enableLearnedCidrsApproval?: boolean | cdktf.IResolvable;
46
+ /**
47
+ * Name of the Transit Gateway.
48
+ *
49
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#gw_name VgwConn#gw_name}
50
+ */
51
+ readonly gwName: string;
52
+ /**
53
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#id VgwConn#id}
54
+ *
55
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
56
+ * 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.
57
+ */
58
+ readonly id?: string;
59
+ /**
60
+ * Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
61
+ *
62
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#manual_bgp_advertised_cidrs VgwConn#manual_bgp_advertised_cidrs}
63
+ */
64
+ readonly manualBgpAdvertisedCidrs?: string[];
65
+ /**
66
+ * Connection AS Path Prepend customized by specifying AS PATH for a BGP connection.
67
+ *
68
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#prepend_as_path VgwConn#prepend_as_path}
69
+ */
70
+ readonly prependAsPath?: string[];
71
+ /**
72
+ * VPC-ID where the Transit Gateway is located.
73
+ *
74
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#vpc_id VgwConn#vpc_id}
75
+ */
76
+ readonly vpcId: string;
77
+ }
78
+ /**
79
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn aviatrix_vgw_conn}
80
+ */
81
+ export declare class VgwConn extends cdktf.TerraformResource {
82
+ static readonly tfResourceType = "aviatrix_vgw_conn";
83
+ /**
84
+ * Generates CDKTF code for importing a VgwConn resource upon running "cdktf plan <stack-name>"
85
+ * @param scope The scope in which to define this construct
86
+ * @param importToId The construct id used in the generated config for the VgwConn to import
87
+ * @param importFromId The id of the existing VgwConn that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#import import section} in the documentation of this resource for the id to use
88
+ * @param provider? Optional instance of the provider where the VgwConn to import is found
89
+ */
90
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
91
+ /**
92
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn aviatrix_vgw_conn} Resource
93
+ *
94
+ * @param scope The scope in which to define this construct
95
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
96
+ * @param options VgwConnConfig
97
+ */
98
+ constructor(scope: Construct, id: string, config: VgwConnConfig);
99
+ private _bgpLocalAsNum?;
100
+ get bgpLocalAsNum(): string;
101
+ set bgpLocalAsNum(value: string);
102
+ get bgpLocalAsNumInput(): string;
103
+ private _bgpVgwAccount?;
104
+ get bgpVgwAccount(): string;
105
+ set bgpVgwAccount(value: string);
106
+ get bgpVgwAccountInput(): string;
107
+ private _bgpVgwId?;
108
+ get bgpVgwId(): string;
109
+ set bgpVgwId(value: string);
110
+ get bgpVgwIdInput(): string;
111
+ private _bgpVgwRegion?;
112
+ get bgpVgwRegion(): string;
113
+ set bgpVgwRegion(value: string);
114
+ get bgpVgwRegionInput(): string;
115
+ private _connName?;
116
+ get connName(): string;
117
+ set connName(value: string);
118
+ get connNameInput(): string;
119
+ private _enableEventTriggeredHa?;
120
+ get enableEventTriggeredHa(): boolean | cdktf.IResolvable;
121
+ set enableEventTriggeredHa(value: boolean | cdktf.IResolvable);
122
+ resetEnableEventTriggeredHa(): void;
123
+ get enableEventTriggeredHaInput(): any;
124
+ private _enableLearnedCidrsApproval?;
125
+ get enableLearnedCidrsApproval(): boolean | cdktf.IResolvable;
126
+ set enableLearnedCidrsApproval(value: boolean | cdktf.IResolvable);
127
+ resetEnableLearnedCidrsApproval(): void;
128
+ get enableLearnedCidrsApprovalInput(): any;
129
+ private _gwName?;
130
+ get gwName(): string;
131
+ set gwName(value: string);
132
+ get gwNameInput(): string;
133
+ private _id?;
134
+ get id(): string;
135
+ set id(value: string);
136
+ resetId(): void;
137
+ get idInput(): string;
138
+ private _manualBgpAdvertisedCidrs?;
139
+ get manualBgpAdvertisedCidrs(): string[];
140
+ set manualBgpAdvertisedCidrs(value: string[]);
141
+ resetManualBgpAdvertisedCidrs(): void;
142
+ get manualBgpAdvertisedCidrsInput(): string[];
143
+ private _prependAsPath?;
144
+ get prependAsPath(): string[];
145
+ set prependAsPath(value: string[]);
146
+ resetPrependAsPath(): void;
147
+ get prependAsPathInput(): string[];
148
+ private _vpcId?;
149
+ get vpcId(): string;
150
+ set vpcId(value: string);
151
+ get vpcIdInput(): string;
152
+ protected synthesizeAttributes(): {
153
+ [name: string]: any;
154
+ };
155
+ protected synthesizeHclAttributes(): {
156
+ [name: string]: any;
157
+ };
158
+ }
@@ -0,0 +1,323 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn
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/vgw_conn aviatrix_vgw_conn}
6
+ */
7
+ export class VgwConn extends cdktf.TerraformResource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aviatrix_vgw_conn";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a VgwConn 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 VgwConn to import
19
+ * @param importFromId The id of the existing VgwConn that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/vgw_conn#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the VgwConn to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_vgw_conn", 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/vgw_conn aviatrix_vgw_conn} 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 VgwConnConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aviatrix_vgw_conn',
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._bgpLocalAsNum = config.bgpLocalAsNum;
52
+ this._bgpVgwAccount = config.bgpVgwAccount;
53
+ this._bgpVgwId = config.bgpVgwId;
54
+ this._bgpVgwRegion = config.bgpVgwRegion;
55
+ this._connName = config.connName;
56
+ this._enableEventTriggeredHa = config.enableEventTriggeredHa;
57
+ this._enableLearnedCidrsApproval = config.enableLearnedCidrsApproval;
58
+ this._gwName = config.gwName;
59
+ this._id = config.id;
60
+ this._manualBgpAdvertisedCidrs = config.manualBgpAdvertisedCidrs;
61
+ this._prependAsPath = config.prependAsPath;
62
+ this._vpcId = config.vpcId;
63
+ }
64
+ // ==========
65
+ // ATTRIBUTES
66
+ // ==========
67
+ // bgp_local_as_num - computed: false, optional: false, required: true
68
+ _bgpLocalAsNum;
69
+ get bgpLocalAsNum() {
70
+ return this.getStringAttribute('bgp_local_as_num');
71
+ }
72
+ set bgpLocalAsNum(value) {
73
+ this._bgpLocalAsNum = value;
74
+ }
75
+ // Temporarily expose input value. Use with caution.
76
+ get bgpLocalAsNumInput() {
77
+ return this._bgpLocalAsNum;
78
+ }
79
+ // bgp_vgw_account - computed: false, optional: false, required: true
80
+ _bgpVgwAccount;
81
+ get bgpVgwAccount() {
82
+ return this.getStringAttribute('bgp_vgw_account');
83
+ }
84
+ set bgpVgwAccount(value) {
85
+ this._bgpVgwAccount = value;
86
+ }
87
+ // Temporarily expose input value. Use with caution.
88
+ get bgpVgwAccountInput() {
89
+ return this._bgpVgwAccount;
90
+ }
91
+ // bgp_vgw_id - computed: false, optional: false, required: true
92
+ _bgpVgwId;
93
+ get bgpVgwId() {
94
+ return this.getStringAttribute('bgp_vgw_id');
95
+ }
96
+ set bgpVgwId(value) {
97
+ this._bgpVgwId = value;
98
+ }
99
+ // Temporarily expose input value. Use with caution.
100
+ get bgpVgwIdInput() {
101
+ return this._bgpVgwId;
102
+ }
103
+ // bgp_vgw_region - computed: false, optional: false, required: true
104
+ _bgpVgwRegion;
105
+ get bgpVgwRegion() {
106
+ return this.getStringAttribute('bgp_vgw_region');
107
+ }
108
+ set bgpVgwRegion(value) {
109
+ this._bgpVgwRegion = value;
110
+ }
111
+ // Temporarily expose input value. Use with caution.
112
+ get bgpVgwRegionInput() {
113
+ return this._bgpVgwRegion;
114
+ }
115
+ // conn_name - computed: false, optional: false, required: true
116
+ _connName;
117
+ get connName() {
118
+ return this.getStringAttribute('conn_name');
119
+ }
120
+ set connName(value) {
121
+ this._connName = value;
122
+ }
123
+ // Temporarily expose input value. Use with caution.
124
+ get connNameInput() {
125
+ return this._connName;
126
+ }
127
+ // enable_event_triggered_ha - computed: false, optional: true, required: false
128
+ _enableEventTriggeredHa;
129
+ get enableEventTriggeredHa() {
130
+ return this.getBooleanAttribute('enable_event_triggered_ha');
131
+ }
132
+ set enableEventTriggeredHa(value) {
133
+ this._enableEventTriggeredHa = value;
134
+ }
135
+ resetEnableEventTriggeredHa() {
136
+ this._enableEventTriggeredHa = undefined;
137
+ }
138
+ // Temporarily expose input value. Use with caution.
139
+ get enableEventTriggeredHaInput() {
140
+ return this._enableEventTriggeredHa;
141
+ }
142
+ // enable_learned_cidrs_approval - computed: false, optional: true, required: false
143
+ _enableLearnedCidrsApproval;
144
+ get enableLearnedCidrsApproval() {
145
+ return this.getBooleanAttribute('enable_learned_cidrs_approval');
146
+ }
147
+ set enableLearnedCidrsApproval(value) {
148
+ this._enableLearnedCidrsApproval = value;
149
+ }
150
+ resetEnableLearnedCidrsApproval() {
151
+ this._enableLearnedCidrsApproval = undefined;
152
+ }
153
+ // Temporarily expose input value. Use with caution.
154
+ get enableLearnedCidrsApprovalInput() {
155
+ return this._enableLearnedCidrsApproval;
156
+ }
157
+ // gw_name - computed: false, optional: false, required: true
158
+ _gwName;
159
+ get gwName() {
160
+ return this.getStringAttribute('gw_name');
161
+ }
162
+ set gwName(value) {
163
+ this._gwName = value;
164
+ }
165
+ // Temporarily expose input value. Use with caution.
166
+ get gwNameInput() {
167
+ return this._gwName;
168
+ }
169
+ // id - computed: true, optional: true, required: false
170
+ _id;
171
+ get id() {
172
+ return this.getStringAttribute('id');
173
+ }
174
+ set id(value) {
175
+ this._id = value;
176
+ }
177
+ resetId() {
178
+ this._id = undefined;
179
+ }
180
+ // Temporarily expose input value. Use with caution.
181
+ get idInput() {
182
+ return this._id;
183
+ }
184
+ // manual_bgp_advertised_cidrs - computed: false, optional: true, required: false
185
+ _manualBgpAdvertisedCidrs;
186
+ get manualBgpAdvertisedCidrs() {
187
+ return cdktf.Fn.tolist(this.getListAttribute('manual_bgp_advertised_cidrs'));
188
+ }
189
+ set manualBgpAdvertisedCidrs(value) {
190
+ this._manualBgpAdvertisedCidrs = value;
191
+ }
192
+ resetManualBgpAdvertisedCidrs() {
193
+ this._manualBgpAdvertisedCidrs = undefined;
194
+ }
195
+ // Temporarily expose input value. Use with caution.
196
+ get manualBgpAdvertisedCidrsInput() {
197
+ return this._manualBgpAdvertisedCidrs;
198
+ }
199
+ // prepend_as_path - computed: false, optional: true, required: false
200
+ _prependAsPath;
201
+ get prependAsPath() {
202
+ return this.getListAttribute('prepend_as_path');
203
+ }
204
+ set prependAsPath(value) {
205
+ this._prependAsPath = value;
206
+ }
207
+ resetPrependAsPath() {
208
+ this._prependAsPath = undefined;
209
+ }
210
+ // Temporarily expose input value. Use with caution.
211
+ get prependAsPathInput() {
212
+ return this._prependAsPath;
213
+ }
214
+ // vpc_id - computed: false, optional: false, required: true
215
+ _vpcId;
216
+ get vpcId() {
217
+ return this.getStringAttribute('vpc_id');
218
+ }
219
+ set vpcId(value) {
220
+ this._vpcId = value;
221
+ }
222
+ // Temporarily expose input value. Use with caution.
223
+ get vpcIdInput() {
224
+ return this._vpcId;
225
+ }
226
+ // =========
227
+ // SYNTHESIS
228
+ // =========
229
+ synthesizeAttributes() {
230
+ return {
231
+ bgp_local_as_num: cdktf.stringToTerraform(this._bgpLocalAsNum),
232
+ bgp_vgw_account: cdktf.stringToTerraform(this._bgpVgwAccount),
233
+ bgp_vgw_id: cdktf.stringToTerraform(this._bgpVgwId),
234
+ bgp_vgw_region: cdktf.stringToTerraform(this._bgpVgwRegion),
235
+ conn_name: cdktf.stringToTerraform(this._connName),
236
+ enable_event_triggered_ha: cdktf.booleanToTerraform(this._enableEventTriggeredHa),
237
+ enable_learned_cidrs_approval: cdktf.booleanToTerraform(this._enableLearnedCidrsApproval),
238
+ gw_name: cdktf.stringToTerraform(this._gwName),
239
+ id: cdktf.stringToTerraform(this._id),
240
+ manual_bgp_advertised_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._manualBgpAdvertisedCidrs),
241
+ prepend_as_path: cdktf.listMapper(cdktf.stringToTerraform, false)(this._prependAsPath),
242
+ vpc_id: cdktf.stringToTerraform(this._vpcId),
243
+ };
244
+ }
245
+ synthesizeHclAttributes() {
246
+ const attrs = {
247
+ bgp_local_as_num: {
248
+ value: cdktf.stringToHclTerraform(this._bgpLocalAsNum),
249
+ isBlock: false,
250
+ type: "simple",
251
+ storageClassType: "string",
252
+ },
253
+ bgp_vgw_account: {
254
+ value: cdktf.stringToHclTerraform(this._bgpVgwAccount),
255
+ isBlock: false,
256
+ type: "simple",
257
+ storageClassType: "string",
258
+ },
259
+ bgp_vgw_id: {
260
+ value: cdktf.stringToHclTerraform(this._bgpVgwId),
261
+ isBlock: false,
262
+ type: "simple",
263
+ storageClassType: "string",
264
+ },
265
+ bgp_vgw_region: {
266
+ value: cdktf.stringToHclTerraform(this._bgpVgwRegion),
267
+ isBlock: false,
268
+ type: "simple",
269
+ storageClassType: "string",
270
+ },
271
+ conn_name: {
272
+ value: cdktf.stringToHclTerraform(this._connName),
273
+ isBlock: false,
274
+ type: "simple",
275
+ storageClassType: "string",
276
+ },
277
+ enable_event_triggered_ha: {
278
+ value: cdktf.booleanToHclTerraform(this._enableEventTriggeredHa),
279
+ isBlock: false,
280
+ type: "simple",
281
+ storageClassType: "boolean",
282
+ },
283
+ enable_learned_cidrs_approval: {
284
+ value: cdktf.booleanToHclTerraform(this._enableLearnedCidrsApproval),
285
+ isBlock: false,
286
+ type: "simple",
287
+ storageClassType: "boolean",
288
+ },
289
+ gw_name: {
290
+ value: cdktf.stringToHclTerraform(this._gwName),
291
+ isBlock: false,
292
+ type: "simple",
293
+ storageClassType: "string",
294
+ },
295
+ id: {
296
+ value: cdktf.stringToHclTerraform(this._id),
297
+ isBlock: false,
298
+ type: "simple",
299
+ storageClassType: "string",
300
+ },
301
+ manual_bgp_advertised_cidrs: {
302
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._manualBgpAdvertisedCidrs),
303
+ isBlock: false,
304
+ type: "set",
305
+ storageClassType: "stringList",
306
+ },
307
+ prepend_as_path: {
308
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._prependAsPath),
309
+ isBlock: false,
310
+ type: "list",
311
+ storageClassType: "stringList",
312
+ },
313
+ vpc_id: {
314
+ value: cdktf.stringToHclTerraform(this._vpcId),
315
+ isBlock: false,
316
+ type: "simple",
317
+ storageClassType: "string",
318
+ },
319
+ };
320
+ // remove undefined attributes
321
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
322
+ }
323
+ }