@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,605 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_policy_group
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function dcfPolicyGroupAttachmentPointToTerraform(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
+ name: cdktf.stringToTerraform(struct.name),
13
+ priority: cdktf.numberToTerraform(struct.priority),
14
+ };
15
+ }
16
+ export function dcfPolicyGroupAttachmentPointToHclTerraform(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
+ name: {
25
+ value: cdktf.stringToHclTerraform(struct.name),
26
+ isBlock: false,
27
+ type: "simple",
28
+ storageClassType: "string",
29
+ },
30
+ priority: {
31
+ value: cdktf.numberToHclTerraform(struct.priority),
32
+ isBlock: false,
33
+ type: "simple",
34
+ storageClassType: "number",
35
+ },
36
+ };
37
+ // remove undefined attributes
38
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
39
+ }
40
+ export class DcfPolicyGroupAttachmentPointOutputReference 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._name !== undefined) {
59
+ hasAnyValues = true;
60
+ internalValueResult.name = this._name;
61
+ }
62
+ if (this._priority !== undefined) {
63
+ hasAnyValues = true;
64
+ internalValueResult.priority = this._priority;
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._name = undefined;
73
+ this._priority = 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._name = value.name;
83
+ this._priority = value.priority;
84
+ }
85
+ }
86
+ // name - computed: false, optional: false, required: true
87
+ _name;
88
+ get name() {
89
+ return this.getStringAttribute('name');
90
+ }
91
+ set name(value) {
92
+ this._name = value;
93
+ }
94
+ // Temporarily expose input value. Use with caution.
95
+ get nameInput() {
96
+ return this._name;
97
+ }
98
+ // priority - computed: false, optional: false, required: true
99
+ _priority;
100
+ get priority() {
101
+ return this.getNumberAttribute('priority');
102
+ }
103
+ set priority(value) {
104
+ this._priority = value;
105
+ }
106
+ // Temporarily expose input value. Use with caution.
107
+ get priorityInput() {
108
+ return this._priority;
109
+ }
110
+ // target_uuid - computed: true, optional: false, required: false
111
+ get targetUuid() {
112
+ return this.getStringAttribute('target_uuid');
113
+ }
114
+ // uuid - computed: true, optional: false, required: false
115
+ get uuid() {
116
+ return this.getStringAttribute('uuid');
117
+ }
118
+ }
119
+ export class DcfPolicyGroupAttachmentPointList extends cdktf.ComplexList {
120
+ terraformResource;
121
+ terraformAttribute;
122
+ wrapsSet;
123
+ internalValue;
124
+ /**
125
+ * @param terraformResource The parent resource
126
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
127
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
128
+ */
129
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
130
+ super(terraformResource, terraformAttribute, wrapsSet);
131
+ this.terraformResource = terraformResource;
132
+ this.terraformAttribute = terraformAttribute;
133
+ this.wrapsSet = wrapsSet;
134
+ }
135
+ /**
136
+ * @param index the index of the item to return
137
+ */
138
+ get(index) {
139
+ return new DcfPolicyGroupAttachmentPointOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
140
+ }
141
+ }
142
+ export function dcfPolicyGroupPolicyGroupReferenceToTerraform(struct) {
143
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
144
+ return struct;
145
+ }
146
+ if (cdktf.isComplexElement(struct)) {
147
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
148
+ }
149
+ return {
150
+ priority: cdktf.numberToTerraform(struct.priority),
151
+ target_uuid: cdktf.stringToTerraform(struct.targetUuid),
152
+ };
153
+ }
154
+ export function dcfPolicyGroupPolicyGroupReferenceToHclTerraform(struct) {
155
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
156
+ return struct;
157
+ }
158
+ if (cdktf.isComplexElement(struct)) {
159
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
160
+ }
161
+ const attrs = {
162
+ priority: {
163
+ value: cdktf.numberToHclTerraform(struct.priority),
164
+ isBlock: false,
165
+ type: "simple",
166
+ storageClassType: "number",
167
+ },
168
+ target_uuid: {
169
+ value: cdktf.stringToHclTerraform(struct.targetUuid),
170
+ isBlock: false,
171
+ type: "simple",
172
+ storageClassType: "string",
173
+ },
174
+ };
175
+ // remove undefined attributes
176
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
177
+ }
178
+ export class DcfPolicyGroupPolicyGroupReferenceOutputReference extends cdktf.ComplexObject {
179
+ isEmptyObject = false;
180
+ resolvableValue;
181
+ /**
182
+ * @param terraformResource The parent resource
183
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
184
+ * @param complexObjectIndex the index of this item in the list
185
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
186
+ */
187
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
188
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
189
+ }
190
+ get internalValue() {
191
+ if (this.resolvableValue) {
192
+ return this.resolvableValue;
193
+ }
194
+ let hasAnyValues = this.isEmptyObject;
195
+ const internalValueResult = {};
196
+ if (this._priority !== undefined) {
197
+ hasAnyValues = true;
198
+ internalValueResult.priority = this._priority;
199
+ }
200
+ if (this._targetUuid !== undefined) {
201
+ hasAnyValues = true;
202
+ internalValueResult.targetUuid = this._targetUuid;
203
+ }
204
+ return hasAnyValues ? internalValueResult : undefined;
205
+ }
206
+ set internalValue(value) {
207
+ if (value === undefined) {
208
+ this.isEmptyObject = false;
209
+ this.resolvableValue = undefined;
210
+ this._priority = undefined;
211
+ this._targetUuid = undefined;
212
+ }
213
+ else if (cdktf.Tokenization.isResolvable(value)) {
214
+ this.isEmptyObject = false;
215
+ this.resolvableValue = value;
216
+ }
217
+ else {
218
+ this.isEmptyObject = Object.keys(value).length === 0;
219
+ this.resolvableValue = undefined;
220
+ this._priority = value.priority;
221
+ this._targetUuid = value.targetUuid;
222
+ }
223
+ }
224
+ // priority - computed: false, optional: false, required: true
225
+ _priority;
226
+ get priority() {
227
+ return this.getNumberAttribute('priority');
228
+ }
229
+ set priority(value) {
230
+ this._priority = value;
231
+ }
232
+ // Temporarily expose input value. Use with caution.
233
+ get priorityInput() {
234
+ return this._priority;
235
+ }
236
+ // target_uuid - computed: false, optional: false, required: true
237
+ _targetUuid;
238
+ get targetUuid() {
239
+ return this.getStringAttribute('target_uuid');
240
+ }
241
+ set targetUuid(value) {
242
+ this._targetUuid = value;
243
+ }
244
+ // Temporarily expose input value. Use with caution.
245
+ get targetUuidInput() {
246
+ return this._targetUuid;
247
+ }
248
+ }
249
+ export class DcfPolicyGroupPolicyGroupReferenceList extends cdktf.ComplexList {
250
+ terraformResource;
251
+ terraformAttribute;
252
+ wrapsSet;
253
+ internalValue;
254
+ /**
255
+ * @param terraformResource The parent resource
256
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
257
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
258
+ */
259
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
260
+ super(terraformResource, terraformAttribute, wrapsSet);
261
+ this.terraformResource = terraformResource;
262
+ this.terraformAttribute = terraformAttribute;
263
+ this.wrapsSet = wrapsSet;
264
+ }
265
+ /**
266
+ * @param index the index of the item to return
267
+ */
268
+ get(index) {
269
+ return new DcfPolicyGroupPolicyGroupReferenceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
270
+ }
271
+ }
272
+ export function dcfPolicyGroupRulesetReferenceToTerraform(struct) {
273
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
274
+ return struct;
275
+ }
276
+ if (cdktf.isComplexElement(struct)) {
277
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
278
+ }
279
+ return {
280
+ priority: cdktf.numberToTerraform(struct.priority),
281
+ target_uuid: cdktf.stringToTerraform(struct.targetUuid),
282
+ };
283
+ }
284
+ export function dcfPolicyGroupRulesetReferenceToHclTerraform(struct) {
285
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
286
+ return struct;
287
+ }
288
+ if (cdktf.isComplexElement(struct)) {
289
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
290
+ }
291
+ const attrs = {
292
+ priority: {
293
+ value: cdktf.numberToHclTerraform(struct.priority),
294
+ isBlock: false,
295
+ type: "simple",
296
+ storageClassType: "number",
297
+ },
298
+ target_uuid: {
299
+ value: cdktf.stringToHclTerraform(struct.targetUuid),
300
+ isBlock: false,
301
+ type: "simple",
302
+ storageClassType: "string",
303
+ },
304
+ };
305
+ // remove undefined attributes
306
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
307
+ }
308
+ export class DcfPolicyGroupRulesetReferenceOutputReference extends cdktf.ComplexObject {
309
+ isEmptyObject = false;
310
+ resolvableValue;
311
+ /**
312
+ * @param terraformResource The parent resource
313
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
314
+ * @param complexObjectIndex the index of this item in the list
315
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
316
+ */
317
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
318
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
319
+ }
320
+ get internalValue() {
321
+ if (this.resolvableValue) {
322
+ return this.resolvableValue;
323
+ }
324
+ let hasAnyValues = this.isEmptyObject;
325
+ const internalValueResult = {};
326
+ if (this._priority !== undefined) {
327
+ hasAnyValues = true;
328
+ internalValueResult.priority = this._priority;
329
+ }
330
+ if (this._targetUuid !== undefined) {
331
+ hasAnyValues = true;
332
+ internalValueResult.targetUuid = this._targetUuid;
333
+ }
334
+ return hasAnyValues ? internalValueResult : undefined;
335
+ }
336
+ set internalValue(value) {
337
+ if (value === undefined) {
338
+ this.isEmptyObject = false;
339
+ this.resolvableValue = undefined;
340
+ this._priority = undefined;
341
+ this._targetUuid = undefined;
342
+ }
343
+ else if (cdktf.Tokenization.isResolvable(value)) {
344
+ this.isEmptyObject = false;
345
+ this.resolvableValue = value;
346
+ }
347
+ else {
348
+ this.isEmptyObject = Object.keys(value).length === 0;
349
+ this.resolvableValue = undefined;
350
+ this._priority = value.priority;
351
+ this._targetUuid = value.targetUuid;
352
+ }
353
+ }
354
+ // priority - computed: false, optional: false, required: true
355
+ _priority;
356
+ get priority() {
357
+ return this.getNumberAttribute('priority');
358
+ }
359
+ set priority(value) {
360
+ this._priority = value;
361
+ }
362
+ // Temporarily expose input value. Use with caution.
363
+ get priorityInput() {
364
+ return this._priority;
365
+ }
366
+ // target_uuid - computed: false, optional: false, required: true
367
+ _targetUuid;
368
+ get targetUuid() {
369
+ return this.getStringAttribute('target_uuid');
370
+ }
371
+ set targetUuid(value) {
372
+ this._targetUuid = value;
373
+ }
374
+ // Temporarily expose input value. Use with caution.
375
+ get targetUuidInput() {
376
+ return this._targetUuid;
377
+ }
378
+ }
379
+ export class DcfPolicyGroupRulesetReferenceList extends cdktf.ComplexList {
380
+ terraformResource;
381
+ terraformAttribute;
382
+ wrapsSet;
383
+ internalValue;
384
+ /**
385
+ * @param terraformResource The parent resource
386
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
387
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
388
+ */
389
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
390
+ super(terraformResource, terraformAttribute, wrapsSet);
391
+ this.terraformResource = terraformResource;
392
+ this.terraformAttribute = terraformAttribute;
393
+ this.wrapsSet = wrapsSet;
394
+ }
395
+ /**
396
+ * @param index the index of the item to return
397
+ */
398
+ get(index) {
399
+ return new DcfPolicyGroupRulesetReferenceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
400
+ }
401
+ }
402
+ /**
403
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_policy_group aviatrix_dcf_policy_group}
404
+ */
405
+ export class DcfPolicyGroup extends cdktf.TerraformResource {
406
+ // =================
407
+ // STATIC PROPERTIES
408
+ // =================
409
+ static tfResourceType = "aviatrix_dcf_policy_group";
410
+ // ==============
411
+ // STATIC Methods
412
+ // ==============
413
+ /**
414
+ * Generates CDKTF code for importing a DcfPolicyGroup resource upon running "cdktf plan <stack-name>"
415
+ * @param scope The scope in which to define this construct
416
+ * @param importToId The construct id used in the generated config for the DcfPolicyGroup to import
417
+ * @param importFromId The id of the existing DcfPolicyGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_policy_group#import import section} in the documentation of this resource for the id to use
418
+ * @param provider? Optional instance of the provider where the DcfPolicyGroup to import is found
419
+ */
420
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
421
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_dcf_policy_group", importId: importFromId, provider });
422
+ }
423
+ // ===========
424
+ // INITIALIZER
425
+ // ===========
426
+ /**
427
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_policy_group aviatrix_dcf_policy_group} Resource
428
+ *
429
+ * @param scope The scope in which to define this construct
430
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
431
+ * @param options DcfPolicyGroupConfig
432
+ */
433
+ constructor(scope, id, config) {
434
+ super(scope, id, {
435
+ terraformResourceType: 'aviatrix_dcf_policy_group',
436
+ terraformGeneratorMetadata: {
437
+ providerName: 'aviatrix',
438
+ providerVersion: '8.2.0',
439
+ providerVersionConstraint: '8.2.0'
440
+ },
441
+ provider: config.provider,
442
+ dependsOn: config.dependsOn,
443
+ count: config.count,
444
+ lifecycle: config.lifecycle,
445
+ provisioners: config.provisioners,
446
+ connection: config.connection,
447
+ forEach: config.forEach
448
+ });
449
+ this._attachTo = config.attachTo;
450
+ this._id = config.id;
451
+ this._name = config.name;
452
+ this._attachmentPoint.internalValue = config.attachmentPoint;
453
+ this._policyGroupReference.internalValue = config.policyGroupReference;
454
+ this._rulesetReference.internalValue = config.rulesetReference;
455
+ }
456
+ // ==========
457
+ // ATTRIBUTES
458
+ // ==========
459
+ // attach_to - computed: false, optional: true, required: false
460
+ _attachTo;
461
+ get attachTo() {
462
+ return this.getStringAttribute('attach_to');
463
+ }
464
+ set attachTo(value) {
465
+ this._attachTo = value;
466
+ }
467
+ resetAttachTo() {
468
+ this._attachTo = undefined;
469
+ }
470
+ // Temporarily expose input value. Use with caution.
471
+ get attachToInput() {
472
+ return this._attachTo;
473
+ }
474
+ // id - computed: true, optional: true, required: false
475
+ _id;
476
+ get id() {
477
+ return this.getStringAttribute('id');
478
+ }
479
+ set id(value) {
480
+ this._id = value;
481
+ }
482
+ resetId() {
483
+ this._id = undefined;
484
+ }
485
+ // Temporarily expose input value. Use with caution.
486
+ get idInput() {
487
+ return this._id;
488
+ }
489
+ // name - computed: false, optional: false, required: true
490
+ _name;
491
+ get name() {
492
+ return this.getStringAttribute('name');
493
+ }
494
+ set name(value) {
495
+ this._name = value;
496
+ }
497
+ // Temporarily expose input value. Use with caution.
498
+ get nameInput() {
499
+ return this._name;
500
+ }
501
+ // system_resource - computed: true, optional: false, required: false
502
+ get systemResource() {
503
+ return this.getBooleanAttribute('system_resource');
504
+ }
505
+ // attachment_point - computed: false, optional: true, required: false
506
+ _attachmentPoint = new DcfPolicyGroupAttachmentPointList(this, "attachment_point", true);
507
+ get attachmentPoint() {
508
+ return this._attachmentPoint;
509
+ }
510
+ putAttachmentPoint(value) {
511
+ this._attachmentPoint.internalValue = value;
512
+ }
513
+ resetAttachmentPoint() {
514
+ this._attachmentPoint.internalValue = undefined;
515
+ }
516
+ // Temporarily expose input value. Use with caution.
517
+ get attachmentPointInput() {
518
+ return this._attachmentPoint.internalValue;
519
+ }
520
+ // policy_group_reference - computed: false, optional: true, required: false
521
+ _policyGroupReference = new DcfPolicyGroupPolicyGroupReferenceList(this, "policy_group_reference", true);
522
+ get policyGroupReference() {
523
+ return this._policyGroupReference;
524
+ }
525
+ putPolicyGroupReference(value) {
526
+ this._policyGroupReference.internalValue = value;
527
+ }
528
+ resetPolicyGroupReference() {
529
+ this._policyGroupReference.internalValue = undefined;
530
+ }
531
+ // Temporarily expose input value. Use with caution.
532
+ get policyGroupReferenceInput() {
533
+ return this._policyGroupReference.internalValue;
534
+ }
535
+ // ruleset_reference - computed: false, optional: true, required: false
536
+ _rulesetReference = new DcfPolicyGroupRulesetReferenceList(this, "ruleset_reference", true);
537
+ get rulesetReference() {
538
+ return this._rulesetReference;
539
+ }
540
+ putRulesetReference(value) {
541
+ this._rulesetReference.internalValue = value;
542
+ }
543
+ resetRulesetReference() {
544
+ this._rulesetReference.internalValue = undefined;
545
+ }
546
+ // Temporarily expose input value. Use with caution.
547
+ get rulesetReferenceInput() {
548
+ return this._rulesetReference.internalValue;
549
+ }
550
+ // =========
551
+ // SYNTHESIS
552
+ // =========
553
+ synthesizeAttributes() {
554
+ return {
555
+ attach_to: cdktf.stringToTerraform(this._attachTo),
556
+ id: cdktf.stringToTerraform(this._id),
557
+ name: cdktf.stringToTerraform(this._name),
558
+ attachment_point: cdktf.listMapper(dcfPolicyGroupAttachmentPointToTerraform, true)(this._attachmentPoint.internalValue),
559
+ policy_group_reference: cdktf.listMapper(dcfPolicyGroupPolicyGroupReferenceToTerraform, true)(this._policyGroupReference.internalValue),
560
+ ruleset_reference: cdktf.listMapper(dcfPolicyGroupRulesetReferenceToTerraform, true)(this._rulesetReference.internalValue),
561
+ };
562
+ }
563
+ synthesizeHclAttributes() {
564
+ const attrs = {
565
+ attach_to: {
566
+ value: cdktf.stringToHclTerraform(this._attachTo),
567
+ isBlock: false,
568
+ type: "simple",
569
+ storageClassType: "string",
570
+ },
571
+ id: {
572
+ value: cdktf.stringToHclTerraform(this._id),
573
+ isBlock: false,
574
+ type: "simple",
575
+ storageClassType: "string",
576
+ },
577
+ name: {
578
+ value: cdktf.stringToHclTerraform(this._name),
579
+ isBlock: false,
580
+ type: "simple",
581
+ storageClassType: "string",
582
+ },
583
+ attachment_point: {
584
+ value: cdktf.listMapperHcl(dcfPolicyGroupAttachmentPointToHclTerraform, true)(this._attachmentPoint.internalValue),
585
+ isBlock: true,
586
+ type: "set",
587
+ storageClassType: "DcfPolicyGroupAttachmentPointList",
588
+ },
589
+ policy_group_reference: {
590
+ value: cdktf.listMapperHcl(dcfPolicyGroupPolicyGroupReferenceToHclTerraform, true)(this._policyGroupReference.internalValue),
591
+ isBlock: true,
592
+ type: "set",
593
+ storageClassType: "DcfPolicyGroupPolicyGroupReferenceList",
594
+ },
595
+ ruleset_reference: {
596
+ value: cdktf.listMapperHcl(dcfPolicyGroupRulesetReferenceToHclTerraform, true)(this._rulesetReference.internalValue),
597
+ isBlock: true,
598
+ type: "set",
599
+ storageClassType: "DcfPolicyGroupRulesetReferenceList",
600
+ },
601
+ };
602
+ // remove undefined attributes
603
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
604
+ }
605
+ }