@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,374 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_ha_gateway
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/spoke_ha_gateway aviatrix_spoke_ha_gateway}
6
+ */
7
+ export class SpokeHaGateway extends cdktf.TerraformResource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aviatrix_spoke_ha_gateway";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a SpokeHaGateway 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 SpokeHaGateway to import
19
+ * @param importFromId The id of the existing SpokeHaGateway that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_ha_gateway#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the SpokeHaGateway to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_spoke_ha_gateway", 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/spoke_ha_gateway aviatrix_spoke_ha_gateway} 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 SpokeHaGatewayConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aviatrix_spoke_ha_gateway',
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._availabilityDomain = config.availabilityDomain;
52
+ this._azureEipNameResourceGroup = config.azureEipNameResourceGroup;
53
+ this._eip = config.eip;
54
+ this._faultDomain = config.faultDomain;
55
+ this._gwName = config.gwName;
56
+ this._gwSize = config.gwSize;
57
+ this._id = config.id;
58
+ this._insaneMode = config.insaneMode;
59
+ this._insaneModeAz = config.insaneModeAz;
60
+ this._primaryGwName = config.primaryGwName;
61
+ this._subnet = config.subnet;
62
+ this._zone = config.zone;
63
+ }
64
+ // ==========
65
+ // ATTRIBUTES
66
+ // ==========
67
+ // account_name - computed: true, optional: false, required: false
68
+ get accountName() {
69
+ return this.getStringAttribute('account_name');
70
+ }
71
+ // availability_domain - computed: true, optional: true, required: false
72
+ _availabilityDomain;
73
+ get availabilityDomain() {
74
+ return this.getStringAttribute('availability_domain');
75
+ }
76
+ set availabilityDomain(value) {
77
+ this._availabilityDomain = value;
78
+ }
79
+ resetAvailabilityDomain() {
80
+ this._availabilityDomain = undefined;
81
+ }
82
+ // Temporarily expose input value. Use with caution.
83
+ get availabilityDomainInput() {
84
+ return this._availabilityDomain;
85
+ }
86
+ // azure_eip_name_resource_group - computed: false, optional: true, required: false
87
+ _azureEipNameResourceGroup;
88
+ get azureEipNameResourceGroup() {
89
+ return this.getStringAttribute('azure_eip_name_resource_group');
90
+ }
91
+ set azureEipNameResourceGroup(value) {
92
+ this._azureEipNameResourceGroup = value;
93
+ }
94
+ resetAzureEipNameResourceGroup() {
95
+ this._azureEipNameResourceGroup = undefined;
96
+ }
97
+ // Temporarily expose input value. Use with caution.
98
+ get azureEipNameResourceGroupInput() {
99
+ return this._azureEipNameResourceGroup;
100
+ }
101
+ // cloud_instance_id - computed: true, optional: false, required: false
102
+ get cloudInstanceId() {
103
+ return this.getStringAttribute('cloud_instance_id');
104
+ }
105
+ // cloud_type - computed: true, optional: false, required: false
106
+ get cloudType() {
107
+ return this.getNumberAttribute('cloud_type');
108
+ }
109
+ // eip - computed: true, optional: true, required: false
110
+ _eip;
111
+ get eip() {
112
+ return this.getStringAttribute('eip');
113
+ }
114
+ set eip(value) {
115
+ this._eip = value;
116
+ }
117
+ resetEip() {
118
+ this._eip = undefined;
119
+ }
120
+ // Temporarily expose input value. Use with caution.
121
+ get eipInput() {
122
+ return this._eip;
123
+ }
124
+ // fault_domain - computed: true, optional: true, required: false
125
+ _faultDomain;
126
+ get faultDomain() {
127
+ return this.getStringAttribute('fault_domain');
128
+ }
129
+ set faultDomain(value) {
130
+ this._faultDomain = value;
131
+ }
132
+ resetFaultDomain() {
133
+ this._faultDomain = undefined;
134
+ }
135
+ // Temporarily expose input value. Use with caution.
136
+ get faultDomainInput() {
137
+ return this._faultDomain;
138
+ }
139
+ // gw_name - computed: true, optional: true, required: false
140
+ _gwName;
141
+ get gwName() {
142
+ return this.getStringAttribute('gw_name');
143
+ }
144
+ set gwName(value) {
145
+ this._gwName = value;
146
+ }
147
+ resetGwName() {
148
+ this._gwName = undefined;
149
+ }
150
+ // Temporarily expose input value. Use with caution.
151
+ get gwNameInput() {
152
+ return this._gwName;
153
+ }
154
+ // gw_size - computed: true, optional: true, required: false
155
+ _gwSize;
156
+ get gwSize() {
157
+ return this.getStringAttribute('gw_size');
158
+ }
159
+ set gwSize(value) {
160
+ this._gwSize = value;
161
+ }
162
+ resetGwSize() {
163
+ this._gwSize = undefined;
164
+ }
165
+ // Temporarily expose input value. Use with caution.
166
+ get gwSizeInput() {
167
+ return this._gwSize;
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
+ // image_version - computed: true, optional: false, required: false
185
+ get imageVersion() {
186
+ return this.getStringAttribute('image_version');
187
+ }
188
+ // insane_mode - computed: false, optional: true, required: false
189
+ _insaneMode;
190
+ get insaneMode() {
191
+ return this.getBooleanAttribute('insane_mode');
192
+ }
193
+ set insaneMode(value) {
194
+ this._insaneMode = value;
195
+ }
196
+ resetInsaneMode() {
197
+ this._insaneMode = undefined;
198
+ }
199
+ // Temporarily expose input value. Use with caution.
200
+ get insaneModeInput() {
201
+ return this._insaneMode;
202
+ }
203
+ // insane_mode_az - computed: false, optional: true, required: false
204
+ _insaneModeAz;
205
+ get insaneModeAz() {
206
+ return this.getStringAttribute('insane_mode_az');
207
+ }
208
+ set insaneModeAz(value) {
209
+ this._insaneModeAz = value;
210
+ }
211
+ resetInsaneModeAz() {
212
+ this._insaneModeAz = undefined;
213
+ }
214
+ // Temporarily expose input value. Use with caution.
215
+ get insaneModeAzInput() {
216
+ return this._insaneModeAz;
217
+ }
218
+ // primary_gw_name - computed: false, optional: false, required: true
219
+ _primaryGwName;
220
+ get primaryGwName() {
221
+ return this.getStringAttribute('primary_gw_name');
222
+ }
223
+ set primaryGwName(value) {
224
+ this._primaryGwName = value;
225
+ }
226
+ // Temporarily expose input value. Use with caution.
227
+ get primaryGwNameInput() {
228
+ return this._primaryGwName;
229
+ }
230
+ // private_ip - computed: true, optional: false, required: false
231
+ get privateIp() {
232
+ return this.getStringAttribute('private_ip');
233
+ }
234
+ // public_ip - computed: true, optional: false, required: false
235
+ get publicIp() {
236
+ return this.getStringAttribute('public_ip');
237
+ }
238
+ // security_group_id - computed: true, optional: false, required: false
239
+ get securityGroupId() {
240
+ return this.getStringAttribute('security_group_id');
241
+ }
242
+ // software_version - computed: true, optional: false, required: false
243
+ get softwareVersion() {
244
+ return this.getStringAttribute('software_version');
245
+ }
246
+ // subnet - computed: false, optional: false, required: true
247
+ _subnet;
248
+ get subnet() {
249
+ return this.getStringAttribute('subnet');
250
+ }
251
+ set subnet(value) {
252
+ this._subnet = value;
253
+ }
254
+ // Temporarily expose input value. Use with caution.
255
+ get subnetInput() {
256
+ return this._subnet;
257
+ }
258
+ // vpc_reg - computed: true, optional: false, required: false
259
+ get vpcReg() {
260
+ return this.getStringAttribute('vpc_reg');
261
+ }
262
+ // zone - computed: false, optional: true, required: false
263
+ _zone;
264
+ get zone() {
265
+ return this.getStringAttribute('zone');
266
+ }
267
+ set zone(value) {
268
+ this._zone = value;
269
+ }
270
+ resetZone() {
271
+ this._zone = undefined;
272
+ }
273
+ // Temporarily expose input value. Use with caution.
274
+ get zoneInput() {
275
+ return this._zone;
276
+ }
277
+ // =========
278
+ // SYNTHESIS
279
+ // =========
280
+ synthesizeAttributes() {
281
+ return {
282
+ availability_domain: cdktf.stringToTerraform(this._availabilityDomain),
283
+ azure_eip_name_resource_group: cdktf.stringToTerraform(this._azureEipNameResourceGroup),
284
+ eip: cdktf.stringToTerraform(this._eip),
285
+ fault_domain: cdktf.stringToTerraform(this._faultDomain),
286
+ gw_name: cdktf.stringToTerraform(this._gwName),
287
+ gw_size: cdktf.stringToTerraform(this._gwSize),
288
+ id: cdktf.stringToTerraform(this._id),
289
+ insane_mode: cdktf.booleanToTerraform(this._insaneMode),
290
+ insane_mode_az: cdktf.stringToTerraform(this._insaneModeAz),
291
+ primary_gw_name: cdktf.stringToTerraform(this._primaryGwName),
292
+ subnet: cdktf.stringToTerraform(this._subnet),
293
+ zone: cdktf.stringToTerraform(this._zone),
294
+ };
295
+ }
296
+ synthesizeHclAttributes() {
297
+ const attrs = {
298
+ availability_domain: {
299
+ value: cdktf.stringToHclTerraform(this._availabilityDomain),
300
+ isBlock: false,
301
+ type: "simple",
302
+ storageClassType: "string",
303
+ },
304
+ azure_eip_name_resource_group: {
305
+ value: cdktf.stringToHclTerraform(this._azureEipNameResourceGroup),
306
+ isBlock: false,
307
+ type: "simple",
308
+ storageClassType: "string",
309
+ },
310
+ eip: {
311
+ value: cdktf.stringToHclTerraform(this._eip),
312
+ isBlock: false,
313
+ type: "simple",
314
+ storageClassType: "string",
315
+ },
316
+ fault_domain: {
317
+ value: cdktf.stringToHclTerraform(this._faultDomain),
318
+ isBlock: false,
319
+ type: "simple",
320
+ storageClassType: "string",
321
+ },
322
+ gw_name: {
323
+ value: cdktf.stringToHclTerraform(this._gwName),
324
+ isBlock: false,
325
+ type: "simple",
326
+ storageClassType: "string",
327
+ },
328
+ gw_size: {
329
+ value: cdktf.stringToHclTerraform(this._gwSize),
330
+ isBlock: false,
331
+ type: "simple",
332
+ storageClassType: "string",
333
+ },
334
+ id: {
335
+ value: cdktf.stringToHclTerraform(this._id),
336
+ isBlock: false,
337
+ type: "simple",
338
+ storageClassType: "string",
339
+ },
340
+ insane_mode: {
341
+ value: cdktf.booleanToHclTerraform(this._insaneMode),
342
+ isBlock: false,
343
+ type: "simple",
344
+ storageClassType: "boolean",
345
+ },
346
+ insane_mode_az: {
347
+ value: cdktf.stringToHclTerraform(this._insaneModeAz),
348
+ isBlock: false,
349
+ type: "simple",
350
+ storageClassType: "string",
351
+ },
352
+ primary_gw_name: {
353
+ value: cdktf.stringToHclTerraform(this._primaryGwName),
354
+ isBlock: false,
355
+ type: "simple",
356
+ storageClassType: "string",
357
+ },
358
+ subnet: {
359
+ value: cdktf.stringToHclTerraform(this._subnet),
360
+ isBlock: false,
361
+ type: "simple",
362
+ storageClassType: "string",
363
+ },
364
+ zone: {
365
+ value: cdktf.stringToHclTerraform(this._zone),
366
+ isBlock: false,
367
+ type: "simple",
368
+ storageClassType: "string",
369
+ },
370
+ };
371
+ // remove undefined attributes
372
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
373
+ }
374
+ }
@@ -0,0 +1,131 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface SpokeTransitAttachmentConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Indicates whether the maximum amount of HPE tunnels will be created. Only valid when transit and spoke gateways are each launched in Insane Mode and in the same cloud type. Available as of provider version R2.22.2+.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#enable_max_performance SpokeTransitAttachment#enable_max_performance}
8
+ */
9
+ readonly enableMaxPerformance?: boolean | cdktf.IResolvable;
10
+ /**
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#id SpokeTransitAttachment#id}
12
+ *
13
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
14
+ * 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.
15
+ */
16
+ readonly id?: string;
17
+ /**
18
+ * Learned routes will be propagated to these route tables.
19
+ *
20
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#route_tables SpokeTransitAttachment#route_tables}
21
+ */
22
+ readonly routeTables?: string[];
23
+ /**
24
+ * Name of the spoke gateway to attach to transit network.
25
+ *
26
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#spoke_gw_name SpokeTransitAttachment#spoke_gw_name}
27
+ */
28
+ readonly spokeGwName: string;
29
+ /**
30
+ * AS Path Prepend customized by specifying AS PATH for a BGP connection. Applies on spoke gateway.
31
+ *
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#spoke_prepend_as_path SpokeTransitAttachment#spoke_prepend_as_path}
33
+ */
34
+ readonly spokePrependAsPath?: string[];
35
+ /**
36
+ * Transit gateway logical interface names for edge gateways, where the peering terminates. Required for all edge gateways.
37
+ *
38
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#transit_gateway_logical_ifnames SpokeTransitAttachment#transit_gateway_logical_ifnames}
39
+ */
40
+ readonly transitGatewayLogicalIfnames?: string[];
41
+ /**
42
+ * Name of the transit gateway to attach the spoke gateway to.
43
+ *
44
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#transit_gw_name SpokeTransitAttachment#transit_gw_name}
45
+ */
46
+ readonly transitGwName: string;
47
+ /**
48
+ * AS Path Prepend customized by specifying AS PATH for a BGP connection. Applies on transit gateway.
49
+ *
50
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#transit_prepend_as_path SpokeTransitAttachment#transit_prepend_as_path}
51
+ */
52
+ readonly transitPrependAsPath?: string[];
53
+ /**
54
+ * (Optional) Advanced option. Number of public tunnels. Required with both Spoke and Transitto be insane mode enabled and max performance enabled. Type: Integer. Valid Range: 1-49.Available as of provider version R3.1.3+.
55
+ *
56
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#tunnel_count SpokeTransitAttachment#tunnel_count}
57
+ */
58
+ readonly tunnelCount?: number;
59
+ }
60
+ /**
61
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment aviatrix_spoke_transit_attachment}
62
+ */
63
+ export declare class SpokeTransitAttachment extends cdktf.TerraformResource {
64
+ static readonly tfResourceType = "aviatrix_spoke_transit_attachment";
65
+ /**
66
+ * Generates CDKTF code for importing a SpokeTransitAttachment resource upon running "cdktf plan <stack-name>"
67
+ * @param scope The scope in which to define this construct
68
+ * @param importToId The construct id used in the generated config for the SpokeTransitAttachment to import
69
+ * @param importFromId The id of the existing SpokeTransitAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment#import import section} in the documentation of this resource for the id to use
70
+ * @param provider? Optional instance of the provider where the SpokeTransitAttachment to import is found
71
+ */
72
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
73
+ /**
74
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_attachment aviatrix_spoke_transit_attachment} Resource
75
+ *
76
+ * @param scope The scope in which to define this construct
77
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
78
+ * @param options SpokeTransitAttachmentConfig
79
+ */
80
+ constructor(scope: Construct, id: string, config: SpokeTransitAttachmentConfig);
81
+ private _enableMaxPerformance?;
82
+ get enableMaxPerformance(): boolean | cdktf.IResolvable;
83
+ set enableMaxPerformance(value: boolean | cdktf.IResolvable);
84
+ resetEnableMaxPerformance(): void;
85
+ get enableMaxPerformanceInput(): any;
86
+ private _id?;
87
+ get id(): string;
88
+ set id(value: string);
89
+ resetId(): void;
90
+ get idInput(): string;
91
+ private _routeTables?;
92
+ get routeTables(): string[];
93
+ set routeTables(value: string[]);
94
+ resetRouteTables(): void;
95
+ get routeTablesInput(): string[];
96
+ get spokeBgpEnabled(): any;
97
+ private _spokeGwName?;
98
+ get spokeGwName(): string;
99
+ set spokeGwName(value: string);
100
+ get spokeGwNameInput(): string;
101
+ private _spokePrependAsPath?;
102
+ get spokePrependAsPath(): string[];
103
+ set spokePrependAsPath(value: string[]);
104
+ resetSpokePrependAsPath(): void;
105
+ get spokePrependAsPathInput(): string[];
106
+ private _transitGatewayLogicalIfnames?;
107
+ get transitGatewayLogicalIfnames(): string[];
108
+ set transitGatewayLogicalIfnames(value: string[]);
109
+ resetTransitGatewayLogicalIfnames(): void;
110
+ get transitGatewayLogicalIfnamesInput(): string[];
111
+ private _transitGwName?;
112
+ get transitGwName(): string;
113
+ set transitGwName(value: string);
114
+ get transitGwNameInput(): string;
115
+ private _transitPrependAsPath?;
116
+ get transitPrependAsPath(): string[];
117
+ set transitPrependAsPath(value: string[]);
118
+ resetTransitPrependAsPath(): void;
119
+ get transitPrependAsPathInput(): string[];
120
+ private _tunnelCount?;
121
+ get tunnelCount(): number;
122
+ set tunnelCount(value: number);
123
+ resetTunnelCount(): void;
124
+ get tunnelCountInput(): number;
125
+ protected synthesizeAttributes(): {
126
+ [name: string]: any;
127
+ };
128
+ protected synthesizeHclAttributes(): {
129
+ [name: string]: any;
130
+ };
131
+ }