@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,48 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAviatrixControllerMetadataConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/controller_metadata#id DataAviatrixControllerMetadata#id}
6
+ *
7
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
8
+ * 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.
9
+ */
10
+ readonly id?: string;
11
+ }
12
+ /**
13
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/controller_metadata aviatrix_controller_metadata}
14
+ */
15
+ export declare class DataAviatrixControllerMetadata extends cdktf.TerraformDataSource {
16
+ static readonly tfResourceType = "aviatrix_controller_metadata";
17
+ /**
18
+ * Generates CDKTF code for importing a DataAviatrixControllerMetadata resource upon running "cdktf plan <stack-name>"
19
+ * @param scope The scope in which to define this construct
20
+ * @param importToId The construct id used in the generated config for the DataAviatrixControllerMetadata to import
21
+ * @param importFromId The id of the existing DataAviatrixControllerMetadata that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/controller_metadata#import import section} in the documentation of this resource for the id to use
22
+ * @param provider? Optional instance of the provider where the DataAviatrixControllerMetadata to import is found
23
+ */
24
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
25
+ /**
26
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/controller_metadata aviatrix_controller_metadata} Data Source
27
+ *
28
+ * @param scope The scope in which to define this construct
29
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
30
+ * @param options DataAviatrixControllerMetadataConfig = {}
31
+ */
32
+ constructor(scope: Construct, id: string, config?: DataAviatrixControllerMetadataConfig);
33
+ get cloudType(): any;
34
+ private _id?;
35
+ get id(): string;
36
+ set id(value: string);
37
+ resetId(): void;
38
+ get idInput(): string;
39
+ get instanceId(): any;
40
+ get region(): any;
41
+ get vpcId(): any;
42
+ protected synthesizeAttributes(): {
43
+ [name: string]: any;
44
+ };
45
+ protected synthesizeHclAttributes(): {
46
+ [name: string]: any;
47
+ };
48
+ }
@@ -0,0 +1,107 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/controller_metadata
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/data-sources/controller_metadata aviatrix_controller_metadata}
6
+ */
7
+ export class DataAviatrixControllerMetadata extends cdktf.TerraformDataSource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aviatrix_controller_metadata";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a DataAviatrixControllerMetadata 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 DataAviatrixControllerMetadata to import
19
+ * @param importFromId The id of the existing DataAviatrixControllerMetadata that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/controller_metadata#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the DataAviatrixControllerMetadata to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_controller_metadata", 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/data-sources/controller_metadata aviatrix_controller_metadata} Data Source
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 DataAviatrixControllerMetadataConfig = {}
34
+ */
35
+ constructor(scope, id, config = {}) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aviatrix_controller_metadata',
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._id = config.id;
52
+ }
53
+ // ==========
54
+ // ATTRIBUTES
55
+ // ==========
56
+ // cloud_type - computed: true, optional: false, required: false
57
+ get cloudType() {
58
+ return this.getStringAttribute('cloud_type');
59
+ }
60
+ // id - computed: true, optional: true, required: false
61
+ _id;
62
+ get id() {
63
+ return this.getStringAttribute('id');
64
+ }
65
+ set id(value) {
66
+ this._id = value;
67
+ }
68
+ resetId() {
69
+ this._id = undefined;
70
+ }
71
+ // Temporarily expose input value. Use with caution.
72
+ get idInput() {
73
+ return this._id;
74
+ }
75
+ // instance_id - computed: true, optional: false, required: false
76
+ get instanceId() {
77
+ return this.getStringAttribute('instance_id');
78
+ }
79
+ // region - computed: true, optional: false, required: false
80
+ get region() {
81
+ return this.getStringAttribute('region');
82
+ }
83
+ // vpc_id - computed: true, optional: false, required: false
84
+ get vpcId() {
85
+ return this.getStringAttribute('vpc_id');
86
+ }
87
+ // =========
88
+ // SYNTHESIS
89
+ // =========
90
+ synthesizeAttributes() {
91
+ return {
92
+ id: cdktf.stringToTerraform(this._id),
93
+ };
94
+ }
95
+ synthesizeHclAttributes() {
96
+ const attrs = {
97
+ id: {
98
+ value: cdktf.stringToHclTerraform(this._id),
99
+ isBlock: false,
100
+ type: "simple",
101
+ storageClassType: "string",
102
+ },
103
+ };
104
+ // remove undefined attributes
105
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
106
+ }
107
+ }
@@ -0,0 +1,89 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAviatrixDeviceInterfacesConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Name of device.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/device_interfaces#device_name DataAviatrixDeviceInterfaces#device_name}
8
+ */
9
+ readonly deviceName: string;
10
+ /**
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/device_interfaces#id DataAviatrixDeviceInterfaces#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
+ export interface DataAviatrixDeviceInterfacesWanInterfaces {
19
+ }
20
+ export declare function dataAviatrixDeviceInterfacesWanInterfacesToTerraform(struct?: DataAviatrixDeviceInterfacesWanInterfaces): any;
21
+ export declare function dataAviatrixDeviceInterfacesWanInterfacesToHclTerraform(struct?: DataAviatrixDeviceInterfacesWanInterfaces): any;
22
+ export declare class DataAviatrixDeviceInterfacesWanInterfacesOutputReference extends cdktf.ComplexObject {
23
+ private isEmptyObject;
24
+ /**
25
+ * @param terraformResource The parent resource
26
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
27
+ * @param complexObjectIndex the index of this item in the list
28
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
29
+ */
30
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
31
+ get internalValue(): DataAviatrixDeviceInterfacesWanInterfaces | undefined;
32
+ set internalValue(value: DataAviatrixDeviceInterfacesWanInterfaces | undefined);
33
+ get wanPrimaryInterface(): any;
34
+ get wanPrimaryInterfacePublicIp(): any;
35
+ }
36
+ export declare class DataAviatrixDeviceInterfacesWanInterfacesList extends cdktf.ComplexList {
37
+ protected terraformResource: cdktf.IInterpolatingParent;
38
+ protected terraformAttribute: string;
39
+ protected wrapsSet: boolean;
40
+ /**
41
+ * @param terraformResource The parent resource
42
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
43
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
44
+ */
45
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
46
+ /**
47
+ * @param index the index of the item to return
48
+ */
49
+ get(index: number): DataAviatrixDeviceInterfacesWanInterfacesOutputReference;
50
+ }
51
+ /**
52
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/device_interfaces aviatrix_device_interfaces}
53
+ */
54
+ export declare class DataAviatrixDeviceInterfaces extends cdktf.TerraformDataSource {
55
+ static readonly tfResourceType = "aviatrix_device_interfaces";
56
+ /**
57
+ * Generates CDKTF code for importing a DataAviatrixDeviceInterfaces resource upon running "cdktf plan <stack-name>"
58
+ * @param scope The scope in which to define this construct
59
+ * @param importToId The construct id used in the generated config for the DataAviatrixDeviceInterfaces to import
60
+ * @param importFromId The id of the existing DataAviatrixDeviceInterfaces that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/device_interfaces#import import section} in the documentation of this resource for the id to use
61
+ * @param provider? Optional instance of the provider where the DataAviatrixDeviceInterfaces to import is found
62
+ */
63
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
64
+ /**
65
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/device_interfaces aviatrix_device_interfaces} Data Source
66
+ *
67
+ * @param scope The scope in which to define this construct
68
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
69
+ * @param options DataAviatrixDeviceInterfacesConfig
70
+ */
71
+ constructor(scope: Construct, id: string, config: DataAviatrixDeviceInterfacesConfig);
72
+ private _deviceName?;
73
+ get deviceName(): string;
74
+ set deviceName(value: string);
75
+ get deviceNameInput(): string;
76
+ private _id?;
77
+ get id(): string;
78
+ set id(value: string);
79
+ resetId(): void;
80
+ get idInput(): string;
81
+ private _wanInterfaces;
82
+ get wanInterfaces(): DataAviatrixDeviceInterfacesWanInterfacesList;
83
+ protected synthesizeAttributes(): {
84
+ [name: string]: any;
85
+ };
86
+ protected synthesizeHclAttributes(): {
87
+ [name: string]: any;
88
+ };
89
+ }
@@ -0,0 +1,190 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/device_interfaces
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function dataAviatrixDeviceInterfacesWanInterfacesToTerraform(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 dataAviatrixDeviceInterfacesWanInterfacesToHclTerraform(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 DataAviatrixDeviceInterfacesWanInterfacesOutputReference 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
+ // wan_primary_interface - computed: true, optional: false, required: false
48
+ get wanPrimaryInterface() {
49
+ return this.getStringAttribute('wan_primary_interface');
50
+ }
51
+ // wan_primary_interface_public_ip - computed: true, optional: false, required: false
52
+ get wanPrimaryInterfacePublicIp() {
53
+ return this.getStringAttribute('wan_primary_interface_public_ip');
54
+ }
55
+ }
56
+ export class DataAviatrixDeviceInterfacesWanInterfacesList extends cdktf.ComplexList {
57
+ terraformResource;
58
+ terraformAttribute;
59
+ wrapsSet;
60
+ /**
61
+ * @param terraformResource The parent resource
62
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
63
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
64
+ */
65
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
66
+ super(terraformResource, terraformAttribute, wrapsSet);
67
+ this.terraformResource = terraformResource;
68
+ this.terraformAttribute = terraformAttribute;
69
+ this.wrapsSet = wrapsSet;
70
+ }
71
+ /**
72
+ * @param index the index of the item to return
73
+ */
74
+ get(index) {
75
+ return new DataAviatrixDeviceInterfacesWanInterfacesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
76
+ }
77
+ }
78
+ /**
79
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/device_interfaces aviatrix_device_interfaces}
80
+ */
81
+ export class DataAviatrixDeviceInterfaces extends cdktf.TerraformDataSource {
82
+ // =================
83
+ // STATIC PROPERTIES
84
+ // =================
85
+ static tfResourceType = "aviatrix_device_interfaces";
86
+ // ==============
87
+ // STATIC Methods
88
+ // ==============
89
+ /**
90
+ * Generates CDKTF code for importing a DataAviatrixDeviceInterfaces resource upon running "cdktf plan <stack-name>"
91
+ * @param scope The scope in which to define this construct
92
+ * @param importToId The construct id used in the generated config for the DataAviatrixDeviceInterfaces to import
93
+ * @param importFromId The id of the existing DataAviatrixDeviceInterfaces that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/device_interfaces#import import section} in the documentation of this resource for the id to use
94
+ * @param provider? Optional instance of the provider where the DataAviatrixDeviceInterfaces to import is found
95
+ */
96
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
97
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_device_interfaces", importId: importFromId, provider });
98
+ }
99
+ // ===========
100
+ // INITIALIZER
101
+ // ===========
102
+ /**
103
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/device_interfaces aviatrix_device_interfaces} Data Source
104
+ *
105
+ * @param scope The scope in which to define this construct
106
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
107
+ * @param options DataAviatrixDeviceInterfacesConfig
108
+ */
109
+ constructor(scope, id, config) {
110
+ super(scope, id, {
111
+ terraformResourceType: 'aviatrix_device_interfaces',
112
+ terraformGeneratorMetadata: {
113
+ providerName: 'aviatrix',
114
+ providerVersion: '8.1.10',
115
+ providerVersionConstraint: '8.1.10'
116
+ },
117
+ provider: config.provider,
118
+ dependsOn: config.dependsOn,
119
+ count: config.count,
120
+ lifecycle: config.lifecycle,
121
+ provisioners: config.provisioners,
122
+ connection: config.connection,
123
+ forEach: config.forEach
124
+ });
125
+ this._deviceName = config.deviceName;
126
+ this._id = config.id;
127
+ }
128
+ // ==========
129
+ // ATTRIBUTES
130
+ // ==========
131
+ // device_name - computed: false, optional: false, required: true
132
+ _deviceName;
133
+ get deviceName() {
134
+ return this.getStringAttribute('device_name');
135
+ }
136
+ set deviceName(value) {
137
+ this._deviceName = value;
138
+ }
139
+ // Temporarily expose input value. Use with caution.
140
+ get deviceNameInput() {
141
+ return this._deviceName;
142
+ }
143
+ // id - computed: true, optional: true, required: false
144
+ _id;
145
+ get id() {
146
+ return this.getStringAttribute('id');
147
+ }
148
+ set id(value) {
149
+ this._id = value;
150
+ }
151
+ resetId() {
152
+ this._id = undefined;
153
+ }
154
+ // Temporarily expose input value. Use with caution.
155
+ get idInput() {
156
+ return this._id;
157
+ }
158
+ // wan_interfaces - computed: true, optional: false, required: false
159
+ _wanInterfaces = new DataAviatrixDeviceInterfacesWanInterfacesList(this, "wan_interfaces", false);
160
+ get wanInterfaces() {
161
+ return this._wanInterfaces;
162
+ }
163
+ // =========
164
+ // SYNTHESIS
165
+ // =========
166
+ synthesizeAttributes() {
167
+ return {
168
+ device_name: cdktf.stringToTerraform(this._deviceName),
169
+ id: cdktf.stringToTerraform(this._id),
170
+ };
171
+ }
172
+ synthesizeHclAttributes() {
173
+ const attrs = {
174
+ device_name: {
175
+ value: cdktf.stringToHclTerraform(this._deviceName),
176
+ isBlock: false,
177
+ type: "simple",
178
+ storageClassType: "string",
179
+ },
180
+ id: {
181
+ value: cdktf.stringToHclTerraform(this._id),
182
+ isBlock: false,
183
+ type: "simple",
184
+ storageClassType: "string",
185
+ },
186
+ };
187
+ // remove undefined attributes
188
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
189
+ }
190
+ }
@@ -0,0 +1,65 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAviatrixEdgeGatewayWanInterfaceDiscoveryConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Edge gateway name.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/edge_gateway_wan_interface_discovery#gw_name DataAviatrixEdgeGatewayWanInterfaceDiscovery#gw_name}
8
+ */
9
+ readonly gwName: string;
10
+ /**
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/edge_gateway_wan_interface_discovery#id DataAviatrixEdgeGatewayWanInterfaceDiscovery#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
+ * Name of the WAN interface to be discovered.
19
+ *
20
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/edge_gateway_wan_interface_discovery#wan_interface_name DataAviatrixEdgeGatewayWanInterfaceDiscovery#wan_interface_name}
21
+ */
22
+ readonly wanInterfaceName: string;
23
+ }
24
+ /**
25
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/edge_gateway_wan_interface_discovery aviatrix_edge_gateway_wan_interface_discovery}
26
+ */
27
+ export declare class DataAviatrixEdgeGatewayWanInterfaceDiscovery extends cdktf.TerraformDataSource {
28
+ static readonly tfResourceType = "aviatrix_edge_gateway_wan_interface_discovery";
29
+ /**
30
+ * Generates CDKTF code for importing a DataAviatrixEdgeGatewayWanInterfaceDiscovery resource upon running "cdktf plan <stack-name>"
31
+ * @param scope The scope in which to define this construct
32
+ * @param importToId The construct id used in the generated config for the DataAviatrixEdgeGatewayWanInterfaceDiscovery to import
33
+ * @param importFromId The id of the existing DataAviatrixEdgeGatewayWanInterfaceDiscovery that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/edge_gateway_wan_interface_discovery#import import section} in the documentation of this resource for the id to use
34
+ * @param provider? Optional instance of the provider where the DataAviatrixEdgeGatewayWanInterfaceDiscovery to import is found
35
+ */
36
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
37
+ /**
38
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/edge_gateway_wan_interface_discovery aviatrix_edge_gateway_wan_interface_discovery} Data Source
39
+ *
40
+ * @param scope The scope in which to define this construct
41
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
42
+ * @param options DataAviatrixEdgeGatewayWanInterfaceDiscoveryConfig
43
+ */
44
+ constructor(scope: Construct, id: string, config: DataAviatrixEdgeGatewayWanInterfaceDiscoveryConfig);
45
+ private _gwName?;
46
+ get gwName(): string;
47
+ set gwName(value: string);
48
+ get gwNameInput(): string;
49
+ private _id?;
50
+ get id(): string;
51
+ set id(value: string);
52
+ resetId(): void;
53
+ get idInput(): string;
54
+ get ipAddress(): any;
55
+ private _wanInterfaceName?;
56
+ get wanInterfaceName(): string;
57
+ set wanInterfaceName(value: string);
58
+ get wanInterfaceNameInput(): string;
59
+ protected synthesizeAttributes(): {
60
+ [name: string]: any;
61
+ };
62
+ protected synthesizeHclAttributes(): {
63
+ [name: string]: any;
64
+ };
65
+ }
@@ -0,0 +1,135 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/edge_gateway_wan_interface_discovery
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/data-sources/edge_gateway_wan_interface_discovery aviatrix_edge_gateway_wan_interface_discovery}
6
+ */
7
+ export class DataAviatrixEdgeGatewayWanInterfaceDiscovery extends cdktf.TerraformDataSource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aviatrix_edge_gateway_wan_interface_discovery";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a DataAviatrixEdgeGatewayWanInterfaceDiscovery 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 DataAviatrixEdgeGatewayWanInterfaceDiscovery to import
19
+ * @param importFromId The id of the existing DataAviatrixEdgeGatewayWanInterfaceDiscovery that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/edge_gateway_wan_interface_discovery#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the DataAviatrixEdgeGatewayWanInterfaceDiscovery to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_edge_gateway_wan_interface_discovery", 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/data-sources/edge_gateway_wan_interface_discovery aviatrix_edge_gateway_wan_interface_discovery} Data Source
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 DataAviatrixEdgeGatewayWanInterfaceDiscoveryConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aviatrix_edge_gateway_wan_interface_discovery',
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._gwName = config.gwName;
52
+ this._id = config.id;
53
+ this._wanInterfaceName = config.wanInterfaceName;
54
+ }
55
+ // ==========
56
+ // ATTRIBUTES
57
+ // ==========
58
+ // gw_name - computed: false, optional: false, required: true
59
+ _gwName;
60
+ get gwName() {
61
+ return this.getStringAttribute('gw_name');
62
+ }
63
+ set gwName(value) {
64
+ this._gwName = value;
65
+ }
66
+ // Temporarily expose input value. Use with caution.
67
+ get gwNameInput() {
68
+ return this._gwName;
69
+ }
70
+ // id - computed: true, optional: true, required: false
71
+ _id;
72
+ get id() {
73
+ return this.getStringAttribute('id');
74
+ }
75
+ set id(value) {
76
+ this._id = value;
77
+ }
78
+ resetId() {
79
+ this._id = undefined;
80
+ }
81
+ // Temporarily expose input value. Use with caution.
82
+ get idInput() {
83
+ return this._id;
84
+ }
85
+ // ip_address - computed: true, optional: false, required: false
86
+ get ipAddress() {
87
+ return this.getStringAttribute('ip_address');
88
+ }
89
+ // wan_interface_name - computed: false, optional: false, required: true
90
+ _wanInterfaceName;
91
+ get wanInterfaceName() {
92
+ return this.getStringAttribute('wan_interface_name');
93
+ }
94
+ set wanInterfaceName(value) {
95
+ this._wanInterfaceName = value;
96
+ }
97
+ // Temporarily expose input value. Use with caution.
98
+ get wanInterfaceNameInput() {
99
+ return this._wanInterfaceName;
100
+ }
101
+ // =========
102
+ // SYNTHESIS
103
+ // =========
104
+ synthesizeAttributes() {
105
+ return {
106
+ gw_name: cdktf.stringToTerraform(this._gwName),
107
+ id: cdktf.stringToTerraform(this._id),
108
+ wan_interface_name: cdktf.stringToTerraform(this._wanInterfaceName),
109
+ };
110
+ }
111
+ synthesizeHclAttributes() {
112
+ const attrs = {
113
+ gw_name: {
114
+ value: cdktf.stringToHclTerraform(this._gwName),
115
+ isBlock: false,
116
+ type: "simple",
117
+ storageClassType: "string",
118
+ },
119
+ id: {
120
+ value: cdktf.stringToHclTerraform(this._id),
121
+ isBlock: false,
122
+ type: "simple",
123
+ storageClassType: "string",
124
+ },
125
+ wan_interface_name: {
126
+ value: cdktf.stringToHclTerraform(this._wanInterfaceName),
127
+ isBlock: false,
128
+ type: "simple",
129
+ storageClassType: "string",
130
+ },
131
+ };
132
+ // remove undefined attributes
133
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
134
+ }
135
+ }