@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,264 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firewall_tag
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function firewallTagCidrListStructToTerraform(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
+ cidr: cdktf.stringToTerraform(struct.cidr),
13
+ cidr_tag_name: cdktf.stringToTerraform(struct.cidrTagName),
14
+ };
15
+ }
16
+ export function firewallTagCidrListStructToHclTerraform(struct) {
17
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
18
+ return struct;
19
+ }
20
+ if (cdktf.isComplexElement(struct)) {
21
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
22
+ }
23
+ const attrs = {
24
+ cidr: {
25
+ value: cdktf.stringToHclTerraform(struct.cidr),
26
+ isBlock: false,
27
+ type: "simple",
28
+ storageClassType: "string",
29
+ },
30
+ cidr_tag_name: {
31
+ value: cdktf.stringToHclTerraform(struct.cidrTagName),
32
+ isBlock: false,
33
+ type: "simple",
34
+ storageClassType: "string",
35
+ },
36
+ };
37
+ // remove undefined attributes
38
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
39
+ }
40
+ export class FirewallTagCidrListStructOutputReference extends cdktf.ComplexObject {
41
+ isEmptyObject = false;
42
+ resolvableValue;
43
+ /**
44
+ * @param terraformResource The parent resource
45
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
46
+ * @param complexObjectIndex the index of this item in the list
47
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
48
+ */
49
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
50
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
51
+ }
52
+ get internalValue() {
53
+ if (this.resolvableValue) {
54
+ return this.resolvableValue;
55
+ }
56
+ let hasAnyValues = this.isEmptyObject;
57
+ const internalValueResult = {};
58
+ if (this._cidr !== undefined) {
59
+ hasAnyValues = true;
60
+ internalValueResult.cidr = this._cidr;
61
+ }
62
+ if (this._cidrTagName !== undefined) {
63
+ hasAnyValues = true;
64
+ internalValueResult.cidrTagName = this._cidrTagName;
65
+ }
66
+ return hasAnyValues ? internalValueResult : undefined;
67
+ }
68
+ set internalValue(value) {
69
+ if (value === undefined) {
70
+ this.isEmptyObject = false;
71
+ this.resolvableValue = undefined;
72
+ this._cidr = undefined;
73
+ this._cidrTagName = undefined;
74
+ }
75
+ else if (cdktf.Tokenization.isResolvable(value)) {
76
+ this.isEmptyObject = false;
77
+ this.resolvableValue = value;
78
+ }
79
+ else {
80
+ this.isEmptyObject = Object.keys(value).length === 0;
81
+ this.resolvableValue = undefined;
82
+ this._cidr = value.cidr;
83
+ this._cidrTagName = value.cidrTagName;
84
+ }
85
+ }
86
+ // cidr - computed: false, optional: false, required: true
87
+ _cidr;
88
+ get cidr() {
89
+ return this.getStringAttribute('cidr');
90
+ }
91
+ set cidr(value) {
92
+ this._cidr = value;
93
+ }
94
+ // Temporarily expose input value. Use with caution.
95
+ get cidrInput() {
96
+ return this._cidr;
97
+ }
98
+ // cidr_tag_name - computed: false, optional: false, required: true
99
+ _cidrTagName;
100
+ get cidrTagName() {
101
+ return this.getStringAttribute('cidr_tag_name');
102
+ }
103
+ set cidrTagName(value) {
104
+ this._cidrTagName = value;
105
+ }
106
+ // Temporarily expose input value. Use with caution.
107
+ get cidrTagNameInput() {
108
+ return this._cidrTagName;
109
+ }
110
+ }
111
+ export class FirewallTagCidrListStructList extends cdktf.ComplexList {
112
+ terraformResource;
113
+ terraformAttribute;
114
+ wrapsSet;
115
+ internalValue;
116
+ /**
117
+ * @param terraformResource The parent resource
118
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
119
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
120
+ */
121
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
122
+ super(terraformResource, terraformAttribute, wrapsSet);
123
+ this.terraformResource = terraformResource;
124
+ this.terraformAttribute = terraformAttribute;
125
+ this.wrapsSet = wrapsSet;
126
+ }
127
+ /**
128
+ * @param index the index of the item to return
129
+ */
130
+ get(index) {
131
+ return new FirewallTagCidrListStructOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
132
+ }
133
+ }
134
+ /**
135
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firewall_tag aviatrix_firewall_tag}
136
+ */
137
+ export class FirewallTag extends cdktf.TerraformResource {
138
+ // =================
139
+ // STATIC PROPERTIES
140
+ // =================
141
+ static tfResourceType = "aviatrix_firewall_tag";
142
+ // ==============
143
+ // STATIC Methods
144
+ // ==============
145
+ /**
146
+ * Generates CDKTF code for importing a FirewallTag resource upon running "cdktf plan <stack-name>"
147
+ * @param scope The scope in which to define this construct
148
+ * @param importToId The construct id used in the generated config for the FirewallTag to import
149
+ * @param importFromId The id of the existing FirewallTag that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firewall_tag#import import section} in the documentation of this resource for the id to use
150
+ * @param provider? Optional instance of the provider where the FirewallTag to import is found
151
+ */
152
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
153
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_firewall_tag", importId: importFromId, provider });
154
+ }
155
+ // ===========
156
+ // INITIALIZER
157
+ // ===========
158
+ /**
159
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firewall_tag aviatrix_firewall_tag} Resource
160
+ *
161
+ * @param scope The scope in which to define this construct
162
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
163
+ * @param options FirewallTagConfig
164
+ */
165
+ constructor(scope, id, config) {
166
+ super(scope, id, {
167
+ terraformResourceType: 'aviatrix_firewall_tag',
168
+ terraformGeneratorMetadata: {
169
+ providerName: 'aviatrix',
170
+ providerVersion: '8.1.10',
171
+ providerVersionConstraint: '8.1.10'
172
+ },
173
+ provider: config.provider,
174
+ dependsOn: config.dependsOn,
175
+ count: config.count,
176
+ lifecycle: config.lifecycle,
177
+ provisioners: config.provisioners,
178
+ connection: config.connection,
179
+ forEach: config.forEach
180
+ });
181
+ this._firewallTag = config.firewallTag;
182
+ this._id = config.id;
183
+ this._cidrList.internalValue = config.cidrList;
184
+ }
185
+ // ==========
186
+ // ATTRIBUTES
187
+ // ==========
188
+ // firewall_tag - computed: false, optional: false, required: true
189
+ _firewallTag;
190
+ get firewallTag() {
191
+ return this.getStringAttribute('firewall_tag');
192
+ }
193
+ set firewallTag(value) {
194
+ this._firewallTag = value;
195
+ }
196
+ // Temporarily expose input value. Use with caution.
197
+ get firewallTagInput() {
198
+ return this._firewallTag;
199
+ }
200
+ // id - computed: true, optional: true, required: false
201
+ _id;
202
+ get id() {
203
+ return this.getStringAttribute('id');
204
+ }
205
+ set id(value) {
206
+ this._id = value;
207
+ }
208
+ resetId() {
209
+ this._id = undefined;
210
+ }
211
+ // Temporarily expose input value. Use with caution.
212
+ get idInput() {
213
+ return this._id;
214
+ }
215
+ // cidr_list - computed: false, optional: true, required: false
216
+ _cidrList = new FirewallTagCidrListStructList(this, "cidr_list", false);
217
+ get cidrList() {
218
+ return this._cidrList;
219
+ }
220
+ putCidrList(value) {
221
+ this._cidrList.internalValue = value;
222
+ }
223
+ resetCidrList() {
224
+ this._cidrList.internalValue = undefined;
225
+ }
226
+ // Temporarily expose input value. Use with caution.
227
+ get cidrListInput() {
228
+ return this._cidrList.internalValue;
229
+ }
230
+ // =========
231
+ // SYNTHESIS
232
+ // =========
233
+ synthesizeAttributes() {
234
+ return {
235
+ firewall_tag: cdktf.stringToTerraform(this._firewallTag),
236
+ id: cdktf.stringToTerraform(this._id),
237
+ cidr_list: cdktf.listMapper(firewallTagCidrListStructToTerraform, true)(this._cidrList.internalValue),
238
+ };
239
+ }
240
+ synthesizeHclAttributes() {
241
+ const attrs = {
242
+ firewall_tag: {
243
+ value: cdktf.stringToHclTerraform(this._firewallTag),
244
+ isBlock: false,
245
+ type: "simple",
246
+ storageClassType: "string",
247
+ },
248
+ id: {
249
+ value: cdktf.stringToHclTerraform(this._id),
250
+ isBlock: false,
251
+ type: "simple",
252
+ storageClassType: "string",
253
+ },
254
+ cidr_list: {
255
+ value: cdktf.listMapperHcl(firewallTagCidrListStructToHclTerraform, true)(this._cidrList.internalValue),
256
+ isBlock: true,
257
+ type: "list",
258
+ storageClassType: "FirewallTagCidrListStructList",
259
+ },
260
+ };
261
+ // remove undefined attributes
262
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
263
+ }
264
+ }
@@ -0,0 +1,237 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface FqdnConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * FQDN Filter Tag Status. Valid values: true or false.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#fqdn_enabled Fqdn#fqdn_enabled}
8
+ */
9
+ readonly fqdnEnabled?: boolean | cdktf.IResolvable;
10
+ /**
11
+ * Specify the tag color to be a white-list tag or black-list tag. 'white' or 'black'
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#fqdn_mode Fqdn#fqdn_mode}
14
+ */
15
+ readonly fqdnMode?: string;
16
+ /**
17
+ * FQDN Filter Tag Name.
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#fqdn_tag Fqdn#fqdn_tag}
20
+ */
21
+ readonly fqdnTag: string;
22
+ /**
23
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#id Fqdn#id}
24
+ *
25
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
26
+ * 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.
27
+ */
28
+ readonly id?: string;
29
+ /**
30
+ * Enable to manage domain name rules in-line. If false, domain name rules must be managed using `aviatrix_fqdn_tag_rule` resources.
31
+ *
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#manage_domain_names Fqdn#manage_domain_names}
33
+ */
34
+ readonly manageDomainNames?: boolean | cdktf.IResolvable;
35
+ /**
36
+ * domain_names block
37
+ *
38
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#domain_names Fqdn#domain_names}
39
+ */
40
+ readonly domainNames?: FqdnDomainNames[] | cdktf.IResolvable;
41
+ /**
42
+ * gw_filter_tag_list block
43
+ *
44
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#gw_filter_tag_list Fqdn#gw_filter_tag_list}
45
+ */
46
+ readonly gwFilterTagList?: FqdnGwFilterTagListStruct[] | cdktf.IResolvable;
47
+ }
48
+ export interface FqdnDomainNames {
49
+ /**
50
+ * What action should happen to matching requests. Possible values are: 'Base Policy', 'Allow' or 'Deny'. Defaults to 'Base Policy' if no value is provided.
51
+ *
52
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#action Fqdn#action}
53
+ */
54
+ readonly action?: string;
55
+ /**
56
+ * FQDN.
57
+ *
58
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#fqdn Fqdn#fqdn}
59
+ */
60
+ readonly fqdn: string;
61
+ /**
62
+ * Port.
63
+ *
64
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#port Fqdn#port}
65
+ */
66
+ readonly port: string;
67
+ /**
68
+ * Protocol.
69
+ *
70
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#proto Fqdn#proto}
71
+ */
72
+ readonly proto: string;
73
+ }
74
+ export declare function fqdnDomainNamesToTerraform(struct?: FqdnDomainNames | cdktf.IResolvable): any;
75
+ export declare function fqdnDomainNamesToHclTerraform(struct?: FqdnDomainNames | cdktf.IResolvable): any;
76
+ export declare class FqdnDomainNamesOutputReference extends cdktf.ComplexObject {
77
+ private isEmptyObject;
78
+ private resolvableValue?;
79
+ /**
80
+ * @param terraformResource The parent resource
81
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
82
+ * @param complexObjectIndex the index of this item in the list
83
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
84
+ */
85
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
86
+ get internalValue(): FqdnDomainNames | cdktf.IResolvable | undefined;
87
+ set internalValue(value: FqdnDomainNames | cdktf.IResolvable | undefined);
88
+ private _action?;
89
+ get action(): string;
90
+ set action(value: string);
91
+ resetAction(): void;
92
+ get actionInput(): string;
93
+ private _fqdn?;
94
+ get fqdn(): string;
95
+ set fqdn(value: string);
96
+ get fqdnInput(): string;
97
+ private _port?;
98
+ get port(): string;
99
+ set port(value: string);
100
+ get portInput(): string;
101
+ private _proto?;
102
+ get proto(): string;
103
+ set proto(value: string);
104
+ get protoInput(): string;
105
+ }
106
+ export declare class FqdnDomainNamesList extends cdktf.ComplexList {
107
+ protected terraformResource: cdktf.IInterpolatingParent;
108
+ protected terraformAttribute: string;
109
+ protected wrapsSet: boolean;
110
+ internalValue?: FqdnDomainNames[] | cdktf.IResolvable;
111
+ /**
112
+ * @param terraformResource The parent resource
113
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
114
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
115
+ */
116
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
117
+ /**
118
+ * @param index the index of the item to return
119
+ */
120
+ get(index: number): FqdnDomainNamesOutputReference;
121
+ }
122
+ export interface FqdnGwFilterTagListStruct {
123
+ /**
124
+ * Name of the gateway to attach to the specific tag.
125
+ *
126
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#gw_name Fqdn#gw_name}
127
+ */
128
+ readonly gwName: string;
129
+ /**
130
+ * List of source IPs in the VPC qualified for a specific tag.
131
+ *
132
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#source_ip_list Fqdn#source_ip_list}
133
+ */
134
+ readonly sourceIpList?: string[];
135
+ }
136
+ export declare function fqdnGwFilterTagListStructToTerraform(struct?: FqdnGwFilterTagListStruct | cdktf.IResolvable): any;
137
+ export declare function fqdnGwFilterTagListStructToHclTerraform(struct?: FqdnGwFilterTagListStruct | cdktf.IResolvable): any;
138
+ export declare class FqdnGwFilterTagListStructOutputReference extends cdktf.ComplexObject {
139
+ private isEmptyObject;
140
+ private resolvableValue?;
141
+ /**
142
+ * @param terraformResource The parent resource
143
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
144
+ * @param complexObjectIndex the index of this item in the list
145
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
146
+ */
147
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
148
+ get internalValue(): FqdnGwFilterTagListStruct | cdktf.IResolvable | undefined;
149
+ set internalValue(value: FqdnGwFilterTagListStruct | cdktf.IResolvable | undefined);
150
+ private _gwName?;
151
+ get gwName(): string;
152
+ set gwName(value: string);
153
+ get gwNameInput(): string;
154
+ private _sourceIpList?;
155
+ get sourceIpList(): string[];
156
+ set sourceIpList(value: string[]);
157
+ resetSourceIpList(): void;
158
+ get sourceIpListInput(): string[];
159
+ }
160
+ export declare class FqdnGwFilterTagListStructList extends cdktf.ComplexList {
161
+ protected terraformResource: cdktf.IInterpolatingParent;
162
+ protected terraformAttribute: string;
163
+ protected wrapsSet: boolean;
164
+ internalValue?: FqdnGwFilterTagListStruct[] | cdktf.IResolvable;
165
+ /**
166
+ * @param terraformResource The parent resource
167
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
168
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
169
+ */
170
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
171
+ /**
172
+ * @param index the index of the item to return
173
+ */
174
+ get(index: number): FqdnGwFilterTagListStructOutputReference;
175
+ }
176
+ /**
177
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn aviatrix_fqdn}
178
+ */
179
+ export declare class Fqdn extends cdktf.TerraformResource {
180
+ static readonly tfResourceType = "aviatrix_fqdn";
181
+ /**
182
+ * Generates CDKTF code for importing a Fqdn resource upon running "cdktf plan <stack-name>"
183
+ * @param scope The scope in which to define this construct
184
+ * @param importToId The construct id used in the generated config for the Fqdn to import
185
+ * @param importFromId The id of the existing Fqdn that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#import import section} in the documentation of this resource for the id to use
186
+ * @param provider? Optional instance of the provider where the Fqdn to import is found
187
+ */
188
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
189
+ /**
190
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn aviatrix_fqdn} Resource
191
+ *
192
+ * @param scope The scope in which to define this construct
193
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
194
+ * @param options FqdnConfig
195
+ */
196
+ constructor(scope: Construct, id: string, config: FqdnConfig);
197
+ private _fqdnEnabled?;
198
+ get fqdnEnabled(): boolean | cdktf.IResolvable;
199
+ set fqdnEnabled(value: boolean | cdktf.IResolvable);
200
+ resetFqdnEnabled(): void;
201
+ get fqdnEnabledInput(): any;
202
+ private _fqdnMode?;
203
+ get fqdnMode(): string;
204
+ set fqdnMode(value: string);
205
+ resetFqdnMode(): void;
206
+ get fqdnModeInput(): string;
207
+ private _fqdnTag?;
208
+ get fqdnTag(): string;
209
+ set fqdnTag(value: string);
210
+ get fqdnTagInput(): string;
211
+ private _id?;
212
+ get id(): string;
213
+ set id(value: string);
214
+ resetId(): void;
215
+ get idInput(): string;
216
+ private _manageDomainNames?;
217
+ get manageDomainNames(): boolean | cdktf.IResolvable;
218
+ set manageDomainNames(value: boolean | cdktf.IResolvable);
219
+ resetManageDomainNames(): void;
220
+ get manageDomainNamesInput(): any;
221
+ private _domainNames;
222
+ get domainNames(): FqdnDomainNamesList;
223
+ putDomainNames(value: FqdnDomainNames[] | cdktf.IResolvable): void;
224
+ resetDomainNames(): void;
225
+ get domainNamesInput(): any;
226
+ private _gwFilterTagList;
227
+ get gwFilterTagList(): FqdnGwFilterTagListStructList;
228
+ putGwFilterTagList(value: FqdnGwFilterTagListStruct[] | cdktf.IResolvable): void;
229
+ resetGwFilterTagList(): void;
230
+ get gwFilterTagListInput(): any;
231
+ protected synthesizeAttributes(): {
232
+ [name: string]: any;
233
+ };
234
+ protected synthesizeHclAttributes(): {
235
+ [name: string]: any;
236
+ };
237
+ }