@cdktf-providers/aviatrixsystems-aviatrix 8.1.10 → 8.2.0

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 (335) hide show
  1. package/README.md +3 -3
  2. package/dist/account/index.d.ts +80 -69
  3. package/dist/account/index.js +29 -6
  4. package/dist/account-user/index.d.ts +7 -7
  5. package/dist/account-user/index.js +6 -6
  6. package/dist/aws-guard-duty/index.d.ts +7 -7
  7. package/dist/aws-guard-duty/index.js +6 -6
  8. package/dist/aws-peer/index.d.ts +12 -12
  9. package/dist/aws-peer/index.js +6 -6
  10. package/dist/aws-tgw/index.d.ts +12 -12
  11. package/dist/aws-tgw/index.js +6 -6
  12. package/dist/aws-tgw-connect/index.d.ts +8 -8
  13. package/dist/aws-tgw-connect/index.js +6 -6
  14. package/dist/aws-tgw-connect-peer/index.d.ts +12 -12
  15. package/dist/aws-tgw-connect-peer/index.js +6 -6
  16. package/dist/aws-tgw-directconnect/index.d.ts +10 -10
  17. package/dist/aws-tgw-directconnect/index.js +6 -6
  18. package/dist/aws-tgw-intra-domain-inspection/index.d.ts +7 -7
  19. package/dist/aws-tgw-intra-domain-inspection/index.js +6 -6
  20. package/dist/aws-tgw-network-domain/index.d.ts +9 -9
  21. package/dist/aws-tgw-network-domain/index.js +6 -6
  22. package/dist/aws-tgw-peering/index.d.ts +6 -6
  23. package/dist/aws-tgw-peering/index.js +6 -6
  24. package/dist/aws-tgw-peering-domain-conn/index.d.ts +8 -8
  25. package/dist/aws-tgw-peering-domain-conn/index.js +6 -6
  26. package/dist/aws-tgw-transit-gateway-attachment/index.d.ts +9 -9
  27. package/dist/aws-tgw-transit-gateway-attachment/index.js +6 -6
  28. package/dist/aws-tgw-vpc-attachment/index.d.ts +15 -15
  29. package/dist/aws-tgw-vpc-attachment/index.js +6 -6
  30. package/dist/aws-tgw-vpn-conn/index.d.ts +17 -17
  31. package/dist/aws-tgw-vpn-conn/index.js +6 -6
  32. package/dist/azure-peer/index.d.ts +10 -10
  33. package/dist/azure-peer/index.js +6 -6
  34. package/dist/azure-spoke-native-peering/index.d.ts +8 -8
  35. package/dist/azure-spoke-native-peering/index.js +6 -6
  36. package/dist/azure-vng-conn/index.d.ts +6 -6
  37. package/dist/azure-vng-conn/index.js +6 -6
  38. package/dist/centralized-transit-firenet/index.d.ts +6 -6
  39. package/dist/centralized-transit-firenet/index.js +6 -6
  40. package/dist/cloudwatch-agent/index.d.ts +8 -8
  41. package/dist/cloudwatch-agent/index.js +6 -6
  42. package/dist/controller-access-allow-list-config/index.d.ts +8 -8
  43. package/dist/controller-access-allow-list-config/index.js +6 -6
  44. package/dist/controller-bgp-communities-auto-cloud-config/index.d.ts +6 -6
  45. package/dist/controller-bgp-communities-auto-cloud-config/index.js +6 -6
  46. package/dist/controller-bgp-communities-global-config/index.d.ts +5 -5
  47. package/dist/controller-bgp-communities-global-config/index.js +6 -6
  48. package/dist/controller-bgp-max-as-limit-config/index.d.ts +5 -5
  49. package/dist/controller-bgp-max-as-limit-config/index.js +6 -6
  50. package/dist/controller-cert-domain-config/index.d.ts +5 -5
  51. package/dist/controller-cert-domain-config/index.js +6 -6
  52. package/dist/controller-config/index.d.ts +24 -24
  53. package/dist/controller-config/index.js +6 -6
  54. package/dist/controller-email-config/index.d.ts +9 -9
  55. package/dist/controller-email-config/index.js +6 -6
  56. package/dist/controller-email-exception-notification-config/index.d.ts +5 -5
  57. package/dist/controller-email-exception-notification-config/index.js +6 -6
  58. package/dist/controller-gateway-keepalive-config/index.d.ts +5 -5
  59. package/dist/controller-gateway-keepalive-config/index.js +6 -6
  60. package/dist/controller-private-mode-config/index.d.ts +6 -6
  61. package/dist/controller-private-mode-config/index.js +6 -6
  62. package/dist/controller-private-oob/index.d.ts +5 -5
  63. package/dist/controller-private-oob/index.js +6 -6
  64. package/dist/controller-security-group-management-config/index.d.ts +6 -6
  65. package/dist/controller-security-group-management-config/index.js +6 -6
  66. package/dist/copilot-association/index.d.ts +5 -5
  67. package/dist/copilot-association/index.js +6 -6
  68. package/dist/copilot-fault-tolerant-deployment/index.d.ts +17 -17
  69. package/dist/copilot-fault-tolerant-deployment/index.js +6 -6
  70. package/dist/copilot-security-group-management-config/index.d.ts +11 -11
  71. package/dist/copilot-security-group-management-config/index.js +6 -6
  72. package/dist/copilot-simple-deployment/index.d.ts +13 -13
  73. package/dist/copilot-simple-deployment/index.js +6 -6
  74. package/dist/data-aviatrix-account/index.d.ts +5 -5
  75. package/dist/data-aviatrix-account/index.js +6 -6
  76. package/dist/data-aviatrix-caller-identity/index.d.ts +4 -4
  77. package/dist/data-aviatrix-caller-identity/index.js +6 -6
  78. package/dist/data-aviatrix-controller-metadata/index.d.ts +4 -4
  79. package/dist/data-aviatrix-controller-metadata/index.js +6 -6
  80. package/dist/data-aviatrix-dcf-attachment-point/index.d.ts +55 -0
  81. package/dist/data-aviatrix-dcf-attachment-point/index.js +115 -0
  82. package/dist/data-aviatrix-dcf-log-profile/index.d.ts +57 -0
  83. package/dist/data-aviatrix-dcf-log-profile/index.js +123 -0
  84. package/dist/data-aviatrix-dcf-trustbundle/index.d.ts +57 -0
  85. package/dist/data-aviatrix-dcf-trustbundle/index.js +123 -0
  86. package/dist/data-aviatrix-device-interfaces/index.d.ts +5 -5
  87. package/dist/data-aviatrix-device-interfaces/index.js +6 -6
  88. package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.d.ts +6 -6
  89. package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.js +6 -6
  90. package/dist/data-aviatrix-firenet/index.d.ts +5 -5
  91. package/dist/data-aviatrix-firenet/index.js +6 -6
  92. package/dist/data-aviatrix-firenet-firewall-manager/index.d.ts +17 -17
  93. package/dist/data-aviatrix-firenet-firewall-manager/index.js +6 -6
  94. package/dist/data-aviatrix-firenet-vendor-integration/index.d.ts +18 -18
  95. package/dist/data-aviatrix-firenet-vendor-integration/index.js +6 -6
  96. package/dist/data-aviatrix-firewall/index.d.ts +5 -5
  97. package/dist/data-aviatrix-firewall/index.js +6 -6
  98. package/dist/data-aviatrix-firewall-instance-images/index.d.ts +5 -5
  99. package/dist/data-aviatrix-firewall-instance-images/index.js +6 -6
  100. package/dist/data-aviatrix-gateway/index.d.ts +5 -5
  101. package/dist/data-aviatrix-gateway/index.js +6 -6
  102. package/dist/data-aviatrix-gateway-image/index.d.ts +6 -6
  103. package/dist/data-aviatrix-gateway-image/index.js +6 -6
  104. package/dist/data-aviatrix-network-domains/index.d.ts +4 -4
  105. package/dist/data-aviatrix-network-domains/index.js +6 -6
  106. package/dist/data-aviatrix-smart-groups/index.d.ts +4 -4
  107. package/dist/data-aviatrix-smart-groups/index.js +6 -6
  108. package/dist/data-aviatrix-spoke-gateway/index.d.ts +5 -5
  109. package/dist/data-aviatrix-spoke-gateway/index.js +6 -6
  110. package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.d.ts +5 -5
  111. package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.js +6 -6
  112. package/dist/data-aviatrix-spoke-gateways/index.d.ts +4 -4
  113. package/dist/data-aviatrix-spoke-gateways/index.js +6 -6
  114. package/dist/data-aviatrix-transit-gateway/index.d.ts +5 -5
  115. package/dist/data-aviatrix-transit-gateway/index.js +6 -6
  116. package/dist/data-aviatrix-transit-gateways/index.d.ts +4 -4
  117. package/dist/data-aviatrix-transit-gateways/index.js +6 -6
  118. package/dist/data-aviatrix-vpc/index.d.ts +6 -6
  119. package/dist/data-aviatrix-vpc/index.js +6 -6
  120. package/dist/data-aviatrix-vpc-tracker/index.d.ts +8 -8
  121. package/dist/data-aviatrix-vpc-tracker/index.js +6 -6
  122. package/dist/data-aviatrix-web-group/index.d.ts +123 -0
  123. package/dist/data-aviatrix-web-group/index.js +265 -0
  124. package/dist/datadog-agent/index.d.ts +8 -8
  125. package/dist/datadog-agent/index.js +6 -6
  126. package/dist/dcf-ips-profile/index.d.ts +127 -0
  127. package/dist/dcf-ips-profile/index.js +275 -0
  128. package/dist/dcf-ips-profile-vpc/index.d.ts +64 -0
  129. package/dist/dcf-ips-profile-vpc/index.js +131 -0
  130. package/dist/dcf-ips-rule-feed/index.d.ts +67 -0
  131. package/dist/dcf-ips-rule-feed/index.js +143 -0
  132. package/dist/dcf-policy-group/index.d.ts +260 -0
  133. package/dist/dcf-policy-group/index.js +605 -0
  134. package/dist/dcf-ruleset/index.d.ts +325 -0
  135. package/dist/dcf-ruleset/index.js +783 -0
  136. package/dist/dcf-tls-profile/index.d.ts +86 -0
  137. package/dist/dcf-tls-profile/index.js +178 -0
  138. package/dist/dcf-trustbundle/index.d.ts +66 -0
  139. package/dist/dcf-trustbundle/index.js +139 -0
  140. package/dist/device-interface-config/index.d.ts +7 -7
  141. package/dist/device-interface-config/index.js +6 -6
  142. package/dist/distributed-firewalling-config/index.d.ts +5 -5
  143. package/dist/distributed-firewalling-config/index.js +6 -6
  144. package/dist/distributed-firewalling-default-action-rule/index.d.ts +17 -6
  145. package/dist/distributed-firewalling-default-action-rule/index.js +29 -6
  146. package/dist/distributed-firewalling-deployment-policy/index.d.ts +66 -0
  147. package/dist/distributed-firewalling-deployment-policy/index.js +137 -0
  148. package/dist/distributed-firewalling-intra-vpc/index.d.ts +8 -8
  149. package/dist/distributed-firewalling-intra-vpc/index.js +6 -6
  150. package/dist/distributed-firewalling-origin-cert-enforcement-config/index.d.ts +5 -5
  151. package/dist/distributed-firewalling-origin-cert-enforcement-config/index.js +6 -6
  152. package/dist/distributed-firewalling-policy-list/index.d.ts +32 -21
  153. package/dist/distributed-firewalling-policy-list/index.js +34 -6
  154. package/dist/distributed-firewalling-proxy-ca-config/index.d.ts +6 -6
  155. package/dist/distributed-firewalling-proxy-ca-config/index.js +6 -6
  156. package/dist/edge-csp/index.d.ts +58 -58
  157. package/dist/edge-csp/index.js +6 -6
  158. package/dist/edge-csp-ha/index.d.ts +18 -18
  159. package/dist/edge-csp-ha/index.js +6 -6
  160. package/dist/edge-equinix/index.d.ts +54 -54
  161. package/dist/edge-equinix/index.js +6 -6
  162. package/dist/edge-equinix-ha/index.d.ts +18 -18
  163. package/dist/edge-equinix-ha/index.js +6 -6
  164. package/dist/edge-gateway-selfmanaged/index.d.ts +94 -50
  165. package/dist/edge-gateway-selfmanaged/index.js +108 -6
  166. package/dist/edge-gateway-selfmanaged-ha/index.d.ts +42 -20
  167. package/dist/edge-gateway-selfmanaged-ha/index.js +62 -6
  168. package/dist/edge-megaport/index.d.ts +56 -56
  169. package/dist/edge-megaport/index.js +6 -6
  170. package/dist/edge-megaport-ha/index.d.ts +16 -16
  171. package/dist/edge-megaport-ha/index.js +6 -6
  172. package/dist/edge-neo/index.d.ts +56 -56
  173. package/dist/edge-neo/index.js +6 -6
  174. package/dist/edge-neo-device-onboarding/index.d.ts +17 -17
  175. package/dist/edge-neo-device-onboarding/index.js +6 -6
  176. package/dist/edge-neo-ha/index.d.ts +18 -18
  177. package/dist/edge-neo-ha/index.js +6 -6
  178. package/dist/edge-platform/index.d.ts +80 -58
  179. package/dist/edge-platform/index.js +62 -6
  180. package/dist/edge-platform-device-onboarding/index.d.ts +17 -17
  181. package/dist/edge-platform-device-onboarding/index.js +6 -6
  182. package/dist/edge-platform-ha/index.d.ts +40 -18
  183. package/dist/edge-platform-ha/index.js +62 -6
  184. package/dist/edge-proxy-profile/index.d.ts +9 -9
  185. package/dist/edge-proxy-profile/index.js +6 -6
  186. package/dist/edge-spoke/index.d.ts +37 -37
  187. package/dist/edge-spoke/index.js +6 -6
  188. package/dist/edge-spoke-external-device-conn/index.d.ts +66 -33
  189. package/dist/edge-spoke-external-device-conn/index.js +75 -6
  190. package/dist/edge-spoke-transit-attachment/index.d.ts +29 -18
  191. package/dist/edge-spoke-transit-attachment/index.js +29 -6
  192. package/dist/edge-vm-selfmanaged/index.d.ts +36 -36
  193. package/dist/edge-vm-selfmanaged/index.js +6 -6
  194. package/dist/edge-vm-selfmanaged-ha/index.d.ts +16 -16
  195. package/dist/edge-vm-selfmanaged-ha/index.js +6 -6
  196. package/dist/edge-zededa/index.d.ts +58 -58
  197. package/dist/edge-zededa/index.js +6 -6
  198. package/dist/edge-zededa-ha/index.d.ts +18 -18
  199. package/dist/edge-zededa-ha/index.js +6 -6
  200. package/dist/filebeat-forwarder/index.d.ts +9 -9
  201. package/dist/filebeat-forwarder/index.js +6 -6
  202. package/dist/firenet/index.d.ts +11 -11
  203. package/dist/firenet/index.js +6 -6
  204. package/dist/firewall/index.d.ts +16 -16
  205. package/dist/firewall/index.js +6 -6
  206. package/dist/firewall-instance/index.d.ts +34 -34
  207. package/dist/firewall-instance/index.js +6 -6
  208. package/dist/firewall-instance-association/index.d.ts +13 -13
  209. package/dist/firewall-instance-association/index.js +6 -6
  210. package/dist/firewall-management-access/index.d.ts +6 -6
  211. package/dist/firewall-management-access/index.js +6 -6
  212. package/dist/firewall-policy/index.d.ts +13 -13
  213. package/dist/firewall-policy/index.js +6 -6
  214. package/dist/firewall-tag/index.d.ts +8 -8
  215. package/dist/firewall-tag/index.js +6 -6
  216. package/dist/fqdn/index.d.ts +16 -16
  217. package/dist/fqdn/index.js +6 -6
  218. package/dist/fqdn-global-config/index.d.ts +10 -10
  219. package/dist/fqdn-global-config/index.js +6 -6
  220. package/dist/fqdn-pass-through/index.d.ts +6 -6
  221. package/dist/fqdn-pass-through/index.js +6 -6
  222. package/dist/fqdn-tag-rule/index.d.ts +9 -9
  223. package/dist/fqdn-tag-rule/index.js +6 -6
  224. package/dist/gateway/index.d.ts +82 -82
  225. package/dist/gateway/index.js +6 -6
  226. package/dist/gateway-certificate-config/index.d.ts +6 -6
  227. package/dist/gateway-certificate-config/index.js +6 -6
  228. package/dist/gateway-dnat/index.d.ts +18 -18
  229. package/dist/gateway-dnat/index.js +6 -6
  230. package/dist/gateway-snat/index.d.ts +20 -20
  231. package/dist/gateway-snat/index.js +6 -6
  232. package/dist/geo-vpn/index.d.ts +9 -9
  233. package/dist/geo-vpn/index.js +6 -6
  234. package/dist/global-vpc-excluded-instance/index.d.ts +7 -7
  235. package/dist/global-vpc-excluded-instance/index.js +6 -6
  236. package/dist/global-vpc-tagging-settings/index.d.ts +6 -6
  237. package/dist/global-vpc-tagging-settings/index.js +6 -6
  238. package/dist/index.d.ts +15 -0
  239. package/dist/index.js +15 -0
  240. package/dist/k8s-config/index.d.ts +66 -0
  241. package/dist/k8s-config/index.js +137 -0
  242. package/dist/kubernetes-cluster/index.d.ts +20 -20
  243. package/dist/kubernetes-cluster/index.js +6 -6
  244. package/dist/lazy-index.js +15 -0
  245. package/dist/link-hierarchy/index.d.ts +9 -9
  246. package/dist/link-hierarchy/index.js +6 -6
  247. package/dist/netflow-agent/index.d.ts +9 -9
  248. package/dist/netflow-agent/index.js +6 -6
  249. package/dist/periodic-ping/index.d.ts +7 -7
  250. package/dist/periodic-ping/index.js +6 -6
  251. package/dist/private-mode-lb/index.d.ts +12 -12
  252. package/dist/private-mode-lb/index.js +6 -6
  253. package/dist/private-mode-multicloud-endpoint/index.d.ts +8 -8
  254. package/dist/private-mode-multicloud-endpoint/index.js +6 -6
  255. package/dist/provider/index.d.ts +13 -13
  256. package/dist/provider/index.js +6 -6
  257. package/dist/proxy-config/index.d.ts +7 -7
  258. package/dist/proxy-config/index.js +6 -6
  259. package/dist/qos-class/index.d.ts +6 -6
  260. package/dist/qos-class/index.js +6 -6
  261. package/dist/qos-policy-list/index.d.ts +8 -8
  262. package/dist/qos-policy-list/index.js +6 -6
  263. package/dist/rbac-group/index.d.ts +6 -6
  264. package/dist/rbac-group/index.js +6 -6
  265. package/dist/rbac-group-access-account-attachment/index.d.ts +6 -6
  266. package/dist/rbac-group-access-account-attachment/index.js +6 -6
  267. package/dist/rbac-group-access-account-membership/index.d.ts +75 -0
  268. package/dist/rbac-group-access-account-membership/index.js +154 -0
  269. package/dist/rbac-group-permission-attachment/index.d.ts +6 -6
  270. package/dist/rbac-group-permission-attachment/index.js +6 -6
  271. package/dist/rbac-group-user-attachment/index.d.ts +6 -6
  272. package/dist/rbac-group-user-attachment/index.js +6 -6
  273. package/dist/rbac-group-user-membership/index.d.ts +75 -0
  274. package/dist/rbac-group-user-membership/index.js +154 -0
  275. package/dist/remote-syslog/index.d.ts +14 -14
  276. package/dist/remote-syslog/index.js +6 -6
  277. package/dist/saml-endpoint/index.d.ts +14 -14
  278. package/dist/saml-endpoint/index.js +6 -6
  279. package/dist/segmentation-network-domain/index.d.ts +5 -5
  280. package/dist/segmentation-network-domain/index.js +6 -6
  281. package/dist/segmentation-network-domain-association/index.d.ts +7 -7
  282. package/dist/segmentation-network-domain-association/index.js +6 -6
  283. package/dist/segmentation-network-domain-connection-policy/index.d.ts +6 -6
  284. package/dist/segmentation-network-domain-connection-policy/index.js +6 -6
  285. package/dist/site2cloud/index.d.ts +59 -59
  286. package/dist/site2cloud/index.js +6 -6
  287. package/dist/site2cloud-ca-cert-tag/index.d.ts +7 -7
  288. package/dist/site2cloud-ca-cert-tag/index.js +6 -6
  289. package/dist/sla-class/index.d.ts +8 -8
  290. package/dist/sla-class/index.js +6 -6
  291. package/dist/smart-group/index.d.ts +25 -25
  292. package/dist/smart-group/index.js +6 -6
  293. package/dist/splunk-logging/index.d.ts +9 -9
  294. package/dist/splunk-logging/index.js +6 -6
  295. package/dist/spoke-external-device-conn/index.d.ts +112 -57
  296. package/dist/spoke-external-device-conn/index.js +121 -6
  297. package/dist/spoke-gateway/index.d.ts +158 -81
  298. package/dist/spoke-gateway/index.js +167 -6
  299. package/dist/spoke-gateway-subnet-group/index.d.ts +7 -7
  300. package/dist/spoke-gateway-subnet-group/index.js +6 -6
  301. package/dist/spoke-ha-gateway/index.d.ts +26 -15
  302. package/dist/spoke-ha-gateway/index.js +29 -6
  303. package/dist/spoke-transit-attachment/index.d.ts +12 -12
  304. package/dist/spoke-transit-attachment/index.js +6 -6
  305. package/dist/sumologic-forwarder/index.d.ts +9 -9
  306. package/dist/sumologic-forwarder/index.js +6 -6
  307. package/dist/traffic-classifier/index.d.ts +16 -16
  308. package/dist/traffic-classifier/index.js +6 -6
  309. package/dist/trans-peer/index.d.ts +7 -7
  310. package/dist/trans-peer/index.js +6 -6
  311. package/dist/transit-external-device-conn/index.d.ts +117 -62
  312. package/dist/transit-external-device-conn/index.js +122 -7
  313. package/dist/transit-firenet-policy/index.d.ts +6 -6
  314. package/dist/transit-firenet-policy/index.js +6 -6
  315. package/dist/transit-gateway/index.d.ts +201 -124
  316. package/dist/transit-gateway/index.js +177 -6
  317. package/dist/transit-gateway-peering/index.d.ts +22 -22
  318. package/dist/transit-gateway-peering/index.js +7 -7
  319. package/dist/tunnel/index.d.ts +7 -7
  320. package/dist/tunnel/index.js +6 -6
  321. package/dist/vgw-conn/index.d.ts +15 -15
  322. package/dist/vgw-conn/index.js +6 -6
  323. package/dist/vpc/index.d.ts +46 -21
  324. package/dist/vpc/index.js +64 -6
  325. package/dist/vpn-cert-download/index.d.ts +6 -6
  326. package/dist/vpn-cert-download/index.js +6 -6
  327. package/dist/vpn-profile/index.d.ts +13 -13
  328. package/dist/vpn-profile/index.js +6 -6
  329. package/dist/vpn-user/index.d.ts +12 -12
  330. package/dist/vpn-user/index.js +6 -6
  331. package/dist/vpn-user-accelerator/index.d.ts +5 -5
  332. package/dist/vpn-user-accelerator/index.js +6 -6
  333. package/dist/web-group/index.d.ts +9 -9
  334. package/dist/web-group/index.js +6 -6
  335. package/package.json +2 -2
@@ -0,0 +1,275 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function dcfIpsProfileRuleFeedsToTerraform(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
+ custom_feeds_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.customFeedsIds),
13
+ external_feeds_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.externalFeedsIds),
14
+ ignored_sids: cdktf.listMapper(cdktf.numberToTerraform, false)(struct.ignoredSids),
15
+ };
16
+ }
17
+ export function dcfIpsProfileRuleFeedsToHclTerraform(struct) {
18
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
19
+ return struct;
20
+ }
21
+ if (cdktf.isComplexElement(struct)) {
22
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
23
+ }
24
+ const attrs = {
25
+ custom_feeds_ids: {
26
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.customFeedsIds),
27
+ isBlock: false,
28
+ type: "set",
29
+ storageClassType: "stringList",
30
+ },
31
+ external_feeds_ids: {
32
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.externalFeedsIds),
33
+ isBlock: false,
34
+ type: "set",
35
+ storageClassType: "stringList",
36
+ },
37
+ ignored_sids: {
38
+ value: cdktf.listMapperHcl(cdktf.numberToHclTerraform, false)(struct.ignoredSids),
39
+ isBlock: false,
40
+ type: "set",
41
+ storageClassType: "numberList",
42
+ },
43
+ };
44
+ // remove undefined attributes
45
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
46
+ }
47
+ export class DcfIpsProfileRuleFeedsOutputReference extends cdktf.ComplexObject {
48
+ isEmptyObject = false;
49
+ /**
50
+ * @param terraformResource The parent resource
51
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
52
+ */
53
+ constructor(terraformResource, terraformAttribute) {
54
+ super(terraformResource, terraformAttribute, false, 0);
55
+ }
56
+ get internalValue() {
57
+ let hasAnyValues = this.isEmptyObject;
58
+ const internalValueResult = {};
59
+ if (this._customFeedsIds !== undefined) {
60
+ hasAnyValues = true;
61
+ internalValueResult.customFeedsIds = this._customFeedsIds;
62
+ }
63
+ if (this._externalFeedsIds !== undefined) {
64
+ hasAnyValues = true;
65
+ internalValueResult.externalFeedsIds = this._externalFeedsIds;
66
+ }
67
+ if (this._ignoredSids !== undefined) {
68
+ hasAnyValues = true;
69
+ internalValueResult.ignoredSids = this._ignoredSids;
70
+ }
71
+ return hasAnyValues ? internalValueResult : undefined;
72
+ }
73
+ set internalValue(value) {
74
+ if (value === undefined) {
75
+ this.isEmptyObject = false;
76
+ this._customFeedsIds = undefined;
77
+ this._externalFeedsIds = undefined;
78
+ this._ignoredSids = undefined;
79
+ }
80
+ else {
81
+ this.isEmptyObject = Object.keys(value).length === 0;
82
+ this._customFeedsIds = value.customFeedsIds;
83
+ this._externalFeedsIds = value.externalFeedsIds;
84
+ this._ignoredSids = value.ignoredSids;
85
+ }
86
+ }
87
+ // custom_feeds_ids - computed: false, optional: false, required: true
88
+ _customFeedsIds;
89
+ get customFeedsIds() {
90
+ return cdktf.Fn.tolist(this.getListAttribute('custom_feeds_ids'));
91
+ }
92
+ set customFeedsIds(value) {
93
+ this._customFeedsIds = value;
94
+ }
95
+ // Temporarily expose input value. Use with caution.
96
+ get customFeedsIdsInput() {
97
+ return this._customFeedsIds;
98
+ }
99
+ // external_feeds_ids - computed: false, optional: false, required: true
100
+ _externalFeedsIds;
101
+ get externalFeedsIds() {
102
+ return cdktf.Fn.tolist(this.getListAttribute('external_feeds_ids'));
103
+ }
104
+ set externalFeedsIds(value) {
105
+ this._externalFeedsIds = value;
106
+ }
107
+ // Temporarily expose input value. Use with caution.
108
+ get externalFeedsIdsInput() {
109
+ return this._externalFeedsIds;
110
+ }
111
+ // ignored_sids - computed: false, optional: false, required: true
112
+ _ignoredSids;
113
+ get ignoredSids() {
114
+ return cdktf.Token.asNumberList(cdktf.Fn.tolist(this.getNumberListAttribute('ignored_sids')));
115
+ }
116
+ set ignoredSids(value) {
117
+ this._ignoredSids = value;
118
+ }
119
+ // Temporarily expose input value. Use with caution.
120
+ get ignoredSidsInput() {
121
+ return this._ignoredSids;
122
+ }
123
+ }
124
+ /**
125
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile aviatrix_dcf_ips_profile}
126
+ */
127
+ export class DcfIpsProfile extends cdktf.TerraformResource {
128
+ // =================
129
+ // STATIC PROPERTIES
130
+ // =================
131
+ static tfResourceType = "aviatrix_dcf_ips_profile";
132
+ // ==============
133
+ // STATIC Methods
134
+ // ==============
135
+ /**
136
+ * Generates CDKTF code for importing a DcfIpsProfile resource upon running "cdktf plan <stack-name>"
137
+ * @param scope The scope in which to define this construct
138
+ * @param importToId The construct id used in the generated config for the DcfIpsProfile to import
139
+ * @param importFromId The id of the existing DcfIpsProfile that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile#import import section} in the documentation of this resource for the id to use
140
+ * @param provider? Optional instance of the provider where the DcfIpsProfile to import is found
141
+ */
142
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
143
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_dcf_ips_profile", importId: importFromId, provider });
144
+ }
145
+ // ===========
146
+ // INITIALIZER
147
+ // ===========
148
+ /**
149
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile aviatrix_dcf_ips_profile} Resource
150
+ *
151
+ * @param scope The scope in which to define this construct
152
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
153
+ * @param options DcfIpsProfileConfig
154
+ */
155
+ constructor(scope, id, config) {
156
+ super(scope, id, {
157
+ terraformResourceType: 'aviatrix_dcf_ips_profile',
158
+ terraformGeneratorMetadata: {
159
+ providerName: 'aviatrix',
160
+ providerVersion: '8.2.0',
161
+ providerVersionConstraint: '8.2.0'
162
+ },
163
+ provider: config.provider,
164
+ dependsOn: config.dependsOn,
165
+ count: config.count,
166
+ lifecycle: config.lifecycle,
167
+ provisioners: config.provisioners,
168
+ connection: config.connection,
169
+ forEach: config.forEach
170
+ });
171
+ this._id = config.id;
172
+ this._intrusionActions = config.intrusionActions;
173
+ this._profileName = config.profileName;
174
+ this._ruleFeeds.internalValue = config.ruleFeeds;
175
+ }
176
+ // ==========
177
+ // ATTRIBUTES
178
+ // ==========
179
+ // id - computed: true, optional: true, required: false
180
+ _id;
181
+ get id() {
182
+ return this.getStringAttribute('id');
183
+ }
184
+ set id(value) {
185
+ this._id = value;
186
+ }
187
+ resetId() {
188
+ this._id = undefined;
189
+ }
190
+ // Temporarily expose input value. Use with caution.
191
+ get idInput() {
192
+ return this._id;
193
+ }
194
+ // intrusion_actions - computed: false, optional: false, required: true
195
+ _intrusionActions;
196
+ get intrusionActions() {
197
+ return this.getStringMapAttribute('intrusion_actions');
198
+ }
199
+ set intrusionActions(value) {
200
+ this._intrusionActions = value;
201
+ }
202
+ // Temporarily expose input value. Use with caution.
203
+ get intrusionActionsInput() {
204
+ return this._intrusionActions;
205
+ }
206
+ // profile_name - computed: false, optional: false, required: true
207
+ _profileName;
208
+ get profileName() {
209
+ return this.getStringAttribute('profile_name');
210
+ }
211
+ set profileName(value) {
212
+ this._profileName = value;
213
+ }
214
+ // Temporarily expose input value. Use with caution.
215
+ get profileNameInput() {
216
+ return this._profileName;
217
+ }
218
+ // uuid - computed: true, optional: false, required: false
219
+ get uuid() {
220
+ return this.getStringAttribute('uuid');
221
+ }
222
+ // rule_feeds - computed: false, optional: false, required: true
223
+ _ruleFeeds = new DcfIpsProfileRuleFeedsOutputReference(this, "rule_feeds");
224
+ get ruleFeeds() {
225
+ return this._ruleFeeds;
226
+ }
227
+ putRuleFeeds(value) {
228
+ this._ruleFeeds.internalValue = value;
229
+ }
230
+ // Temporarily expose input value. Use with caution.
231
+ get ruleFeedsInput() {
232
+ return this._ruleFeeds.internalValue;
233
+ }
234
+ // =========
235
+ // SYNTHESIS
236
+ // =========
237
+ synthesizeAttributes() {
238
+ return {
239
+ id: cdktf.stringToTerraform(this._id),
240
+ intrusion_actions: cdktf.hashMapper(cdktf.stringToTerraform)(this._intrusionActions),
241
+ profile_name: cdktf.stringToTerraform(this._profileName),
242
+ rule_feeds: dcfIpsProfileRuleFeedsToTerraform(this._ruleFeeds.internalValue),
243
+ };
244
+ }
245
+ synthesizeHclAttributes() {
246
+ const attrs = {
247
+ id: {
248
+ value: cdktf.stringToHclTerraform(this._id),
249
+ isBlock: false,
250
+ type: "simple",
251
+ storageClassType: "string",
252
+ },
253
+ intrusion_actions: {
254
+ value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._intrusionActions),
255
+ isBlock: false,
256
+ type: "map",
257
+ storageClassType: "stringMap",
258
+ },
259
+ profile_name: {
260
+ value: cdktf.stringToHclTerraform(this._profileName),
261
+ isBlock: false,
262
+ type: "simple",
263
+ storageClassType: "string",
264
+ },
265
+ rule_feeds: {
266
+ value: dcfIpsProfileRuleFeedsToHclTerraform(this._ruleFeeds.internalValue),
267
+ isBlock: true,
268
+ type: "set",
269
+ storageClassType: "DcfIpsProfileRuleFeedsList",
270
+ },
271
+ };
272
+ // remove undefined attributes
273
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
274
+ }
275
+ }
@@ -0,0 +1,64 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DcfIpsProfileVpcConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * List of DCF IPS profile UUIDs to assign to the VPC.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#dcf_ips_profiles DcfIpsProfileVpc#dcf_ips_profiles}
8
+ */
9
+ readonly dcfIpsProfiles: string[];
10
+ /**
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#id DcfIpsProfileVpc#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
+ * The VPC ID to assign DCF IPS profiles to.
19
+ *
20
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#vpc_id DcfIpsProfileVpc#vpc_id}
21
+ */
22
+ readonly vpcId: string;
23
+ }
24
+ /**
25
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc aviatrix_dcf_ips_profile_vpc}
26
+ */
27
+ export declare class DcfIpsProfileVpc extends cdktf.TerraformResource {
28
+ static readonly tfResourceType = "aviatrix_dcf_ips_profile_vpc";
29
+ /**
30
+ * Generates CDKTF code for importing a DcfIpsProfileVpc 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 DcfIpsProfileVpc to import
33
+ * @param importFromId The id of the existing DcfIpsProfileVpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#import import section} in the documentation of this resource for the id to use
34
+ * @param provider? Optional instance of the provider where the DcfIpsProfileVpc 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.2.0/docs/resources/dcf_ips_profile_vpc aviatrix_dcf_ips_profile_vpc} Resource
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 DcfIpsProfileVpcConfig
43
+ */
44
+ constructor(scope: Construct, id: string, config: DcfIpsProfileVpcConfig);
45
+ private _dcfIpsProfiles?;
46
+ get dcfIpsProfiles(): string[];
47
+ set dcfIpsProfiles(value: string[]);
48
+ get dcfIpsProfilesInput(): string[];
49
+ private _id?;
50
+ get id(): string;
51
+ set id(value: string);
52
+ resetId(): void;
53
+ get idInput(): string;
54
+ private _vpcId?;
55
+ get vpcId(): string;
56
+ set vpcId(value: string);
57
+ get vpcIdInput(): string;
58
+ protected synthesizeAttributes(): {
59
+ [name: string]: any;
60
+ };
61
+ protected synthesizeHclAttributes(): {
62
+ [name: string]: any;
63
+ };
64
+ }
@@ -0,0 +1,131 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc
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.2.0/docs/resources/dcf_ips_profile_vpc aviatrix_dcf_ips_profile_vpc}
6
+ */
7
+ export class DcfIpsProfileVpc extends cdktf.TerraformResource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aviatrix_dcf_ips_profile_vpc";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a DcfIpsProfileVpc 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 DcfIpsProfileVpc to import
19
+ * @param importFromId The id of the existing DcfIpsProfileVpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the DcfIpsProfileVpc to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_dcf_ips_profile_vpc", importId: importFromId, provider });
24
+ }
25
+ // ===========
26
+ // INITIALIZER
27
+ // ===========
28
+ /**
29
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc aviatrix_dcf_ips_profile_vpc} 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 DcfIpsProfileVpcConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aviatrix_dcf_ips_profile_vpc',
38
+ terraformGeneratorMetadata: {
39
+ providerName: 'aviatrix',
40
+ providerVersion: '8.2.0',
41
+ providerVersionConstraint: '8.2.0'
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._dcfIpsProfiles = config.dcfIpsProfiles;
52
+ this._id = config.id;
53
+ this._vpcId = config.vpcId;
54
+ }
55
+ // ==========
56
+ // ATTRIBUTES
57
+ // ==========
58
+ // dcf_ips_profiles - computed: false, optional: false, required: true
59
+ _dcfIpsProfiles;
60
+ get dcfIpsProfiles() {
61
+ return cdktf.Fn.tolist(this.getListAttribute('dcf_ips_profiles'));
62
+ }
63
+ set dcfIpsProfiles(value) {
64
+ this._dcfIpsProfiles = value;
65
+ }
66
+ // Temporarily expose input value. Use with caution.
67
+ get dcfIpsProfilesInput() {
68
+ return this._dcfIpsProfiles;
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
+ // vpc_id - computed: false, optional: false, required: true
86
+ _vpcId;
87
+ get vpcId() {
88
+ return this.getStringAttribute('vpc_id');
89
+ }
90
+ set vpcId(value) {
91
+ this._vpcId = value;
92
+ }
93
+ // Temporarily expose input value. Use with caution.
94
+ get vpcIdInput() {
95
+ return this._vpcId;
96
+ }
97
+ // =========
98
+ // SYNTHESIS
99
+ // =========
100
+ synthesizeAttributes() {
101
+ return {
102
+ dcf_ips_profiles: cdktf.listMapper(cdktf.stringToTerraform, false)(this._dcfIpsProfiles),
103
+ id: cdktf.stringToTerraform(this._id),
104
+ vpc_id: cdktf.stringToTerraform(this._vpcId),
105
+ };
106
+ }
107
+ synthesizeHclAttributes() {
108
+ const attrs = {
109
+ dcf_ips_profiles: {
110
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._dcfIpsProfiles),
111
+ isBlock: false,
112
+ type: "set",
113
+ storageClassType: "stringList",
114
+ },
115
+ id: {
116
+ value: cdktf.stringToHclTerraform(this._id),
117
+ isBlock: false,
118
+ type: "simple",
119
+ storageClassType: "string",
120
+ },
121
+ vpc_id: {
122
+ value: cdktf.stringToHclTerraform(this._vpcId),
123
+ isBlock: false,
124
+ type: "simple",
125
+ storageClassType: "string",
126
+ },
127
+ };
128
+ // remove undefined attributes
129
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
130
+ }
131
+ }
@@ -0,0 +1,67 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DcfIpsRuleFeedConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Name for the rule feed.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#feed_name DcfIpsRuleFeed#feed_name}
8
+ */
9
+ readonly feedName: string;
10
+ /**
11
+ * IPS rule feed file content containing Suricata rules.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#file_content DcfIpsRuleFeed#file_content}
14
+ */
15
+ readonly fileContent: string;
16
+ /**
17
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#id DcfIpsRuleFeed#id}
18
+ *
19
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
20
+ * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
21
+ */
22
+ readonly id?: string;
23
+ }
24
+ /**
25
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed aviatrix_dcf_ips_rule_feed}
26
+ */
27
+ export declare class DcfIpsRuleFeed extends cdktf.TerraformResource {
28
+ static readonly tfResourceType = "aviatrix_dcf_ips_rule_feed";
29
+ /**
30
+ * Generates CDKTF code for importing a DcfIpsRuleFeed 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 DcfIpsRuleFeed to import
33
+ * @param importFromId The id of the existing DcfIpsRuleFeed that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#import import section} in the documentation of this resource for the id to use
34
+ * @param provider? Optional instance of the provider where the DcfIpsRuleFeed 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.2.0/docs/resources/dcf_ips_rule_feed aviatrix_dcf_ips_rule_feed} Resource
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 DcfIpsRuleFeedConfig
43
+ */
44
+ constructor(scope: Construct, id: string, config: DcfIpsRuleFeedConfig);
45
+ get contentHash(): any;
46
+ private _feedName?;
47
+ get feedName(): string;
48
+ set feedName(value: string);
49
+ get feedNameInput(): string;
50
+ private _fileContent?;
51
+ get fileContent(): string;
52
+ set fileContent(value: string);
53
+ get fileContentInput(): string;
54
+ private _id?;
55
+ get id(): string;
56
+ set id(value: string);
57
+ resetId(): void;
58
+ get idInput(): string;
59
+ get ipsRules(): any;
60
+ get uuid(): any;
61
+ protected synthesizeAttributes(): {
62
+ [name: string]: any;
63
+ };
64
+ protected synthesizeHclAttributes(): {
65
+ [name: string]: any;
66
+ };
67
+ }
@@ -0,0 +1,143 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed
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.2.0/docs/resources/dcf_ips_rule_feed aviatrix_dcf_ips_rule_feed}
6
+ */
7
+ export class DcfIpsRuleFeed extends cdktf.TerraformResource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aviatrix_dcf_ips_rule_feed";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a DcfIpsRuleFeed 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 DcfIpsRuleFeed to import
19
+ * @param importFromId The id of the existing DcfIpsRuleFeed that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the DcfIpsRuleFeed to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_dcf_ips_rule_feed", importId: importFromId, provider });
24
+ }
25
+ // ===========
26
+ // INITIALIZER
27
+ // ===========
28
+ /**
29
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed aviatrix_dcf_ips_rule_feed} 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 DcfIpsRuleFeedConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aviatrix_dcf_ips_rule_feed',
38
+ terraformGeneratorMetadata: {
39
+ providerName: 'aviatrix',
40
+ providerVersion: '8.2.0',
41
+ providerVersionConstraint: '8.2.0'
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._feedName = config.feedName;
52
+ this._fileContent = config.fileContent;
53
+ this._id = config.id;
54
+ }
55
+ // ==========
56
+ // ATTRIBUTES
57
+ // ==========
58
+ // content_hash - computed: true, optional: false, required: false
59
+ get contentHash() {
60
+ return this.getStringAttribute('content_hash');
61
+ }
62
+ // feed_name - computed: false, optional: false, required: true
63
+ _feedName;
64
+ get feedName() {
65
+ return this.getStringAttribute('feed_name');
66
+ }
67
+ set feedName(value) {
68
+ this._feedName = value;
69
+ }
70
+ // Temporarily expose input value. Use with caution.
71
+ get feedNameInput() {
72
+ return this._feedName;
73
+ }
74
+ // file_content - computed: false, optional: false, required: true
75
+ _fileContent;
76
+ get fileContent() {
77
+ return this.getStringAttribute('file_content');
78
+ }
79
+ set fileContent(value) {
80
+ this._fileContent = value;
81
+ }
82
+ // Temporarily expose input value. Use with caution.
83
+ get fileContentInput() {
84
+ return this._fileContent;
85
+ }
86
+ // id - computed: true, optional: true, required: false
87
+ _id;
88
+ get id() {
89
+ return this.getStringAttribute('id');
90
+ }
91
+ set id(value) {
92
+ this._id = value;
93
+ }
94
+ resetId() {
95
+ this._id = undefined;
96
+ }
97
+ // Temporarily expose input value. Use with caution.
98
+ get idInput() {
99
+ return this._id;
100
+ }
101
+ // ips_rules - computed: true, optional: false, required: false
102
+ get ipsRules() {
103
+ return this.getListAttribute('ips_rules');
104
+ }
105
+ // uuid - computed: true, optional: false, required: false
106
+ get uuid() {
107
+ return this.getStringAttribute('uuid');
108
+ }
109
+ // =========
110
+ // SYNTHESIS
111
+ // =========
112
+ synthesizeAttributes() {
113
+ return {
114
+ feed_name: cdktf.stringToTerraform(this._feedName),
115
+ file_content: cdktf.stringToTerraform(this._fileContent),
116
+ id: cdktf.stringToTerraform(this._id),
117
+ };
118
+ }
119
+ synthesizeHclAttributes() {
120
+ const attrs = {
121
+ feed_name: {
122
+ value: cdktf.stringToHclTerraform(this._feedName),
123
+ isBlock: false,
124
+ type: "simple",
125
+ storageClassType: "string",
126
+ },
127
+ file_content: {
128
+ value: cdktf.stringToHclTerraform(this._fileContent),
129
+ isBlock: false,
130
+ type: "simple",
131
+ storageClassType: "string",
132
+ },
133
+ id: {
134
+ value: cdktf.stringToHclTerraform(this._id),
135
+ isBlock: false,
136
+ type: "simple",
137
+ storageClassType: "string",
138
+ },
139
+ };
140
+ // remove undefined attributes
141
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
142
+ }
143
+ }