@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,485 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function awsTgwVpnConnVpnTunnelDataToTerraform(struct) {
5
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
6
+ return struct;
7
+ }
8
+ if (cdktf.isComplexElement(struct)) {
9
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
10
+ }
11
+ return {};
12
+ }
13
+ export function awsTgwVpnConnVpnTunnelDataToHclTerraform(struct) {
14
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
15
+ return struct;
16
+ }
17
+ if (cdktf.isComplexElement(struct)) {
18
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
19
+ }
20
+ const attrs = {};
21
+ return attrs;
22
+ }
23
+ export class AwsTgwVpnConnVpnTunnelDataOutputReference extends cdktf.ComplexObject {
24
+ isEmptyObject = false;
25
+ /**
26
+ * @param terraformResource The parent resource
27
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
28
+ * @param complexObjectIndex the index of this item in the list
29
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
30
+ */
31
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
32
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
33
+ }
34
+ get internalValue() {
35
+ let hasAnyValues = this.isEmptyObject;
36
+ const internalValueResult = {};
37
+ return hasAnyValues ? internalValueResult : undefined;
38
+ }
39
+ set internalValue(value) {
40
+ if (value === undefined) {
41
+ this.isEmptyObject = false;
42
+ }
43
+ else {
44
+ this.isEmptyObject = Object.keys(value).length === 0;
45
+ }
46
+ }
47
+ // last_status_change_time - computed: true, optional: false, required: false
48
+ get lastStatusChangeTime() {
49
+ return this.getStringAttribute('last_status_change_time');
50
+ }
51
+ // route_count - computed: true, optional: false, required: false
52
+ get routeCount() {
53
+ return this.getNumberAttribute('route_count');
54
+ }
55
+ // status - computed: true, optional: false, required: false
56
+ get status() {
57
+ return this.getStringAttribute('status');
58
+ }
59
+ // status_message - computed: true, optional: false, required: false
60
+ get statusMessage() {
61
+ return this.getStringAttribute('status_message');
62
+ }
63
+ // tgw_asn - computed: true, optional: false, required: false
64
+ get tgwAsn() {
65
+ return this.getStringAttribute('tgw_asn');
66
+ }
67
+ // tunnel_name - computed: true, optional: false, required: false
68
+ get tunnelName() {
69
+ return this.getStringAttribute('tunnel_name');
70
+ }
71
+ // vpn_inside_address - computed: true, optional: false, required: false
72
+ get vpnInsideAddress() {
73
+ return this.getStringAttribute('vpn_inside_address');
74
+ }
75
+ // vpn_outside_address - computed: true, optional: false, required: false
76
+ get vpnOutsideAddress() {
77
+ return this.getStringAttribute('vpn_outside_address');
78
+ }
79
+ }
80
+ export class AwsTgwVpnConnVpnTunnelDataList extends cdktf.ComplexList {
81
+ terraformResource;
82
+ terraformAttribute;
83
+ wrapsSet;
84
+ /**
85
+ * @param terraformResource The parent resource
86
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
87
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
88
+ */
89
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
90
+ super(terraformResource, terraformAttribute, wrapsSet);
91
+ this.terraformResource = terraformResource;
92
+ this.terraformAttribute = terraformAttribute;
93
+ this.wrapsSet = wrapsSet;
94
+ }
95
+ /**
96
+ * @param index the index of the item to return
97
+ */
98
+ get(index) {
99
+ return new AwsTgwVpnConnVpnTunnelDataOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
100
+ }
101
+ }
102
+ /**
103
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn aviatrix_aws_tgw_vpn_conn}
104
+ */
105
+ export class AwsTgwVpnConn extends cdktf.TerraformResource {
106
+ // =================
107
+ // STATIC PROPERTIES
108
+ // =================
109
+ static tfResourceType = "aviatrix_aws_tgw_vpn_conn";
110
+ // ==============
111
+ // STATIC Methods
112
+ // ==============
113
+ /**
114
+ * Generates CDKTF code for importing a AwsTgwVpnConn resource upon running "cdktf plan <stack-name>"
115
+ * @param scope The scope in which to define this construct
116
+ * @param importToId The construct id used in the generated config for the AwsTgwVpnConn to import
117
+ * @param importFromId The id of the existing AwsTgwVpnConn that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#import import section} in the documentation of this resource for the id to use
118
+ * @param provider? Optional instance of the provider where the AwsTgwVpnConn to import is found
119
+ */
120
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
121
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_aws_tgw_vpn_conn", importId: importFromId, provider });
122
+ }
123
+ // ===========
124
+ // INITIALIZER
125
+ // ===========
126
+ /**
127
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn aviatrix_aws_tgw_vpn_conn} Resource
128
+ *
129
+ * @param scope The scope in which to define this construct
130
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
131
+ * @param options AwsTgwVpnConnConfig
132
+ */
133
+ constructor(scope, id, config) {
134
+ super(scope, id, {
135
+ terraformResourceType: 'aviatrix_aws_tgw_vpn_conn',
136
+ terraformGeneratorMetadata: {
137
+ providerName: 'aviatrix',
138
+ providerVersion: '8.1.10',
139
+ providerVersionConstraint: '8.1.10'
140
+ },
141
+ provider: config.provider,
142
+ dependsOn: config.dependsOn,
143
+ count: config.count,
144
+ lifecycle: config.lifecycle,
145
+ provisioners: config.provisioners,
146
+ connection: config.connection,
147
+ forEach: config.forEach
148
+ });
149
+ this._connectionName = config.connectionName;
150
+ this._connectionType = config.connectionType;
151
+ this._enableGlobalAcceleration = config.enableGlobalAcceleration;
152
+ this._enableLearnedCidrsApproval = config.enableLearnedCidrsApproval;
153
+ this._id = config.id;
154
+ this._insideIpCidrTun1 = config.insideIpCidrTun1;
155
+ this._insideIpCidrTun2 = config.insideIpCidrTun2;
156
+ this._preSharedKeyTun1 = config.preSharedKeyTun1;
157
+ this._preSharedKeyTun2 = config.preSharedKeyTun2;
158
+ this._publicIp = config.publicIp;
159
+ this._remoteAsNumber = config.remoteAsNumber;
160
+ this._remoteCidr = config.remoteCidr;
161
+ this._routeDomainName = config.routeDomainName;
162
+ this._tgwName = config.tgwName;
163
+ }
164
+ // ==========
165
+ // ATTRIBUTES
166
+ // ==========
167
+ // connection_name - computed: false, optional: false, required: true
168
+ _connectionName;
169
+ get connectionName() {
170
+ return this.getStringAttribute('connection_name');
171
+ }
172
+ set connectionName(value) {
173
+ this._connectionName = value;
174
+ }
175
+ // Temporarily expose input value. Use with caution.
176
+ get connectionNameInput() {
177
+ return this._connectionName;
178
+ }
179
+ // connection_type - computed: false, optional: true, required: false
180
+ _connectionType;
181
+ get connectionType() {
182
+ return this.getStringAttribute('connection_type');
183
+ }
184
+ set connectionType(value) {
185
+ this._connectionType = value;
186
+ }
187
+ resetConnectionType() {
188
+ this._connectionType = undefined;
189
+ }
190
+ // Temporarily expose input value. Use with caution.
191
+ get connectionTypeInput() {
192
+ return this._connectionType;
193
+ }
194
+ // enable_global_acceleration - computed: false, optional: true, required: false
195
+ _enableGlobalAcceleration;
196
+ get enableGlobalAcceleration() {
197
+ return this.getBooleanAttribute('enable_global_acceleration');
198
+ }
199
+ set enableGlobalAcceleration(value) {
200
+ this._enableGlobalAcceleration = value;
201
+ }
202
+ resetEnableGlobalAcceleration() {
203
+ this._enableGlobalAcceleration = undefined;
204
+ }
205
+ // Temporarily expose input value. Use with caution.
206
+ get enableGlobalAccelerationInput() {
207
+ return this._enableGlobalAcceleration;
208
+ }
209
+ // enable_learned_cidrs_approval - computed: false, optional: true, required: false
210
+ _enableLearnedCidrsApproval;
211
+ get enableLearnedCidrsApproval() {
212
+ return this.getBooleanAttribute('enable_learned_cidrs_approval');
213
+ }
214
+ set enableLearnedCidrsApproval(value) {
215
+ this._enableLearnedCidrsApproval = value;
216
+ }
217
+ resetEnableLearnedCidrsApproval() {
218
+ this._enableLearnedCidrsApproval = undefined;
219
+ }
220
+ // Temporarily expose input value. Use with caution.
221
+ get enableLearnedCidrsApprovalInput() {
222
+ return this._enableLearnedCidrsApproval;
223
+ }
224
+ // id - computed: true, optional: true, required: false
225
+ _id;
226
+ get id() {
227
+ return this.getStringAttribute('id');
228
+ }
229
+ set id(value) {
230
+ this._id = value;
231
+ }
232
+ resetId() {
233
+ this._id = undefined;
234
+ }
235
+ // Temporarily expose input value. Use with caution.
236
+ get idInput() {
237
+ return this._id;
238
+ }
239
+ // inside_ip_cidr_tun_1 - computed: false, optional: true, required: false
240
+ _insideIpCidrTun1;
241
+ get insideIpCidrTun1() {
242
+ return this.getStringAttribute('inside_ip_cidr_tun_1');
243
+ }
244
+ set insideIpCidrTun1(value) {
245
+ this._insideIpCidrTun1 = value;
246
+ }
247
+ resetInsideIpCidrTun1() {
248
+ this._insideIpCidrTun1 = undefined;
249
+ }
250
+ // Temporarily expose input value. Use with caution.
251
+ get insideIpCidrTun1Input() {
252
+ return this._insideIpCidrTun1;
253
+ }
254
+ // inside_ip_cidr_tun_2 - computed: false, optional: true, required: false
255
+ _insideIpCidrTun2;
256
+ get insideIpCidrTun2() {
257
+ return this.getStringAttribute('inside_ip_cidr_tun_2');
258
+ }
259
+ set insideIpCidrTun2(value) {
260
+ this._insideIpCidrTun2 = value;
261
+ }
262
+ resetInsideIpCidrTun2() {
263
+ this._insideIpCidrTun2 = undefined;
264
+ }
265
+ // Temporarily expose input value. Use with caution.
266
+ get insideIpCidrTun2Input() {
267
+ return this._insideIpCidrTun2;
268
+ }
269
+ // pre_shared_key_tun_1 - computed: false, optional: true, required: false
270
+ _preSharedKeyTun1;
271
+ get preSharedKeyTun1() {
272
+ return this.getStringAttribute('pre_shared_key_tun_1');
273
+ }
274
+ set preSharedKeyTun1(value) {
275
+ this._preSharedKeyTun1 = value;
276
+ }
277
+ resetPreSharedKeyTun1() {
278
+ this._preSharedKeyTun1 = undefined;
279
+ }
280
+ // Temporarily expose input value. Use with caution.
281
+ get preSharedKeyTun1Input() {
282
+ return this._preSharedKeyTun1;
283
+ }
284
+ // pre_shared_key_tun_2 - computed: false, optional: true, required: false
285
+ _preSharedKeyTun2;
286
+ get preSharedKeyTun2() {
287
+ return this.getStringAttribute('pre_shared_key_tun_2');
288
+ }
289
+ set preSharedKeyTun2(value) {
290
+ this._preSharedKeyTun2 = value;
291
+ }
292
+ resetPreSharedKeyTun2() {
293
+ this._preSharedKeyTun2 = undefined;
294
+ }
295
+ // Temporarily expose input value. Use with caution.
296
+ get preSharedKeyTun2Input() {
297
+ return this._preSharedKeyTun2;
298
+ }
299
+ // public_ip - computed: false, optional: false, required: true
300
+ _publicIp;
301
+ get publicIp() {
302
+ return this.getStringAttribute('public_ip');
303
+ }
304
+ set publicIp(value) {
305
+ this._publicIp = value;
306
+ }
307
+ // Temporarily expose input value. Use with caution.
308
+ get publicIpInput() {
309
+ return this._publicIp;
310
+ }
311
+ // remote_as_number - computed: false, optional: true, required: false
312
+ _remoteAsNumber;
313
+ get remoteAsNumber() {
314
+ return this.getStringAttribute('remote_as_number');
315
+ }
316
+ set remoteAsNumber(value) {
317
+ this._remoteAsNumber = value;
318
+ }
319
+ resetRemoteAsNumber() {
320
+ this._remoteAsNumber = undefined;
321
+ }
322
+ // Temporarily expose input value. Use with caution.
323
+ get remoteAsNumberInput() {
324
+ return this._remoteAsNumber;
325
+ }
326
+ // remote_cidr - computed: false, optional: true, required: false
327
+ _remoteCidr;
328
+ get remoteCidr() {
329
+ return this.getStringAttribute('remote_cidr');
330
+ }
331
+ set remoteCidr(value) {
332
+ this._remoteCidr = value;
333
+ }
334
+ resetRemoteCidr() {
335
+ this._remoteCidr = undefined;
336
+ }
337
+ // Temporarily expose input value. Use with caution.
338
+ get remoteCidrInput() {
339
+ return this._remoteCidr;
340
+ }
341
+ // route_domain_name - computed: false, optional: false, required: true
342
+ _routeDomainName;
343
+ get routeDomainName() {
344
+ return this.getStringAttribute('route_domain_name');
345
+ }
346
+ set routeDomainName(value) {
347
+ this._routeDomainName = value;
348
+ }
349
+ // Temporarily expose input value. Use with caution.
350
+ get routeDomainNameInput() {
351
+ return this._routeDomainName;
352
+ }
353
+ // tgw_name - computed: false, optional: false, required: true
354
+ _tgwName;
355
+ get tgwName() {
356
+ return this.getStringAttribute('tgw_name');
357
+ }
358
+ set tgwName(value) {
359
+ this._tgwName = value;
360
+ }
361
+ // Temporarily expose input value. Use with caution.
362
+ get tgwNameInput() {
363
+ return this._tgwName;
364
+ }
365
+ // vpn_id - computed: true, optional: false, required: false
366
+ get vpnId() {
367
+ return this.getStringAttribute('vpn_id');
368
+ }
369
+ // vpn_tunnel_data - computed: true, optional: false, required: false
370
+ _vpnTunnelData = new AwsTgwVpnConnVpnTunnelDataList(this, "vpn_tunnel_data", false);
371
+ get vpnTunnelData() {
372
+ return this._vpnTunnelData;
373
+ }
374
+ // =========
375
+ // SYNTHESIS
376
+ // =========
377
+ synthesizeAttributes() {
378
+ return {
379
+ connection_name: cdktf.stringToTerraform(this._connectionName),
380
+ connection_type: cdktf.stringToTerraform(this._connectionType),
381
+ enable_global_acceleration: cdktf.booleanToTerraform(this._enableGlobalAcceleration),
382
+ enable_learned_cidrs_approval: cdktf.booleanToTerraform(this._enableLearnedCidrsApproval),
383
+ id: cdktf.stringToTerraform(this._id),
384
+ inside_ip_cidr_tun_1: cdktf.stringToTerraform(this._insideIpCidrTun1),
385
+ inside_ip_cidr_tun_2: cdktf.stringToTerraform(this._insideIpCidrTun2),
386
+ pre_shared_key_tun_1: cdktf.stringToTerraform(this._preSharedKeyTun1),
387
+ pre_shared_key_tun_2: cdktf.stringToTerraform(this._preSharedKeyTun2),
388
+ public_ip: cdktf.stringToTerraform(this._publicIp),
389
+ remote_as_number: cdktf.stringToTerraform(this._remoteAsNumber),
390
+ remote_cidr: cdktf.stringToTerraform(this._remoteCidr),
391
+ route_domain_name: cdktf.stringToTerraform(this._routeDomainName),
392
+ tgw_name: cdktf.stringToTerraform(this._tgwName),
393
+ };
394
+ }
395
+ synthesizeHclAttributes() {
396
+ const attrs = {
397
+ connection_name: {
398
+ value: cdktf.stringToHclTerraform(this._connectionName),
399
+ isBlock: false,
400
+ type: "simple",
401
+ storageClassType: "string",
402
+ },
403
+ connection_type: {
404
+ value: cdktf.stringToHclTerraform(this._connectionType),
405
+ isBlock: false,
406
+ type: "simple",
407
+ storageClassType: "string",
408
+ },
409
+ enable_global_acceleration: {
410
+ value: cdktf.booleanToHclTerraform(this._enableGlobalAcceleration),
411
+ isBlock: false,
412
+ type: "simple",
413
+ storageClassType: "boolean",
414
+ },
415
+ enable_learned_cidrs_approval: {
416
+ value: cdktf.booleanToHclTerraform(this._enableLearnedCidrsApproval),
417
+ isBlock: false,
418
+ type: "simple",
419
+ storageClassType: "boolean",
420
+ },
421
+ id: {
422
+ value: cdktf.stringToHclTerraform(this._id),
423
+ isBlock: false,
424
+ type: "simple",
425
+ storageClassType: "string",
426
+ },
427
+ inside_ip_cidr_tun_1: {
428
+ value: cdktf.stringToHclTerraform(this._insideIpCidrTun1),
429
+ isBlock: false,
430
+ type: "simple",
431
+ storageClassType: "string",
432
+ },
433
+ inside_ip_cidr_tun_2: {
434
+ value: cdktf.stringToHclTerraform(this._insideIpCidrTun2),
435
+ isBlock: false,
436
+ type: "simple",
437
+ storageClassType: "string",
438
+ },
439
+ pre_shared_key_tun_1: {
440
+ value: cdktf.stringToHclTerraform(this._preSharedKeyTun1),
441
+ isBlock: false,
442
+ type: "simple",
443
+ storageClassType: "string",
444
+ },
445
+ pre_shared_key_tun_2: {
446
+ value: cdktf.stringToHclTerraform(this._preSharedKeyTun2),
447
+ isBlock: false,
448
+ type: "simple",
449
+ storageClassType: "string",
450
+ },
451
+ public_ip: {
452
+ value: cdktf.stringToHclTerraform(this._publicIp),
453
+ isBlock: false,
454
+ type: "simple",
455
+ storageClassType: "string",
456
+ },
457
+ remote_as_number: {
458
+ value: cdktf.stringToHclTerraform(this._remoteAsNumber),
459
+ isBlock: false,
460
+ type: "simple",
461
+ storageClassType: "string",
462
+ },
463
+ remote_cidr: {
464
+ value: cdktf.stringToHclTerraform(this._remoteCidr),
465
+ isBlock: false,
466
+ type: "simple",
467
+ storageClassType: "string",
468
+ },
469
+ route_domain_name: {
470
+ value: cdktf.stringToHclTerraform(this._routeDomainName),
471
+ isBlock: false,
472
+ type: "simple",
473
+ storageClassType: "string",
474
+ },
475
+ tgw_name: {
476
+ value: cdktf.stringToHclTerraform(this._tgwName),
477
+ isBlock: false,
478
+ type: "simple",
479
+ storageClassType: "string",
480
+ },
481
+ };
482
+ // remove undefined attributes
483
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
484
+ }
485
+ }
@@ -0,0 +1,106 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface AzurePeerConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * This parameter represents the name of an Azure Cloud-Account in Aviatrix controller.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer#account_name1 AzurePeer#account_name1}
8
+ */
9
+ readonly accountName1: string;
10
+ /**
11
+ * This parameter represents the name of an Azure Cloud-Account in Aviatrix controller.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer#account_name2 AzurePeer#account_name2}
14
+ */
15
+ readonly accountName2: string;
16
+ /**
17
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer#id AzurePeer#id}
18
+ *
19
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
20
+ * 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.
21
+ */
22
+ readonly id?: string;
23
+ /**
24
+ * VNet-Name of Azure cloud.
25
+ *
26
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer#vnet_name_resource_group1 AzurePeer#vnet_name_resource_group1}
27
+ */
28
+ readonly vnetNameResourceGroup1: string;
29
+ /**
30
+ * VNet-Name of Azure cloud.
31
+ *
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer#vnet_name_resource_group2 AzurePeer#vnet_name_resource_group2}
33
+ */
34
+ readonly vnetNameResourceGroup2: string;
35
+ /**
36
+ * Region of Azure cloud.
37
+ *
38
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer#vnet_reg1 AzurePeer#vnet_reg1}
39
+ */
40
+ readonly vnetReg1: string;
41
+ /**
42
+ * Region of Azure cloud.
43
+ *
44
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer#vnet_reg2 AzurePeer#vnet_reg2}
45
+ */
46
+ readonly vnetReg2: string;
47
+ }
48
+ /**
49
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer aviatrix_azure_peer}
50
+ */
51
+ export declare class AzurePeer extends cdktf.TerraformResource {
52
+ static readonly tfResourceType = "aviatrix_azure_peer";
53
+ /**
54
+ * Generates CDKTF code for importing a AzurePeer resource upon running "cdktf plan <stack-name>"
55
+ * @param scope The scope in which to define this construct
56
+ * @param importToId The construct id used in the generated config for the AzurePeer to import
57
+ * @param importFromId The id of the existing AzurePeer that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer#import import section} in the documentation of this resource for the id to use
58
+ * @param provider? Optional instance of the provider where the AzurePeer to import is found
59
+ */
60
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
61
+ /**
62
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/azure_peer aviatrix_azure_peer} Resource
63
+ *
64
+ * @param scope The scope in which to define this construct
65
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
66
+ * @param options AzurePeerConfig
67
+ */
68
+ constructor(scope: Construct, id: string, config: AzurePeerConfig);
69
+ private _accountName1?;
70
+ get accountName1(): string;
71
+ set accountName1(value: string);
72
+ get accountName1Input(): string;
73
+ private _accountName2?;
74
+ get accountName2(): string;
75
+ set accountName2(value: string);
76
+ get accountName2Input(): string;
77
+ private _id?;
78
+ get id(): string;
79
+ set id(value: string);
80
+ resetId(): void;
81
+ get idInput(): string;
82
+ get vnetCidr1(): any;
83
+ get vnetCidr2(): any;
84
+ private _vnetNameResourceGroup1?;
85
+ get vnetNameResourceGroup1(): string;
86
+ set vnetNameResourceGroup1(value: string);
87
+ get vnetNameResourceGroup1Input(): string;
88
+ private _vnetNameResourceGroup2?;
89
+ get vnetNameResourceGroup2(): string;
90
+ set vnetNameResourceGroup2(value: string);
91
+ get vnetNameResourceGroup2Input(): string;
92
+ private _vnetReg1?;
93
+ get vnetReg1(): string;
94
+ set vnetReg1(value: string);
95
+ get vnetReg1Input(): string;
96
+ private _vnetReg2?;
97
+ get vnetReg2(): string;
98
+ set vnetReg2(value: string);
99
+ get vnetReg2Input(): string;
100
+ protected synthesizeAttributes(): {
101
+ [name: string]: any;
102
+ };
103
+ protected synthesizeHclAttributes(): {
104
+ [name: string]: any;
105
+ };
106
+ }