@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,329 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpc_attachment
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/aws_tgw_vpc_attachment aviatrix_aws_tgw_vpc_attachment}
6
+ */
7
+ export class AwsTgwVpcAttachment extends cdktf.TerraformResource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aviatrix_aws_tgw_vpc_attachment";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a AwsTgwVpcAttachment 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 AwsTgwVpcAttachment to import
19
+ * @param importFromId The id of the existing AwsTgwVpcAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpc_attachment#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the AwsTgwVpcAttachment to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_aws_tgw_vpc_attachment", 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/aws_tgw_vpc_attachment aviatrix_aws_tgw_vpc_attachment} 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 AwsTgwVpcAttachmentConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aviatrix_aws_tgw_vpc_attachment',
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._customizedRouteAdvertisement = config.customizedRouteAdvertisement;
52
+ this._customizedRoutes = config.customizedRoutes;
53
+ this._disableLocalRoutePropagation = config.disableLocalRoutePropagation;
54
+ this._edgeAttachment = config.edgeAttachment;
55
+ this._id = config.id;
56
+ this._networkDomainName = config.networkDomainName;
57
+ this._region = config.region;
58
+ this._routeTables = config.routeTables;
59
+ this._subnets = config.subnets;
60
+ this._tgwName = config.tgwName;
61
+ this._vpcAccountName = config.vpcAccountName;
62
+ this._vpcId = config.vpcId;
63
+ }
64
+ // ==========
65
+ // ATTRIBUTES
66
+ // ==========
67
+ // customized_route_advertisement - computed: false, optional: true, required: false
68
+ _customizedRouteAdvertisement;
69
+ get customizedRouteAdvertisement() {
70
+ return this.getStringAttribute('customized_route_advertisement');
71
+ }
72
+ set customizedRouteAdvertisement(value) {
73
+ this._customizedRouteAdvertisement = value;
74
+ }
75
+ resetCustomizedRouteAdvertisement() {
76
+ this._customizedRouteAdvertisement = undefined;
77
+ }
78
+ // Temporarily expose input value. Use with caution.
79
+ get customizedRouteAdvertisementInput() {
80
+ return this._customizedRouteAdvertisement;
81
+ }
82
+ // customized_routes - computed: false, optional: true, required: false
83
+ _customizedRoutes;
84
+ get customizedRoutes() {
85
+ return this.getStringAttribute('customized_routes');
86
+ }
87
+ set customizedRoutes(value) {
88
+ this._customizedRoutes = value;
89
+ }
90
+ resetCustomizedRoutes() {
91
+ this._customizedRoutes = undefined;
92
+ }
93
+ // Temporarily expose input value. Use with caution.
94
+ get customizedRoutesInput() {
95
+ return this._customizedRoutes;
96
+ }
97
+ // disable_local_route_propagation - computed: false, optional: true, required: false
98
+ _disableLocalRoutePropagation;
99
+ get disableLocalRoutePropagation() {
100
+ return this.getBooleanAttribute('disable_local_route_propagation');
101
+ }
102
+ set disableLocalRoutePropagation(value) {
103
+ this._disableLocalRoutePropagation = value;
104
+ }
105
+ resetDisableLocalRoutePropagation() {
106
+ this._disableLocalRoutePropagation = undefined;
107
+ }
108
+ // Temporarily expose input value. Use with caution.
109
+ get disableLocalRoutePropagationInput() {
110
+ return this._disableLocalRoutePropagation;
111
+ }
112
+ // edge_attachment - computed: false, optional: true, required: false
113
+ _edgeAttachment;
114
+ get edgeAttachment() {
115
+ return this.getStringAttribute('edge_attachment');
116
+ }
117
+ set edgeAttachment(value) {
118
+ this._edgeAttachment = value;
119
+ }
120
+ resetEdgeAttachment() {
121
+ this._edgeAttachment = undefined;
122
+ }
123
+ // Temporarily expose input value. Use with caution.
124
+ get edgeAttachmentInput() {
125
+ return this._edgeAttachment;
126
+ }
127
+ // id - computed: true, optional: true, required: false
128
+ _id;
129
+ get id() {
130
+ return this.getStringAttribute('id');
131
+ }
132
+ set id(value) {
133
+ this._id = value;
134
+ }
135
+ resetId() {
136
+ this._id = undefined;
137
+ }
138
+ // Temporarily expose input value. Use with caution.
139
+ get idInput() {
140
+ return this._id;
141
+ }
142
+ // network_domain_name - computed: false, optional: false, required: true
143
+ _networkDomainName;
144
+ get networkDomainName() {
145
+ return this.getStringAttribute('network_domain_name');
146
+ }
147
+ set networkDomainName(value) {
148
+ this._networkDomainName = value;
149
+ }
150
+ // Temporarily expose input value. Use with caution.
151
+ get networkDomainNameInput() {
152
+ return this._networkDomainName;
153
+ }
154
+ // region - computed: false, optional: false, required: true
155
+ _region;
156
+ get region() {
157
+ return this.getStringAttribute('region');
158
+ }
159
+ set region(value) {
160
+ this._region = value;
161
+ }
162
+ // Temporarily expose input value. Use with caution.
163
+ get regionInput() {
164
+ return this._region;
165
+ }
166
+ // route_tables - computed: true, optional: true, required: false
167
+ _routeTables;
168
+ get routeTables() {
169
+ return this.getStringAttribute('route_tables');
170
+ }
171
+ set routeTables(value) {
172
+ this._routeTables = value;
173
+ }
174
+ resetRouteTables() {
175
+ this._routeTables = undefined;
176
+ }
177
+ // Temporarily expose input value. Use with caution.
178
+ get routeTablesInput() {
179
+ return this._routeTables;
180
+ }
181
+ // subnets - computed: true, optional: true, required: false
182
+ _subnets;
183
+ get subnets() {
184
+ return this.getStringAttribute('subnets');
185
+ }
186
+ set subnets(value) {
187
+ this._subnets = value;
188
+ }
189
+ resetSubnets() {
190
+ this._subnets = undefined;
191
+ }
192
+ // Temporarily expose input value. Use with caution.
193
+ get subnetsInput() {
194
+ return this._subnets;
195
+ }
196
+ // tgw_name - computed: false, optional: false, required: true
197
+ _tgwName;
198
+ get tgwName() {
199
+ return this.getStringAttribute('tgw_name');
200
+ }
201
+ set tgwName(value) {
202
+ this._tgwName = value;
203
+ }
204
+ // Temporarily expose input value. Use with caution.
205
+ get tgwNameInput() {
206
+ return this._tgwName;
207
+ }
208
+ // vpc_account_name - computed: false, optional: false, required: true
209
+ _vpcAccountName;
210
+ get vpcAccountName() {
211
+ return this.getStringAttribute('vpc_account_name');
212
+ }
213
+ set vpcAccountName(value) {
214
+ this._vpcAccountName = value;
215
+ }
216
+ // Temporarily expose input value. Use with caution.
217
+ get vpcAccountNameInput() {
218
+ return this._vpcAccountName;
219
+ }
220
+ // vpc_id - computed: false, optional: false, required: true
221
+ _vpcId;
222
+ get vpcId() {
223
+ return this.getStringAttribute('vpc_id');
224
+ }
225
+ set vpcId(value) {
226
+ this._vpcId = value;
227
+ }
228
+ // Temporarily expose input value. Use with caution.
229
+ get vpcIdInput() {
230
+ return this._vpcId;
231
+ }
232
+ // =========
233
+ // SYNTHESIS
234
+ // =========
235
+ synthesizeAttributes() {
236
+ return {
237
+ customized_route_advertisement: cdktf.stringToTerraform(this._customizedRouteAdvertisement),
238
+ customized_routes: cdktf.stringToTerraform(this._customizedRoutes),
239
+ disable_local_route_propagation: cdktf.booleanToTerraform(this._disableLocalRoutePropagation),
240
+ edge_attachment: cdktf.stringToTerraform(this._edgeAttachment),
241
+ id: cdktf.stringToTerraform(this._id),
242
+ network_domain_name: cdktf.stringToTerraform(this._networkDomainName),
243
+ region: cdktf.stringToTerraform(this._region),
244
+ route_tables: cdktf.stringToTerraform(this._routeTables),
245
+ subnets: cdktf.stringToTerraform(this._subnets),
246
+ tgw_name: cdktf.stringToTerraform(this._tgwName),
247
+ vpc_account_name: cdktf.stringToTerraform(this._vpcAccountName),
248
+ vpc_id: cdktf.stringToTerraform(this._vpcId),
249
+ };
250
+ }
251
+ synthesizeHclAttributes() {
252
+ const attrs = {
253
+ customized_route_advertisement: {
254
+ value: cdktf.stringToHclTerraform(this._customizedRouteAdvertisement),
255
+ isBlock: false,
256
+ type: "simple",
257
+ storageClassType: "string",
258
+ },
259
+ customized_routes: {
260
+ value: cdktf.stringToHclTerraform(this._customizedRoutes),
261
+ isBlock: false,
262
+ type: "simple",
263
+ storageClassType: "string",
264
+ },
265
+ disable_local_route_propagation: {
266
+ value: cdktf.booleanToHclTerraform(this._disableLocalRoutePropagation),
267
+ isBlock: false,
268
+ type: "simple",
269
+ storageClassType: "boolean",
270
+ },
271
+ edge_attachment: {
272
+ value: cdktf.stringToHclTerraform(this._edgeAttachment),
273
+ isBlock: false,
274
+ type: "simple",
275
+ storageClassType: "string",
276
+ },
277
+ id: {
278
+ value: cdktf.stringToHclTerraform(this._id),
279
+ isBlock: false,
280
+ type: "simple",
281
+ storageClassType: "string",
282
+ },
283
+ network_domain_name: {
284
+ value: cdktf.stringToHclTerraform(this._networkDomainName),
285
+ isBlock: false,
286
+ type: "simple",
287
+ storageClassType: "string",
288
+ },
289
+ region: {
290
+ value: cdktf.stringToHclTerraform(this._region),
291
+ isBlock: false,
292
+ type: "simple",
293
+ storageClassType: "string",
294
+ },
295
+ route_tables: {
296
+ value: cdktf.stringToHclTerraform(this._routeTables),
297
+ isBlock: false,
298
+ type: "simple",
299
+ storageClassType: "string",
300
+ },
301
+ subnets: {
302
+ value: cdktf.stringToHclTerraform(this._subnets),
303
+ isBlock: false,
304
+ type: "simple",
305
+ storageClassType: "string",
306
+ },
307
+ tgw_name: {
308
+ value: cdktf.stringToHclTerraform(this._tgwName),
309
+ isBlock: false,
310
+ type: "simple",
311
+ storageClassType: "string",
312
+ },
313
+ vpc_account_name: {
314
+ value: cdktf.stringToHclTerraform(this._vpcAccountName),
315
+ isBlock: false,
316
+ type: "simple",
317
+ storageClassType: "string",
318
+ },
319
+ vpc_id: {
320
+ value: cdktf.stringToHclTerraform(this._vpcId),
321
+ isBlock: false,
322
+ type: "simple",
323
+ storageClassType: "string",
324
+ },
325
+ };
326
+ // remove undefined attributes
327
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
328
+ }
329
+ }
@@ -0,0 +1,225 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface AwsTgwVpnConnConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Unique name of the connection.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#connection_name AwsTgwVpnConn#connection_name}
8
+ */
9
+ readonly connectionName: string;
10
+ /**
11
+ * Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#connection_type AwsTgwVpnConn#connection_type}
14
+ */
15
+ readonly connectionType?: string;
16
+ /**
17
+ * Enable Global Acceleration.
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#enable_global_acceleration AwsTgwVpnConn#enable_global_acceleration}
20
+ */
21
+ readonly enableGlobalAcceleration?: boolean | cdktf.IResolvable;
22
+ /**
23
+ * Switch to enable/disable encrypted transit approval for vpn connection. Valid values: true, false.
24
+ *
25
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#enable_learned_cidrs_approval AwsTgwVpnConn#enable_learned_cidrs_approval}
26
+ */
27
+ readonly enableLearnedCidrsApproval?: boolean | cdktf.IResolvable;
28
+ /**
29
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#id AwsTgwVpnConn#id}
30
+ *
31
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
32
+ * 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.
33
+ */
34
+ readonly id?: string;
35
+ /**
36
+ * Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
37
+ *
38
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#inside_ip_cidr_tun_1 AwsTgwVpnConn#inside_ip_cidr_tun_1}
39
+ */
40
+ readonly insideIpCidrTun1?: string;
41
+ /**
42
+ * Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
43
+ *
44
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#inside_ip_cidr_tun_2 AwsTgwVpnConn#inside_ip_cidr_tun_2}
45
+ */
46
+ readonly insideIpCidrTun2?: string;
47
+ /**
48
+ * Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric, underscore(_) and dot(.). It cannot start with 0
49
+ *
50
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#pre_shared_key_tun_1 AwsTgwVpnConn#pre_shared_key_tun_1}
51
+ */
52
+ readonly preSharedKeyTun1?: string;
53
+ /**
54
+ * Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric, underscore(_) and dot(.). It cannot start with 0
55
+ *
56
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#pre_shared_key_tun_2 AwsTgwVpnConn#pre_shared_key_tun_2}
57
+ */
58
+ readonly preSharedKeyTun2?: string;
59
+ /**
60
+ * Public IP address. Example: '40.0.0.0'.
61
+ *
62
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#public_ip AwsTgwVpnConn#public_ip}
63
+ */
64
+ readonly publicIp: string;
65
+ /**
66
+ * AWS side as a number. Integer between 1-4294967294. Example: '12'. Required for a dynamic VPN connection.
67
+ *
68
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#remote_as_number AwsTgwVpnConn#remote_as_number}
69
+ */
70
+ readonly remoteAsNumber?: string;
71
+ /**
72
+ * Remote CIDRs joined as a string with ','. Required for a static VPN connection.
73
+ *
74
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#remote_cidr AwsTgwVpnConn#remote_cidr}
75
+ */
76
+ readonly remoteCidr?: string;
77
+ /**
78
+ * The name of a route domain, to which the vpn will be attached.
79
+ *
80
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#route_domain_name AwsTgwVpnConn#route_domain_name}
81
+ */
82
+ readonly routeDomainName: string;
83
+ /**
84
+ * This parameter represents the name of an AWS TGW.
85
+ *
86
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn#tgw_name AwsTgwVpnConn#tgw_name}
87
+ */
88
+ readonly tgwName: string;
89
+ }
90
+ export interface AwsTgwVpnConnVpnTunnelData {
91
+ }
92
+ export declare function awsTgwVpnConnVpnTunnelDataToTerraform(struct?: AwsTgwVpnConnVpnTunnelData): any;
93
+ export declare function awsTgwVpnConnVpnTunnelDataToHclTerraform(struct?: AwsTgwVpnConnVpnTunnelData): any;
94
+ export declare class AwsTgwVpnConnVpnTunnelDataOutputReference extends cdktf.ComplexObject {
95
+ private isEmptyObject;
96
+ /**
97
+ * @param terraformResource The parent resource
98
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
99
+ * @param complexObjectIndex the index of this item in the list
100
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
101
+ */
102
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
103
+ get internalValue(): AwsTgwVpnConnVpnTunnelData | undefined;
104
+ set internalValue(value: AwsTgwVpnConnVpnTunnelData | undefined);
105
+ get lastStatusChangeTime(): any;
106
+ get routeCount(): any;
107
+ get status(): any;
108
+ get statusMessage(): any;
109
+ get tgwAsn(): any;
110
+ get tunnelName(): any;
111
+ get vpnInsideAddress(): any;
112
+ get vpnOutsideAddress(): any;
113
+ }
114
+ export declare class AwsTgwVpnConnVpnTunnelDataList extends cdktf.ComplexList {
115
+ protected terraformResource: cdktf.IInterpolatingParent;
116
+ protected terraformAttribute: string;
117
+ protected wrapsSet: boolean;
118
+ /**
119
+ * @param terraformResource The parent resource
120
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
121
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
122
+ */
123
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
124
+ /**
125
+ * @param index the index of the item to return
126
+ */
127
+ get(index: number): AwsTgwVpnConnVpnTunnelDataOutputReference;
128
+ }
129
+ /**
130
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_vpn_conn aviatrix_aws_tgw_vpn_conn}
131
+ */
132
+ export declare class AwsTgwVpnConn extends cdktf.TerraformResource {
133
+ static readonly tfResourceType = "aviatrix_aws_tgw_vpn_conn";
134
+ /**
135
+ * Generates CDKTF code for importing a AwsTgwVpnConn resource upon running "cdktf plan <stack-name>"
136
+ * @param scope The scope in which to define this construct
137
+ * @param importToId The construct id used in the generated config for the AwsTgwVpnConn to import
138
+ * @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
139
+ * @param provider? Optional instance of the provider where the AwsTgwVpnConn to import is found
140
+ */
141
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
142
+ /**
143
+ * 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
144
+ *
145
+ * @param scope The scope in which to define this construct
146
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
147
+ * @param options AwsTgwVpnConnConfig
148
+ */
149
+ constructor(scope: Construct, id: string, config: AwsTgwVpnConnConfig);
150
+ private _connectionName?;
151
+ get connectionName(): string;
152
+ set connectionName(value: string);
153
+ get connectionNameInput(): string;
154
+ private _connectionType?;
155
+ get connectionType(): string;
156
+ set connectionType(value: string);
157
+ resetConnectionType(): void;
158
+ get connectionTypeInput(): string;
159
+ private _enableGlobalAcceleration?;
160
+ get enableGlobalAcceleration(): boolean | cdktf.IResolvable;
161
+ set enableGlobalAcceleration(value: boolean | cdktf.IResolvable);
162
+ resetEnableGlobalAcceleration(): void;
163
+ get enableGlobalAccelerationInput(): any;
164
+ private _enableLearnedCidrsApproval?;
165
+ get enableLearnedCidrsApproval(): boolean | cdktf.IResolvable;
166
+ set enableLearnedCidrsApproval(value: boolean | cdktf.IResolvable);
167
+ resetEnableLearnedCidrsApproval(): void;
168
+ get enableLearnedCidrsApprovalInput(): any;
169
+ private _id?;
170
+ get id(): string;
171
+ set id(value: string);
172
+ resetId(): void;
173
+ get idInput(): string;
174
+ private _insideIpCidrTun1?;
175
+ get insideIpCidrTun1(): string;
176
+ set insideIpCidrTun1(value: string);
177
+ resetInsideIpCidrTun1(): void;
178
+ get insideIpCidrTun1Input(): string;
179
+ private _insideIpCidrTun2?;
180
+ get insideIpCidrTun2(): string;
181
+ set insideIpCidrTun2(value: string);
182
+ resetInsideIpCidrTun2(): void;
183
+ get insideIpCidrTun2Input(): string;
184
+ private _preSharedKeyTun1?;
185
+ get preSharedKeyTun1(): string;
186
+ set preSharedKeyTun1(value: string);
187
+ resetPreSharedKeyTun1(): void;
188
+ get preSharedKeyTun1Input(): string;
189
+ private _preSharedKeyTun2?;
190
+ get preSharedKeyTun2(): string;
191
+ set preSharedKeyTun2(value: string);
192
+ resetPreSharedKeyTun2(): void;
193
+ get preSharedKeyTun2Input(): string;
194
+ private _publicIp?;
195
+ get publicIp(): string;
196
+ set publicIp(value: string);
197
+ get publicIpInput(): string;
198
+ private _remoteAsNumber?;
199
+ get remoteAsNumber(): string;
200
+ set remoteAsNumber(value: string);
201
+ resetRemoteAsNumber(): void;
202
+ get remoteAsNumberInput(): string;
203
+ private _remoteCidr?;
204
+ get remoteCidr(): string;
205
+ set remoteCidr(value: string);
206
+ resetRemoteCidr(): void;
207
+ get remoteCidrInput(): string;
208
+ private _routeDomainName?;
209
+ get routeDomainName(): string;
210
+ set routeDomainName(value: string);
211
+ get routeDomainNameInput(): string;
212
+ private _tgwName?;
213
+ get tgwName(): string;
214
+ set tgwName(value: string);
215
+ get tgwNameInput(): string;
216
+ get vpnId(): any;
217
+ private _vpnTunnelData;
218
+ get vpnTunnelData(): AwsTgwVpnConnVpnTunnelDataList;
219
+ protected synthesizeAttributes(): {
220
+ [name: string]: any;
221
+ };
222
+ protected synthesizeHclAttributes(): {
223
+ [name: string]: any;
224
+ };
225
+ }