@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,212 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface CopilotFaultTolerantDeploymentConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Aviatrix access account name.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#account_name CopilotFaultTolerantDeployment#account_name}
8
+ */
9
+ readonly accountName: string;
10
+ /**
11
+ * Cloud type.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#cloud_type CopilotFaultTolerantDeployment#cloud_type}
14
+ */
15
+ readonly cloudType: number;
16
+ /**
17
+ * Controller service account password.
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#controller_service_account_password CopilotFaultTolerantDeployment#controller_service_account_password}
20
+ */
21
+ readonly controllerServiceAccountPassword: string;
22
+ /**
23
+ * Controller service account username.
24
+ *
25
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#controller_service_account_username CopilotFaultTolerantDeployment#controller_service_account_username}
26
+ */
27
+ readonly controllerServiceAccountUsername: string;
28
+ /**
29
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#id CopilotFaultTolerantDeployment#id}
30
+ *
31
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
32
+ * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
33
+ */
34
+ readonly id?: string;
35
+ /**
36
+ * Instance size.
37
+ *
38
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#main_copilot_instance_size CopilotFaultTolerantDeployment#main_copilot_instance_size}
39
+ */
40
+ readonly mainCopilotInstanceSize?: string;
41
+ /**
42
+ * Subnet CIDR.
43
+ *
44
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#main_copilot_subnet CopilotFaultTolerantDeployment#main_copilot_subnet}
45
+ */
46
+ readonly mainCopilotSubnet: string;
47
+ /**
48
+ * VPC ID.
49
+ *
50
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#main_copilot_vpc_id CopilotFaultTolerantDeployment#main_copilot_vpc_id}
51
+ */
52
+ readonly mainCopilotVpcId: string;
53
+ /**
54
+ * Region.
55
+ *
56
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#region CopilotFaultTolerantDeployment#region}
57
+ */
58
+ readonly region: string;
59
+ /**
60
+ * cluster_data_nodes block
61
+ *
62
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#cluster_data_nodes CopilotFaultTolerantDeployment#cluster_data_nodes}
63
+ */
64
+ readonly clusterDataNodes: CopilotFaultTolerantDeploymentClusterDataNodes[] | cdktf.IResolvable;
65
+ }
66
+ export interface CopilotFaultTolerantDeploymentClusterDataNodes {
67
+ /**
68
+ * Data volume size.
69
+ *
70
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#data_volume_size CopilotFaultTolerantDeployment#data_volume_size}
71
+ */
72
+ readonly dataVolumeSize?: number;
73
+ /**
74
+ * Instance size.
75
+ *
76
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#instance_size CopilotFaultTolerantDeployment#instance_size}
77
+ */
78
+ readonly instanceSize?: string;
79
+ /**
80
+ * Subnet CIDR.
81
+ *
82
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#subnet CopilotFaultTolerantDeployment#subnet}
83
+ */
84
+ readonly subnet: string;
85
+ /**
86
+ * VPC ID.
87
+ *
88
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#vpc_id CopilotFaultTolerantDeployment#vpc_id}
89
+ */
90
+ readonly vpcId: string;
91
+ }
92
+ export declare function copilotFaultTolerantDeploymentClusterDataNodesToTerraform(struct?: CopilotFaultTolerantDeploymentClusterDataNodes | cdktf.IResolvable): any;
93
+ export declare function copilotFaultTolerantDeploymentClusterDataNodesToHclTerraform(struct?: CopilotFaultTolerantDeploymentClusterDataNodes | cdktf.IResolvable): any;
94
+ export declare class CopilotFaultTolerantDeploymentClusterDataNodesOutputReference extends cdktf.ComplexObject {
95
+ private isEmptyObject;
96
+ private resolvableValue?;
97
+ /**
98
+ * @param terraformResource The parent resource
99
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
100
+ * @param complexObjectIndex the index of this item in the list
101
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
102
+ */
103
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
104
+ get internalValue(): CopilotFaultTolerantDeploymentClusterDataNodes | cdktf.IResolvable | undefined;
105
+ set internalValue(value: CopilotFaultTolerantDeploymentClusterDataNodes | cdktf.IResolvable | undefined);
106
+ private _dataVolumeSize?;
107
+ get dataVolumeSize(): number;
108
+ set dataVolumeSize(value: number);
109
+ resetDataVolumeSize(): void;
110
+ get dataVolumeSizeInput(): number;
111
+ private _instanceSize?;
112
+ get instanceSize(): string;
113
+ set instanceSize(value: string);
114
+ resetInstanceSize(): void;
115
+ get instanceSizeInput(): string;
116
+ private _subnet?;
117
+ get subnet(): string;
118
+ set subnet(value: string);
119
+ get subnetInput(): string;
120
+ private _vpcId?;
121
+ get vpcId(): string;
122
+ set vpcId(value: string);
123
+ get vpcIdInput(): string;
124
+ }
125
+ export declare class CopilotFaultTolerantDeploymentClusterDataNodesList extends cdktf.ComplexList {
126
+ protected terraformResource: cdktf.IInterpolatingParent;
127
+ protected terraformAttribute: string;
128
+ protected wrapsSet: boolean;
129
+ internalValue?: CopilotFaultTolerantDeploymentClusterDataNodes[] | cdktf.IResolvable;
130
+ /**
131
+ * @param terraformResource The parent resource
132
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
133
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
134
+ */
135
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
136
+ /**
137
+ * @param index the index of the item to return
138
+ */
139
+ get(index: number): CopilotFaultTolerantDeploymentClusterDataNodesOutputReference;
140
+ }
141
+ /**
142
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment aviatrix_copilot_fault_tolerant_deployment}
143
+ */
144
+ export declare class CopilotFaultTolerantDeployment extends cdktf.TerraformResource {
145
+ static readonly tfResourceType = "aviatrix_copilot_fault_tolerant_deployment";
146
+ /**
147
+ * Generates CDKTF code for importing a CopilotFaultTolerantDeployment resource upon running "cdktf plan <stack-name>"
148
+ * @param scope The scope in which to define this construct
149
+ * @param importToId The construct id used in the generated config for the CopilotFaultTolerantDeployment to import
150
+ * @param importFromId The id of the existing CopilotFaultTolerantDeployment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#import import section} in the documentation of this resource for the id to use
151
+ * @param provider? Optional instance of the provider where the CopilotFaultTolerantDeployment to import is found
152
+ */
153
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
154
+ /**
155
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment aviatrix_copilot_fault_tolerant_deployment} Resource
156
+ *
157
+ * @param scope The scope in which to define this construct
158
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
159
+ * @param options CopilotFaultTolerantDeploymentConfig
160
+ */
161
+ constructor(scope: Construct, id: string, config: CopilotFaultTolerantDeploymentConfig);
162
+ private _accountName?;
163
+ get accountName(): string;
164
+ set accountName(value: string);
165
+ get accountNameInput(): string;
166
+ private _cloudType?;
167
+ get cloudType(): number;
168
+ set cloudType(value: number);
169
+ get cloudTypeInput(): number;
170
+ private _controllerServiceAccountPassword?;
171
+ get controllerServiceAccountPassword(): string;
172
+ set controllerServiceAccountPassword(value: string);
173
+ get controllerServiceAccountPasswordInput(): string;
174
+ private _controllerServiceAccountUsername?;
175
+ get controllerServiceAccountUsername(): string;
176
+ set controllerServiceAccountUsername(value: string);
177
+ get controllerServiceAccountUsernameInput(): string;
178
+ private _id?;
179
+ get id(): string;
180
+ set id(value: string);
181
+ resetId(): void;
182
+ get idInput(): string;
183
+ private _mainCopilotInstanceSize?;
184
+ get mainCopilotInstanceSize(): string;
185
+ set mainCopilotInstanceSize(value: string);
186
+ resetMainCopilotInstanceSize(): void;
187
+ get mainCopilotInstanceSizeInput(): string;
188
+ get mainCopilotPrivateIp(): any;
189
+ get mainCopilotPublicIp(): any;
190
+ private _mainCopilotSubnet?;
191
+ get mainCopilotSubnet(): string;
192
+ set mainCopilotSubnet(value: string);
193
+ get mainCopilotSubnetInput(): string;
194
+ private _mainCopilotVpcId?;
195
+ get mainCopilotVpcId(): string;
196
+ set mainCopilotVpcId(value: string);
197
+ get mainCopilotVpcIdInput(): string;
198
+ private _region?;
199
+ get region(): string;
200
+ set region(value: string);
201
+ get regionInput(): string;
202
+ private _clusterDataNodes;
203
+ get clusterDataNodes(): CopilotFaultTolerantDeploymentClusterDataNodesList;
204
+ putClusterDataNodes(value: CopilotFaultTolerantDeploymentClusterDataNodes[] | cdktf.IResolvable): void;
205
+ get clusterDataNodesInput(): any;
206
+ protected synthesizeAttributes(): {
207
+ [name: string]: any;
208
+ };
209
+ protected synthesizeHclAttributes(): {
210
+ [name: string]: any;
211
+ };
212
+ }
@@ -0,0 +1,468 @@
1
+ // https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function copilotFaultTolerantDeploymentClusterDataNodesToTerraform(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
+ data_volume_size: cdktf.numberToTerraform(struct.dataVolumeSize),
13
+ instance_size: cdktf.stringToTerraform(struct.instanceSize),
14
+ subnet: cdktf.stringToTerraform(struct.subnet),
15
+ vpc_id: cdktf.stringToTerraform(struct.vpcId),
16
+ };
17
+ }
18
+ export function copilotFaultTolerantDeploymentClusterDataNodesToHclTerraform(struct) {
19
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
20
+ return struct;
21
+ }
22
+ if (cdktf.isComplexElement(struct)) {
23
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
24
+ }
25
+ const attrs = {
26
+ data_volume_size: {
27
+ value: cdktf.numberToHclTerraform(struct.dataVolumeSize),
28
+ isBlock: false,
29
+ type: "simple",
30
+ storageClassType: "number",
31
+ },
32
+ instance_size: {
33
+ value: cdktf.stringToHclTerraform(struct.instanceSize),
34
+ isBlock: false,
35
+ type: "simple",
36
+ storageClassType: "string",
37
+ },
38
+ subnet: {
39
+ value: cdktf.stringToHclTerraform(struct.subnet),
40
+ isBlock: false,
41
+ type: "simple",
42
+ storageClassType: "string",
43
+ },
44
+ vpc_id: {
45
+ value: cdktf.stringToHclTerraform(struct.vpcId),
46
+ isBlock: false,
47
+ type: "simple",
48
+ storageClassType: "string",
49
+ },
50
+ };
51
+ // remove undefined attributes
52
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
53
+ }
54
+ export class CopilotFaultTolerantDeploymentClusterDataNodesOutputReference extends cdktf.ComplexObject {
55
+ isEmptyObject = false;
56
+ resolvableValue;
57
+ /**
58
+ * @param terraformResource The parent resource
59
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
60
+ * @param complexObjectIndex the index of this item in the list
61
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
62
+ */
63
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
64
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
65
+ }
66
+ get internalValue() {
67
+ if (this.resolvableValue) {
68
+ return this.resolvableValue;
69
+ }
70
+ let hasAnyValues = this.isEmptyObject;
71
+ const internalValueResult = {};
72
+ if (this._dataVolumeSize !== undefined) {
73
+ hasAnyValues = true;
74
+ internalValueResult.dataVolumeSize = this._dataVolumeSize;
75
+ }
76
+ if (this._instanceSize !== undefined) {
77
+ hasAnyValues = true;
78
+ internalValueResult.instanceSize = this._instanceSize;
79
+ }
80
+ if (this._subnet !== undefined) {
81
+ hasAnyValues = true;
82
+ internalValueResult.subnet = this._subnet;
83
+ }
84
+ if (this._vpcId !== undefined) {
85
+ hasAnyValues = true;
86
+ internalValueResult.vpcId = this._vpcId;
87
+ }
88
+ return hasAnyValues ? internalValueResult : undefined;
89
+ }
90
+ set internalValue(value) {
91
+ if (value === undefined) {
92
+ this.isEmptyObject = false;
93
+ this.resolvableValue = undefined;
94
+ this._dataVolumeSize = undefined;
95
+ this._instanceSize = undefined;
96
+ this._subnet = undefined;
97
+ this._vpcId = undefined;
98
+ }
99
+ else if (cdktf.Tokenization.isResolvable(value)) {
100
+ this.isEmptyObject = false;
101
+ this.resolvableValue = value;
102
+ }
103
+ else {
104
+ this.isEmptyObject = Object.keys(value).length === 0;
105
+ this.resolvableValue = undefined;
106
+ this._dataVolumeSize = value.dataVolumeSize;
107
+ this._instanceSize = value.instanceSize;
108
+ this._subnet = value.subnet;
109
+ this._vpcId = value.vpcId;
110
+ }
111
+ }
112
+ // data_volume_size - computed: false, optional: true, required: false
113
+ _dataVolumeSize;
114
+ get dataVolumeSize() {
115
+ return this.getNumberAttribute('data_volume_size');
116
+ }
117
+ set dataVolumeSize(value) {
118
+ this._dataVolumeSize = value;
119
+ }
120
+ resetDataVolumeSize() {
121
+ this._dataVolumeSize = undefined;
122
+ }
123
+ // Temporarily expose input value. Use with caution.
124
+ get dataVolumeSizeInput() {
125
+ return this._dataVolumeSize;
126
+ }
127
+ // instance_size - computed: false, optional: true, required: false
128
+ _instanceSize;
129
+ get instanceSize() {
130
+ return this.getStringAttribute('instance_size');
131
+ }
132
+ set instanceSize(value) {
133
+ this._instanceSize = value;
134
+ }
135
+ resetInstanceSize() {
136
+ this._instanceSize = undefined;
137
+ }
138
+ // Temporarily expose input value. Use with caution.
139
+ get instanceSizeInput() {
140
+ return this._instanceSize;
141
+ }
142
+ // subnet - computed: false, optional: false, required: true
143
+ _subnet;
144
+ get subnet() {
145
+ return this.getStringAttribute('subnet');
146
+ }
147
+ set subnet(value) {
148
+ this._subnet = value;
149
+ }
150
+ // Temporarily expose input value. Use with caution.
151
+ get subnetInput() {
152
+ return this._subnet;
153
+ }
154
+ // vpc_id - computed: false, optional: false, required: true
155
+ _vpcId;
156
+ get vpcId() {
157
+ return this.getStringAttribute('vpc_id');
158
+ }
159
+ set vpcId(value) {
160
+ this._vpcId = value;
161
+ }
162
+ // Temporarily expose input value. Use with caution.
163
+ get vpcIdInput() {
164
+ return this._vpcId;
165
+ }
166
+ }
167
+ export class CopilotFaultTolerantDeploymentClusterDataNodesList extends cdktf.ComplexList {
168
+ terraformResource;
169
+ terraformAttribute;
170
+ wrapsSet;
171
+ internalValue;
172
+ /**
173
+ * @param terraformResource The parent resource
174
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
175
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
176
+ */
177
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
178
+ super(terraformResource, terraformAttribute, wrapsSet);
179
+ this.terraformResource = terraformResource;
180
+ this.terraformAttribute = terraformAttribute;
181
+ this.wrapsSet = wrapsSet;
182
+ }
183
+ /**
184
+ * @param index the index of the item to return
185
+ */
186
+ get(index) {
187
+ return new CopilotFaultTolerantDeploymentClusterDataNodesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
188
+ }
189
+ }
190
+ /**
191
+ * Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment aviatrix_copilot_fault_tolerant_deployment}
192
+ */
193
+ export class CopilotFaultTolerantDeployment extends cdktf.TerraformResource {
194
+ // =================
195
+ // STATIC PROPERTIES
196
+ // =================
197
+ static tfResourceType = "aviatrix_copilot_fault_tolerant_deployment";
198
+ // ==============
199
+ // STATIC Methods
200
+ // ==============
201
+ /**
202
+ * Generates CDKTF code for importing a CopilotFaultTolerantDeployment resource upon running "cdktf plan <stack-name>"
203
+ * @param scope The scope in which to define this construct
204
+ * @param importToId The construct id used in the generated config for the CopilotFaultTolerantDeployment to import
205
+ * @param importFromId The id of the existing CopilotFaultTolerantDeployment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment#import import section} in the documentation of this resource for the id to use
206
+ * @param provider? Optional instance of the provider where the CopilotFaultTolerantDeployment to import is found
207
+ */
208
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
209
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_copilot_fault_tolerant_deployment", importId: importFromId, provider });
210
+ }
211
+ // ===========
212
+ // INITIALIZER
213
+ // ===========
214
+ /**
215
+ * Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_fault_tolerant_deployment aviatrix_copilot_fault_tolerant_deployment} Resource
216
+ *
217
+ * @param scope The scope in which to define this construct
218
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
219
+ * @param options CopilotFaultTolerantDeploymentConfig
220
+ */
221
+ constructor(scope, id, config) {
222
+ super(scope, id, {
223
+ terraformResourceType: 'aviatrix_copilot_fault_tolerant_deployment',
224
+ terraformGeneratorMetadata: {
225
+ providerName: 'aviatrix',
226
+ providerVersion: '8.1.10',
227
+ providerVersionConstraint: '8.1.10'
228
+ },
229
+ provider: config.provider,
230
+ dependsOn: config.dependsOn,
231
+ count: config.count,
232
+ lifecycle: config.lifecycle,
233
+ provisioners: config.provisioners,
234
+ connection: config.connection,
235
+ forEach: config.forEach
236
+ });
237
+ this._accountName = config.accountName;
238
+ this._cloudType = config.cloudType;
239
+ this._controllerServiceAccountPassword = config.controllerServiceAccountPassword;
240
+ this._controllerServiceAccountUsername = config.controllerServiceAccountUsername;
241
+ this._id = config.id;
242
+ this._mainCopilotInstanceSize = config.mainCopilotInstanceSize;
243
+ this._mainCopilotSubnet = config.mainCopilotSubnet;
244
+ this._mainCopilotVpcId = config.mainCopilotVpcId;
245
+ this._region = config.region;
246
+ this._clusterDataNodes.internalValue = config.clusterDataNodes;
247
+ }
248
+ // ==========
249
+ // ATTRIBUTES
250
+ // ==========
251
+ // account_name - computed: false, optional: false, required: true
252
+ _accountName;
253
+ get accountName() {
254
+ return this.getStringAttribute('account_name');
255
+ }
256
+ set accountName(value) {
257
+ this._accountName = value;
258
+ }
259
+ // Temporarily expose input value. Use with caution.
260
+ get accountNameInput() {
261
+ return this._accountName;
262
+ }
263
+ // cloud_type - computed: false, optional: false, required: true
264
+ _cloudType;
265
+ get cloudType() {
266
+ return this.getNumberAttribute('cloud_type');
267
+ }
268
+ set cloudType(value) {
269
+ this._cloudType = value;
270
+ }
271
+ // Temporarily expose input value. Use with caution.
272
+ get cloudTypeInput() {
273
+ return this._cloudType;
274
+ }
275
+ // controller_service_account_password - computed: false, optional: false, required: true
276
+ _controllerServiceAccountPassword;
277
+ get controllerServiceAccountPassword() {
278
+ return this.getStringAttribute('controller_service_account_password');
279
+ }
280
+ set controllerServiceAccountPassword(value) {
281
+ this._controllerServiceAccountPassword = value;
282
+ }
283
+ // Temporarily expose input value. Use with caution.
284
+ get controllerServiceAccountPasswordInput() {
285
+ return this._controllerServiceAccountPassword;
286
+ }
287
+ // controller_service_account_username - computed: false, optional: false, required: true
288
+ _controllerServiceAccountUsername;
289
+ get controllerServiceAccountUsername() {
290
+ return this.getStringAttribute('controller_service_account_username');
291
+ }
292
+ set controllerServiceAccountUsername(value) {
293
+ this._controllerServiceAccountUsername = value;
294
+ }
295
+ // Temporarily expose input value. Use with caution.
296
+ get controllerServiceAccountUsernameInput() {
297
+ return this._controllerServiceAccountUsername;
298
+ }
299
+ // id - computed: true, optional: true, required: false
300
+ _id;
301
+ get id() {
302
+ return this.getStringAttribute('id');
303
+ }
304
+ set id(value) {
305
+ this._id = value;
306
+ }
307
+ resetId() {
308
+ this._id = undefined;
309
+ }
310
+ // Temporarily expose input value. Use with caution.
311
+ get idInput() {
312
+ return this._id;
313
+ }
314
+ // main_copilot_instance_size - computed: false, optional: true, required: false
315
+ _mainCopilotInstanceSize;
316
+ get mainCopilotInstanceSize() {
317
+ return this.getStringAttribute('main_copilot_instance_size');
318
+ }
319
+ set mainCopilotInstanceSize(value) {
320
+ this._mainCopilotInstanceSize = value;
321
+ }
322
+ resetMainCopilotInstanceSize() {
323
+ this._mainCopilotInstanceSize = undefined;
324
+ }
325
+ // Temporarily expose input value. Use with caution.
326
+ get mainCopilotInstanceSizeInput() {
327
+ return this._mainCopilotInstanceSize;
328
+ }
329
+ // main_copilot_private_ip - computed: true, optional: false, required: false
330
+ get mainCopilotPrivateIp() {
331
+ return this.getStringAttribute('main_copilot_private_ip');
332
+ }
333
+ // main_copilot_public_ip - computed: true, optional: false, required: false
334
+ get mainCopilotPublicIp() {
335
+ return this.getStringAttribute('main_copilot_public_ip');
336
+ }
337
+ // main_copilot_subnet - computed: false, optional: false, required: true
338
+ _mainCopilotSubnet;
339
+ get mainCopilotSubnet() {
340
+ return this.getStringAttribute('main_copilot_subnet');
341
+ }
342
+ set mainCopilotSubnet(value) {
343
+ this._mainCopilotSubnet = value;
344
+ }
345
+ // Temporarily expose input value. Use with caution.
346
+ get mainCopilotSubnetInput() {
347
+ return this._mainCopilotSubnet;
348
+ }
349
+ // main_copilot_vpc_id - computed: false, optional: false, required: true
350
+ _mainCopilotVpcId;
351
+ get mainCopilotVpcId() {
352
+ return this.getStringAttribute('main_copilot_vpc_id');
353
+ }
354
+ set mainCopilotVpcId(value) {
355
+ this._mainCopilotVpcId = value;
356
+ }
357
+ // Temporarily expose input value. Use with caution.
358
+ get mainCopilotVpcIdInput() {
359
+ return this._mainCopilotVpcId;
360
+ }
361
+ // region - computed: false, optional: false, required: true
362
+ _region;
363
+ get region() {
364
+ return this.getStringAttribute('region');
365
+ }
366
+ set region(value) {
367
+ this._region = value;
368
+ }
369
+ // Temporarily expose input value. Use with caution.
370
+ get regionInput() {
371
+ return this._region;
372
+ }
373
+ // cluster_data_nodes - computed: false, optional: false, required: true
374
+ _clusterDataNodes = new CopilotFaultTolerantDeploymentClusterDataNodesList(this, "cluster_data_nodes", false);
375
+ get clusterDataNodes() {
376
+ return this._clusterDataNodes;
377
+ }
378
+ putClusterDataNodes(value) {
379
+ this._clusterDataNodes.internalValue = value;
380
+ }
381
+ // Temporarily expose input value. Use with caution.
382
+ get clusterDataNodesInput() {
383
+ return this._clusterDataNodes.internalValue;
384
+ }
385
+ // =========
386
+ // SYNTHESIS
387
+ // =========
388
+ synthesizeAttributes() {
389
+ return {
390
+ account_name: cdktf.stringToTerraform(this._accountName),
391
+ cloud_type: cdktf.numberToTerraform(this._cloudType),
392
+ controller_service_account_password: cdktf.stringToTerraform(this._controllerServiceAccountPassword),
393
+ controller_service_account_username: cdktf.stringToTerraform(this._controllerServiceAccountUsername),
394
+ id: cdktf.stringToTerraform(this._id),
395
+ main_copilot_instance_size: cdktf.stringToTerraform(this._mainCopilotInstanceSize),
396
+ main_copilot_subnet: cdktf.stringToTerraform(this._mainCopilotSubnet),
397
+ main_copilot_vpc_id: cdktf.stringToTerraform(this._mainCopilotVpcId),
398
+ region: cdktf.stringToTerraform(this._region),
399
+ cluster_data_nodes: cdktf.listMapper(copilotFaultTolerantDeploymentClusterDataNodesToTerraform, true)(this._clusterDataNodes.internalValue),
400
+ };
401
+ }
402
+ synthesizeHclAttributes() {
403
+ const attrs = {
404
+ account_name: {
405
+ value: cdktf.stringToHclTerraform(this._accountName),
406
+ isBlock: false,
407
+ type: "simple",
408
+ storageClassType: "string",
409
+ },
410
+ cloud_type: {
411
+ value: cdktf.numberToHclTerraform(this._cloudType),
412
+ isBlock: false,
413
+ type: "simple",
414
+ storageClassType: "number",
415
+ },
416
+ controller_service_account_password: {
417
+ value: cdktf.stringToHclTerraform(this._controllerServiceAccountPassword),
418
+ isBlock: false,
419
+ type: "simple",
420
+ storageClassType: "string",
421
+ },
422
+ controller_service_account_username: {
423
+ value: cdktf.stringToHclTerraform(this._controllerServiceAccountUsername),
424
+ isBlock: false,
425
+ type: "simple",
426
+ storageClassType: "string",
427
+ },
428
+ id: {
429
+ value: cdktf.stringToHclTerraform(this._id),
430
+ isBlock: false,
431
+ type: "simple",
432
+ storageClassType: "string",
433
+ },
434
+ main_copilot_instance_size: {
435
+ value: cdktf.stringToHclTerraform(this._mainCopilotInstanceSize),
436
+ isBlock: false,
437
+ type: "simple",
438
+ storageClassType: "string",
439
+ },
440
+ main_copilot_subnet: {
441
+ value: cdktf.stringToHclTerraform(this._mainCopilotSubnet),
442
+ isBlock: false,
443
+ type: "simple",
444
+ storageClassType: "string",
445
+ },
446
+ main_copilot_vpc_id: {
447
+ value: cdktf.stringToHclTerraform(this._mainCopilotVpcId),
448
+ isBlock: false,
449
+ type: "simple",
450
+ storageClassType: "string",
451
+ },
452
+ region: {
453
+ value: cdktf.stringToHclTerraform(this._region),
454
+ isBlock: false,
455
+ type: "simple",
456
+ storageClassType: "string",
457
+ },
458
+ cluster_data_nodes: {
459
+ value: cdktf.listMapperHcl(copilotFaultTolerantDeploymentClusterDataNodesToHclTerraform, true)(this._clusterDataNodes.internalValue),
460
+ isBlock: true,
461
+ type: "list",
462
+ storageClassType: "CopilotFaultTolerantDeploymentClusterDataNodesList",
463
+ },
464
+ };
465
+ // remove undefined attributes
466
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
467
+ }
468
+ }