@cdktf-providers/vmware-avi 30.2.6 → 31.2.1

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 (565) hide show
  1. package/README.md +3 -3
  2. package/dist/actiongroupconfig/index.d.ts +17 -17
  3. package/dist/actiongroupconfig/index.js +6 -6
  4. package/dist/albservicesconfig/index.d.ts +94 -85
  5. package/dist/albservicesconfig/index.js +79 -51
  6. package/dist/albservicesfiledownload/index.d.ts +21 -21
  7. package/dist/albservicesfiledownload/index.js +6 -6
  8. package/dist/albservicesfileupload/index.d.ts +12 -12
  9. package/dist/albservicesfileupload/index.js +6 -6
  10. package/dist/albservicesjob/index.d.ts +27 -27
  11. package/dist/albservicesjob/index.js +6 -6
  12. package/dist/alertconfig/index.d.ts +42 -42
  13. package/dist/alertconfig/index.js +6 -6
  14. package/dist/alertemailconfig/index.d.ts +12 -12
  15. package/dist/alertemailconfig/index.js +6 -6
  16. package/dist/alertscriptconfig/index.d.ts +20 -11
  17. package/dist/alertscriptconfig/index.js +29 -6
  18. package/dist/alertsyslogconfig/index.d.ts +21 -21
  19. package/dist/alertsyslogconfig/index.js +6 -6
  20. package/dist/analyticsprofile/index.d.ts +164 -155
  21. package/dist/analyticsprofile/index.js +29 -6
  22. package/dist/apiratelimitprofile/index.d.ts +149 -0
  23. package/dist/apiratelimitprofile/index.js +354 -0
  24. package/dist/applicationinsightspolicy/index.d.ts +423 -0
  25. package/dist/applicationinsightspolicy/index.js +1086 -0
  26. package/dist/applicationpersistenceprofile/index.d.ts +99 -37
  27. package/dist/applicationpersistenceprofile/index.js +165 -6
  28. package/dist/applicationprofile/index-structs/structs0.d.ts +493 -448
  29. package/dist/applicationprofile/index-structs/structs0.js +276 -130
  30. package/dist/applicationprofile/index-structs/structs400.d.ts +236 -185
  31. package/dist/applicationprofile/index-structs/structs400.js +131 -1
  32. package/dist/applicationprofile/index.d.ts +35 -24
  33. package/dist/applicationprofile/index.js +29 -6
  34. package/dist/authmappingprofile/index.d.ts +33 -33
  35. package/dist/authmappingprofile/index.js +6 -6
  36. package/dist/authprofile/index.d.ts +108 -99
  37. package/dist/authprofile/index.js +34 -6
  38. package/dist/autoscalelaunchconfig/index.d.ts +20 -20
  39. package/dist/autoscalelaunchconfig/index.js +6 -6
  40. package/dist/availabilityzone/index.d.ts +202 -16
  41. package/dist/availabilityzone/index.js +502 -20
  42. package/dist/backup/index.d.ts +12 -12
  43. package/dist/backup/index.js +6 -6
  44. package/dist/backupconfiguration/index.d.ts +33 -24
  45. package/dist/backupconfiguration/index.js +29 -6
  46. package/dist/botconfigconsolidator/index.d.ts +62 -9
  47. package/dist/botconfigconsolidator/index.js +137 -6
  48. package/dist/botdetectionpolicy/index.d.ts +187 -125
  49. package/dist/botdetectionpolicy/index.js +165 -6
  50. package/dist/botipreputationtypemapping/index.d.ts +66 -13
  51. package/dist/botipreputationtypemapping/index.js +137 -6
  52. package/dist/botmapping/index.d.ts +123 -61
  53. package/dist/botmapping/index.js +165 -6
  54. package/dist/certificatemanagementprofile/index.d.ts +18 -18
  55. package/dist/certificatemanagementprofile/index.js +6 -6
  56. package/dist/cloud/index.d.ts +368 -983
  57. package/dist/cloud/index.js +313 -2049
  58. package/dist/cloudconnectoruser/index.d.ts +31 -111
  59. package/dist/cloudconnectoruser/index.js +6 -221
  60. package/dist/cloudproperties/index.d.ts +416 -256
  61. package/dist/cloudproperties/index.js +704 -264
  62. package/dist/cluster/index.d.ts +77 -77
  63. package/dist/cluster/index.js +6 -6
  64. package/dist/clusterclouddetails/index.d.ts +12 -12
  65. package/dist/clusterclouddetails/index.js +6 -6
  66. package/dist/controllerportalregistration/index.d.ts +15 -15
  67. package/dist/controllerportalregistration/index.js +6 -6
  68. package/dist/controllerproperties/index.d.ts +372 -212
  69. package/dist/controllerproperties/index.js +648 -218
  70. package/dist/controllersite/index.d.ts +11 -11
  71. package/dist/controllersite/index.js +6 -6
  72. package/dist/csrfpolicy/index.d.ts +126 -108
  73. package/dist/csrfpolicy/index.js +57 -6
  74. package/dist/customipamdnsprofile/index.d.ts +15 -15
  75. package/dist/customipamdnsprofile/index.js +6 -6
  76. package/dist/data-avi-actiongroupconfig/index.d.ts +7 -7
  77. package/dist/data-avi-actiongroupconfig/index.js +6 -6
  78. package/dist/data-avi-albservicesconfig/index.d.ts +10 -9
  79. package/dist/data-avi-albservicesconfig/index.js +17 -13
  80. package/dist/data-avi-albservicesfiledownload/index.d.ts +7 -7
  81. package/dist/data-avi-albservicesfiledownload/index.js +6 -6
  82. package/dist/data-avi-albservicesfileupload/index.d.ts +7 -7
  83. package/dist/data-avi-albservicesfileupload/index.js +6 -6
  84. package/dist/data-avi-albservicesjob/index.d.ts +7 -7
  85. package/dist/data-avi-albservicesjob/index.js +6 -6
  86. package/dist/data-avi-alertconfig/index.d.ts +7 -7
  87. package/dist/data-avi-alertconfig/index.js +6 -6
  88. package/dist/data-avi-alertemailconfig/index.d.ts +7 -7
  89. package/dist/data-avi-alertemailconfig/index.js +6 -6
  90. package/dist/data-avi-alertscriptconfig/index.d.ts +8 -7
  91. package/dist/data-avi-alertscriptconfig/index.js +10 -6
  92. package/dist/data-avi-alertsyslogconfig/index.d.ts +7 -7
  93. package/dist/data-avi-alertsyslogconfig/index.js +6 -6
  94. package/dist/data-avi-analyticsprofile/index.d.ts +8 -7
  95. package/dist/data-avi-analyticsprofile/index.js +10 -6
  96. package/dist/data-avi-apiratelimitprofile/index.d.ts +108 -0
  97. package/dist/data-avi-apiratelimitprofile/index.js +247 -0
  98. package/dist/data-avi-applicationinsightspolicy/index.d.ts +251 -0
  99. package/dist/data-avi-applicationinsightspolicy/index.js +575 -0
  100. package/dist/data-avi-applicationpersistenceprofile/index.d.ts +42 -7
  101. package/dist/data-avi-applicationpersistenceprofile/index.js +85 -6
  102. package/dist/data-avi-applicationprofile/index-structs/structs0.d.ts +38 -34
  103. package/dist/data-avi-applicationprofile/index-structs/structs0.js +94 -75
  104. package/dist/data-avi-applicationprofile/index-structs/structs400.d.ts +35 -1
  105. package/dist/data-avi-applicationprofile/index-structs/structs400.js +76 -1
  106. package/dist/data-avi-applicationprofile/index.d.ts +9 -7
  107. package/dist/data-avi-applicationprofile/index.js +11 -6
  108. package/dist/data-avi-authmappingprofile/index.d.ts +7 -7
  109. package/dist/data-avi-authmappingprofile/index.js +6 -6
  110. package/dist/data-avi-authprofile/index.d.ts +8 -7
  111. package/dist/data-avi-authprofile/index.js +10 -6
  112. package/dist/data-avi-autoscalelaunchconfig/index.d.ts +7 -7
  113. package/dist/data-avi-autoscalelaunchconfig/index.js +6 -6
  114. package/dist/data-avi-availabilityzone/index.d.ts +114 -9
  115. package/dist/data-avi-availabilityzone/index.js +247 -10
  116. package/dist/data-avi-backup/index.d.ts +6 -6
  117. package/dist/data-avi-backup/index.js +6 -6
  118. package/dist/data-avi-backupconfiguration/index.d.ts +8 -7
  119. package/dist/data-avi-backupconfiguration/index.js +10 -6
  120. package/dist/data-avi-botconfigconsolidator/index.d.ts +41 -7
  121. package/dist/data-avi-botconfigconsolidator/index.js +81 -6
  122. package/dist/data-avi-botdetectionpolicy/index.d.ts +42 -7
  123. package/dist/data-avi-botdetectionpolicy/index.js +85 -6
  124. package/dist/data-avi-botipreputationtypemapping/index.d.ts +41 -7
  125. package/dist/data-avi-botipreputationtypemapping/index.js +81 -6
  126. package/dist/data-avi-botmapping/index.d.ts +42 -7
  127. package/dist/data-avi-botmapping/index.js +85 -6
  128. package/dist/data-avi-certificatemanagementprofile/index.d.ts +7 -7
  129. package/dist/data-avi-certificatemanagementprofile/index.js +6 -6
  130. package/dist/data-avi-cloud/index.d.ts +10 -248
  131. package/dist/data-avi-cloud/index.js +18 -604
  132. package/dist/data-avi-cloudconnectoruser/index.d.ts +7 -44
  133. package/dist/data-avi-cloudconnectoruser/index.js +6 -93
  134. package/dist/data-avi-cloudproperties/index.d.ts +89 -15
  135. package/dist/data-avi-cloudproperties/index.js +217 -43
  136. package/dist/data-avi-cluster/index.d.ts +11 -11
  137. package/dist/data-avi-cluster/index.js +6 -6
  138. package/dist/data-avi-clusterclouddetails/index.d.ts +7 -7
  139. package/dist/data-avi-clusterclouddetails/index.js +6 -6
  140. package/dist/data-avi-controllerportalregistration/index.d.ts +7 -7
  141. package/dist/data-avi-controllerportalregistration/index.js +6 -6
  142. package/dist/data-avi-controllerproperties/index.d.ts +89 -15
  143. package/dist/data-avi-controllerproperties/index.js +217 -43
  144. package/dist/data-avi-controllersite/index.d.ts +7 -7
  145. package/dist/data-avi-controllersite/index.js +6 -6
  146. package/dist/data-avi-csrfpolicy/index.d.ts +9 -7
  147. package/dist/data-avi-csrfpolicy/index.js +14 -6
  148. package/dist/data-avi-customipamdnsprofile/index.d.ts +7 -7
  149. package/dist/data-avi-customipamdnsprofile/index.js +6 -6
  150. package/dist/data-avi-dnspolicy/index.d.ts +7 -7
  151. package/dist/data-avi-dnspolicy/index.js +6 -6
  152. package/dist/data-avi-dynamicdnsrecord/index.d.ts +7 -7
  153. package/dist/data-avi-dynamicdnsrecord/index.js +6 -6
  154. package/dist/data-avi-errorpagebody/index.d.ts +7 -7
  155. package/dist/data-avi-errorpagebody/index.js +6 -6
  156. package/dist/data-avi-errorpageprofile/index.d.ts +7 -7
  157. package/dist/data-avi-errorpageprofile/index.js +6 -6
  158. package/dist/data-avi-fileobject/index.d.ts +82 -7
  159. package/dist/data-avi-fileobject/index.js +184 -6
  160. package/dist/data-avi-fileservice/index.d.ts +7 -7
  161. package/dist/data-avi-fileservice/index.js +6 -6
  162. package/dist/data-avi-geodb/index.d.ts +7 -7
  163. package/dist/data-avi-geodb/index.js +6 -6
  164. package/dist/data-avi-gslb/index.d.ts +126 -19
  165. package/dist/data-avi-gslb/index.js +267 -22
  166. package/dist/data-avi-gslbcrmruntime/index.d.ts +11 -8
  167. package/dist/data-avi-gslbcrmruntime/index.js +22 -9
  168. package/dist/data-avi-gslbgeodbprofile/index.d.ts +8 -46
  169. package/dist/data-avi-gslbgeodbprofile/index.js +9 -100
  170. package/dist/data-avi-gslbhsmruntime/index.d.ts +11 -7
  171. package/dist/data-avi-gslbhsmruntime/index.js +22 -5
  172. package/dist/data-avi-gslbservice/index.d.ts +117 -7
  173. package/dist/data-avi-gslbservice/index.js +263 -6
  174. package/dist/data-avi-gslbsmruntime/index.d.ts +57 -7
  175. package/dist/data-avi-gslbsmruntime/index.js +145 -5
  176. package/dist/data-avi-hardwaresecuritymodulegroup/index.d.ts +275 -7
  177. package/dist/data-avi-hardwaresecuritymodulegroup/index.js +651 -6
  178. package/dist/data-avi-healthmonitor/index.d.ts +226 -7
  179. package/dist/data-avi-healthmonitor/index.js +577 -6
  180. package/dist/data-avi-httppolicyset/index-structs/structs0.d.ts +3 -0
  181. package/dist/data-avi-httppolicyset/index-structs/structs0.js +12 -0
  182. package/dist/data-avi-httppolicyset/index-structs/structs400.d.ts +1 -0
  183. package/dist/data-avi-httppolicyset/index-structs/structs400.js +4 -0
  184. package/dist/data-avi-httppolicyset/index.d.ts +7 -7
  185. package/dist/data-avi-httppolicyset/index.js +5 -5
  186. package/dist/data-avi-icapprofile/index.d.ts +8 -8
  187. package/dist/data-avi-icapprofile/index.js +6 -6
  188. package/dist/data-avi-image/index.d.ts +157 -9
  189. package/dist/data-avi-image/index.js +362 -14
  190. package/dist/data-avi-inventoryfaultconfig/index.d.ts +8 -7
  191. package/dist/data-avi-inventoryfaultconfig/index.js +10 -6
  192. package/dist/data-avi-ipaddrgroup/index.d.ts +7 -7
  193. package/dist/data-avi-ipaddrgroup/index.js +6 -6
  194. package/dist/data-avi-ipamdnsproviderprofile/index.d.ts +7 -8
  195. package/dist/data-avi-ipamdnsproviderprofile/index.js +6 -10
  196. package/dist/data-avi-ipreputationdb/index.d.ts +10 -7
  197. package/dist/data-avi-ipreputationdb/index.js +18 -6
  198. package/dist/data-avi-jwtserverprofile/index.d.ts +7 -7
  199. package/dist/data-avi-jwtserverprofile/index.js +6 -6
  200. package/dist/data-avi-l4policyset/index.d.ts +7 -7
  201. package/dist/data-avi-l4policyset/index.js +6 -6
  202. package/dist/data-avi-labelgroup/index.d.ts +6 -6
  203. package/dist/data-avi-labelgroup/index.js +6 -6
  204. package/dist/data-avi-licenseledgerdetails/index.d.ts +77 -5
  205. package/dist/data-avi-licenseledgerdetails/index.js +172 -6
  206. package/dist/data-avi-licensestatus/index.d.ts +9 -5
  207. package/dist/data-avi-licensestatus/index.js +22 -6
  208. package/dist/data-avi-localworkerfdsversion/index.d.ts +7 -7
  209. package/dist/data-avi-localworkerfdsversion/index.js +6 -5
  210. package/dist/data-avi-memorybalancerrequest/index.d.ts +7 -7
  211. package/dist/data-avi-memorybalancerrequest/index.js +6 -6
  212. package/dist/data-avi-microservicegroup/index.d.ts +7 -7
  213. package/dist/data-avi-microservicegroup/index.js +6 -6
  214. package/dist/data-avi-natpolicy/index.d.ts +7 -7
  215. package/dist/data-avi-natpolicy/index.js +6 -6
  216. package/dist/data-avi-network/index.d.ts +8 -8
  217. package/dist/data-avi-network/index.js +6 -6
  218. package/dist/data-avi-networkprofile/index.d.ts +43 -7
  219. package/dist/data-avi-networkprofile/index.js +89 -6
  220. package/dist/data-avi-networksecuritypolicy/index.d.ts +7 -7
  221. package/dist/data-avi-networksecuritypolicy/index.js +6 -6
  222. package/dist/data-avi-networkservice/index.d.ts +8 -8
  223. package/dist/data-avi-networkservice/index.js +6 -6
  224. package/dist/data-avi-nsxtsegmentruntime/index.d.ts +8 -8
  225. package/dist/data-avi-nsxtsegmentruntime/index.js +6 -6
  226. package/dist/data-avi-pkiprofile/index.d.ts +41 -7
  227. package/dist/data-avi-pkiprofile/index.js +81 -6
  228. package/dist/data-avi-pool/index.d.ts +83 -11
  229. package/dist/data-avi-pool/index.js +178 -12
  230. package/dist/data-avi-poolgroup/index.d.ts +8 -8
  231. package/dist/data-avi-poolgroup/index.js +6 -6
  232. package/dist/data-avi-poolgroupdeploymentpolicy/index.d.ts +7 -7
  233. package/dist/data-avi-poolgroupdeploymentpolicy/index.js +6 -6
  234. package/dist/data-avi-positivesecuritypolicy/index.d.ts +182 -0
  235. package/dist/data-avi-positivesecuritypolicy/index.js +421 -0
  236. package/dist/data-avi-prioritylabels/index.d.ts +8 -8
  237. package/dist/data-avi-prioritylabels/index.js +6 -6
  238. package/dist/data-avi-protocolparser/index.d.ts +7 -7
  239. package/dist/data-avi-protocolparser/index.js +6 -6
  240. package/dist/data-avi-ratelimitconfiguration/index.d.ts +145 -0
  241. package/dist/data-avi-ratelimitconfiguration/index.js +334 -0
  242. package/dist/data-avi-report/index.d.ts +723 -0
  243. package/dist/data-avi-report/index.js +1670 -0
  244. package/dist/data-avi-reportprofile/index.d.ts +92 -0
  245. package/dist/data-avi-reportprofile/index.js +209 -0
  246. package/dist/data-avi-retentionpolicy/index.d.ts +7 -7
  247. package/dist/data-avi-retentionpolicy/index.js +6 -5
  248. package/dist/data-avi-rmcloudopsproto/index.d.ts +7 -6
  249. package/dist/data-avi-rmcloudopsproto/index.js +10 -6
  250. package/dist/data-avi-role/index.d.ts +7 -7
  251. package/dist/data-avi-role/index.js +6 -6
  252. package/dist/data-avi-scheduler/index.d.ts +7 -7
  253. package/dist/data-avi-scheduler/index.js +6 -6
  254. package/dist/data-avi-securitymanagerdata/index.d.ts +9 -7
  255. package/dist/data-avi-securitymanagerdata/index.js +14 -6
  256. package/dist/data-avi-securitypolicy/index.d.ts +7 -7
  257. package/dist/data-avi-securitypolicy/index.js +6 -6
  258. package/dist/data-avi-seproperties/index.d.ts +6 -5
  259. package/dist/data-avi-seproperties/index.js +10 -6
  260. package/dist/data-avi-server/index.d.ts +43 -6
  261. package/dist/data-avi-server/index.js +93 -6
  262. package/dist/data-avi-serverautoscalepolicy/index.d.ts +7 -7
  263. package/dist/data-avi-serverautoscalepolicy/index.js +6 -6
  264. package/dist/data-avi-serviceauthprofile/index.d.ts +7 -7
  265. package/dist/data-avi-serviceauthprofile/index.js +6 -6
  266. package/dist/data-avi-serviceengine/index.d.ts +9 -8
  267. package/dist/data-avi-serviceengine/index.js +10 -6
  268. package/dist/data-avi-serviceenginegroup/index.d.ts +159 -9
  269. package/dist/data-avi-serviceenginegroup/index.js +366 -10
  270. package/dist/data-avi-siteversion/index.d.ts +7 -7
  271. package/dist/data-avi-siteversion/index.js +6 -6
  272. package/dist/data-avi-snmptrapprofile/index.d.ts +7 -7
  273. package/dist/data-avi-snmptrapprofile/index.js +6 -6
  274. package/dist/data-avi-sslkeyandcertificate/index.d.ts +75 -7
  275. package/dist/data-avi-sslkeyandcertificate/index.js +156 -6
  276. package/dist/data-avi-sslprofile/index.d.ts +8 -7
  277. package/dist/data-avi-sslprofile/index.js +10 -6
  278. package/dist/data-avi-ssopolicy/index.d.ts +7 -7
  279. package/dist/data-avi-ssopolicy/index.js +6 -6
  280. package/dist/data-avi-statediffoperation/index.d.ts +7 -7
  281. package/dist/data-avi-statediffoperation/index.js +6 -6
  282. package/dist/data-avi-statediffsnapshot/index.d.ts +31 -7
  283. package/dist/data-avi-statediffsnapshot/index.js +102 -6
  284. package/dist/data-avi-stringgroup/index.d.ts +7 -7
  285. package/dist/data-avi-stringgroup/index.js +6 -6
  286. package/dist/data-avi-systemconfiguration/index.d.ts +156 -5
  287. package/dist/data-avi-systemconfiguration/index.js +366 -6
  288. package/dist/data-avi-systemlimits/index.d.ts +11 -8
  289. package/dist/data-avi-systemlimits/index.js +30 -18
  290. package/dist/data-avi-systemreport/index.d.ts +383 -7
  291. package/dist/data-avi-systemreport/index.js +900 -6
  292. package/dist/data-avi-taskjournal/index.d.ts +90 -7
  293. package/dist/data-avi-taskjournal/index.js +216 -6
  294. package/dist/data-avi-techsupport/index.d.ts +501 -0
  295. package/dist/data-avi-techsupport/index.js +1209 -0
  296. package/dist/data-avi-techsupportmessage/index.d.ts +47 -0
  297. package/dist/data-avi-techsupportmessage/index.js +103 -0
  298. package/dist/data-avi-techsupportprofile/index.d.ts +163 -0
  299. package/dist/data-avi-techsupportprofile/index.js +371 -0
  300. package/dist/data-avi-tenant/index.d.ts +41 -6
  301. package/dist/data-avi-tenant/index.js +85 -6
  302. package/dist/data-avi-tenantsystemconfiguration/index.d.ts +7 -7
  303. package/dist/data-avi-tenantsystemconfiguration/index.js +6 -6
  304. package/dist/data-avi-testsedatastorelevel1/index.d.ts +7 -7
  305. package/dist/data-avi-testsedatastorelevel1/index.js +6 -6
  306. package/dist/data-avi-testsedatastorelevel2/index.d.ts +7 -7
  307. package/dist/data-avi-testsedatastorelevel2/index.js +6 -6
  308. package/dist/data-avi-testsedatastorelevel3/index.d.ts +7 -7
  309. package/dist/data-avi-testsedatastorelevel3/index.js +6 -6
  310. package/dist/data-avi-trafficcloneprofile/index.d.ts +8 -8
  311. package/dist/data-avi-trafficcloneprofile/index.js +6 -6
  312. package/dist/data-avi-trustedhostprofile/index.d.ts +7 -7
  313. package/dist/data-avi-trustedhostprofile/index.js +6 -5
  314. package/dist/data-avi-upgradeprofile/index.d.ts +15 -15
  315. package/dist/data-avi-upgradeprofile/index.js +15 -14
  316. package/dist/data-avi-upgradestatusinfo/index.d.ts +704 -7
  317. package/dist/data-avi-upgradestatusinfo/index.js +1728 -99
  318. package/dist/data-avi-upgradestatussummary/index.d.ts +7 -7
  319. package/dist/data-avi-upgradestatussummary/index.js +6 -6
  320. package/dist/data-avi-user/index.d.ts +7 -6
  321. package/dist/data-avi-user/index.js +10 -6
  322. package/dist/data-avi-useraccountprofile/index.d.ts +6 -6
  323. package/dist/data-avi-useraccountprofile/index.js +6 -6
  324. package/dist/data-avi-vcenterserver/index.d.ts +8 -8
  325. package/dist/data-avi-vcenterserver/index.js +6 -6
  326. package/dist/data-avi-virtualservice/index-structs/structs0.d.ts +143 -134
  327. package/dist/data-avi-virtualservice/index-structs/structs0.js +1051 -1024
  328. package/dist/data-avi-virtualservice/index-structs/structs400.d.ts +341 -1
  329. package/dist/data-avi-virtualservice/index-structs/structs400.js +1217 -458
  330. package/dist/data-avi-virtualservice/index.d.ts +10 -9
  331. package/dist/data-avi-virtualservice/index.js +13 -9
  332. package/dist/data-avi-vrfcontext/index.d.ts +8 -8
  333. package/dist/data-avi-vrfcontext/index.js +6 -6
  334. package/dist/data-avi-vsdatascriptset/index.d.ts +77 -7
  335. package/dist/data-avi-vsdatascriptset/index.js +164 -6
  336. package/dist/data-avi-vsgs/index.d.ts +7 -7
  337. package/dist/data-avi-vsgs/index.js +6 -6
  338. package/dist/data-avi-vsvip/index.d.ts +214 -8
  339. package/dist/data-avi-vsvip/index.js +464 -6
  340. package/dist/data-avi-wafapplicationsignatureprovider/index.d.ts +7 -7
  341. package/dist/data-avi-wafapplicationsignatureprovider/index.js +6 -6
  342. package/dist/data-avi-wafcrs/index.d.ts +7 -7
  343. package/dist/data-avi-wafcrs/index.js +6 -6
  344. package/dist/data-avi-wafpolicy/index.d.ts +12 -160
  345. package/dist/data-avi-wafpolicy/index.js +24 -372
  346. package/dist/data-avi-wafpolicypsmgroup/index.d.ts +10 -7
  347. package/dist/data-avi-wafpolicypsmgroup/index.js +18 -6
  348. package/dist/data-avi-wafprofile/index.d.ts +85 -7
  349. package/dist/data-avi-wafprofile/index.js +196 -6
  350. package/dist/data-avi-webapput/index.d.ts +18 -9
  351. package/dist/data-avi-webapput/index.js +36 -13
  352. package/dist/data-avi-webhook/index.d.ts +7 -7
  353. package/dist/data-avi-webhook/index.js +6 -6
  354. package/dist/dnspolicy/index.d.ts +112 -112
  355. package/dist/dnspolicy/index.js +6 -6
  356. package/dist/dynamicdnsrecord/index.d.ts +45 -45
  357. package/dist/dynamicdnsrecord/index.js +6 -6
  358. package/dist/errorpagebody/index.d.ts +14 -14
  359. package/dist/errorpagebody/index.js +6 -6
  360. package/dist/errorpageprofile/index.d.ts +23 -23
  361. package/dist/errorpageprofile/index.js +6 -6
  362. package/dist/fileobject/index.d.ts +201 -32
  363. package/dist/fileobject/index.js +454 -6
  364. package/dist/fileservice/index.d.ts +7 -7
  365. package/dist/fileservice/index.js +6 -6
  366. package/dist/geodb/index.d.ts +21 -21
  367. package/dist/geodb/index.js +6 -6
  368. package/dist/gslb/index.d.ts +321 -117
  369. package/dist/gslb/index.js +593 -60
  370. package/dist/gslbcrmruntime/index.d.ts +139 -112
  371. package/dist/gslbcrmruntime/index.js +118 -33
  372. package/dist/gslbgeodbprofile/index.d.ts +24 -112
  373. package/dist/gslbgeodbprofile/index.js +33 -278
  374. package/dist/gslbhsmruntime/index.d.ts +136 -100
  375. package/dist/gslbhsmruntime/index.js +118 -5
  376. package/dist/gslbservice/index.d.ts +301 -77
  377. package/dist/gslbservice/index.js +602 -6
  378. package/dist/gslbsmruntime/index.d.ts +308 -114
  379. package/dist/gslbsmruntime/index.js +576 -5
  380. package/dist/hardwaresecuritymodulegroup/index.d.ts +693 -53
  381. package/dist/hardwaresecuritymodulegroup/index.js +1790 -6
  382. package/dist/healthmonitor/index.d.ts +868 -168
  383. package/dist/healthmonitor/index.js +2041 -22
  384. package/dist/httppolicyset/index-structs/structs0.d.ts +354 -327
  385. package/dist/httppolicyset/index-structs/structs0.js +84 -0
  386. package/dist/httppolicyset/index-structs/structs400.d.ts +113 -104
  387. package/dist/httppolicyset/index-structs/structs400.js +28 -0
  388. package/dist/httppolicyset/index.d.ts +18 -18
  389. package/dist/httppolicyset/index.js +5 -5
  390. package/dist/icapprofile/index.d.ts +24 -24
  391. package/dist/icapprofile/index.js +6 -6
  392. package/dist/image/index.d.ts +447 -127
  393. package/dist/image/index.js +963 -88
  394. package/dist/index.d.ts +32 -2
  395. package/dist/index.js +32 -2
  396. package/dist/inventoryfaultconfig/index.d.ts +34 -25
  397. package/dist/inventoryfaultconfig/index.js +34 -6
  398. package/dist/ipaddrgroup/index.d.ts +38 -38
  399. package/dist/ipaddrgroup/index.js +6 -6
  400. package/dist/ipamdnsproviderprofile/index.d.ts +142 -151
  401. package/dist/ipamdnsproviderprofile/index.js +6 -34
  402. package/dist/ipreputationdb/index.d.ts +49 -22
  403. package/dist/ipreputationdb/index.js +75 -6
  404. package/dist/jwtserverprofile/index.d.ts +19 -19
  405. package/dist/jwtserverprofile/index.js +6 -6
  406. package/dist/l4policyset/index.d.ts +53 -53
  407. package/dist/l4policyset/index.js +6 -6
  408. package/dist/labelgroup/index.d.ts +13 -13
  409. package/dist/labelgroup/index.js +6 -6
  410. package/dist/lazy-index.js +32 -2
  411. package/dist/licenseledgerdetails/index.d.ts +166 -24
  412. package/dist/licenseledgerdetails/index.js +375 -6
  413. package/dist/licensestatus/index.d.ts +58 -22
  414. package/dist/licensestatus/index.js +118 -6
  415. package/dist/localworkerfdsversion/index.d.ts +9 -9
  416. package/dist/localworkerfdsversion/index.js +6 -5
  417. package/dist/memorybalancerrequest/index.d.ts +22 -22
  418. package/dist/memorybalancerrequest/index.js +6 -6
  419. package/dist/microservicegroup/index.d.ts +12 -12
  420. package/dist/microservicegroup/index.js +6 -6
  421. package/dist/natpolicy/index.d.ts +79 -79
  422. package/dist/natpolicy/index.js +6 -6
  423. package/dist/network/index.d.ts +38 -38
  424. package/dist/network/index.js +6 -6
  425. package/dist/networkprofile/index.d.ts +137 -66
  426. package/dist/networkprofile/index.js +198 -6
  427. package/dist/networksecuritypolicy/index.d.ts +67 -67
  428. package/dist/networksecuritypolicy/index.js +6 -6
  429. package/dist/networkservice/index.d.ts +45 -45
  430. package/dist/networkservice/index.js +6 -6
  431. package/dist/nsxtsegmentruntime/index.d.ts +25 -25
  432. package/dist/nsxtsegmentruntime/index.js +6 -6
  433. package/dist/pkiprofile/index.d.ts +114 -61
  434. package/dist/pkiprofile/index.js +142 -6
  435. package/dist/pool/index.d.ts +349 -211
  436. package/dist/pool/index.js +406 -39
  437. package/dist/poolgroup/index.d.ts +41 -41
  438. package/dist/poolgroup/index.js +6 -6
  439. package/dist/poolgroupdeploymentpolicy/index.d.ts +23 -23
  440. package/dist/poolgroupdeploymentpolicy/index.js +6 -6
  441. package/dist/positivesecuritypolicy/index.d.ts +311 -0
  442. package/dist/positivesecuritypolicy/index.js +795 -0
  443. package/dist/prioritylabels/index.d.ts +16 -16
  444. package/dist/prioritylabels/index.js +6 -6
  445. package/dist/protocolparser/index.d.ts +14 -14
  446. package/dist/protocolparser/index.js +6 -6
  447. package/dist/provider/index.d.ts +13 -13
  448. package/dist/provider/index.js +6 -6
  449. package/dist/ratelimitconfiguration/index.d.ts +227 -0
  450. package/dist/ratelimitconfiguration/index.js +553 -0
  451. package/dist/report/index.d.ts +1376 -0
  452. package/dist/report/index.js +3623 -0
  453. package/dist/reportprofile/index.d.ts +151 -0
  454. package/dist/reportprofile/index.js +380 -0
  455. package/dist/retentionpolicy/index.d.ts +49 -49
  456. package/dist/retentionpolicy/index.js +6 -5
  457. package/dist/rmcloudopsproto/index.d.ts +18 -9
  458. package/dist/rmcloudopsproto/index.js +29 -6
  459. package/dist/role/index.d.ts +23 -23
  460. package/dist/role/index.js +6 -6
  461. package/dist/scheduler/index.d.ts +18 -18
  462. package/dist/scheduler/index.js +6 -6
  463. package/dist/securitymanagerdata/index.d.ts +40 -22
  464. package/dist/securitymanagerdata/index.js +62 -6
  465. package/dist/securitypolicy/index.d.ts +33 -33
  466. package/dist/securitypolicy/index.js +6 -6
  467. package/dist/seproperties/index.d.ts +190 -181
  468. package/dist/seproperties/index.js +34 -6
  469. package/dist/server/index.d.ts +120 -43
  470. package/dist/server/index.js +207 -6
  471. package/dist/serverautoscalepolicy/index.d.ts +34 -34
  472. package/dist/serverautoscalepolicy/index.js +6 -6
  473. package/dist/serviceauthprofile/index.d.ts +17 -17
  474. package/dist/serviceauthprofile/index.js +6 -6
  475. package/dist/serviceengine/index.d.ts +153 -144
  476. package/dist/serviceengine/index.js +34 -6
  477. package/dist/serviceenginegroup/index.d.ts +775 -439
  478. package/dist/serviceenginegroup/index.js +948 -93
  479. package/dist/siteversion/index.d.ts +16 -16
  480. package/dist/siteversion/index.js +6 -6
  481. package/dist/snmptrapprofile/index.d.ts +22 -22
  482. package/dist/snmptrapprofile/index.js +6 -6
  483. package/dist/sslkeyandcertificate/index.d.ts +207 -101
  484. package/dist/sslkeyandcertificate/index.js +278 -6
  485. package/dist/sslprofile/index.d.ts +44 -35
  486. package/dist/sslprofile/index.js +29 -6
  487. package/dist/ssopolicy/index.d.ts +91 -91
  488. package/dist/ssopolicy/index.js +6 -6
  489. package/dist/statediffoperation/index.d.ts +18 -18
  490. package/dist/statediffoperation/index.js +6 -6
  491. package/dist/statediffsnapshot/index.d.ts +309 -93
  492. package/dist/statediffsnapshot/index.js +678 -6
  493. package/dist/stringgroup/index.d.ts +18 -18
  494. package/dist/stringgroup/index.js +6 -6
  495. package/dist/systemconfiguration/index.d.ts +545 -200
  496. package/dist/systemconfiguration/index.js +932 -34
  497. package/dist/systemlimits/index.d.ts +149 -122
  498. package/dist/systemlimits/index.js +174 -90
  499. package/dist/systemreport/index.d.ts +920 -72
  500. package/dist/systemreport/index.js +2341 -6
  501. package/dist/taskjournal/index.d.ts +278 -37
  502. package/dist/taskjournal/index.js +816 -134
  503. package/dist/techsupport/index.d.ts +1152 -0
  504. package/dist/techsupport/index.js +3106 -0
  505. package/dist/techsupportmessage/index.d.ts +71 -0
  506. package/dist/techsupportmessage/index.js +160 -0
  507. package/dist/techsupportprofile/index.d.ts +284 -0
  508. package/dist/techsupportprofile/index.js +706 -0
  509. package/dist/tenant/index.d.ts +82 -20
  510. package/dist/tenant/index.js +170 -6
  511. package/dist/tenantsystemconfiguration/index.d.ts +10 -10
  512. package/dist/tenantsystemconfiguration/index.js +6 -6
  513. package/dist/testsedatastorelevel1/index.d.ts +10 -10
  514. package/dist/testsedatastorelevel1/index.js +6 -6
  515. package/dist/testsedatastorelevel2/index.d.ts +10 -10
  516. package/dist/testsedatastorelevel2/index.js +6 -6
  517. package/dist/testsedatastorelevel3/index.d.ts +9 -9
  518. package/dist/testsedatastorelevel3/index.js +6 -6
  519. package/dist/trafficcloneprofile/index.d.ts +25 -25
  520. package/dist/trafficcloneprofile/index.js +6 -6
  521. package/dist/trustedhostprofile/index.d.ts +14 -14
  522. package/dist/trustedhostprofile/index.js +6 -5
  523. package/dist/upgradeprofile/index.d.ts +41 -41
  524. package/dist/upgradeprofile/index.js +26 -25
  525. package/dist/upgradestatusinfo/index.d.ts +1815 -355
  526. package/dist/upgradestatusinfo/index.js +4027 -38
  527. package/dist/upgradestatussummary/index.d.ts +26 -26
  528. package/dist/upgradestatussummary/index.js +6 -6
  529. package/dist/user/index.d.ts +42 -32
  530. package/dist/user/index.js +33 -7
  531. package/dist/useraccount/index.d.ts +11 -11
  532. package/dist/useraccount/index.js +6 -6
  533. package/dist/useraccountprofile/index.d.ts +14 -14
  534. package/dist/useraccountprofile/index.js +6 -6
  535. package/dist/vcenterserver/index.d.ts +15 -15
  536. package/dist/vcenterserver/index.js +6 -6
  537. package/dist/virtualservice/index-structs/structs0.d.ts +581 -514
  538. package/dist/virtualservice/index-structs/structs0.js +4423 -4234
  539. package/dist/virtualservice/index-structs/structs400.d.ts +689 -158
  540. package/dist/virtualservice/index-structs/structs400.js +3376 -1992
  541. package/dist/virtualservice/index.d.ts +117 -108
  542. package/dist/virtualservice/index.js +51 -28
  543. package/dist/vrfcontext/index.d.ts +117 -117
  544. package/dist/vrfcontext/index.js +6 -6
  545. package/dist/vsdatascriptset/index.d.ts +152 -32
  546. package/dist/vsdatascriptset/index.js +312 -6
  547. package/dist/vsgs/index.d.ts +14 -14
  548. package/dist/vsgs/index.js +6 -6
  549. package/dist/vsvip/index.d.ts +434 -110
  550. package/dist/vsvip/index.js +842 -6
  551. package/dist/wafapplicationsignatureprovider/index.d.ts +49 -49
  552. package/dist/wafapplicationsignatureprovider/index.js +6 -6
  553. package/dist/wafcrs/index.d.ts +69 -69
  554. package/dist/wafcrs/index.js +6 -6
  555. package/dist/wafpolicy/index.d.ts +344 -662
  556. package/dist/wafpolicy/index.js +156 -1015
  557. package/dist/wafpolicypsmgroup/index.d.ts +82 -55
  558. package/dist/wafpolicypsmgroup/index.js +80 -6
  559. package/dist/wafprofile/index.d.ts +238 -44
  560. package/dist/wafprofile/index.js +552 -6
  561. package/dist/webapput/index.d.ts +135 -126
  562. package/dist/webapput/index.js +66 -43
  563. package/dist/webhook/index.d.ts +15 -15
  564. package/dist/webhook/index.js +6 -6
  565. package/package.json +2 -2
@@ -1,6 +1,3092 @@
1
- // https://registry.terraform.io/providers/vmware/avi/30.2.6/docs/resources/upgradestatusinfo
1
+ // https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/upgradestatusinfo
2
2
  // generated from terraform resource schema
3
3
  import * as cdktf from 'cdktf';
4
+ export function upgradestatusinfoDryrunInfoParamsSeGroupOptionsToTerraform(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
+ action_on_error: cdktf.stringToTerraform(struct.actionOnError),
13
+ disruptive: cdktf.stringToTerraform(struct.disruptive),
14
+ };
15
+ }
16
+ export function upgradestatusinfoDryrunInfoParamsSeGroupOptionsToHclTerraform(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
+ action_on_error: {
25
+ value: cdktf.stringToHclTerraform(struct.actionOnError),
26
+ isBlock: false,
27
+ type: "simple",
28
+ storageClassType: "string",
29
+ },
30
+ disruptive: {
31
+ value: cdktf.stringToHclTerraform(struct.disruptive),
32
+ isBlock: false,
33
+ type: "simple",
34
+ storageClassType: "string",
35
+ },
36
+ };
37
+ // remove undefined attributes
38
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
39
+ }
40
+ export class UpgradestatusinfoDryrunInfoParamsSeGroupOptionsOutputReference 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._actionOnError !== undefined) {
59
+ hasAnyValues = true;
60
+ internalValueResult.actionOnError = this._actionOnError;
61
+ }
62
+ if (this._disruptive !== undefined) {
63
+ hasAnyValues = true;
64
+ internalValueResult.disruptive = this._disruptive;
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._actionOnError = undefined;
73
+ this._disruptive = 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._actionOnError = value.actionOnError;
83
+ this._disruptive = value.disruptive;
84
+ }
85
+ }
86
+ // action_on_error - computed: false, optional: true, required: false
87
+ _actionOnError;
88
+ get actionOnError() {
89
+ return this.getStringAttribute('action_on_error');
90
+ }
91
+ set actionOnError(value) {
92
+ this._actionOnError = value;
93
+ }
94
+ resetActionOnError() {
95
+ this._actionOnError = undefined;
96
+ }
97
+ // Temporarily expose input value. Use with caution.
98
+ get actionOnErrorInput() {
99
+ return this._actionOnError;
100
+ }
101
+ // disruptive - computed: false, optional: true, required: false
102
+ _disruptive;
103
+ get disruptive() {
104
+ return this.getStringAttribute('disruptive');
105
+ }
106
+ set disruptive(value) {
107
+ this._disruptive = value;
108
+ }
109
+ resetDisruptive() {
110
+ this._disruptive = undefined;
111
+ }
112
+ // Temporarily expose input value. Use with caution.
113
+ get disruptiveInput() {
114
+ return this._disruptive;
115
+ }
116
+ }
117
+ export class UpgradestatusinfoDryrunInfoParamsSeGroupOptionsList extends cdktf.ComplexList {
118
+ terraformResource;
119
+ terraformAttribute;
120
+ wrapsSet;
121
+ internalValue;
122
+ /**
123
+ * @param terraformResource The parent resource
124
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
125
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
126
+ */
127
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
128
+ super(terraformResource, terraformAttribute, wrapsSet);
129
+ this.terraformResource = terraformResource;
130
+ this.terraformAttribute = terraformAttribute;
131
+ this.wrapsSet = wrapsSet;
132
+ }
133
+ /**
134
+ * @param index the index of the item to return
135
+ */
136
+ get(index) {
137
+ return new UpgradestatusinfoDryrunInfoParamsSeGroupOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
138
+ }
139
+ }
140
+ export function upgradestatusinfoDryrunInfoParamsToTerraform(struct) {
141
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
142
+ return struct;
143
+ }
144
+ if (cdktf.isComplexElement(struct)) {
145
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
146
+ }
147
+ return {
148
+ controller_patch_ref: cdktf.stringToTerraform(struct.controllerPatchRef),
149
+ dryrun: cdktf.stringToTerraform(struct.dryrun),
150
+ image_ref: cdktf.stringToTerraform(struct.imageRef),
151
+ prechecks_only: cdktf.stringToTerraform(struct.prechecksOnly),
152
+ se_group_refs: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.seGroupRefs),
153
+ se_patch_ref: cdktf.stringToTerraform(struct.sePatchRef),
154
+ skip_warnings: cdktf.stringToTerraform(struct.skipWarnings),
155
+ system: cdktf.stringToTerraform(struct.systemAttribute),
156
+ se_group_options: cdktf.listMapper(upgradestatusinfoDryrunInfoParamsSeGroupOptionsToTerraform, true)(struct.seGroupOptions),
157
+ };
158
+ }
159
+ export function upgradestatusinfoDryrunInfoParamsToHclTerraform(struct) {
160
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
161
+ return struct;
162
+ }
163
+ if (cdktf.isComplexElement(struct)) {
164
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
165
+ }
166
+ const attrs = {
167
+ controller_patch_ref: {
168
+ value: cdktf.stringToHclTerraform(struct.controllerPatchRef),
169
+ isBlock: false,
170
+ type: "simple",
171
+ storageClassType: "string",
172
+ },
173
+ dryrun: {
174
+ value: cdktf.stringToHclTerraform(struct.dryrun),
175
+ isBlock: false,
176
+ type: "simple",
177
+ storageClassType: "string",
178
+ },
179
+ image_ref: {
180
+ value: cdktf.stringToHclTerraform(struct.imageRef),
181
+ isBlock: false,
182
+ type: "simple",
183
+ storageClassType: "string",
184
+ },
185
+ prechecks_only: {
186
+ value: cdktf.stringToHclTerraform(struct.prechecksOnly),
187
+ isBlock: false,
188
+ type: "simple",
189
+ storageClassType: "string",
190
+ },
191
+ se_group_refs: {
192
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.seGroupRefs),
193
+ isBlock: false,
194
+ type: "list",
195
+ storageClassType: "stringList",
196
+ },
197
+ se_patch_ref: {
198
+ value: cdktf.stringToHclTerraform(struct.sePatchRef),
199
+ isBlock: false,
200
+ type: "simple",
201
+ storageClassType: "string",
202
+ },
203
+ skip_warnings: {
204
+ value: cdktf.stringToHclTerraform(struct.skipWarnings),
205
+ isBlock: false,
206
+ type: "simple",
207
+ storageClassType: "string",
208
+ },
209
+ system: {
210
+ value: cdktf.stringToHclTerraform(struct.systemAttribute),
211
+ isBlock: false,
212
+ type: "simple",
213
+ storageClassType: "string",
214
+ },
215
+ se_group_options: {
216
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoParamsSeGroupOptionsToHclTerraform, true)(struct.seGroupOptions),
217
+ isBlock: true,
218
+ type: "set",
219
+ storageClassType: "UpgradestatusinfoDryrunInfoParamsSeGroupOptionsList",
220
+ },
221
+ };
222
+ // remove undefined attributes
223
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
224
+ }
225
+ export class UpgradestatusinfoDryrunInfoParamsOutputReference extends cdktf.ComplexObject {
226
+ isEmptyObject = false;
227
+ resolvableValue;
228
+ /**
229
+ * @param terraformResource The parent resource
230
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
231
+ * @param complexObjectIndex the index of this item in the list
232
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
233
+ */
234
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
235
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
236
+ }
237
+ get internalValue() {
238
+ if (this.resolvableValue) {
239
+ return this.resolvableValue;
240
+ }
241
+ let hasAnyValues = this.isEmptyObject;
242
+ const internalValueResult = {};
243
+ if (this._controllerPatchRef !== undefined) {
244
+ hasAnyValues = true;
245
+ internalValueResult.controllerPatchRef = this._controllerPatchRef;
246
+ }
247
+ if (this._dryrun !== undefined) {
248
+ hasAnyValues = true;
249
+ internalValueResult.dryrun = this._dryrun;
250
+ }
251
+ if (this._imageRef !== undefined) {
252
+ hasAnyValues = true;
253
+ internalValueResult.imageRef = this._imageRef;
254
+ }
255
+ if (this._prechecksOnly !== undefined) {
256
+ hasAnyValues = true;
257
+ internalValueResult.prechecksOnly = this._prechecksOnly;
258
+ }
259
+ if (this._seGroupRefs !== undefined) {
260
+ hasAnyValues = true;
261
+ internalValueResult.seGroupRefs = this._seGroupRefs;
262
+ }
263
+ if (this._sePatchRef !== undefined) {
264
+ hasAnyValues = true;
265
+ internalValueResult.sePatchRef = this._sePatchRef;
266
+ }
267
+ if (this._skipWarnings !== undefined) {
268
+ hasAnyValues = true;
269
+ internalValueResult.skipWarnings = this._skipWarnings;
270
+ }
271
+ if (this._system !== undefined) {
272
+ hasAnyValues = true;
273
+ internalValueResult.systemAttribute = this._system;
274
+ }
275
+ if (this._seGroupOptions?.internalValue !== undefined) {
276
+ hasAnyValues = true;
277
+ internalValueResult.seGroupOptions = this._seGroupOptions?.internalValue;
278
+ }
279
+ return hasAnyValues ? internalValueResult : undefined;
280
+ }
281
+ set internalValue(value) {
282
+ if (value === undefined) {
283
+ this.isEmptyObject = false;
284
+ this.resolvableValue = undefined;
285
+ this._controllerPatchRef = undefined;
286
+ this._dryrun = undefined;
287
+ this._imageRef = undefined;
288
+ this._prechecksOnly = undefined;
289
+ this._seGroupRefs = undefined;
290
+ this._sePatchRef = undefined;
291
+ this._skipWarnings = undefined;
292
+ this._system = undefined;
293
+ this._seGroupOptions.internalValue = undefined;
294
+ }
295
+ else if (cdktf.Tokenization.isResolvable(value)) {
296
+ this.isEmptyObject = false;
297
+ this.resolvableValue = value;
298
+ }
299
+ else {
300
+ this.isEmptyObject = Object.keys(value).length === 0;
301
+ this.resolvableValue = undefined;
302
+ this._controllerPatchRef = value.controllerPatchRef;
303
+ this._dryrun = value.dryrun;
304
+ this._imageRef = value.imageRef;
305
+ this._prechecksOnly = value.prechecksOnly;
306
+ this._seGroupRefs = value.seGroupRefs;
307
+ this._sePatchRef = value.sePatchRef;
308
+ this._skipWarnings = value.skipWarnings;
309
+ this._system = value.systemAttribute;
310
+ this._seGroupOptions.internalValue = value.seGroupOptions;
311
+ }
312
+ }
313
+ // controller_patch_ref - computed: true, optional: true, required: false
314
+ _controllerPatchRef;
315
+ get controllerPatchRef() {
316
+ return this.getStringAttribute('controller_patch_ref');
317
+ }
318
+ set controllerPatchRef(value) {
319
+ this._controllerPatchRef = value;
320
+ }
321
+ resetControllerPatchRef() {
322
+ this._controllerPatchRef = undefined;
323
+ }
324
+ // Temporarily expose input value. Use with caution.
325
+ get controllerPatchRefInput() {
326
+ return this._controllerPatchRef;
327
+ }
328
+ // dryrun - computed: true, optional: true, required: false
329
+ _dryrun;
330
+ get dryrun() {
331
+ return this.getStringAttribute('dryrun');
332
+ }
333
+ set dryrun(value) {
334
+ this._dryrun = value;
335
+ }
336
+ resetDryrun() {
337
+ this._dryrun = undefined;
338
+ }
339
+ // Temporarily expose input value. Use with caution.
340
+ get dryrunInput() {
341
+ return this._dryrun;
342
+ }
343
+ // image_ref - computed: true, optional: true, required: false
344
+ _imageRef;
345
+ get imageRef() {
346
+ return this.getStringAttribute('image_ref');
347
+ }
348
+ set imageRef(value) {
349
+ this._imageRef = value;
350
+ }
351
+ resetImageRef() {
352
+ this._imageRef = undefined;
353
+ }
354
+ // Temporarily expose input value. Use with caution.
355
+ get imageRefInput() {
356
+ return this._imageRef;
357
+ }
358
+ // prechecks_only - computed: true, optional: true, required: false
359
+ _prechecksOnly;
360
+ get prechecksOnly() {
361
+ return this.getStringAttribute('prechecks_only');
362
+ }
363
+ set prechecksOnly(value) {
364
+ this._prechecksOnly = value;
365
+ }
366
+ resetPrechecksOnly() {
367
+ this._prechecksOnly = undefined;
368
+ }
369
+ // Temporarily expose input value. Use with caution.
370
+ get prechecksOnlyInput() {
371
+ return this._prechecksOnly;
372
+ }
373
+ // se_group_refs - computed: false, optional: true, required: false
374
+ _seGroupRefs;
375
+ get seGroupRefs() {
376
+ return this.getListAttribute('se_group_refs');
377
+ }
378
+ set seGroupRefs(value) {
379
+ this._seGroupRefs = value;
380
+ }
381
+ resetSeGroupRefs() {
382
+ this._seGroupRefs = undefined;
383
+ }
384
+ // Temporarily expose input value. Use with caution.
385
+ get seGroupRefsInput() {
386
+ return this._seGroupRefs;
387
+ }
388
+ // se_patch_ref - computed: true, optional: true, required: false
389
+ _sePatchRef;
390
+ get sePatchRef() {
391
+ return this.getStringAttribute('se_patch_ref');
392
+ }
393
+ set sePatchRef(value) {
394
+ this._sePatchRef = value;
395
+ }
396
+ resetSePatchRef() {
397
+ this._sePatchRef = undefined;
398
+ }
399
+ // Temporarily expose input value. Use with caution.
400
+ get sePatchRefInput() {
401
+ return this._sePatchRef;
402
+ }
403
+ // skip_warnings - computed: true, optional: true, required: false
404
+ _skipWarnings;
405
+ get skipWarnings() {
406
+ return this.getStringAttribute('skip_warnings');
407
+ }
408
+ set skipWarnings(value) {
409
+ this._skipWarnings = value;
410
+ }
411
+ resetSkipWarnings() {
412
+ this._skipWarnings = undefined;
413
+ }
414
+ // Temporarily expose input value. Use with caution.
415
+ get skipWarningsInput() {
416
+ return this._skipWarnings;
417
+ }
418
+ // system - computed: true, optional: true, required: false
419
+ _system;
420
+ get systemAttribute() {
421
+ return this.getStringAttribute('system');
422
+ }
423
+ set systemAttribute(value) {
424
+ this._system = value;
425
+ }
426
+ resetSystemAttribute() {
427
+ this._system = undefined;
428
+ }
429
+ // Temporarily expose input value. Use with caution.
430
+ get systemAttributeInput() {
431
+ return this._system;
432
+ }
433
+ // se_group_options - computed: false, optional: true, required: false
434
+ _seGroupOptions = new UpgradestatusinfoDryrunInfoParamsSeGroupOptionsList(this, "se_group_options", true);
435
+ get seGroupOptions() {
436
+ return this._seGroupOptions;
437
+ }
438
+ putSeGroupOptions(value) {
439
+ this._seGroupOptions.internalValue = value;
440
+ }
441
+ resetSeGroupOptions() {
442
+ this._seGroupOptions.internalValue = undefined;
443
+ }
444
+ // Temporarily expose input value. Use with caution.
445
+ get seGroupOptionsInput() {
446
+ return this._seGroupOptions.internalValue;
447
+ }
448
+ }
449
+ export class UpgradestatusinfoDryrunInfoParamsList extends cdktf.ComplexList {
450
+ terraformResource;
451
+ terraformAttribute;
452
+ wrapsSet;
453
+ internalValue;
454
+ /**
455
+ * @param terraformResource The parent resource
456
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
457
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
458
+ */
459
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
460
+ super(terraformResource, terraformAttribute, wrapsSet);
461
+ this.terraformResource = terraformResource;
462
+ this.terraformAttribute = terraformAttribute;
463
+ this.wrapsSet = wrapsSet;
464
+ }
465
+ /**
466
+ * @param index the index of the item to return
467
+ */
468
+ get(index) {
469
+ return new UpgradestatusinfoDryrunInfoParamsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
470
+ }
471
+ }
472
+ export function upgradestatusinfoDryrunInfoStateLastChangedTimeToTerraform(struct) {
473
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
474
+ return struct;
475
+ }
476
+ if (cdktf.isComplexElement(struct)) {
477
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
478
+ }
479
+ return {
480
+ secs: cdktf.stringToTerraform(struct.secs),
481
+ usecs: cdktf.stringToTerraform(struct.usecs),
482
+ };
483
+ }
484
+ export function upgradestatusinfoDryrunInfoStateLastChangedTimeToHclTerraform(struct) {
485
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
486
+ return struct;
487
+ }
488
+ if (cdktf.isComplexElement(struct)) {
489
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
490
+ }
491
+ const attrs = {
492
+ secs: {
493
+ value: cdktf.stringToHclTerraform(struct.secs),
494
+ isBlock: false,
495
+ type: "simple",
496
+ storageClassType: "string",
497
+ },
498
+ usecs: {
499
+ value: cdktf.stringToHclTerraform(struct.usecs),
500
+ isBlock: false,
501
+ type: "simple",
502
+ storageClassType: "string",
503
+ },
504
+ };
505
+ // remove undefined attributes
506
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
507
+ }
508
+ export class UpgradestatusinfoDryrunInfoStateLastChangedTimeOutputReference extends cdktf.ComplexObject {
509
+ isEmptyObject = false;
510
+ resolvableValue;
511
+ /**
512
+ * @param terraformResource The parent resource
513
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
514
+ * @param complexObjectIndex the index of this item in the list
515
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
516
+ */
517
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
518
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
519
+ }
520
+ get internalValue() {
521
+ if (this.resolvableValue) {
522
+ return this.resolvableValue;
523
+ }
524
+ let hasAnyValues = this.isEmptyObject;
525
+ const internalValueResult = {};
526
+ if (this._secs !== undefined) {
527
+ hasAnyValues = true;
528
+ internalValueResult.secs = this._secs;
529
+ }
530
+ if (this._usecs !== undefined) {
531
+ hasAnyValues = true;
532
+ internalValueResult.usecs = this._usecs;
533
+ }
534
+ return hasAnyValues ? internalValueResult : undefined;
535
+ }
536
+ set internalValue(value) {
537
+ if (value === undefined) {
538
+ this.isEmptyObject = false;
539
+ this.resolvableValue = undefined;
540
+ this._secs = undefined;
541
+ this._usecs = undefined;
542
+ }
543
+ else if (cdktf.Tokenization.isResolvable(value)) {
544
+ this.isEmptyObject = false;
545
+ this.resolvableValue = value;
546
+ }
547
+ else {
548
+ this.isEmptyObject = Object.keys(value).length === 0;
549
+ this.resolvableValue = undefined;
550
+ this._secs = value.secs;
551
+ this._usecs = value.usecs;
552
+ }
553
+ }
554
+ // secs - computed: false, optional: false, required: true
555
+ _secs;
556
+ get secs() {
557
+ return this.getStringAttribute('secs');
558
+ }
559
+ set secs(value) {
560
+ this._secs = value;
561
+ }
562
+ // Temporarily expose input value. Use with caution.
563
+ get secsInput() {
564
+ return this._secs;
565
+ }
566
+ // usecs - computed: false, optional: false, required: true
567
+ _usecs;
568
+ get usecs() {
569
+ return this.getStringAttribute('usecs');
570
+ }
571
+ set usecs(value) {
572
+ this._usecs = value;
573
+ }
574
+ // Temporarily expose input value. Use with caution.
575
+ get usecsInput() {
576
+ return this._usecs;
577
+ }
578
+ }
579
+ export class UpgradestatusinfoDryrunInfoStateLastChangedTimeList extends cdktf.ComplexList {
580
+ terraformResource;
581
+ terraformAttribute;
582
+ wrapsSet;
583
+ internalValue;
584
+ /**
585
+ * @param terraformResource The parent resource
586
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
587
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
588
+ */
589
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
590
+ super(terraformResource, terraformAttribute, wrapsSet);
591
+ this.terraformResource = terraformResource;
592
+ this.terraformAttribute = terraformAttribute;
593
+ this.wrapsSet = wrapsSet;
594
+ }
595
+ /**
596
+ * @param index the index of the item to return
597
+ */
598
+ get(index) {
599
+ return new UpgradestatusinfoDryrunInfoStateLastChangedTimeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
600
+ }
601
+ }
602
+ export function upgradestatusinfoDryrunInfoStateToTerraform(struct) {
603
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
604
+ return struct;
605
+ }
606
+ if (cdktf.isComplexElement(struct)) {
607
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
608
+ }
609
+ return {
610
+ reason: cdktf.stringToTerraform(struct.reason),
611
+ rebooted: cdktf.stringToTerraform(struct.rebooted),
612
+ state: cdktf.stringToTerraform(struct.state),
613
+ last_changed_time: cdktf.listMapper(upgradestatusinfoDryrunInfoStateLastChangedTimeToTerraform, true)(struct.lastChangedTime),
614
+ };
615
+ }
616
+ export function upgradestatusinfoDryrunInfoStateToHclTerraform(struct) {
617
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
618
+ return struct;
619
+ }
620
+ if (cdktf.isComplexElement(struct)) {
621
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
622
+ }
623
+ const attrs = {
624
+ reason: {
625
+ value: cdktf.stringToHclTerraform(struct.reason),
626
+ isBlock: false,
627
+ type: "simple",
628
+ storageClassType: "string",
629
+ },
630
+ rebooted: {
631
+ value: cdktf.stringToHclTerraform(struct.rebooted),
632
+ isBlock: false,
633
+ type: "simple",
634
+ storageClassType: "string",
635
+ },
636
+ state: {
637
+ value: cdktf.stringToHclTerraform(struct.state),
638
+ isBlock: false,
639
+ type: "simple",
640
+ storageClassType: "string",
641
+ },
642
+ last_changed_time: {
643
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoStateLastChangedTimeToHclTerraform, true)(struct.lastChangedTime),
644
+ isBlock: true,
645
+ type: "set",
646
+ storageClassType: "UpgradestatusinfoDryrunInfoStateLastChangedTimeList",
647
+ },
648
+ };
649
+ // remove undefined attributes
650
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
651
+ }
652
+ export class UpgradestatusinfoDryrunInfoStateOutputReference extends cdktf.ComplexObject {
653
+ isEmptyObject = false;
654
+ resolvableValue;
655
+ /**
656
+ * @param terraformResource The parent resource
657
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
658
+ * @param complexObjectIndex the index of this item in the list
659
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
660
+ */
661
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
662
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
663
+ }
664
+ get internalValue() {
665
+ if (this.resolvableValue) {
666
+ return this.resolvableValue;
667
+ }
668
+ let hasAnyValues = this.isEmptyObject;
669
+ const internalValueResult = {};
670
+ if (this._reason !== undefined) {
671
+ hasAnyValues = true;
672
+ internalValueResult.reason = this._reason;
673
+ }
674
+ if (this._rebooted !== undefined) {
675
+ hasAnyValues = true;
676
+ internalValueResult.rebooted = this._rebooted;
677
+ }
678
+ if (this._state !== undefined) {
679
+ hasAnyValues = true;
680
+ internalValueResult.state = this._state;
681
+ }
682
+ if (this._lastChangedTime?.internalValue !== undefined) {
683
+ hasAnyValues = true;
684
+ internalValueResult.lastChangedTime = this._lastChangedTime?.internalValue;
685
+ }
686
+ return hasAnyValues ? internalValueResult : undefined;
687
+ }
688
+ set internalValue(value) {
689
+ if (value === undefined) {
690
+ this.isEmptyObject = false;
691
+ this.resolvableValue = undefined;
692
+ this._reason = undefined;
693
+ this._rebooted = undefined;
694
+ this._state = undefined;
695
+ this._lastChangedTime.internalValue = undefined;
696
+ }
697
+ else if (cdktf.Tokenization.isResolvable(value)) {
698
+ this.isEmptyObject = false;
699
+ this.resolvableValue = value;
700
+ }
701
+ else {
702
+ this.isEmptyObject = Object.keys(value).length === 0;
703
+ this.resolvableValue = undefined;
704
+ this._reason = value.reason;
705
+ this._rebooted = value.rebooted;
706
+ this._state = value.state;
707
+ this._lastChangedTime.internalValue = value.lastChangedTime;
708
+ }
709
+ }
710
+ // reason - computed: true, optional: true, required: false
711
+ _reason;
712
+ get reason() {
713
+ return this.getStringAttribute('reason');
714
+ }
715
+ set reason(value) {
716
+ this._reason = value;
717
+ }
718
+ resetReason() {
719
+ this._reason = undefined;
720
+ }
721
+ // Temporarily expose input value. Use with caution.
722
+ get reasonInput() {
723
+ return this._reason;
724
+ }
725
+ // rebooted - computed: true, optional: true, required: false
726
+ _rebooted;
727
+ get rebooted() {
728
+ return this.getStringAttribute('rebooted');
729
+ }
730
+ set rebooted(value) {
731
+ this._rebooted = value;
732
+ }
733
+ resetRebooted() {
734
+ this._rebooted = undefined;
735
+ }
736
+ // Temporarily expose input value. Use with caution.
737
+ get rebootedInput() {
738
+ return this._rebooted;
739
+ }
740
+ // state - computed: true, optional: true, required: false
741
+ _state;
742
+ get state() {
743
+ return this.getStringAttribute('state');
744
+ }
745
+ set state(value) {
746
+ this._state = value;
747
+ }
748
+ resetState() {
749
+ this._state = undefined;
750
+ }
751
+ // Temporarily expose input value. Use with caution.
752
+ get stateInput() {
753
+ return this._state;
754
+ }
755
+ // last_changed_time - computed: false, optional: true, required: false
756
+ _lastChangedTime = new UpgradestatusinfoDryrunInfoStateLastChangedTimeList(this, "last_changed_time", true);
757
+ get lastChangedTime() {
758
+ return this._lastChangedTime;
759
+ }
760
+ putLastChangedTime(value) {
761
+ this._lastChangedTime.internalValue = value;
762
+ }
763
+ resetLastChangedTime() {
764
+ this._lastChangedTime.internalValue = undefined;
765
+ }
766
+ // Temporarily expose input value. Use with caution.
767
+ get lastChangedTimeInput() {
768
+ return this._lastChangedTime.internalValue;
769
+ }
770
+ }
771
+ export class UpgradestatusinfoDryrunInfoStateList extends cdktf.ComplexList {
772
+ terraformResource;
773
+ terraformAttribute;
774
+ wrapsSet;
775
+ internalValue;
776
+ /**
777
+ * @param terraformResource The parent resource
778
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
779
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
780
+ */
781
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
782
+ super(terraformResource, terraformAttribute, wrapsSet);
783
+ this.terraformResource = terraformResource;
784
+ this.terraformAttribute = terraformAttribute;
785
+ this.wrapsSet = wrapsSet;
786
+ }
787
+ /**
788
+ * @param index the index of the item to return
789
+ */
790
+ get(index) {
791
+ return new UpgradestatusinfoDryrunInfoStateOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
792
+ }
793
+ }
794
+ export function upgradestatusinfoDryrunInfoUpgradeEventsNodesEventsIpToTerraform(struct) {
795
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
796
+ return struct;
797
+ }
798
+ if (cdktf.isComplexElement(struct)) {
799
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
800
+ }
801
+ return {
802
+ addr: cdktf.stringToTerraform(struct.addr),
803
+ type: cdktf.stringToTerraform(struct.type),
804
+ };
805
+ }
806
+ export function upgradestatusinfoDryrunInfoUpgradeEventsNodesEventsIpToHclTerraform(struct) {
807
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
808
+ return struct;
809
+ }
810
+ if (cdktf.isComplexElement(struct)) {
811
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
812
+ }
813
+ const attrs = {
814
+ addr: {
815
+ value: cdktf.stringToHclTerraform(struct.addr),
816
+ isBlock: false,
817
+ type: "simple",
818
+ storageClassType: "string",
819
+ },
820
+ type: {
821
+ value: cdktf.stringToHclTerraform(struct.type),
822
+ isBlock: false,
823
+ type: "simple",
824
+ storageClassType: "string",
825
+ },
826
+ };
827
+ // remove undefined attributes
828
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
829
+ }
830
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsIpOutputReference extends cdktf.ComplexObject {
831
+ isEmptyObject = false;
832
+ resolvableValue;
833
+ /**
834
+ * @param terraformResource The parent resource
835
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
836
+ * @param complexObjectIndex the index of this item in the list
837
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
838
+ */
839
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
840
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
841
+ }
842
+ get internalValue() {
843
+ if (this.resolvableValue) {
844
+ return this.resolvableValue;
845
+ }
846
+ let hasAnyValues = this.isEmptyObject;
847
+ const internalValueResult = {};
848
+ if (this._addr !== undefined) {
849
+ hasAnyValues = true;
850
+ internalValueResult.addr = this._addr;
851
+ }
852
+ if (this._type !== undefined) {
853
+ hasAnyValues = true;
854
+ internalValueResult.type = this._type;
855
+ }
856
+ return hasAnyValues ? internalValueResult : undefined;
857
+ }
858
+ set internalValue(value) {
859
+ if (value === undefined) {
860
+ this.isEmptyObject = false;
861
+ this.resolvableValue = undefined;
862
+ this._addr = undefined;
863
+ this._type = undefined;
864
+ }
865
+ else if (cdktf.Tokenization.isResolvable(value)) {
866
+ this.isEmptyObject = false;
867
+ this.resolvableValue = value;
868
+ }
869
+ else {
870
+ this.isEmptyObject = Object.keys(value).length === 0;
871
+ this.resolvableValue = undefined;
872
+ this._addr = value.addr;
873
+ this._type = value.type;
874
+ }
875
+ }
876
+ // addr - computed: false, optional: false, required: true
877
+ _addr;
878
+ get addr() {
879
+ return this.getStringAttribute('addr');
880
+ }
881
+ set addr(value) {
882
+ this._addr = value;
883
+ }
884
+ // Temporarily expose input value. Use with caution.
885
+ get addrInput() {
886
+ return this._addr;
887
+ }
888
+ // type - computed: false, optional: false, required: true
889
+ _type;
890
+ get type() {
891
+ return this.getStringAttribute('type');
892
+ }
893
+ set type(value) {
894
+ this._type = value;
895
+ }
896
+ // Temporarily expose input value. Use with caution.
897
+ get typeInput() {
898
+ return this._type;
899
+ }
900
+ }
901
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsIpList extends cdktf.ComplexList {
902
+ terraformResource;
903
+ terraformAttribute;
904
+ wrapsSet;
905
+ internalValue;
906
+ /**
907
+ * @param terraformResource The parent resource
908
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
909
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
910
+ */
911
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
912
+ super(terraformResource, terraformAttribute, wrapsSet);
913
+ this.terraformResource = terraformResource;
914
+ this.terraformAttribute = terraformAttribute;
915
+ this.wrapsSet = wrapsSet;
916
+ }
917
+ /**
918
+ * @param index the index of the item to return
919
+ */
920
+ get(index) {
921
+ return new UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsIpOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
922
+ }
923
+ }
924
+ export function upgradestatusinfoDryrunInfoUpgradeEventsNodesEventsToTerraform(struct) {
925
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
926
+ return struct;
927
+ }
928
+ if (cdktf.isComplexElement(struct)) {
929
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
930
+ }
931
+ return {
932
+ duration: cdktf.stringToTerraform(struct.duration),
933
+ end_time: cdktf.stringToTerraform(struct.endTime),
934
+ message: cdktf.stringToTerraform(struct.message),
935
+ start_time: cdktf.stringToTerraform(struct.startTime),
936
+ status: cdktf.stringToTerraform(struct.status),
937
+ sub_tasks: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.subTasks),
938
+ ip: cdktf.listMapper(upgradestatusinfoDryrunInfoUpgradeEventsNodesEventsIpToTerraform, true)(struct.ip),
939
+ };
940
+ }
941
+ export function upgradestatusinfoDryrunInfoUpgradeEventsNodesEventsToHclTerraform(struct) {
942
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
943
+ return struct;
944
+ }
945
+ if (cdktf.isComplexElement(struct)) {
946
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
947
+ }
948
+ const attrs = {
949
+ duration: {
950
+ value: cdktf.stringToHclTerraform(struct.duration),
951
+ isBlock: false,
952
+ type: "simple",
953
+ storageClassType: "string",
954
+ },
955
+ end_time: {
956
+ value: cdktf.stringToHclTerraform(struct.endTime),
957
+ isBlock: false,
958
+ type: "simple",
959
+ storageClassType: "string",
960
+ },
961
+ message: {
962
+ value: cdktf.stringToHclTerraform(struct.message),
963
+ isBlock: false,
964
+ type: "simple",
965
+ storageClassType: "string",
966
+ },
967
+ start_time: {
968
+ value: cdktf.stringToHclTerraform(struct.startTime),
969
+ isBlock: false,
970
+ type: "simple",
971
+ storageClassType: "string",
972
+ },
973
+ status: {
974
+ value: cdktf.stringToHclTerraform(struct.status),
975
+ isBlock: false,
976
+ type: "simple",
977
+ storageClassType: "string",
978
+ },
979
+ sub_tasks: {
980
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.subTasks),
981
+ isBlock: false,
982
+ type: "list",
983
+ storageClassType: "stringList",
984
+ },
985
+ ip: {
986
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoUpgradeEventsNodesEventsIpToHclTerraform, true)(struct.ip),
987
+ isBlock: true,
988
+ type: "set",
989
+ storageClassType: "UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsIpList",
990
+ },
991
+ };
992
+ // remove undefined attributes
993
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
994
+ }
995
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsOutputReference extends cdktf.ComplexObject {
996
+ isEmptyObject = false;
997
+ resolvableValue;
998
+ /**
999
+ * @param terraformResource The parent resource
1000
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
1001
+ * @param complexObjectIndex the index of this item in the list
1002
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1003
+ */
1004
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
1005
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
1006
+ }
1007
+ get internalValue() {
1008
+ if (this.resolvableValue) {
1009
+ return this.resolvableValue;
1010
+ }
1011
+ let hasAnyValues = this.isEmptyObject;
1012
+ const internalValueResult = {};
1013
+ if (this._duration !== undefined) {
1014
+ hasAnyValues = true;
1015
+ internalValueResult.duration = this._duration;
1016
+ }
1017
+ if (this._endTime !== undefined) {
1018
+ hasAnyValues = true;
1019
+ internalValueResult.endTime = this._endTime;
1020
+ }
1021
+ if (this._message !== undefined) {
1022
+ hasAnyValues = true;
1023
+ internalValueResult.message = this._message;
1024
+ }
1025
+ if (this._startTime !== undefined) {
1026
+ hasAnyValues = true;
1027
+ internalValueResult.startTime = this._startTime;
1028
+ }
1029
+ if (this._status !== undefined) {
1030
+ hasAnyValues = true;
1031
+ internalValueResult.status = this._status;
1032
+ }
1033
+ if (this._subTasks !== undefined) {
1034
+ hasAnyValues = true;
1035
+ internalValueResult.subTasks = this._subTasks;
1036
+ }
1037
+ if (this._ip?.internalValue !== undefined) {
1038
+ hasAnyValues = true;
1039
+ internalValueResult.ip = this._ip?.internalValue;
1040
+ }
1041
+ return hasAnyValues ? internalValueResult : undefined;
1042
+ }
1043
+ set internalValue(value) {
1044
+ if (value === undefined) {
1045
+ this.isEmptyObject = false;
1046
+ this.resolvableValue = undefined;
1047
+ this._duration = undefined;
1048
+ this._endTime = undefined;
1049
+ this._message = undefined;
1050
+ this._startTime = undefined;
1051
+ this._status = undefined;
1052
+ this._subTasks = undefined;
1053
+ this._ip.internalValue = undefined;
1054
+ }
1055
+ else if (cdktf.Tokenization.isResolvable(value)) {
1056
+ this.isEmptyObject = false;
1057
+ this.resolvableValue = value;
1058
+ }
1059
+ else {
1060
+ this.isEmptyObject = Object.keys(value).length === 0;
1061
+ this.resolvableValue = undefined;
1062
+ this._duration = value.duration;
1063
+ this._endTime = value.endTime;
1064
+ this._message = value.message;
1065
+ this._startTime = value.startTime;
1066
+ this._status = value.status;
1067
+ this._subTasks = value.subTasks;
1068
+ this._ip.internalValue = value.ip;
1069
+ }
1070
+ }
1071
+ // duration - computed: true, optional: true, required: false
1072
+ _duration;
1073
+ get duration() {
1074
+ return this.getStringAttribute('duration');
1075
+ }
1076
+ set duration(value) {
1077
+ this._duration = value;
1078
+ }
1079
+ resetDuration() {
1080
+ this._duration = undefined;
1081
+ }
1082
+ // Temporarily expose input value. Use with caution.
1083
+ get durationInput() {
1084
+ return this._duration;
1085
+ }
1086
+ // end_time - computed: true, optional: true, required: false
1087
+ _endTime;
1088
+ get endTime() {
1089
+ return this.getStringAttribute('end_time');
1090
+ }
1091
+ set endTime(value) {
1092
+ this._endTime = value;
1093
+ }
1094
+ resetEndTime() {
1095
+ this._endTime = undefined;
1096
+ }
1097
+ // Temporarily expose input value. Use with caution.
1098
+ get endTimeInput() {
1099
+ return this._endTime;
1100
+ }
1101
+ // message - computed: true, optional: true, required: false
1102
+ _message;
1103
+ get message() {
1104
+ return this.getStringAttribute('message');
1105
+ }
1106
+ set message(value) {
1107
+ this._message = value;
1108
+ }
1109
+ resetMessage() {
1110
+ this._message = undefined;
1111
+ }
1112
+ // Temporarily expose input value. Use with caution.
1113
+ get messageInput() {
1114
+ return this._message;
1115
+ }
1116
+ // start_time - computed: true, optional: true, required: false
1117
+ _startTime;
1118
+ get startTime() {
1119
+ return this.getStringAttribute('start_time');
1120
+ }
1121
+ set startTime(value) {
1122
+ this._startTime = value;
1123
+ }
1124
+ resetStartTime() {
1125
+ this._startTime = undefined;
1126
+ }
1127
+ // Temporarily expose input value. Use with caution.
1128
+ get startTimeInput() {
1129
+ return this._startTime;
1130
+ }
1131
+ // status - computed: false, optional: true, required: false
1132
+ _status;
1133
+ get status() {
1134
+ return this.getStringAttribute('status');
1135
+ }
1136
+ set status(value) {
1137
+ this._status = value;
1138
+ }
1139
+ resetStatus() {
1140
+ this._status = undefined;
1141
+ }
1142
+ // Temporarily expose input value. Use with caution.
1143
+ get statusInput() {
1144
+ return this._status;
1145
+ }
1146
+ // sub_tasks - computed: false, optional: true, required: false
1147
+ _subTasks;
1148
+ get subTasks() {
1149
+ return this.getListAttribute('sub_tasks');
1150
+ }
1151
+ set subTasks(value) {
1152
+ this._subTasks = value;
1153
+ }
1154
+ resetSubTasks() {
1155
+ this._subTasks = undefined;
1156
+ }
1157
+ // Temporarily expose input value. Use with caution.
1158
+ get subTasksInput() {
1159
+ return this._subTasks;
1160
+ }
1161
+ // ip - computed: false, optional: true, required: false
1162
+ _ip = new UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsIpList(this, "ip", true);
1163
+ get ip() {
1164
+ return this._ip;
1165
+ }
1166
+ putIp(value) {
1167
+ this._ip.internalValue = value;
1168
+ }
1169
+ resetIp() {
1170
+ this._ip.internalValue = undefined;
1171
+ }
1172
+ // Temporarily expose input value. Use with caution.
1173
+ get ipInput() {
1174
+ return this._ip.internalValue;
1175
+ }
1176
+ }
1177
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsList extends cdktf.ComplexList {
1178
+ terraformResource;
1179
+ terraformAttribute;
1180
+ wrapsSet;
1181
+ internalValue;
1182
+ /**
1183
+ * @param terraformResource The parent resource
1184
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
1185
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1186
+ */
1187
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
1188
+ super(terraformResource, terraformAttribute, wrapsSet);
1189
+ this.terraformResource = terraformResource;
1190
+ this.terraformAttribute = terraformAttribute;
1191
+ this.wrapsSet = wrapsSet;
1192
+ }
1193
+ /**
1194
+ * @param index the index of the item to return
1195
+ */
1196
+ get(index) {
1197
+ return new UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
1198
+ }
1199
+ }
1200
+ export function upgradestatusinfoDryrunInfoUpgradeEventsSubEventsIpToTerraform(struct) {
1201
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
1202
+ return struct;
1203
+ }
1204
+ if (cdktf.isComplexElement(struct)) {
1205
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1206
+ }
1207
+ return {
1208
+ addr: cdktf.stringToTerraform(struct.addr),
1209
+ type: cdktf.stringToTerraform(struct.type),
1210
+ };
1211
+ }
1212
+ export function upgradestatusinfoDryrunInfoUpgradeEventsSubEventsIpToHclTerraform(struct) {
1213
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
1214
+ return struct;
1215
+ }
1216
+ if (cdktf.isComplexElement(struct)) {
1217
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1218
+ }
1219
+ const attrs = {
1220
+ addr: {
1221
+ value: cdktf.stringToHclTerraform(struct.addr),
1222
+ isBlock: false,
1223
+ type: "simple",
1224
+ storageClassType: "string",
1225
+ },
1226
+ type: {
1227
+ value: cdktf.stringToHclTerraform(struct.type),
1228
+ isBlock: false,
1229
+ type: "simple",
1230
+ storageClassType: "string",
1231
+ },
1232
+ };
1233
+ // remove undefined attributes
1234
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
1235
+ }
1236
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsIpOutputReference extends cdktf.ComplexObject {
1237
+ isEmptyObject = false;
1238
+ resolvableValue;
1239
+ /**
1240
+ * @param terraformResource The parent resource
1241
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
1242
+ * @param complexObjectIndex the index of this item in the list
1243
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1244
+ */
1245
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
1246
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
1247
+ }
1248
+ get internalValue() {
1249
+ if (this.resolvableValue) {
1250
+ return this.resolvableValue;
1251
+ }
1252
+ let hasAnyValues = this.isEmptyObject;
1253
+ const internalValueResult = {};
1254
+ if (this._addr !== undefined) {
1255
+ hasAnyValues = true;
1256
+ internalValueResult.addr = this._addr;
1257
+ }
1258
+ if (this._type !== undefined) {
1259
+ hasAnyValues = true;
1260
+ internalValueResult.type = this._type;
1261
+ }
1262
+ return hasAnyValues ? internalValueResult : undefined;
1263
+ }
1264
+ set internalValue(value) {
1265
+ if (value === undefined) {
1266
+ this.isEmptyObject = false;
1267
+ this.resolvableValue = undefined;
1268
+ this._addr = undefined;
1269
+ this._type = undefined;
1270
+ }
1271
+ else if (cdktf.Tokenization.isResolvable(value)) {
1272
+ this.isEmptyObject = false;
1273
+ this.resolvableValue = value;
1274
+ }
1275
+ else {
1276
+ this.isEmptyObject = Object.keys(value).length === 0;
1277
+ this.resolvableValue = undefined;
1278
+ this._addr = value.addr;
1279
+ this._type = value.type;
1280
+ }
1281
+ }
1282
+ // addr - computed: false, optional: false, required: true
1283
+ _addr;
1284
+ get addr() {
1285
+ return this.getStringAttribute('addr');
1286
+ }
1287
+ set addr(value) {
1288
+ this._addr = value;
1289
+ }
1290
+ // Temporarily expose input value. Use with caution.
1291
+ get addrInput() {
1292
+ return this._addr;
1293
+ }
1294
+ // type - computed: false, optional: false, required: true
1295
+ _type;
1296
+ get type() {
1297
+ return this.getStringAttribute('type');
1298
+ }
1299
+ set type(value) {
1300
+ this._type = value;
1301
+ }
1302
+ // Temporarily expose input value. Use with caution.
1303
+ get typeInput() {
1304
+ return this._type;
1305
+ }
1306
+ }
1307
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsIpList extends cdktf.ComplexList {
1308
+ terraformResource;
1309
+ terraformAttribute;
1310
+ wrapsSet;
1311
+ internalValue;
1312
+ /**
1313
+ * @param terraformResource The parent resource
1314
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
1315
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1316
+ */
1317
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
1318
+ super(terraformResource, terraformAttribute, wrapsSet);
1319
+ this.terraformResource = terraformResource;
1320
+ this.terraformAttribute = terraformAttribute;
1321
+ this.wrapsSet = wrapsSet;
1322
+ }
1323
+ /**
1324
+ * @param index the index of the item to return
1325
+ */
1326
+ get(index) {
1327
+ return new UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsIpOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
1328
+ }
1329
+ }
1330
+ export function upgradestatusinfoDryrunInfoUpgradeEventsSubEventsToTerraform(struct) {
1331
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
1332
+ return struct;
1333
+ }
1334
+ if (cdktf.isComplexElement(struct)) {
1335
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1336
+ }
1337
+ return {
1338
+ duration: cdktf.stringToTerraform(struct.duration),
1339
+ end_time: cdktf.stringToTerraform(struct.endTime),
1340
+ message: cdktf.stringToTerraform(struct.message),
1341
+ start_time: cdktf.stringToTerraform(struct.startTime),
1342
+ status: cdktf.stringToTerraform(struct.status),
1343
+ sub_tasks: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.subTasks),
1344
+ ip: cdktf.listMapper(upgradestatusinfoDryrunInfoUpgradeEventsSubEventsIpToTerraform, true)(struct.ip),
1345
+ };
1346
+ }
1347
+ export function upgradestatusinfoDryrunInfoUpgradeEventsSubEventsToHclTerraform(struct) {
1348
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
1349
+ return struct;
1350
+ }
1351
+ if (cdktf.isComplexElement(struct)) {
1352
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1353
+ }
1354
+ const attrs = {
1355
+ duration: {
1356
+ value: cdktf.stringToHclTerraform(struct.duration),
1357
+ isBlock: false,
1358
+ type: "simple",
1359
+ storageClassType: "string",
1360
+ },
1361
+ end_time: {
1362
+ value: cdktf.stringToHclTerraform(struct.endTime),
1363
+ isBlock: false,
1364
+ type: "simple",
1365
+ storageClassType: "string",
1366
+ },
1367
+ message: {
1368
+ value: cdktf.stringToHclTerraform(struct.message),
1369
+ isBlock: false,
1370
+ type: "simple",
1371
+ storageClassType: "string",
1372
+ },
1373
+ start_time: {
1374
+ value: cdktf.stringToHclTerraform(struct.startTime),
1375
+ isBlock: false,
1376
+ type: "simple",
1377
+ storageClassType: "string",
1378
+ },
1379
+ status: {
1380
+ value: cdktf.stringToHclTerraform(struct.status),
1381
+ isBlock: false,
1382
+ type: "simple",
1383
+ storageClassType: "string",
1384
+ },
1385
+ sub_tasks: {
1386
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.subTasks),
1387
+ isBlock: false,
1388
+ type: "list",
1389
+ storageClassType: "stringList",
1390
+ },
1391
+ ip: {
1392
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoUpgradeEventsSubEventsIpToHclTerraform, true)(struct.ip),
1393
+ isBlock: true,
1394
+ type: "set",
1395
+ storageClassType: "UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsIpList",
1396
+ },
1397
+ };
1398
+ // remove undefined attributes
1399
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
1400
+ }
1401
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsOutputReference extends cdktf.ComplexObject {
1402
+ isEmptyObject = false;
1403
+ resolvableValue;
1404
+ /**
1405
+ * @param terraformResource The parent resource
1406
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
1407
+ * @param complexObjectIndex the index of this item in the list
1408
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1409
+ */
1410
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
1411
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
1412
+ }
1413
+ get internalValue() {
1414
+ if (this.resolvableValue) {
1415
+ return this.resolvableValue;
1416
+ }
1417
+ let hasAnyValues = this.isEmptyObject;
1418
+ const internalValueResult = {};
1419
+ if (this._duration !== undefined) {
1420
+ hasAnyValues = true;
1421
+ internalValueResult.duration = this._duration;
1422
+ }
1423
+ if (this._endTime !== undefined) {
1424
+ hasAnyValues = true;
1425
+ internalValueResult.endTime = this._endTime;
1426
+ }
1427
+ if (this._message !== undefined) {
1428
+ hasAnyValues = true;
1429
+ internalValueResult.message = this._message;
1430
+ }
1431
+ if (this._startTime !== undefined) {
1432
+ hasAnyValues = true;
1433
+ internalValueResult.startTime = this._startTime;
1434
+ }
1435
+ if (this._status !== undefined) {
1436
+ hasAnyValues = true;
1437
+ internalValueResult.status = this._status;
1438
+ }
1439
+ if (this._subTasks !== undefined) {
1440
+ hasAnyValues = true;
1441
+ internalValueResult.subTasks = this._subTasks;
1442
+ }
1443
+ if (this._ip?.internalValue !== undefined) {
1444
+ hasAnyValues = true;
1445
+ internalValueResult.ip = this._ip?.internalValue;
1446
+ }
1447
+ return hasAnyValues ? internalValueResult : undefined;
1448
+ }
1449
+ set internalValue(value) {
1450
+ if (value === undefined) {
1451
+ this.isEmptyObject = false;
1452
+ this.resolvableValue = undefined;
1453
+ this._duration = undefined;
1454
+ this._endTime = undefined;
1455
+ this._message = undefined;
1456
+ this._startTime = undefined;
1457
+ this._status = undefined;
1458
+ this._subTasks = undefined;
1459
+ this._ip.internalValue = undefined;
1460
+ }
1461
+ else if (cdktf.Tokenization.isResolvable(value)) {
1462
+ this.isEmptyObject = false;
1463
+ this.resolvableValue = value;
1464
+ }
1465
+ else {
1466
+ this.isEmptyObject = Object.keys(value).length === 0;
1467
+ this.resolvableValue = undefined;
1468
+ this._duration = value.duration;
1469
+ this._endTime = value.endTime;
1470
+ this._message = value.message;
1471
+ this._startTime = value.startTime;
1472
+ this._status = value.status;
1473
+ this._subTasks = value.subTasks;
1474
+ this._ip.internalValue = value.ip;
1475
+ }
1476
+ }
1477
+ // duration - computed: true, optional: true, required: false
1478
+ _duration;
1479
+ get duration() {
1480
+ return this.getStringAttribute('duration');
1481
+ }
1482
+ set duration(value) {
1483
+ this._duration = value;
1484
+ }
1485
+ resetDuration() {
1486
+ this._duration = undefined;
1487
+ }
1488
+ // Temporarily expose input value. Use with caution.
1489
+ get durationInput() {
1490
+ return this._duration;
1491
+ }
1492
+ // end_time - computed: true, optional: true, required: false
1493
+ _endTime;
1494
+ get endTime() {
1495
+ return this.getStringAttribute('end_time');
1496
+ }
1497
+ set endTime(value) {
1498
+ this._endTime = value;
1499
+ }
1500
+ resetEndTime() {
1501
+ this._endTime = undefined;
1502
+ }
1503
+ // Temporarily expose input value. Use with caution.
1504
+ get endTimeInput() {
1505
+ return this._endTime;
1506
+ }
1507
+ // message - computed: true, optional: true, required: false
1508
+ _message;
1509
+ get message() {
1510
+ return this.getStringAttribute('message');
1511
+ }
1512
+ set message(value) {
1513
+ this._message = value;
1514
+ }
1515
+ resetMessage() {
1516
+ this._message = undefined;
1517
+ }
1518
+ // Temporarily expose input value. Use with caution.
1519
+ get messageInput() {
1520
+ return this._message;
1521
+ }
1522
+ // start_time - computed: true, optional: true, required: false
1523
+ _startTime;
1524
+ get startTime() {
1525
+ return this.getStringAttribute('start_time');
1526
+ }
1527
+ set startTime(value) {
1528
+ this._startTime = value;
1529
+ }
1530
+ resetStartTime() {
1531
+ this._startTime = undefined;
1532
+ }
1533
+ // Temporarily expose input value. Use with caution.
1534
+ get startTimeInput() {
1535
+ return this._startTime;
1536
+ }
1537
+ // status - computed: false, optional: true, required: false
1538
+ _status;
1539
+ get status() {
1540
+ return this.getStringAttribute('status');
1541
+ }
1542
+ set status(value) {
1543
+ this._status = value;
1544
+ }
1545
+ resetStatus() {
1546
+ this._status = undefined;
1547
+ }
1548
+ // Temporarily expose input value. Use with caution.
1549
+ get statusInput() {
1550
+ return this._status;
1551
+ }
1552
+ // sub_tasks - computed: false, optional: true, required: false
1553
+ _subTasks;
1554
+ get subTasks() {
1555
+ return this.getListAttribute('sub_tasks');
1556
+ }
1557
+ set subTasks(value) {
1558
+ this._subTasks = value;
1559
+ }
1560
+ resetSubTasks() {
1561
+ this._subTasks = undefined;
1562
+ }
1563
+ // Temporarily expose input value. Use with caution.
1564
+ get subTasksInput() {
1565
+ return this._subTasks;
1566
+ }
1567
+ // ip - computed: false, optional: true, required: false
1568
+ _ip = new UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsIpList(this, "ip", true);
1569
+ get ip() {
1570
+ return this._ip;
1571
+ }
1572
+ putIp(value) {
1573
+ this._ip.internalValue = value;
1574
+ }
1575
+ resetIp() {
1576
+ this._ip.internalValue = undefined;
1577
+ }
1578
+ // Temporarily expose input value. Use with caution.
1579
+ get ipInput() {
1580
+ return this._ip.internalValue;
1581
+ }
1582
+ }
1583
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsList extends cdktf.ComplexList {
1584
+ terraformResource;
1585
+ terraformAttribute;
1586
+ wrapsSet;
1587
+ internalValue;
1588
+ /**
1589
+ * @param terraformResource The parent resource
1590
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
1591
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1592
+ */
1593
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
1594
+ super(terraformResource, terraformAttribute, wrapsSet);
1595
+ this.terraformResource = terraformResource;
1596
+ this.terraformAttribute = terraformAttribute;
1597
+ this.wrapsSet = wrapsSet;
1598
+ }
1599
+ /**
1600
+ * @param index the index of the item to return
1601
+ */
1602
+ get(index) {
1603
+ return new UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
1604
+ }
1605
+ }
1606
+ export function upgradestatusinfoDryrunInfoUpgradeEventsToTerraform(struct) {
1607
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
1608
+ return struct;
1609
+ }
1610
+ if (cdktf.isComplexElement(struct)) {
1611
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1612
+ }
1613
+ return {
1614
+ task: cdktf.stringToTerraform(struct.task),
1615
+ task_name: cdktf.stringToTerraform(struct.taskName),
1616
+ nodes_events: cdktf.listMapper(upgradestatusinfoDryrunInfoUpgradeEventsNodesEventsToTerraform, true)(struct.nodesEvents),
1617
+ sub_events: cdktf.listMapper(upgradestatusinfoDryrunInfoUpgradeEventsSubEventsToTerraform, true)(struct.subEvents),
1618
+ };
1619
+ }
1620
+ export function upgradestatusinfoDryrunInfoUpgradeEventsToHclTerraform(struct) {
1621
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
1622
+ return struct;
1623
+ }
1624
+ if (cdktf.isComplexElement(struct)) {
1625
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1626
+ }
1627
+ const attrs = {
1628
+ task: {
1629
+ value: cdktf.stringToHclTerraform(struct.task),
1630
+ isBlock: false,
1631
+ type: "simple",
1632
+ storageClassType: "string",
1633
+ },
1634
+ task_name: {
1635
+ value: cdktf.stringToHclTerraform(struct.taskName),
1636
+ isBlock: false,
1637
+ type: "simple",
1638
+ storageClassType: "string",
1639
+ },
1640
+ nodes_events: {
1641
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoUpgradeEventsNodesEventsToHclTerraform, true)(struct.nodesEvents),
1642
+ isBlock: true,
1643
+ type: "list",
1644
+ storageClassType: "UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsList",
1645
+ },
1646
+ sub_events: {
1647
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoUpgradeEventsSubEventsToHclTerraform, true)(struct.subEvents),
1648
+ isBlock: true,
1649
+ type: "list",
1650
+ storageClassType: "UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsList",
1651
+ },
1652
+ };
1653
+ // remove undefined attributes
1654
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
1655
+ }
1656
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsOutputReference extends cdktf.ComplexObject {
1657
+ isEmptyObject = false;
1658
+ resolvableValue;
1659
+ /**
1660
+ * @param terraformResource The parent resource
1661
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
1662
+ * @param complexObjectIndex the index of this item in the list
1663
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1664
+ */
1665
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
1666
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
1667
+ }
1668
+ get internalValue() {
1669
+ if (this.resolvableValue) {
1670
+ return this.resolvableValue;
1671
+ }
1672
+ let hasAnyValues = this.isEmptyObject;
1673
+ const internalValueResult = {};
1674
+ if (this._task !== undefined) {
1675
+ hasAnyValues = true;
1676
+ internalValueResult.task = this._task;
1677
+ }
1678
+ if (this._taskName !== undefined) {
1679
+ hasAnyValues = true;
1680
+ internalValueResult.taskName = this._taskName;
1681
+ }
1682
+ if (this._nodesEvents?.internalValue !== undefined) {
1683
+ hasAnyValues = true;
1684
+ internalValueResult.nodesEvents = this._nodesEvents?.internalValue;
1685
+ }
1686
+ if (this._subEvents?.internalValue !== undefined) {
1687
+ hasAnyValues = true;
1688
+ internalValueResult.subEvents = this._subEvents?.internalValue;
1689
+ }
1690
+ return hasAnyValues ? internalValueResult : undefined;
1691
+ }
1692
+ set internalValue(value) {
1693
+ if (value === undefined) {
1694
+ this.isEmptyObject = false;
1695
+ this.resolvableValue = undefined;
1696
+ this._task = undefined;
1697
+ this._taskName = undefined;
1698
+ this._nodesEvents.internalValue = undefined;
1699
+ this._subEvents.internalValue = undefined;
1700
+ }
1701
+ else if (cdktf.Tokenization.isResolvable(value)) {
1702
+ this.isEmptyObject = false;
1703
+ this.resolvableValue = value;
1704
+ }
1705
+ else {
1706
+ this.isEmptyObject = Object.keys(value).length === 0;
1707
+ this.resolvableValue = undefined;
1708
+ this._task = value.task;
1709
+ this._taskName = value.taskName;
1710
+ this._nodesEvents.internalValue = value.nodesEvents;
1711
+ this._subEvents.internalValue = value.subEvents;
1712
+ }
1713
+ }
1714
+ // task - computed: true, optional: true, required: false
1715
+ _task;
1716
+ get task() {
1717
+ return this.getStringAttribute('task');
1718
+ }
1719
+ set task(value) {
1720
+ this._task = value;
1721
+ }
1722
+ resetTask() {
1723
+ this._task = undefined;
1724
+ }
1725
+ // Temporarily expose input value. Use with caution.
1726
+ get taskInput() {
1727
+ return this._task;
1728
+ }
1729
+ // task_name - computed: true, optional: true, required: false
1730
+ _taskName;
1731
+ get taskName() {
1732
+ return this.getStringAttribute('task_name');
1733
+ }
1734
+ set taskName(value) {
1735
+ this._taskName = value;
1736
+ }
1737
+ resetTaskName() {
1738
+ this._taskName = undefined;
1739
+ }
1740
+ // Temporarily expose input value. Use with caution.
1741
+ get taskNameInput() {
1742
+ return this._taskName;
1743
+ }
1744
+ // nodes_events - computed: false, optional: true, required: false
1745
+ _nodesEvents = new UpgradestatusinfoDryrunInfoUpgradeEventsNodesEventsList(this, "nodes_events", false);
1746
+ get nodesEvents() {
1747
+ return this._nodesEvents;
1748
+ }
1749
+ putNodesEvents(value) {
1750
+ this._nodesEvents.internalValue = value;
1751
+ }
1752
+ resetNodesEvents() {
1753
+ this._nodesEvents.internalValue = undefined;
1754
+ }
1755
+ // Temporarily expose input value. Use with caution.
1756
+ get nodesEventsInput() {
1757
+ return this._nodesEvents.internalValue;
1758
+ }
1759
+ // sub_events - computed: false, optional: true, required: false
1760
+ _subEvents = new UpgradestatusinfoDryrunInfoUpgradeEventsSubEventsList(this, "sub_events", false);
1761
+ get subEvents() {
1762
+ return this._subEvents;
1763
+ }
1764
+ putSubEvents(value) {
1765
+ this._subEvents.internalValue = value;
1766
+ }
1767
+ resetSubEvents() {
1768
+ this._subEvents.internalValue = undefined;
1769
+ }
1770
+ // Temporarily expose input value. Use with caution.
1771
+ get subEventsInput() {
1772
+ return this._subEvents.internalValue;
1773
+ }
1774
+ }
1775
+ export class UpgradestatusinfoDryrunInfoUpgradeEventsList extends cdktf.ComplexList {
1776
+ terraformResource;
1777
+ terraformAttribute;
1778
+ wrapsSet;
1779
+ internalValue;
1780
+ /**
1781
+ * @param terraformResource The parent resource
1782
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
1783
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1784
+ */
1785
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
1786
+ super(terraformResource, terraformAttribute, wrapsSet);
1787
+ this.terraformResource = terraformResource;
1788
+ this.terraformAttribute = terraformAttribute;
1789
+ this.wrapsSet = wrapsSet;
1790
+ }
1791
+ /**
1792
+ * @param index the index of the item to return
1793
+ */
1794
+ get(index) {
1795
+ return new UpgradestatusinfoDryrunInfoUpgradeEventsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
1796
+ }
1797
+ }
1798
+ export function upgradestatusinfoDryrunInfoToTerraform(struct) {
1799
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
1800
+ return struct;
1801
+ }
1802
+ if (cdktf.isComplexElement(struct)) {
1803
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1804
+ }
1805
+ return {
1806
+ duration: cdktf.stringToTerraform(struct.duration),
1807
+ end_time: cdktf.stringToTerraform(struct.endTime),
1808
+ operation: cdktf.stringToTerraform(struct.operation),
1809
+ progress: cdktf.stringToTerraform(struct.progress),
1810
+ start_time: cdktf.stringToTerraform(struct.startTime),
1811
+ tasks_completed: cdktf.stringToTerraform(struct.tasksCompleted),
1812
+ total_tasks: cdktf.stringToTerraform(struct.totalTasks),
1813
+ worker: cdktf.stringToTerraform(struct.worker),
1814
+ params: cdktf.listMapper(upgradestatusinfoDryrunInfoParamsToTerraform, true)(struct.params),
1815
+ state: cdktf.listMapper(upgradestatusinfoDryrunInfoStateToTerraform, true)(struct.state),
1816
+ upgrade_events: cdktf.listMapper(upgradestatusinfoDryrunInfoUpgradeEventsToTerraform, true)(struct.upgradeEvents),
1817
+ };
1818
+ }
1819
+ export function upgradestatusinfoDryrunInfoToHclTerraform(struct) {
1820
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
1821
+ return struct;
1822
+ }
1823
+ if (cdktf.isComplexElement(struct)) {
1824
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1825
+ }
1826
+ const attrs = {
1827
+ duration: {
1828
+ value: cdktf.stringToHclTerraform(struct.duration),
1829
+ isBlock: false,
1830
+ type: "simple",
1831
+ storageClassType: "string",
1832
+ },
1833
+ end_time: {
1834
+ value: cdktf.stringToHclTerraform(struct.endTime),
1835
+ isBlock: false,
1836
+ type: "simple",
1837
+ storageClassType: "string",
1838
+ },
1839
+ operation: {
1840
+ value: cdktf.stringToHclTerraform(struct.operation),
1841
+ isBlock: false,
1842
+ type: "simple",
1843
+ storageClassType: "string",
1844
+ },
1845
+ progress: {
1846
+ value: cdktf.stringToHclTerraform(struct.progress),
1847
+ isBlock: false,
1848
+ type: "simple",
1849
+ storageClassType: "string",
1850
+ },
1851
+ start_time: {
1852
+ value: cdktf.stringToHclTerraform(struct.startTime),
1853
+ isBlock: false,
1854
+ type: "simple",
1855
+ storageClassType: "string",
1856
+ },
1857
+ tasks_completed: {
1858
+ value: cdktf.stringToHclTerraform(struct.tasksCompleted),
1859
+ isBlock: false,
1860
+ type: "simple",
1861
+ storageClassType: "string",
1862
+ },
1863
+ total_tasks: {
1864
+ value: cdktf.stringToHclTerraform(struct.totalTasks),
1865
+ isBlock: false,
1866
+ type: "simple",
1867
+ storageClassType: "string",
1868
+ },
1869
+ worker: {
1870
+ value: cdktf.stringToHclTerraform(struct.worker),
1871
+ isBlock: false,
1872
+ type: "simple",
1873
+ storageClassType: "string",
1874
+ },
1875
+ params: {
1876
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoParamsToHclTerraform, true)(struct.params),
1877
+ isBlock: true,
1878
+ type: "set",
1879
+ storageClassType: "UpgradestatusinfoDryrunInfoParamsList",
1880
+ },
1881
+ state: {
1882
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoStateToHclTerraform, true)(struct.state),
1883
+ isBlock: true,
1884
+ type: "set",
1885
+ storageClassType: "UpgradestatusinfoDryrunInfoStateList",
1886
+ },
1887
+ upgrade_events: {
1888
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoUpgradeEventsToHclTerraform, true)(struct.upgradeEvents),
1889
+ isBlock: true,
1890
+ type: "list",
1891
+ storageClassType: "UpgradestatusinfoDryrunInfoUpgradeEventsList",
1892
+ },
1893
+ };
1894
+ // remove undefined attributes
1895
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
1896
+ }
1897
+ export class UpgradestatusinfoDryrunInfoOutputReference extends cdktf.ComplexObject {
1898
+ isEmptyObject = false;
1899
+ resolvableValue;
1900
+ /**
1901
+ * @param terraformResource The parent resource
1902
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
1903
+ * @param complexObjectIndex the index of this item in the list
1904
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1905
+ */
1906
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
1907
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
1908
+ }
1909
+ get internalValue() {
1910
+ if (this.resolvableValue) {
1911
+ return this.resolvableValue;
1912
+ }
1913
+ let hasAnyValues = this.isEmptyObject;
1914
+ const internalValueResult = {};
1915
+ if (this._duration !== undefined) {
1916
+ hasAnyValues = true;
1917
+ internalValueResult.duration = this._duration;
1918
+ }
1919
+ if (this._endTime !== undefined) {
1920
+ hasAnyValues = true;
1921
+ internalValueResult.endTime = this._endTime;
1922
+ }
1923
+ if (this._operation !== undefined) {
1924
+ hasAnyValues = true;
1925
+ internalValueResult.operation = this._operation;
1926
+ }
1927
+ if (this._progress !== undefined) {
1928
+ hasAnyValues = true;
1929
+ internalValueResult.progress = this._progress;
1930
+ }
1931
+ if (this._startTime !== undefined) {
1932
+ hasAnyValues = true;
1933
+ internalValueResult.startTime = this._startTime;
1934
+ }
1935
+ if (this._tasksCompleted !== undefined) {
1936
+ hasAnyValues = true;
1937
+ internalValueResult.tasksCompleted = this._tasksCompleted;
1938
+ }
1939
+ if (this._totalTasks !== undefined) {
1940
+ hasAnyValues = true;
1941
+ internalValueResult.totalTasks = this._totalTasks;
1942
+ }
1943
+ if (this._worker !== undefined) {
1944
+ hasAnyValues = true;
1945
+ internalValueResult.worker = this._worker;
1946
+ }
1947
+ if (this._params?.internalValue !== undefined) {
1948
+ hasAnyValues = true;
1949
+ internalValueResult.params = this._params?.internalValue;
1950
+ }
1951
+ if (this._state?.internalValue !== undefined) {
1952
+ hasAnyValues = true;
1953
+ internalValueResult.state = this._state?.internalValue;
1954
+ }
1955
+ if (this._upgradeEvents?.internalValue !== undefined) {
1956
+ hasAnyValues = true;
1957
+ internalValueResult.upgradeEvents = this._upgradeEvents?.internalValue;
1958
+ }
1959
+ return hasAnyValues ? internalValueResult : undefined;
1960
+ }
1961
+ set internalValue(value) {
1962
+ if (value === undefined) {
1963
+ this.isEmptyObject = false;
1964
+ this.resolvableValue = undefined;
1965
+ this._duration = undefined;
1966
+ this._endTime = undefined;
1967
+ this._operation = undefined;
1968
+ this._progress = undefined;
1969
+ this._startTime = undefined;
1970
+ this._tasksCompleted = undefined;
1971
+ this._totalTasks = undefined;
1972
+ this._worker = undefined;
1973
+ this._params.internalValue = undefined;
1974
+ this._state.internalValue = undefined;
1975
+ this._upgradeEvents.internalValue = undefined;
1976
+ }
1977
+ else if (cdktf.Tokenization.isResolvable(value)) {
1978
+ this.isEmptyObject = false;
1979
+ this.resolvableValue = value;
1980
+ }
1981
+ else {
1982
+ this.isEmptyObject = Object.keys(value).length === 0;
1983
+ this.resolvableValue = undefined;
1984
+ this._duration = value.duration;
1985
+ this._endTime = value.endTime;
1986
+ this._operation = value.operation;
1987
+ this._progress = value.progress;
1988
+ this._startTime = value.startTime;
1989
+ this._tasksCompleted = value.tasksCompleted;
1990
+ this._totalTasks = value.totalTasks;
1991
+ this._worker = value.worker;
1992
+ this._params.internalValue = value.params;
1993
+ this._state.internalValue = value.state;
1994
+ this._upgradeEvents.internalValue = value.upgradeEvents;
1995
+ }
1996
+ }
1997
+ // duration - computed: true, optional: true, required: false
1998
+ _duration;
1999
+ get duration() {
2000
+ return this.getStringAttribute('duration');
2001
+ }
2002
+ set duration(value) {
2003
+ this._duration = value;
2004
+ }
2005
+ resetDuration() {
2006
+ this._duration = undefined;
2007
+ }
2008
+ // Temporarily expose input value. Use with caution.
2009
+ get durationInput() {
2010
+ return this._duration;
2011
+ }
2012
+ // end_time - computed: true, optional: true, required: false
2013
+ _endTime;
2014
+ get endTime() {
2015
+ return this.getStringAttribute('end_time');
2016
+ }
2017
+ set endTime(value) {
2018
+ this._endTime = value;
2019
+ }
2020
+ resetEndTime() {
2021
+ this._endTime = undefined;
2022
+ }
2023
+ // Temporarily expose input value. Use with caution.
2024
+ get endTimeInput() {
2025
+ return this._endTime;
2026
+ }
2027
+ // operation - computed: true, optional: true, required: false
2028
+ _operation;
2029
+ get operation() {
2030
+ return this.getStringAttribute('operation');
2031
+ }
2032
+ set operation(value) {
2033
+ this._operation = value;
2034
+ }
2035
+ resetOperation() {
2036
+ this._operation = undefined;
2037
+ }
2038
+ // Temporarily expose input value. Use with caution.
2039
+ get operationInput() {
2040
+ return this._operation;
2041
+ }
2042
+ // progress - computed: false, optional: true, required: false
2043
+ _progress;
2044
+ get progress() {
2045
+ return this.getStringAttribute('progress');
2046
+ }
2047
+ set progress(value) {
2048
+ this._progress = value;
2049
+ }
2050
+ resetProgress() {
2051
+ this._progress = undefined;
2052
+ }
2053
+ // Temporarily expose input value. Use with caution.
2054
+ get progressInput() {
2055
+ return this._progress;
2056
+ }
2057
+ // start_time - computed: true, optional: true, required: false
2058
+ _startTime;
2059
+ get startTime() {
2060
+ return this.getStringAttribute('start_time');
2061
+ }
2062
+ set startTime(value) {
2063
+ this._startTime = value;
2064
+ }
2065
+ resetStartTime() {
2066
+ this._startTime = undefined;
2067
+ }
2068
+ // Temporarily expose input value. Use with caution.
2069
+ get startTimeInput() {
2070
+ return this._startTime;
2071
+ }
2072
+ // tasks_completed - computed: true, optional: true, required: false
2073
+ _tasksCompleted;
2074
+ get tasksCompleted() {
2075
+ return this.getStringAttribute('tasks_completed');
2076
+ }
2077
+ set tasksCompleted(value) {
2078
+ this._tasksCompleted = value;
2079
+ }
2080
+ resetTasksCompleted() {
2081
+ this._tasksCompleted = undefined;
2082
+ }
2083
+ // Temporarily expose input value. Use with caution.
2084
+ get tasksCompletedInput() {
2085
+ return this._tasksCompleted;
2086
+ }
2087
+ // total_tasks - computed: true, optional: true, required: false
2088
+ _totalTasks;
2089
+ get totalTasks() {
2090
+ return this.getStringAttribute('total_tasks');
2091
+ }
2092
+ set totalTasks(value) {
2093
+ this._totalTasks = value;
2094
+ }
2095
+ resetTotalTasks() {
2096
+ this._totalTasks = undefined;
2097
+ }
2098
+ // Temporarily expose input value. Use with caution.
2099
+ get totalTasksInput() {
2100
+ return this._totalTasks;
2101
+ }
2102
+ // worker - computed: true, optional: true, required: false
2103
+ _worker;
2104
+ get worker() {
2105
+ return this.getStringAttribute('worker');
2106
+ }
2107
+ set worker(value) {
2108
+ this._worker = value;
2109
+ }
2110
+ resetWorker() {
2111
+ this._worker = undefined;
2112
+ }
2113
+ // Temporarily expose input value. Use with caution.
2114
+ get workerInput() {
2115
+ return this._worker;
2116
+ }
2117
+ // params - computed: false, optional: true, required: false
2118
+ _params = new UpgradestatusinfoDryrunInfoParamsList(this, "params", true);
2119
+ get params() {
2120
+ return this._params;
2121
+ }
2122
+ putParams(value) {
2123
+ this._params.internalValue = value;
2124
+ }
2125
+ resetParams() {
2126
+ this._params.internalValue = undefined;
2127
+ }
2128
+ // Temporarily expose input value. Use with caution.
2129
+ get paramsInput() {
2130
+ return this._params.internalValue;
2131
+ }
2132
+ // state - computed: false, optional: true, required: false
2133
+ _state = new UpgradestatusinfoDryrunInfoStateList(this, "state", true);
2134
+ get state() {
2135
+ return this._state;
2136
+ }
2137
+ putState(value) {
2138
+ this._state.internalValue = value;
2139
+ }
2140
+ resetState() {
2141
+ this._state.internalValue = undefined;
2142
+ }
2143
+ // Temporarily expose input value. Use with caution.
2144
+ get stateInput() {
2145
+ return this._state.internalValue;
2146
+ }
2147
+ // upgrade_events - computed: false, optional: true, required: false
2148
+ _upgradeEvents = new UpgradestatusinfoDryrunInfoUpgradeEventsList(this, "upgrade_events", false);
2149
+ get upgradeEvents() {
2150
+ return this._upgradeEvents;
2151
+ }
2152
+ putUpgradeEvents(value) {
2153
+ this._upgradeEvents.internalValue = value;
2154
+ }
2155
+ resetUpgradeEvents() {
2156
+ this._upgradeEvents.internalValue = undefined;
2157
+ }
2158
+ // Temporarily expose input value. Use with caution.
2159
+ get upgradeEventsInput() {
2160
+ return this._upgradeEvents.internalValue;
2161
+ }
2162
+ }
2163
+ export class UpgradestatusinfoDryrunInfoList extends cdktf.ComplexList {
2164
+ terraformResource;
2165
+ terraformAttribute;
2166
+ wrapsSet;
2167
+ internalValue;
2168
+ /**
2169
+ * @param terraformResource The parent resource
2170
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2171
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2172
+ */
2173
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
2174
+ super(terraformResource, terraformAttribute, wrapsSet);
2175
+ this.terraformResource = terraformResource;
2176
+ this.terraformAttribute = terraformAttribute;
2177
+ this.wrapsSet = wrapsSet;
2178
+ }
2179
+ /**
2180
+ * @param index the index of the item to return
2181
+ */
2182
+ get(index) {
2183
+ return new UpgradestatusinfoDryrunInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
2184
+ }
2185
+ }
2186
+ export function upgradestatusinfoHistoryParamsControllerToTerraform(struct) {
2187
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2188
+ return struct;
2189
+ }
2190
+ if (cdktf.isComplexElement(struct)) {
2191
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2192
+ }
2193
+ return {
2194
+ task_base_timeout: cdktf.stringToTerraform(struct.taskBaseTimeout),
2195
+ };
2196
+ }
2197
+ export function upgradestatusinfoHistoryParamsControllerToHclTerraform(struct) {
2198
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2199
+ return struct;
2200
+ }
2201
+ if (cdktf.isComplexElement(struct)) {
2202
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2203
+ }
2204
+ const attrs = {
2205
+ task_base_timeout: {
2206
+ value: cdktf.stringToHclTerraform(struct.taskBaseTimeout),
2207
+ isBlock: false,
2208
+ type: "simple",
2209
+ storageClassType: "string",
2210
+ },
2211
+ };
2212
+ // remove undefined attributes
2213
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
2214
+ }
2215
+ export class UpgradestatusinfoHistoryParamsControllerOutputReference extends cdktf.ComplexObject {
2216
+ isEmptyObject = false;
2217
+ resolvableValue;
2218
+ /**
2219
+ * @param terraformResource The parent resource
2220
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2221
+ * @param complexObjectIndex the index of this item in the list
2222
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2223
+ */
2224
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
2225
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
2226
+ }
2227
+ get internalValue() {
2228
+ if (this.resolvableValue) {
2229
+ return this.resolvableValue;
2230
+ }
2231
+ let hasAnyValues = this.isEmptyObject;
2232
+ const internalValueResult = {};
2233
+ if (this._taskBaseTimeout !== undefined) {
2234
+ hasAnyValues = true;
2235
+ internalValueResult.taskBaseTimeout = this._taskBaseTimeout;
2236
+ }
2237
+ return hasAnyValues ? internalValueResult : undefined;
2238
+ }
2239
+ set internalValue(value) {
2240
+ if (value === undefined) {
2241
+ this.isEmptyObject = false;
2242
+ this.resolvableValue = undefined;
2243
+ this._taskBaseTimeout = undefined;
2244
+ }
2245
+ else if (cdktf.Tokenization.isResolvable(value)) {
2246
+ this.isEmptyObject = false;
2247
+ this.resolvableValue = value;
2248
+ }
2249
+ else {
2250
+ this.isEmptyObject = Object.keys(value).length === 0;
2251
+ this.resolvableValue = undefined;
2252
+ this._taskBaseTimeout = value.taskBaseTimeout;
2253
+ }
2254
+ }
2255
+ // task_base_timeout - computed: false, optional: true, required: false
2256
+ _taskBaseTimeout;
2257
+ get taskBaseTimeout() {
2258
+ return this.getStringAttribute('task_base_timeout');
2259
+ }
2260
+ set taskBaseTimeout(value) {
2261
+ this._taskBaseTimeout = value;
2262
+ }
2263
+ resetTaskBaseTimeout() {
2264
+ this._taskBaseTimeout = undefined;
2265
+ }
2266
+ // Temporarily expose input value. Use with caution.
2267
+ get taskBaseTimeoutInput() {
2268
+ return this._taskBaseTimeout;
2269
+ }
2270
+ }
2271
+ export class UpgradestatusinfoHistoryParamsControllerList extends cdktf.ComplexList {
2272
+ terraformResource;
2273
+ terraformAttribute;
2274
+ wrapsSet;
2275
+ internalValue;
2276
+ /**
2277
+ * @param terraformResource The parent resource
2278
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2279
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2280
+ */
2281
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
2282
+ super(terraformResource, terraformAttribute, wrapsSet);
2283
+ this.terraformResource = terraformResource;
2284
+ this.terraformAttribute = terraformAttribute;
2285
+ this.wrapsSet = wrapsSet;
2286
+ }
2287
+ /**
2288
+ * @param index the index of the item to return
2289
+ */
2290
+ get(index) {
2291
+ return new UpgradestatusinfoHistoryParamsControllerOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
2292
+ }
2293
+ }
2294
+ export function upgradestatusinfoHistoryParamsSeGroupOptionsToTerraform(struct) {
2295
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2296
+ return struct;
2297
+ }
2298
+ if (cdktf.isComplexElement(struct)) {
2299
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2300
+ }
2301
+ return {
2302
+ action_on_error: cdktf.stringToTerraform(struct.actionOnError),
2303
+ disruptive: cdktf.stringToTerraform(struct.disruptive),
2304
+ };
2305
+ }
2306
+ export function upgradestatusinfoHistoryParamsSeGroupOptionsToHclTerraform(struct) {
2307
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2308
+ return struct;
2309
+ }
2310
+ if (cdktf.isComplexElement(struct)) {
2311
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2312
+ }
2313
+ const attrs = {
2314
+ action_on_error: {
2315
+ value: cdktf.stringToHclTerraform(struct.actionOnError),
2316
+ isBlock: false,
2317
+ type: "simple",
2318
+ storageClassType: "string",
2319
+ },
2320
+ disruptive: {
2321
+ value: cdktf.stringToHclTerraform(struct.disruptive),
2322
+ isBlock: false,
2323
+ type: "simple",
2324
+ storageClassType: "string",
2325
+ },
2326
+ };
2327
+ // remove undefined attributes
2328
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
2329
+ }
2330
+ export class UpgradestatusinfoHistoryParamsSeGroupOptionsOutputReference extends cdktf.ComplexObject {
2331
+ isEmptyObject = false;
2332
+ resolvableValue;
2333
+ /**
2334
+ * @param terraformResource The parent resource
2335
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2336
+ * @param complexObjectIndex the index of this item in the list
2337
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2338
+ */
2339
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
2340
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
2341
+ }
2342
+ get internalValue() {
2343
+ if (this.resolvableValue) {
2344
+ return this.resolvableValue;
2345
+ }
2346
+ let hasAnyValues = this.isEmptyObject;
2347
+ const internalValueResult = {};
2348
+ if (this._actionOnError !== undefined) {
2349
+ hasAnyValues = true;
2350
+ internalValueResult.actionOnError = this._actionOnError;
2351
+ }
2352
+ if (this._disruptive !== undefined) {
2353
+ hasAnyValues = true;
2354
+ internalValueResult.disruptive = this._disruptive;
2355
+ }
2356
+ return hasAnyValues ? internalValueResult : undefined;
2357
+ }
2358
+ set internalValue(value) {
2359
+ if (value === undefined) {
2360
+ this.isEmptyObject = false;
2361
+ this.resolvableValue = undefined;
2362
+ this._actionOnError = undefined;
2363
+ this._disruptive = undefined;
2364
+ }
2365
+ else if (cdktf.Tokenization.isResolvable(value)) {
2366
+ this.isEmptyObject = false;
2367
+ this.resolvableValue = value;
2368
+ }
2369
+ else {
2370
+ this.isEmptyObject = Object.keys(value).length === 0;
2371
+ this.resolvableValue = undefined;
2372
+ this._actionOnError = value.actionOnError;
2373
+ this._disruptive = value.disruptive;
2374
+ }
2375
+ }
2376
+ // action_on_error - computed: false, optional: true, required: false
2377
+ _actionOnError;
2378
+ get actionOnError() {
2379
+ return this.getStringAttribute('action_on_error');
2380
+ }
2381
+ set actionOnError(value) {
2382
+ this._actionOnError = value;
2383
+ }
2384
+ resetActionOnError() {
2385
+ this._actionOnError = undefined;
2386
+ }
2387
+ // Temporarily expose input value. Use with caution.
2388
+ get actionOnErrorInput() {
2389
+ return this._actionOnError;
2390
+ }
2391
+ // disruptive - computed: false, optional: true, required: false
2392
+ _disruptive;
2393
+ get disruptive() {
2394
+ return this.getStringAttribute('disruptive');
2395
+ }
2396
+ set disruptive(value) {
2397
+ this._disruptive = value;
2398
+ }
2399
+ resetDisruptive() {
2400
+ this._disruptive = undefined;
2401
+ }
2402
+ // Temporarily expose input value. Use with caution.
2403
+ get disruptiveInput() {
2404
+ return this._disruptive;
2405
+ }
2406
+ }
2407
+ export class UpgradestatusinfoHistoryParamsSeGroupOptionsList extends cdktf.ComplexList {
2408
+ terraformResource;
2409
+ terraformAttribute;
2410
+ wrapsSet;
2411
+ internalValue;
2412
+ /**
2413
+ * @param terraformResource The parent resource
2414
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2415
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2416
+ */
2417
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
2418
+ super(terraformResource, terraformAttribute, wrapsSet);
2419
+ this.terraformResource = terraformResource;
2420
+ this.terraformAttribute = terraformAttribute;
2421
+ this.wrapsSet = wrapsSet;
2422
+ }
2423
+ /**
2424
+ * @param index the index of the item to return
2425
+ */
2426
+ get(index) {
2427
+ return new UpgradestatusinfoHistoryParamsSeGroupOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
2428
+ }
2429
+ }
2430
+ export function upgradestatusinfoHistoryParamsSeGroupResumeOptionsToTerraform(struct) {
2431
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2432
+ return struct;
2433
+ }
2434
+ if (cdktf.isComplexElement(struct)) {
2435
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2436
+ }
2437
+ return {
2438
+ action_on_error: cdktf.stringToTerraform(struct.actionOnError),
2439
+ disruptive: cdktf.stringToTerraform(struct.disruptive),
2440
+ skip_suspended: cdktf.stringToTerraform(struct.skipSuspended),
2441
+ };
2442
+ }
2443
+ export function upgradestatusinfoHistoryParamsSeGroupResumeOptionsToHclTerraform(struct) {
2444
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2445
+ return struct;
2446
+ }
2447
+ if (cdktf.isComplexElement(struct)) {
2448
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2449
+ }
2450
+ const attrs = {
2451
+ action_on_error: {
2452
+ value: cdktf.stringToHclTerraform(struct.actionOnError),
2453
+ isBlock: false,
2454
+ type: "simple",
2455
+ storageClassType: "string",
2456
+ },
2457
+ disruptive: {
2458
+ value: cdktf.stringToHclTerraform(struct.disruptive),
2459
+ isBlock: false,
2460
+ type: "simple",
2461
+ storageClassType: "string",
2462
+ },
2463
+ skip_suspended: {
2464
+ value: cdktf.stringToHclTerraform(struct.skipSuspended),
2465
+ isBlock: false,
2466
+ type: "simple",
2467
+ storageClassType: "string",
2468
+ },
2469
+ };
2470
+ // remove undefined attributes
2471
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
2472
+ }
2473
+ export class UpgradestatusinfoHistoryParamsSeGroupResumeOptionsOutputReference extends cdktf.ComplexObject {
2474
+ isEmptyObject = false;
2475
+ resolvableValue;
2476
+ /**
2477
+ * @param terraformResource The parent resource
2478
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2479
+ * @param complexObjectIndex the index of this item in the list
2480
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2481
+ */
2482
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
2483
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
2484
+ }
2485
+ get internalValue() {
2486
+ if (this.resolvableValue) {
2487
+ return this.resolvableValue;
2488
+ }
2489
+ let hasAnyValues = this.isEmptyObject;
2490
+ const internalValueResult = {};
2491
+ if (this._actionOnError !== undefined) {
2492
+ hasAnyValues = true;
2493
+ internalValueResult.actionOnError = this._actionOnError;
2494
+ }
2495
+ if (this._disruptive !== undefined) {
2496
+ hasAnyValues = true;
2497
+ internalValueResult.disruptive = this._disruptive;
2498
+ }
2499
+ if (this._skipSuspended !== undefined) {
2500
+ hasAnyValues = true;
2501
+ internalValueResult.skipSuspended = this._skipSuspended;
2502
+ }
2503
+ return hasAnyValues ? internalValueResult : undefined;
2504
+ }
2505
+ set internalValue(value) {
2506
+ if (value === undefined) {
2507
+ this.isEmptyObject = false;
2508
+ this.resolvableValue = undefined;
2509
+ this._actionOnError = undefined;
2510
+ this._disruptive = undefined;
2511
+ this._skipSuspended = undefined;
2512
+ }
2513
+ else if (cdktf.Tokenization.isResolvable(value)) {
2514
+ this.isEmptyObject = false;
2515
+ this.resolvableValue = value;
2516
+ }
2517
+ else {
2518
+ this.isEmptyObject = Object.keys(value).length === 0;
2519
+ this.resolvableValue = undefined;
2520
+ this._actionOnError = value.actionOnError;
2521
+ this._disruptive = value.disruptive;
2522
+ this._skipSuspended = value.skipSuspended;
2523
+ }
2524
+ }
2525
+ // action_on_error - computed: false, optional: true, required: false
2526
+ _actionOnError;
2527
+ get actionOnError() {
2528
+ return this.getStringAttribute('action_on_error');
2529
+ }
2530
+ set actionOnError(value) {
2531
+ this._actionOnError = value;
2532
+ }
2533
+ resetActionOnError() {
2534
+ this._actionOnError = undefined;
2535
+ }
2536
+ // Temporarily expose input value. Use with caution.
2537
+ get actionOnErrorInput() {
2538
+ return this._actionOnError;
2539
+ }
2540
+ // disruptive - computed: false, optional: true, required: false
2541
+ _disruptive;
2542
+ get disruptive() {
2543
+ return this.getStringAttribute('disruptive');
2544
+ }
2545
+ set disruptive(value) {
2546
+ this._disruptive = value;
2547
+ }
2548
+ resetDisruptive() {
2549
+ this._disruptive = undefined;
2550
+ }
2551
+ // Temporarily expose input value. Use with caution.
2552
+ get disruptiveInput() {
2553
+ return this._disruptive;
2554
+ }
2555
+ // skip_suspended - computed: false, optional: true, required: false
2556
+ _skipSuspended;
2557
+ get skipSuspended() {
2558
+ return this.getStringAttribute('skip_suspended');
2559
+ }
2560
+ set skipSuspended(value) {
2561
+ this._skipSuspended = value;
2562
+ }
2563
+ resetSkipSuspended() {
2564
+ this._skipSuspended = undefined;
2565
+ }
2566
+ // Temporarily expose input value. Use with caution.
2567
+ get skipSuspendedInput() {
2568
+ return this._skipSuspended;
2569
+ }
2570
+ }
2571
+ export class UpgradestatusinfoHistoryParamsSeGroupResumeOptionsList extends cdktf.ComplexList {
2572
+ terraformResource;
2573
+ terraformAttribute;
2574
+ wrapsSet;
2575
+ internalValue;
2576
+ /**
2577
+ * @param terraformResource The parent resource
2578
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2579
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2580
+ */
2581
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
2582
+ super(terraformResource, terraformAttribute, wrapsSet);
2583
+ this.terraformResource = terraformResource;
2584
+ this.terraformAttribute = terraformAttribute;
2585
+ this.wrapsSet = wrapsSet;
2586
+ }
2587
+ /**
2588
+ * @param index the index of the item to return
2589
+ */
2590
+ get(index) {
2591
+ return new UpgradestatusinfoHistoryParamsSeGroupResumeOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
2592
+ }
2593
+ }
2594
+ export function upgradestatusinfoHistoryParamsServiceEngineToTerraform(struct) {
2595
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2596
+ return struct;
2597
+ }
2598
+ if (cdktf.isComplexElement(struct)) {
2599
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2600
+ }
2601
+ return {
2602
+ concurrent_segroup_upgrades: cdktf.stringToTerraform(struct.concurrentSegroupUpgrades),
2603
+ image_data_transfer_size: cdktf.stringToTerraform(struct.imageDataTransferSize),
2604
+ large_se_connect_timeout: cdktf.stringToTerraform(struct.largeSeConnectTimeout),
2605
+ se_connect_timeout: cdktf.stringToTerraform(struct.seConnectTimeout),
2606
+ simultaneous_image_downloads: cdktf.stringToTerraform(struct.simultaneousImageDownloads),
2607
+ task_base_timeout: cdktf.stringToTerraform(struct.taskBaseTimeout),
2608
+ };
2609
+ }
2610
+ export function upgradestatusinfoHistoryParamsServiceEngineToHclTerraform(struct) {
2611
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2612
+ return struct;
2613
+ }
2614
+ if (cdktf.isComplexElement(struct)) {
2615
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2616
+ }
2617
+ const attrs = {
2618
+ concurrent_segroup_upgrades: {
2619
+ value: cdktf.stringToHclTerraform(struct.concurrentSegroupUpgrades),
2620
+ isBlock: false,
2621
+ type: "simple",
2622
+ storageClassType: "string",
2623
+ },
2624
+ image_data_transfer_size: {
2625
+ value: cdktf.stringToHclTerraform(struct.imageDataTransferSize),
2626
+ isBlock: false,
2627
+ type: "simple",
2628
+ storageClassType: "string",
2629
+ },
2630
+ large_se_connect_timeout: {
2631
+ value: cdktf.stringToHclTerraform(struct.largeSeConnectTimeout),
2632
+ isBlock: false,
2633
+ type: "simple",
2634
+ storageClassType: "string",
2635
+ },
2636
+ se_connect_timeout: {
2637
+ value: cdktf.stringToHclTerraform(struct.seConnectTimeout),
2638
+ isBlock: false,
2639
+ type: "simple",
2640
+ storageClassType: "string",
2641
+ },
2642
+ simultaneous_image_downloads: {
2643
+ value: cdktf.stringToHclTerraform(struct.simultaneousImageDownloads),
2644
+ isBlock: false,
2645
+ type: "simple",
2646
+ storageClassType: "string",
2647
+ },
2648
+ task_base_timeout: {
2649
+ value: cdktf.stringToHclTerraform(struct.taskBaseTimeout),
2650
+ isBlock: false,
2651
+ type: "simple",
2652
+ storageClassType: "string",
2653
+ },
2654
+ };
2655
+ // remove undefined attributes
2656
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
2657
+ }
2658
+ export class UpgradestatusinfoHistoryParamsServiceEngineOutputReference extends cdktf.ComplexObject {
2659
+ isEmptyObject = false;
2660
+ resolvableValue;
2661
+ /**
2662
+ * @param terraformResource The parent resource
2663
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2664
+ * @param complexObjectIndex the index of this item in the list
2665
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2666
+ */
2667
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
2668
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
2669
+ }
2670
+ get internalValue() {
2671
+ if (this.resolvableValue) {
2672
+ return this.resolvableValue;
2673
+ }
2674
+ let hasAnyValues = this.isEmptyObject;
2675
+ const internalValueResult = {};
2676
+ if (this._concurrentSegroupUpgrades !== undefined) {
2677
+ hasAnyValues = true;
2678
+ internalValueResult.concurrentSegroupUpgrades = this._concurrentSegroupUpgrades;
2679
+ }
2680
+ if (this._imageDataTransferSize !== undefined) {
2681
+ hasAnyValues = true;
2682
+ internalValueResult.imageDataTransferSize = this._imageDataTransferSize;
2683
+ }
2684
+ if (this._largeSeConnectTimeout !== undefined) {
2685
+ hasAnyValues = true;
2686
+ internalValueResult.largeSeConnectTimeout = this._largeSeConnectTimeout;
2687
+ }
2688
+ if (this._seConnectTimeout !== undefined) {
2689
+ hasAnyValues = true;
2690
+ internalValueResult.seConnectTimeout = this._seConnectTimeout;
2691
+ }
2692
+ if (this._simultaneousImageDownloads !== undefined) {
2693
+ hasAnyValues = true;
2694
+ internalValueResult.simultaneousImageDownloads = this._simultaneousImageDownloads;
2695
+ }
2696
+ if (this._taskBaseTimeout !== undefined) {
2697
+ hasAnyValues = true;
2698
+ internalValueResult.taskBaseTimeout = this._taskBaseTimeout;
2699
+ }
2700
+ return hasAnyValues ? internalValueResult : undefined;
2701
+ }
2702
+ set internalValue(value) {
2703
+ if (value === undefined) {
2704
+ this.isEmptyObject = false;
2705
+ this.resolvableValue = undefined;
2706
+ this._concurrentSegroupUpgrades = undefined;
2707
+ this._imageDataTransferSize = undefined;
2708
+ this._largeSeConnectTimeout = undefined;
2709
+ this._seConnectTimeout = undefined;
2710
+ this._simultaneousImageDownloads = undefined;
2711
+ this._taskBaseTimeout = undefined;
2712
+ }
2713
+ else if (cdktf.Tokenization.isResolvable(value)) {
2714
+ this.isEmptyObject = false;
2715
+ this.resolvableValue = value;
2716
+ }
2717
+ else {
2718
+ this.isEmptyObject = Object.keys(value).length === 0;
2719
+ this.resolvableValue = undefined;
2720
+ this._concurrentSegroupUpgrades = value.concurrentSegroupUpgrades;
2721
+ this._imageDataTransferSize = value.imageDataTransferSize;
2722
+ this._largeSeConnectTimeout = value.largeSeConnectTimeout;
2723
+ this._seConnectTimeout = value.seConnectTimeout;
2724
+ this._simultaneousImageDownloads = value.simultaneousImageDownloads;
2725
+ this._taskBaseTimeout = value.taskBaseTimeout;
2726
+ }
2727
+ }
2728
+ // concurrent_segroup_upgrades - computed: false, optional: true, required: false
2729
+ _concurrentSegroupUpgrades;
2730
+ get concurrentSegroupUpgrades() {
2731
+ return this.getStringAttribute('concurrent_segroup_upgrades');
2732
+ }
2733
+ set concurrentSegroupUpgrades(value) {
2734
+ this._concurrentSegroupUpgrades = value;
2735
+ }
2736
+ resetConcurrentSegroupUpgrades() {
2737
+ this._concurrentSegroupUpgrades = undefined;
2738
+ }
2739
+ // Temporarily expose input value. Use with caution.
2740
+ get concurrentSegroupUpgradesInput() {
2741
+ return this._concurrentSegroupUpgrades;
2742
+ }
2743
+ // image_data_transfer_size - computed: false, optional: true, required: false
2744
+ _imageDataTransferSize;
2745
+ get imageDataTransferSize() {
2746
+ return this.getStringAttribute('image_data_transfer_size');
2747
+ }
2748
+ set imageDataTransferSize(value) {
2749
+ this._imageDataTransferSize = value;
2750
+ }
2751
+ resetImageDataTransferSize() {
2752
+ this._imageDataTransferSize = undefined;
2753
+ }
2754
+ // Temporarily expose input value. Use with caution.
2755
+ get imageDataTransferSizeInput() {
2756
+ return this._imageDataTransferSize;
2757
+ }
2758
+ // large_se_connect_timeout - computed: false, optional: true, required: false
2759
+ _largeSeConnectTimeout;
2760
+ get largeSeConnectTimeout() {
2761
+ return this.getStringAttribute('large_se_connect_timeout');
2762
+ }
2763
+ set largeSeConnectTimeout(value) {
2764
+ this._largeSeConnectTimeout = value;
2765
+ }
2766
+ resetLargeSeConnectTimeout() {
2767
+ this._largeSeConnectTimeout = undefined;
2768
+ }
2769
+ // Temporarily expose input value. Use with caution.
2770
+ get largeSeConnectTimeoutInput() {
2771
+ return this._largeSeConnectTimeout;
2772
+ }
2773
+ // se_connect_timeout - computed: false, optional: true, required: false
2774
+ _seConnectTimeout;
2775
+ get seConnectTimeout() {
2776
+ return this.getStringAttribute('se_connect_timeout');
2777
+ }
2778
+ set seConnectTimeout(value) {
2779
+ this._seConnectTimeout = value;
2780
+ }
2781
+ resetSeConnectTimeout() {
2782
+ this._seConnectTimeout = undefined;
2783
+ }
2784
+ // Temporarily expose input value. Use with caution.
2785
+ get seConnectTimeoutInput() {
2786
+ return this._seConnectTimeout;
2787
+ }
2788
+ // simultaneous_image_downloads - computed: false, optional: true, required: false
2789
+ _simultaneousImageDownloads;
2790
+ get simultaneousImageDownloads() {
2791
+ return this.getStringAttribute('simultaneous_image_downloads');
2792
+ }
2793
+ set simultaneousImageDownloads(value) {
2794
+ this._simultaneousImageDownloads = value;
2795
+ }
2796
+ resetSimultaneousImageDownloads() {
2797
+ this._simultaneousImageDownloads = undefined;
2798
+ }
2799
+ // Temporarily expose input value. Use with caution.
2800
+ get simultaneousImageDownloadsInput() {
2801
+ return this._simultaneousImageDownloads;
2802
+ }
2803
+ // task_base_timeout - computed: false, optional: true, required: false
2804
+ _taskBaseTimeout;
2805
+ get taskBaseTimeout() {
2806
+ return this.getStringAttribute('task_base_timeout');
2807
+ }
2808
+ set taskBaseTimeout(value) {
2809
+ this._taskBaseTimeout = value;
2810
+ }
2811
+ resetTaskBaseTimeout() {
2812
+ this._taskBaseTimeout = undefined;
2813
+ }
2814
+ // Temporarily expose input value. Use with caution.
2815
+ get taskBaseTimeoutInput() {
2816
+ return this._taskBaseTimeout;
2817
+ }
2818
+ }
2819
+ export class UpgradestatusinfoHistoryParamsServiceEngineList extends cdktf.ComplexList {
2820
+ terraformResource;
2821
+ terraformAttribute;
2822
+ wrapsSet;
2823
+ internalValue;
2824
+ /**
2825
+ * @param terraformResource The parent resource
2826
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2827
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2828
+ */
2829
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
2830
+ super(terraformResource, terraformAttribute, wrapsSet);
2831
+ this.terraformResource = terraformResource;
2832
+ this.terraformAttribute = terraformAttribute;
2833
+ this.wrapsSet = wrapsSet;
2834
+ }
2835
+ /**
2836
+ * @param index the index of the item to return
2837
+ */
2838
+ get(index) {
2839
+ return new UpgradestatusinfoHistoryParamsServiceEngineOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
2840
+ }
2841
+ }
2842
+ export function upgradestatusinfoHistoryParamsToTerraform(struct) {
2843
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2844
+ return struct;
2845
+ }
2846
+ if (cdktf.isComplexElement(struct)) {
2847
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2848
+ }
2849
+ return {
2850
+ image_ref: cdktf.stringToTerraform(struct.imageRef),
2851
+ patch_ref: cdktf.stringToTerraform(struct.patchRef),
2852
+ controller: cdktf.listMapper(upgradestatusinfoHistoryParamsControllerToTerraform, true)(struct.controller),
2853
+ se_group_options: cdktf.listMapper(upgradestatusinfoHistoryParamsSeGroupOptionsToTerraform, true)(struct.seGroupOptions),
2854
+ se_group_resume_options: cdktf.listMapper(upgradestatusinfoHistoryParamsSeGroupResumeOptionsToTerraform, true)(struct.seGroupResumeOptions),
2855
+ service_engine: cdktf.listMapper(upgradestatusinfoHistoryParamsServiceEngineToTerraform, true)(struct.serviceEngine),
2856
+ };
2857
+ }
2858
+ export function upgradestatusinfoHistoryParamsToHclTerraform(struct) {
2859
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
2860
+ return struct;
2861
+ }
2862
+ if (cdktf.isComplexElement(struct)) {
2863
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2864
+ }
2865
+ const attrs = {
2866
+ image_ref: {
2867
+ value: cdktf.stringToHclTerraform(struct.imageRef),
2868
+ isBlock: false,
2869
+ type: "simple",
2870
+ storageClassType: "string",
2871
+ },
2872
+ patch_ref: {
2873
+ value: cdktf.stringToHclTerraform(struct.patchRef),
2874
+ isBlock: false,
2875
+ type: "simple",
2876
+ storageClassType: "string",
2877
+ },
2878
+ controller: {
2879
+ value: cdktf.listMapperHcl(upgradestatusinfoHistoryParamsControllerToHclTerraform, true)(struct.controller),
2880
+ isBlock: true,
2881
+ type: "set",
2882
+ storageClassType: "UpgradestatusinfoHistoryParamsControllerList",
2883
+ },
2884
+ se_group_options: {
2885
+ value: cdktf.listMapperHcl(upgradestatusinfoHistoryParamsSeGroupOptionsToHclTerraform, true)(struct.seGroupOptions),
2886
+ isBlock: true,
2887
+ type: "set",
2888
+ storageClassType: "UpgradestatusinfoHistoryParamsSeGroupOptionsList",
2889
+ },
2890
+ se_group_resume_options: {
2891
+ value: cdktf.listMapperHcl(upgradestatusinfoHistoryParamsSeGroupResumeOptionsToHclTerraform, true)(struct.seGroupResumeOptions),
2892
+ isBlock: true,
2893
+ type: "set",
2894
+ storageClassType: "UpgradestatusinfoHistoryParamsSeGroupResumeOptionsList",
2895
+ },
2896
+ service_engine: {
2897
+ value: cdktf.listMapperHcl(upgradestatusinfoHistoryParamsServiceEngineToHclTerraform, true)(struct.serviceEngine),
2898
+ isBlock: true,
2899
+ type: "set",
2900
+ storageClassType: "UpgradestatusinfoHistoryParamsServiceEngineList",
2901
+ },
2902
+ };
2903
+ // remove undefined attributes
2904
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
2905
+ }
2906
+ export class UpgradestatusinfoHistoryParamsOutputReference extends cdktf.ComplexObject {
2907
+ isEmptyObject = false;
2908
+ resolvableValue;
2909
+ /**
2910
+ * @param terraformResource The parent resource
2911
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
2912
+ * @param complexObjectIndex the index of this item in the list
2913
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2914
+ */
2915
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
2916
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
2917
+ }
2918
+ get internalValue() {
2919
+ if (this.resolvableValue) {
2920
+ return this.resolvableValue;
2921
+ }
2922
+ let hasAnyValues = this.isEmptyObject;
2923
+ const internalValueResult = {};
2924
+ if (this._imageRef !== undefined) {
2925
+ hasAnyValues = true;
2926
+ internalValueResult.imageRef = this._imageRef;
2927
+ }
2928
+ if (this._patchRef !== undefined) {
2929
+ hasAnyValues = true;
2930
+ internalValueResult.patchRef = this._patchRef;
2931
+ }
2932
+ if (this._controller?.internalValue !== undefined) {
2933
+ hasAnyValues = true;
2934
+ internalValueResult.controller = this._controller?.internalValue;
2935
+ }
2936
+ if (this._seGroupOptions?.internalValue !== undefined) {
2937
+ hasAnyValues = true;
2938
+ internalValueResult.seGroupOptions = this._seGroupOptions?.internalValue;
2939
+ }
2940
+ if (this._seGroupResumeOptions?.internalValue !== undefined) {
2941
+ hasAnyValues = true;
2942
+ internalValueResult.seGroupResumeOptions = this._seGroupResumeOptions?.internalValue;
2943
+ }
2944
+ if (this._serviceEngine?.internalValue !== undefined) {
2945
+ hasAnyValues = true;
2946
+ internalValueResult.serviceEngine = this._serviceEngine?.internalValue;
2947
+ }
2948
+ return hasAnyValues ? internalValueResult : undefined;
2949
+ }
2950
+ set internalValue(value) {
2951
+ if (value === undefined) {
2952
+ this.isEmptyObject = false;
2953
+ this.resolvableValue = undefined;
2954
+ this._imageRef = undefined;
2955
+ this._patchRef = undefined;
2956
+ this._controller.internalValue = undefined;
2957
+ this._seGroupOptions.internalValue = undefined;
2958
+ this._seGroupResumeOptions.internalValue = undefined;
2959
+ this._serviceEngine.internalValue = undefined;
2960
+ }
2961
+ else if (cdktf.Tokenization.isResolvable(value)) {
2962
+ this.isEmptyObject = false;
2963
+ this.resolvableValue = value;
2964
+ }
2965
+ else {
2966
+ this.isEmptyObject = Object.keys(value).length === 0;
2967
+ this.resolvableValue = undefined;
2968
+ this._imageRef = value.imageRef;
2969
+ this._patchRef = value.patchRef;
2970
+ this._controller.internalValue = value.controller;
2971
+ this._seGroupOptions.internalValue = value.seGroupOptions;
2972
+ this._seGroupResumeOptions.internalValue = value.seGroupResumeOptions;
2973
+ this._serviceEngine.internalValue = value.serviceEngine;
2974
+ }
2975
+ }
2976
+ // image_ref - computed: true, optional: true, required: false
2977
+ _imageRef;
2978
+ get imageRef() {
2979
+ return this.getStringAttribute('image_ref');
2980
+ }
2981
+ set imageRef(value) {
2982
+ this._imageRef = value;
2983
+ }
2984
+ resetImageRef() {
2985
+ this._imageRef = undefined;
2986
+ }
2987
+ // Temporarily expose input value. Use with caution.
2988
+ get imageRefInput() {
2989
+ return this._imageRef;
2990
+ }
2991
+ // patch_ref - computed: true, optional: true, required: false
2992
+ _patchRef;
2993
+ get patchRef() {
2994
+ return this.getStringAttribute('patch_ref');
2995
+ }
2996
+ set patchRef(value) {
2997
+ this._patchRef = value;
2998
+ }
2999
+ resetPatchRef() {
3000
+ this._patchRef = undefined;
3001
+ }
3002
+ // Temporarily expose input value. Use with caution.
3003
+ get patchRefInput() {
3004
+ return this._patchRef;
3005
+ }
3006
+ // controller - computed: false, optional: true, required: false
3007
+ _controller = new UpgradestatusinfoHistoryParamsControllerList(this, "controller", true);
3008
+ get controller() {
3009
+ return this._controller;
3010
+ }
3011
+ putController(value) {
3012
+ this._controller.internalValue = value;
3013
+ }
3014
+ resetController() {
3015
+ this._controller.internalValue = undefined;
3016
+ }
3017
+ // Temporarily expose input value. Use with caution.
3018
+ get controllerInput() {
3019
+ return this._controller.internalValue;
3020
+ }
3021
+ // se_group_options - computed: false, optional: true, required: false
3022
+ _seGroupOptions = new UpgradestatusinfoHistoryParamsSeGroupOptionsList(this, "se_group_options", true);
3023
+ get seGroupOptions() {
3024
+ return this._seGroupOptions;
3025
+ }
3026
+ putSeGroupOptions(value) {
3027
+ this._seGroupOptions.internalValue = value;
3028
+ }
3029
+ resetSeGroupOptions() {
3030
+ this._seGroupOptions.internalValue = undefined;
3031
+ }
3032
+ // Temporarily expose input value. Use with caution.
3033
+ get seGroupOptionsInput() {
3034
+ return this._seGroupOptions.internalValue;
3035
+ }
3036
+ // se_group_resume_options - computed: false, optional: true, required: false
3037
+ _seGroupResumeOptions = new UpgradestatusinfoHistoryParamsSeGroupResumeOptionsList(this, "se_group_resume_options", true);
3038
+ get seGroupResumeOptions() {
3039
+ return this._seGroupResumeOptions;
3040
+ }
3041
+ putSeGroupResumeOptions(value) {
3042
+ this._seGroupResumeOptions.internalValue = value;
3043
+ }
3044
+ resetSeGroupResumeOptions() {
3045
+ this._seGroupResumeOptions.internalValue = undefined;
3046
+ }
3047
+ // Temporarily expose input value. Use with caution.
3048
+ get seGroupResumeOptionsInput() {
3049
+ return this._seGroupResumeOptions.internalValue;
3050
+ }
3051
+ // service_engine - computed: false, optional: true, required: false
3052
+ _serviceEngine = new UpgradestatusinfoHistoryParamsServiceEngineList(this, "service_engine", true);
3053
+ get serviceEngine() {
3054
+ return this._serviceEngine;
3055
+ }
3056
+ putServiceEngine(value) {
3057
+ this._serviceEngine.internalValue = value;
3058
+ }
3059
+ resetServiceEngine() {
3060
+ this._serviceEngine.internalValue = undefined;
3061
+ }
3062
+ // Temporarily expose input value. Use with caution.
3063
+ get serviceEngineInput() {
3064
+ return this._serviceEngine.internalValue;
3065
+ }
3066
+ }
3067
+ export class UpgradestatusinfoHistoryParamsList extends cdktf.ComplexList {
3068
+ terraformResource;
3069
+ terraformAttribute;
3070
+ wrapsSet;
3071
+ internalValue;
3072
+ /**
3073
+ * @param terraformResource The parent resource
3074
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
3075
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
3076
+ */
3077
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
3078
+ super(terraformResource, terraformAttribute, wrapsSet);
3079
+ this.terraformResource = terraformResource;
3080
+ this.terraformAttribute = terraformAttribute;
3081
+ this.wrapsSet = wrapsSet;
3082
+ }
3083
+ /**
3084
+ * @param index the index of the item to return
3085
+ */
3086
+ get(index) {
3087
+ return new UpgradestatusinfoHistoryParamsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
3088
+ }
3089
+ }
4
3090
  export function upgradestatusinfoHistorySeUpgradeEventsToTerraform(struct) {
5
3091
  if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
6
3092
  return struct;
@@ -4004,6 +7090,7 @@ export function upgradestatusinfoHistoryToTerraform(struct) {
4004
7090
  start_time: cdktf.stringToTerraform(struct.startTime),
4005
7091
  statediff_ref: cdktf.stringToTerraform(struct.statediffRef),
4006
7092
  version: cdktf.stringToTerraform(struct.version),
7093
+ params: cdktf.listMapper(upgradestatusinfoHistoryParamsToTerraform, true)(struct.params),
4007
7094
  se_upgrade_events: cdktf.listMapper(upgradestatusinfoHistorySeUpgradeEventsToTerraform, true)(struct.seUpgradeEvents),
4008
7095
  seg_status: cdktf.listMapper(upgradestatusinfoHistorySegStatusToTerraform, true)(struct.segStatus),
4009
7096
  state: cdktf.listMapper(upgradestatusinfoHistoryStateToTerraform, true)(struct.state),
@@ -4060,6 +7147,12 @@ export function upgradestatusinfoHistoryToHclTerraform(struct) {
4060
7147
  type: "simple",
4061
7148
  storageClassType: "string",
4062
7149
  },
7150
+ params: {
7151
+ value: cdktf.listMapperHcl(upgradestatusinfoHistoryParamsToHclTerraform, true)(struct.params),
7152
+ isBlock: true,
7153
+ type: "set",
7154
+ storageClassType: "UpgradestatusinfoHistoryParamsList",
7155
+ },
4063
7156
  se_upgrade_events: {
4064
7157
  value: cdktf.listMapperHcl(upgradestatusinfoHistorySeUpgradeEventsToHclTerraform, true)(struct.seUpgradeEvents),
4065
7158
  isBlock: true,
@@ -4134,6 +7227,10 @@ export class UpgradestatusinfoHistoryOutputReference extends cdktf.ComplexObject
4134
7227
  hasAnyValues = true;
4135
7228
  internalValueResult.version = this._version;
4136
7229
  }
7230
+ if (this._params?.internalValue !== undefined) {
7231
+ hasAnyValues = true;
7232
+ internalValueResult.params = this._params?.internalValue;
7233
+ }
4137
7234
  if (this._seUpgradeEvents?.internalValue !== undefined) {
4138
7235
  hasAnyValues = true;
4139
7236
  internalValueResult.seUpgradeEvents = this._seUpgradeEvents?.internalValue;
@@ -4163,6 +7260,7 @@ export class UpgradestatusinfoHistoryOutputReference extends cdktf.ComplexObject
4163
7260
  this._startTime = undefined;
4164
7261
  this._statediffRef = undefined;
4165
7262
  this._version = undefined;
7263
+ this._params.internalValue = undefined;
4166
7264
  this._seUpgradeEvents.internalValue = undefined;
4167
7265
  this._segStatus.internalValue = undefined;
4168
7266
  this._state.internalValue = undefined;
@@ -4182,6 +7280,7 @@ export class UpgradestatusinfoHistoryOutputReference extends cdktf.ComplexObject
4182
7280
  this._startTime = value.startTime;
4183
7281
  this._statediffRef = value.statediffRef;
4184
7282
  this._version = value.version;
7283
+ this._params.internalValue = value.params;
4185
7284
  this._seUpgradeEvents.internalValue = value.seUpgradeEvents;
4186
7285
  this._segStatus.internalValue = value.segStatus;
4187
7286
  this._state.internalValue = value.state;
@@ -4293,6 +7392,21 @@ export class UpgradestatusinfoHistoryOutputReference extends cdktf.ComplexObject
4293
7392
  get versionInput() {
4294
7393
  return this._version;
4295
7394
  }
7395
+ // params - computed: false, optional: true, required: false
7396
+ _params = new UpgradestatusinfoHistoryParamsList(this, "params", true);
7397
+ get params() {
7398
+ return this._params;
7399
+ }
7400
+ putParams(value) {
7401
+ this._params.internalValue = value;
7402
+ }
7403
+ resetParams() {
7404
+ this._params.internalValue = undefined;
7405
+ }
7406
+ // Temporarily expose input value. Use with caution.
7407
+ get paramsInput() {
7408
+ return this._params.internalValue;
7409
+ }
4296
7410
  // se_upgrade_events - computed: false, optional: true, required: false
4297
7411
  _seUpgradeEvents = new UpgradestatusinfoHistorySeUpgradeEventsList(this, "se_upgrade_events", false);
4298
7412
  get seUpgradeEvents() {
@@ -4334,27 +7448,135 @@ export class UpgradestatusinfoHistoryOutputReference extends cdktf.ComplexObject
4334
7448
  resetState() {
4335
7449
  this._state.internalValue = undefined;
4336
7450
  }
4337
- // Temporarily expose input value. Use with caution.
4338
- get stateInput() {
4339
- return this._state.internalValue;
7451
+ // Temporarily expose input value. Use with caution.
7452
+ get stateInput() {
7453
+ return this._state.internalValue;
7454
+ }
7455
+ // upgrade_events - computed: false, optional: true, required: false
7456
+ _upgradeEvents = new UpgradestatusinfoHistoryUpgradeEventsList(this, "upgrade_events", false);
7457
+ get upgradeEvents() {
7458
+ return this._upgradeEvents;
7459
+ }
7460
+ putUpgradeEvents(value) {
7461
+ this._upgradeEvents.internalValue = value;
7462
+ }
7463
+ resetUpgradeEvents() {
7464
+ this._upgradeEvents.internalValue = undefined;
7465
+ }
7466
+ // Temporarily expose input value. Use with caution.
7467
+ get upgradeEventsInput() {
7468
+ return this._upgradeEvents.internalValue;
7469
+ }
7470
+ }
7471
+ export class UpgradestatusinfoHistoryList extends cdktf.ComplexList {
7472
+ terraformResource;
7473
+ terraformAttribute;
7474
+ wrapsSet;
7475
+ internalValue;
7476
+ /**
7477
+ * @param terraformResource The parent resource
7478
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
7479
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
7480
+ */
7481
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
7482
+ super(terraformResource, terraformAttribute, wrapsSet);
7483
+ this.terraformResource = terraformResource;
7484
+ this.terraformAttribute = terraformAttribute;
7485
+ this.wrapsSet = wrapsSet;
7486
+ }
7487
+ /**
7488
+ * @param index the index of the item to return
7489
+ */
7490
+ get(index) {
7491
+ return new UpgradestatusinfoHistoryOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
7492
+ }
7493
+ }
7494
+ export function upgradestatusinfoParamsControllerToTerraform(struct) {
7495
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
7496
+ return struct;
7497
+ }
7498
+ if (cdktf.isComplexElement(struct)) {
7499
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7500
+ }
7501
+ return {
7502
+ task_base_timeout: cdktf.stringToTerraform(struct.taskBaseTimeout),
7503
+ };
7504
+ }
7505
+ export function upgradestatusinfoParamsControllerToHclTerraform(struct) {
7506
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
7507
+ return struct;
7508
+ }
7509
+ if (cdktf.isComplexElement(struct)) {
7510
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7511
+ }
7512
+ const attrs = {
7513
+ task_base_timeout: {
7514
+ value: cdktf.stringToHclTerraform(struct.taskBaseTimeout),
7515
+ isBlock: false,
7516
+ type: "simple",
7517
+ storageClassType: "string",
7518
+ },
7519
+ };
7520
+ // remove undefined attributes
7521
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
7522
+ }
7523
+ export class UpgradestatusinfoParamsControllerOutputReference extends cdktf.ComplexObject {
7524
+ isEmptyObject = false;
7525
+ resolvableValue;
7526
+ /**
7527
+ * @param terraformResource The parent resource
7528
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
7529
+ * @param complexObjectIndex the index of this item in the list
7530
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
7531
+ */
7532
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
7533
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
7534
+ }
7535
+ get internalValue() {
7536
+ if (this.resolvableValue) {
7537
+ return this.resolvableValue;
7538
+ }
7539
+ let hasAnyValues = this.isEmptyObject;
7540
+ const internalValueResult = {};
7541
+ if (this._taskBaseTimeout !== undefined) {
7542
+ hasAnyValues = true;
7543
+ internalValueResult.taskBaseTimeout = this._taskBaseTimeout;
7544
+ }
7545
+ return hasAnyValues ? internalValueResult : undefined;
7546
+ }
7547
+ set internalValue(value) {
7548
+ if (value === undefined) {
7549
+ this.isEmptyObject = false;
7550
+ this.resolvableValue = undefined;
7551
+ this._taskBaseTimeout = undefined;
7552
+ }
7553
+ else if (cdktf.Tokenization.isResolvable(value)) {
7554
+ this.isEmptyObject = false;
7555
+ this.resolvableValue = value;
7556
+ }
7557
+ else {
7558
+ this.isEmptyObject = Object.keys(value).length === 0;
7559
+ this.resolvableValue = undefined;
7560
+ this._taskBaseTimeout = value.taskBaseTimeout;
7561
+ }
4340
7562
  }
4341
- // upgrade_events - computed: false, optional: true, required: false
4342
- _upgradeEvents = new UpgradestatusinfoHistoryUpgradeEventsList(this, "upgrade_events", false);
4343
- get upgradeEvents() {
4344
- return this._upgradeEvents;
7563
+ // task_base_timeout - computed: false, optional: true, required: false
7564
+ _taskBaseTimeout;
7565
+ get taskBaseTimeout() {
7566
+ return this.getStringAttribute('task_base_timeout');
4345
7567
  }
4346
- putUpgradeEvents(value) {
4347
- this._upgradeEvents.internalValue = value;
7568
+ set taskBaseTimeout(value) {
7569
+ this._taskBaseTimeout = value;
4348
7570
  }
4349
- resetUpgradeEvents() {
4350
- this._upgradeEvents.internalValue = undefined;
7571
+ resetTaskBaseTimeout() {
7572
+ this._taskBaseTimeout = undefined;
4351
7573
  }
4352
7574
  // Temporarily expose input value. Use with caution.
4353
- get upgradeEventsInput() {
4354
- return this._upgradeEvents.internalValue;
7575
+ get taskBaseTimeoutInput() {
7576
+ return this._taskBaseTimeout;
4355
7577
  }
4356
7578
  }
4357
- export class UpgradestatusinfoHistoryList extends cdktf.ComplexList {
7579
+ export class UpgradestatusinfoParamsControllerList extends cdktf.ComplexList {
4358
7580
  terraformResource;
4359
7581
  terraformAttribute;
4360
7582
  wrapsSet;
@@ -4374,7 +7596,7 @@ export class UpgradestatusinfoHistoryList extends cdktf.ComplexList {
4374
7596
  * @param index the index of the item to return
4375
7597
  */
4376
7598
  get(index) {
4377
- return new UpgradestatusinfoHistoryOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
7599
+ return new UpgradestatusinfoParamsControllerOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
4378
7600
  }
4379
7601
  }
4380
7602
  export function upgradestatusinfoParamsSeGroupOptionsToTerraform(struct) {
@@ -4677,6 +7899,254 @@ export class UpgradestatusinfoParamsSeGroupResumeOptionsList extends cdktf.Compl
4677
7899
  return new UpgradestatusinfoParamsSeGroupResumeOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
4678
7900
  }
4679
7901
  }
7902
+ export function upgradestatusinfoParamsServiceEngineToTerraform(struct) {
7903
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
7904
+ return struct;
7905
+ }
7906
+ if (cdktf.isComplexElement(struct)) {
7907
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7908
+ }
7909
+ return {
7910
+ concurrent_segroup_upgrades: cdktf.stringToTerraform(struct.concurrentSegroupUpgrades),
7911
+ image_data_transfer_size: cdktf.stringToTerraform(struct.imageDataTransferSize),
7912
+ large_se_connect_timeout: cdktf.stringToTerraform(struct.largeSeConnectTimeout),
7913
+ se_connect_timeout: cdktf.stringToTerraform(struct.seConnectTimeout),
7914
+ simultaneous_image_downloads: cdktf.stringToTerraform(struct.simultaneousImageDownloads),
7915
+ task_base_timeout: cdktf.stringToTerraform(struct.taskBaseTimeout),
7916
+ };
7917
+ }
7918
+ export function upgradestatusinfoParamsServiceEngineToHclTerraform(struct) {
7919
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
7920
+ return struct;
7921
+ }
7922
+ if (cdktf.isComplexElement(struct)) {
7923
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7924
+ }
7925
+ const attrs = {
7926
+ concurrent_segroup_upgrades: {
7927
+ value: cdktf.stringToHclTerraform(struct.concurrentSegroupUpgrades),
7928
+ isBlock: false,
7929
+ type: "simple",
7930
+ storageClassType: "string",
7931
+ },
7932
+ image_data_transfer_size: {
7933
+ value: cdktf.stringToHclTerraform(struct.imageDataTransferSize),
7934
+ isBlock: false,
7935
+ type: "simple",
7936
+ storageClassType: "string",
7937
+ },
7938
+ large_se_connect_timeout: {
7939
+ value: cdktf.stringToHclTerraform(struct.largeSeConnectTimeout),
7940
+ isBlock: false,
7941
+ type: "simple",
7942
+ storageClassType: "string",
7943
+ },
7944
+ se_connect_timeout: {
7945
+ value: cdktf.stringToHclTerraform(struct.seConnectTimeout),
7946
+ isBlock: false,
7947
+ type: "simple",
7948
+ storageClassType: "string",
7949
+ },
7950
+ simultaneous_image_downloads: {
7951
+ value: cdktf.stringToHclTerraform(struct.simultaneousImageDownloads),
7952
+ isBlock: false,
7953
+ type: "simple",
7954
+ storageClassType: "string",
7955
+ },
7956
+ task_base_timeout: {
7957
+ value: cdktf.stringToHclTerraform(struct.taskBaseTimeout),
7958
+ isBlock: false,
7959
+ type: "simple",
7960
+ storageClassType: "string",
7961
+ },
7962
+ };
7963
+ // remove undefined attributes
7964
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
7965
+ }
7966
+ export class UpgradestatusinfoParamsServiceEngineOutputReference extends cdktf.ComplexObject {
7967
+ isEmptyObject = false;
7968
+ resolvableValue;
7969
+ /**
7970
+ * @param terraformResource The parent resource
7971
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
7972
+ * @param complexObjectIndex the index of this item in the list
7973
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
7974
+ */
7975
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
7976
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
7977
+ }
7978
+ get internalValue() {
7979
+ if (this.resolvableValue) {
7980
+ return this.resolvableValue;
7981
+ }
7982
+ let hasAnyValues = this.isEmptyObject;
7983
+ const internalValueResult = {};
7984
+ if (this._concurrentSegroupUpgrades !== undefined) {
7985
+ hasAnyValues = true;
7986
+ internalValueResult.concurrentSegroupUpgrades = this._concurrentSegroupUpgrades;
7987
+ }
7988
+ if (this._imageDataTransferSize !== undefined) {
7989
+ hasAnyValues = true;
7990
+ internalValueResult.imageDataTransferSize = this._imageDataTransferSize;
7991
+ }
7992
+ if (this._largeSeConnectTimeout !== undefined) {
7993
+ hasAnyValues = true;
7994
+ internalValueResult.largeSeConnectTimeout = this._largeSeConnectTimeout;
7995
+ }
7996
+ if (this._seConnectTimeout !== undefined) {
7997
+ hasAnyValues = true;
7998
+ internalValueResult.seConnectTimeout = this._seConnectTimeout;
7999
+ }
8000
+ if (this._simultaneousImageDownloads !== undefined) {
8001
+ hasAnyValues = true;
8002
+ internalValueResult.simultaneousImageDownloads = this._simultaneousImageDownloads;
8003
+ }
8004
+ if (this._taskBaseTimeout !== undefined) {
8005
+ hasAnyValues = true;
8006
+ internalValueResult.taskBaseTimeout = this._taskBaseTimeout;
8007
+ }
8008
+ return hasAnyValues ? internalValueResult : undefined;
8009
+ }
8010
+ set internalValue(value) {
8011
+ if (value === undefined) {
8012
+ this.isEmptyObject = false;
8013
+ this.resolvableValue = undefined;
8014
+ this._concurrentSegroupUpgrades = undefined;
8015
+ this._imageDataTransferSize = undefined;
8016
+ this._largeSeConnectTimeout = undefined;
8017
+ this._seConnectTimeout = undefined;
8018
+ this._simultaneousImageDownloads = undefined;
8019
+ this._taskBaseTimeout = undefined;
8020
+ }
8021
+ else if (cdktf.Tokenization.isResolvable(value)) {
8022
+ this.isEmptyObject = false;
8023
+ this.resolvableValue = value;
8024
+ }
8025
+ else {
8026
+ this.isEmptyObject = Object.keys(value).length === 0;
8027
+ this.resolvableValue = undefined;
8028
+ this._concurrentSegroupUpgrades = value.concurrentSegroupUpgrades;
8029
+ this._imageDataTransferSize = value.imageDataTransferSize;
8030
+ this._largeSeConnectTimeout = value.largeSeConnectTimeout;
8031
+ this._seConnectTimeout = value.seConnectTimeout;
8032
+ this._simultaneousImageDownloads = value.simultaneousImageDownloads;
8033
+ this._taskBaseTimeout = value.taskBaseTimeout;
8034
+ }
8035
+ }
8036
+ // concurrent_segroup_upgrades - computed: false, optional: true, required: false
8037
+ _concurrentSegroupUpgrades;
8038
+ get concurrentSegroupUpgrades() {
8039
+ return this.getStringAttribute('concurrent_segroup_upgrades');
8040
+ }
8041
+ set concurrentSegroupUpgrades(value) {
8042
+ this._concurrentSegroupUpgrades = value;
8043
+ }
8044
+ resetConcurrentSegroupUpgrades() {
8045
+ this._concurrentSegroupUpgrades = undefined;
8046
+ }
8047
+ // Temporarily expose input value. Use with caution.
8048
+ get concurrentSegroupUpgradesInput() {
8049
+ return this._concurrentSegroupUpgrades;
8050
+ }
8051
+ // image_data_transfer_size - computed: false, optional: true, required: false
8052
+ _imageDataTransferSize;
8053
+ get imageDataTransferSize() {
8054
+ return this.getStringAttribute('image_data_transfer_size');
8055
+ }
8056
+ set imageDataTransferSize(value) {
8057
+ this._imageDataTransferSize = value;
8058
+ }
8059
+ resetImageDataTransferSize() {
8060
+ this._imageDataTransferSize = undefined;
8061
+ }
8062
+ // Temporarily expose input value. Use with caution.
8063
+ get imageDataTransferSizeInput() {
8064
+ return this._imageDataTransferSize;
8065
+ }
8066
+ // large_se_connect_timeout - computed: false, optional: true, required: false
8067
+ _largeSeConnectTimeout;
8068
+ get largeSeConnectTimeout() {
8069
+ return this.getStringAttribute('large_se_connect_timeout');
8070
+ }
8071
+ set largeSeConnectTimeout(value) {
8072
+ this._largeSeConnectTimeout = value;
8073
+ }
8074
+ resetLargeSeConnectTimeout() {
8075
+ this._largeSeConnectTimeout = undefined;
8076
+ }
8077
+ // Temporarily expose input value. Use with caution.
8078
+ get largeSeConnectTimeoutInput() {
8079
+ return this._largeSeConnectTimeout;
8080
+ }
8081
+ // se_connect_timeout - computed: false, optional: true, required: false
8082
+ _seConnectTimeout;
8083
+ get seConnectTimeout() {
8084
+ return this.getStringAttribute('se_connect_timeout');
8085
+ }
8086
+ set seConnectTimeout(value) {
8087
+ this._seConnectTimeout = value;
8088
+ }
8089
+ resetSeConnectTimeout() {
8090
+ this._seConnectTimeout = undefined;
8091
+ }
8092
+ // Temporarily expose input value. Use with caution.
8093
+ get seConnectTimeoutInput() {
8094
+ return this._seConnectTimeout;
8095
+ }
8096
+ // simultaneous_image_downloads - computed: false, optional: true, required: false
8097
+ _simultaneousImageDownloads;
8098
+ get simultaneousImageDownloads() {
8099
+ return this.getStringAttribute('simultaneous_image_downloads');
8100
+ }
8101
+ set simultaneousImageDownloads(value) {
8102
+ this._simultaneousImageDownloads = value;
8103
+ }
8104
+ resetSimultaneousImageDownloads() {
8105
+ this._simultaneousImageDownloads = undefined;
8106
+ }
8107
+ // Temporarily expose input value. Use with caution.
8108
+ get simultaneousImageDownloadsInput() {
8109
+ return this._simultaneousImageDownloads;
8110
+ }
8111
+ // task_base_timeout - computed: false, optional: true, required: false
8112
+ _taskBaseTimeout;
8113
+ get taskBaseTimeout() {
8114
+ return this.getStringAttribute('task_base_timeout');
8115
+ }
8116
+ set taskBaseTimeout(value) {
8117
+ this._taskBaseTimeout = value;
8118
+ }
8119
+ resetTaskBaseTimeout() {
8120
+ this._taskBaseTimeout = undefined;
8121
+ }
8122
+ // Temporarily expose input value. Use with caution.
8123
+ get taskBaseTimeoutInput() {
8124
+ return this._taskBaseTimeout;
8125
+ }
8126
+ }
8127
+ export class UpgradestatusinfoParamsServiceEngineList extends cdktf.ComplexList {
8128
+ terraformResource;
8129
+ terraformAttribute;
8130
+ wrapsSet;
8131
+ internalValue;
8132
+ /**
8133
+ * @param terraformResource The parent resource
8134
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
8135
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
8136
+ */
8137
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
8138
+ super(terraformResource, terraformAttribute, wrapsSet);
8139
+ this.terraformResource = terraformResource;
8140
+ this.terraformAttribute = terraformAttribute;
8141
+ this.wrapsSet = wrapsSet;
8142
+ }
8143
+ /**
8144
+ * @param index the index of the item to return
8145
+ */
8146
+ get(index) {
8147
+ return new UpgradestatusinfoParamsServiceEngineOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
8148
+ }
8149
+ }
4680
8150
  export function upgradestatusinfoParamsToTerraform(struct) {
4681
8151
  if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
4682
8152
  return struct;
@@ -4687,8 +8157,10 @@ export function upgradestatusinfoParamsToTerraform(struct) {
4687
8157
  return {
4688
8158
  image_ref: cdktf.stringToTerraform(struct.imageRef),
4689
8159
  patch_ref: cdktf.stringToTerraform(struct.patchRef),
8160
+ controller: cdktf.listMapper(upgradestatusinfoParamsControllerToTerraform, true)(struct.controller),
4690
8161
  se_group_options: cdktf.listMapper(upgradestatusinfoParamsSeGroupOptionsToTerraform, true)(struct.seGroupOptions),
4691
8162
  se_group_resume_options: cdktf.listMapper(upgradestatusinfoParamsSeGroupResumeOptionsToTerraform, true)(struct.seGroupResumeOptions),
8163
+ service_engine: cdktf.listMapper(upgradestatusinfoParamsServiceEngineToTerraform, true)(struct.serviceEngine),
4692
8164
  };
4693
8165
  }
4694
8166
  export function upgradestatusinfoParamsToHclTerraform(struct) {
@@ -4711,6 +8183,12 @@ export function upgradestatusinfoParamsToHclTerraform(struct) {
4711
8183
  type: "simple",
4712
8184
  storageClassType: "string",
4713
8185
  },
8186
+ controller: {
8187
+ value: cdktf.listMapperHcl(upgradestatusinfoParamsControllerToHclTerraform, true)(struct.controller),
8188
+ isBlock: true,
8189
+ type: "set",
8190
+ storageClassType: "UpgradestatusinfoParamsControllerList",
8191
+ },
4714
8192
  se_group_options: {
4715
8193
  value: cdktf.listMapperHcl(upgradestatusinfoParamsSeGroupOptionsToHclTerraform, true)(struct.seGroupOptions),
4716
8194
  isBlock: true,
@@ -4723,6 +8201,12 @@ export function upgradestatusinfoParamsToHclTerraform(struct) {
4723
8201
  type: "set",
4724
8202
  storageClassType: "UpgradestatusinfoParamsSeGroupResumeOptionsList",
4725
8203
  },
8204
+ service_engine: {
8205
+ value: cdktf.listMapperHcl(upgradestatusinfoParamsServiceEngineToHclTerraform, true)(struct.serviceEngine),
8206
+ isBlock: true,
8207
+ type: "set",
8208
+ storageClassType: "UpgradestatusinfoParamsServiceEngineList",
8209
+ },
4726
8210
  };
4727
8211
  // remove undefined attributes
4728
8212
  return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
@@ -4753,6 +8237,10 @@ export class UpgradestatusinfoParamsOutputReference extends cdktf.ComplexObject
4753
8237
  hasAnyValues = true;
4754
8238
  internalValueResult.patchRef = this._patchRef;
4755
8239
  }
8240
+ if (this._controller?.internalValue !== undefined) {
8241
+ hasAnyValues = true;
8242
+ internalValueResult.controller = this._controller?.internalValue;
8243
+ }
4756
8244
  if (this._seGroupOptions?.internalValue !== undefined) {
4757
8245
  hasAnyValues = true;
4758
8246
  internalValueResult.seGroupOptions = this._seGroupOptions?.internalValue;
@@ -4761,6 +8249,10 @@ export class UpgradestatusinfoParamsOutputReference extends cdktf.ComplexObject
4761
8249
  hasAnyValues = true;
4762
8250
  internalValueResult.seGroupResumeOptions = this._seGroupResumeOptions?.internalValue;
4763
8251
  }
8252
+ if (this._serviceEngine?.internalValue !== undefined) {
8253
+ hasAnyValues = true;
8254
+ internalValueResult.serviceEngine = this._serviceEngine?.internalValue;
8255
+ }
4764
8256
  return hasAnyValues ? internalValueResult : undefined;
4765
8257
  }
4766
8258
  set internalValue(value) {
@@ -4769,8 +8261,10 @@ export class UpgradestatusinfoParamsOutputReference extends cdktf.ComplexObject
4769
8261
  this.resolvableValue = undefined;
4770
8262
  this._imageRef = undefined;
4771
8263
  this._patchRef = undefined;
8264
+ this._controller.internalValue = undefined;
4772
8265
  this._seGroupOptions.internalValue = undefined;
4773
8266
  this._seGroupResumeOptions.internalValue = undefined;
8267
+ this._serviceEngine.internalValue = undefined;
4774
8268
  }
4775
8269
  else if (cdktf.Tokenization.isResolvable(value)) {
4776
8270
  this.isEmptyObject = false;
@@ -4781,8 +8275,10 @@ export class UpgradestatusinfoParamsOutputReference extends cdktf.ComplexObject
4781
8275
  this.resolvableValue = undefined;
4782
8276
  this._imageRef = value.imageRef;
4783
8277
  this._patchRef = value.patchRef;
8278
+ this._controller.internalValue = value.controller;
4784
8279
  this._seGroupOptions.internalValue = value.seGroupOptions;
4785
8280
  this._seGroupResumeOptions.internalValue = value.seGroupResumeOptions;
8281
+ this._serviceEngine.internalValue = value.serviceEngine;
4786
8282
  }
4787
8283
  }
4788
8284
  // image_ref - computed: true, optional: true, required: false
@@ -4815,6 +8311,21 @@ export class UpgradestatusinfoParamsOutputReference extends cdktf.ComplexObject
4815
8311
  get patchRefInput() {
4816
8312
  return this._patchRef;
4817
8313
  }
8314
+ // controller - computed: false, optional: true, required: false
8315
+ _controller = new UpgradestatusinfoParamsControllerList(this, "controller", true);
8316
+ get controller() {
8317
+ return this._controller;
8318
+ }
8319
+ putController(value) {
8320
+ this._controller.internalValue = value;
8321
+ }
8322
+ resetController() {
8323
+ this._controller.internalValue = undefined;
8324
+ }
8325
+ // Temporarily expose input value. Use with caution.
8326
+ get controllerInput() {
8327
+ return this._controller.internalValue;
8328
+ }
4818
8329
  // se_group_options - computed: false, optional: true, required: false
4819
8330
  _seGroupOptions = new UpgradestatusinfoParamsSeGroupOptionsList(this, "se_group_options", true);
4820
8331
  get seGroupOptions() {
@@ -4845,6 +8356,21 @@ export class UpgradestatusinfoParamsOutputReference extends cdktf.ComplexObject
4845
8356
  get seGroupResumeOptionsInput() {
4846
8357
  return this._seGroupResumeOptions.internalValue;
4847
8358
  }
8359
+ // service_engine - computed: false, optional: true, required: false
8360
+ _serviceEngine = new UpgradestatusinfoParamsServiceEngineList(this, "service_engine", true);
8361
+ get serviceEngine() {
8362
+ return this._serviceEngine;
8363
+ }
8364
+ putServiceEngine(value) {
8365
+ this._serviceEngine.internalValue = value;
8366
+ }
8367
+ resetServiceEngine() {
8368
+ this._serviceEngine.internalValue = undefined;
8369
+ }
8370
+ // Temporarily expose input value. Use with caution.
8371
+ get serviceEngineInput() {
8372
+ return this._serviceEngine.internalValue;
8373
+ }
4848
8374
  }
4849
8375
  export class UpgradestatusinfoParamsList extends cdktf.ComplexList {
4850
8376
  terraformResource;
@@ -5595,30 +9121,138 @@ export class UpgradestatusinfoSeUpgradeEventsOutputReference extends cdktf.Compl
5595
9121
  set trafficStatus(value) {
5596
9122
  this._trafficStatus = value;
5597
9123
  }
5598
- resetTrafficStatus() {
5599
- this._trafficStatus = undefined;
9124
+ resetTrafficStatus() {
9125
+ this._trafficStatus = undefined;
9126
+ }
9127
+ // Temporarily expose input value. Use with caution.
9128
+ get trafficStatusInput() {
9129
+ return this._trafficStatus;
9130
+ }
9131
+ // vs_ref - computed: true, optional: true, required: false
9132
+ _vsRef;
9133
+ get vsRef() {
9134
+ return this.getStringAttribute('vs_ref');
9135
+ }
9136
+ set vsRef(value) {
9137
+ this._vsRef = value;
9138
+ }
9139
+ resetVsRef() {
9140
+ this._vsRef = undefined;
9141
+ }
9142
+ // Temporarily expose input value. Use with caution.
9143
+ get vsRefInput() {
9144
+ return this._vsRef;
9145
+ }
9146
+ }
9147
+ export class UpgradestatusinfoSeUpgradeEventsList extends cdktf.ComplexList {
9148
+ terraformResource;
9149
+ terraformAttribute;
9150
+ wrapsSet;
9151
+ internalValue;
9152
+ /**
9153
+ * @param terraformResource The parent resource
9154
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
9155
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
9156
+ */
9157
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
9158
+ super(terraformResource, terraformAttribute, wrapsSet);
9159
+ this.terraformResource = terraformResource;
9160
+ this.terraformAttribute = terraformAttribute;
9161
+ this.wrapsSet = wrapsSet;
9162
+ }
9163
+ /**
9164
+ * @param index the index of the item to return
9165
+ */
9166
+ get(index) {
9167
+ return new UpgradestatusinfoSeUpgradeEventsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
9168
+ }
9169
+ }
9170
+ export function upgradestatusinfoSegParamsControllerToTerraform(struct) {
9171
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
9172
+ return struct;
9173
+ }
9174
+ if (cdktf.isComplexElement(struct)) {
9175
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9176
+ }
9177
+ return {
9178
+ task_base_timeout: cdktf.stringToTerraform(struct.taskBaseTimeout),
9179
+ };
9180
+ }
9181
+ export function upgradestatusinfoSegParamsControllerToHclTerraform(struct) {
9182
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
9183
+ return struct;
9184
+ }
9185
+ if (cdktf.isComplexElement(struct)) {
9186
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9187
+ }
9188
+ const attrs = {
9189
+ task_base_timeout: {
9190
+ value: cdktf.stringToHclTerraform(struct.taskBaseTimeout),
9191
+ isBlock: false,
9192
+ type: "simple",
9193
+ storageClassType: "string",
9194
+ },
9195
+ };
9196
+ // remove undefined attributes
9197
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
9198
+ }
9199
+ export class UpgradestatusinfoSegParamsControllerOutputReference extends cdktf.ComplexObject {
9200
+ isEmptyObject = false;
9201
+ resolvableValue;
9202
+ /**
9203
+ * @param terraformResource The parent resource
9204
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
9205
+ * @param complexObjectIndex the index of this item in the list
9206
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
9207
+ */
9208
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
9209
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
5600
9210
  }
5601
- // Temporarily expose input value. Use with caution.
5602
- get trafficStatusInput() {
5603
- return this._trafficStatus;
9211
+ get internalValue() {
9212
+ if (this.resolvableValue) {
9213
+ return this.resolvableValue;
9214
+ }
9215
+ let hasAnyValues = this.isEmptyObject;
9216
+ const internalValueResult = {};
9217
+ if (this._taskBaseTimeout !== undefined) {
9218
+ hasAnyValues = true;
9219
+ internalValueResult.taskBaseTimeout = this._taskBaseTimeout;
9220
+ }
9221
+ return hasAnyValues ? internalValueResult : undefined;
5604
9222
  }
5605
- // vs_ref - computed: true, optional: true, required: false
5606
- _vsRef;
5607
- get vsRef() {
5608
- return this.getStringAttribute('vs_ref');
9223
+ set internalValue(value) {
9224
+ if (value === undefined) {
9225
+ this.isEmptyObject = false;
9226
+ this.resolvableValue = undefined;
9227
+ this._taskBaseTimeout = undefined;
9228
+ }
9229
+ else if (cdktf.Tokenization.isResolvable(value)) {
9230
+ this.isEmptyObject = false;
9231
+ this.resolvableValue = value;
9232
+ }
9233
+ else {
9234
+ this.isEmptyObject = Object.keys(value).length === 0;
9235
+ this.resolvableValue = undefined;
9236
+ this._taskBaseTimeout = value.taskBaseTimeout;
9237
+ }
5609
9238
  }
5610
- set vsRef(value) {
5611
- this._vsRef = value;
9239
+ // task_base_timeout - computed: false, optional: true, required: false
9240
+ _taskBaseTimeout;
9241
+ get taskBaseTimeout() {
9242
+ return this.getStringAttribute('task_base_timeout');
5612
9243
  }
5613
- resetVsRef() {
5614
- this._vsRef = undefined;
9244
+ set taskBaseTimeout(value) {
9245
+ this._taskBaseTimeout = value;
9246
+ }
9247
+ resetTaskBaseTimeout() {
9248
+ this._taskBaseTimeout = undefined;
5615
9249
  }
5616
9250
  // Temporarily expose input value. Use with caution.
5617
- get vsRefInput() {
5618
- return this._vsRef;
9251
+ get taskBaseTimeoutInput() {
9252
+ return this._taskBaseTimeout;
5619
9253
  }
5620
9254
  }
5621
- export class UpgradestatusinfoSeUpgradeEventsList extends cdktf.ComplexList {
9255
+ export class UpgradestatusinfoSegParamsControllerList extends cdktf.ComplexList {
5622
9256
  terraformResource;
5623
9257
  terraformAttribute;
5624
9258
  wrapsSet;
@@ -5638,7 +9272,7 @@ export class UpgradestatusinfoSeUpgradeEventsList extends cdktf.ComplexList {
5638
9272
  * @param index the index of the item to return
5639
9273
  */
5640
9274
  get(index) {
5641
- return new UpgradestatusinfoSeUpgradeEventsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
9275
+ return new UpgradestatusinfoSegParamsControllerOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
5642
9276
  }
5643
9277
  }
5644
9278
  export function upgradestatusinfoSegParamsSeGroupOptionsToTerraform(struct) {
@@ -5941,6 +9575,254 @@ export class UpgradestatusinfoSegParamsSeGroupResumeOptionsList extends cdktf.Co
5941
9575
  return new UpgradestatusinfoSegParamsSeGroupResumeOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
5942
9576
  }
5943
9577
  }
9578
+ export function upgradestatusinfoSegParamsServiceEngineToTerraform(struct) {
9579
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
9580
+ return struct;
9581
+ }
9582
+ if (cdktf.isComplexElement(struct)) {
9583
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9584
+ }
9585
+ return {
9586
+ concurrent_segroup_upgrades: cdktf.stringToTerraform(struct.concurrentSegroupUpgrades),
9587
+ image_data_transfer_size: cdktf.stringToTerraform(struct.imageDataTransferSize),
9588
+ large_se_connect_timeout: cdktf.stringToTerraform(struct.largeSeConnectTimeout),
9589
+ se_connect_timeout: cdktf.stringToTerraform(struct.seConnectTimeout),
9590
+ simultaneous_image_downloads: cdktf.stringToTerraform(struct.simultaneousImageDownloads),
9591
+ task_base_timeout: cdktf.stringToTerraform(struct.taskBaseTimeout),
9592
+ };
9593
+ }
9594
+ export function upgradestatusinfoSegParamsServiceEngineToHclTerraform(struct) {
9595
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
9596
+ return struct;
9597
+ }
9598
+ if (cdktf.isComplexElement(struct)) {
9599
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9600
+ }
9601
+ const attrs = {
9602
+ concurrent_segroup_upgrades: {
9603
+ value: cdktf.stringToHclTerraform(struct.concurrentSegroupUpgrades),
9604
+ isBlock: false,
9605
+ type: "simple",
9606
+ storageClassType: "string",
9607
+ },
9608
+ image_data_transfer_size: {
9609
+ value: cdktf.stringToHclTerraform(struct.imageDataTransferSize),
9610
+ isBlock: false,
9611
+ type: "simple",
9612
+ storageClassType: "string",
9613
+ },
9614
+ large_se_connect_timeout: {
9615
+ value: cdktf.stringToHclTerraform(struct.largeSeConnectTimeout),
9616
+ isBlock: false,
9617
+ type: "simple",
9618
+ storageClassType: "string",
9619
+ },
9620
+ se_connect_timeout: {
9621
+ value: cdktf.stringToHclTerraform(struct.seConnectTimeout),
9622
+ isBlock: false,
9623
+ type: "simple",
9624
+ storageClassType: "string",
9625
+ },
9626
+ simultaneous_image_downloads: {
9627
+ value: cdktf.stringToHclTerraform(struct.simultaneousImageDownloads),
9628
+ isBlock: false,
9629
+ type: "simple",
9630
+ storageClassType: "string",
9631
+ },
9632
+ task_base_timeout: {
9633
+ value: cdktf.stringToHclTerraform(struct.taskBaseTimeout),
9634
+ isBlock: false,
9635
+ type: "simple",
9636
+ storageClassType: "string",
9637
+ },
9638
+ };
9639
+ // remove undefined attributes
9640
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
9641
+ }
9642
+ export class UpgradestatusinfoSegParamsServiceEngineOutputReference extends cdktf.ComplexObject {
9643
+ isEmptyObject = false;
9644
+ resolvableValue;
9645
+ /**
9646
+ * @param terraformResource The parent resource
9647
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
9648
+ * @param complexObjectIndex the index of this item in the list
9649
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
9650
+ */
9651
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
9652
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
9653
+ }
9654
+ get internalValue() {
9655
+ if (this.resolvableValue) {
9656
+ return this.resolvableValue;
9657
+ }
9658
+ let hasAnyValues = this.isEmptyObject;
9659
+ const internalValueResult = {};
9660
+ if (this._concurrentSegroupUpgrades !== undefined) {
9661
+ hasAnyValues = true;
9662
+ internalValueResult.concurrentSegroupUpgrades = this._concurrentSegroupUpgrades;
9663
+ }
9664
+ if (this._imageDataTransferSize !== undefined) {
9665
+ hasAnyValues = true;
9666
+ internalValueResult.imageDataTransferSize = this._imageDataTransferSize;
9667
+ }
9668
+ if (this._largeSeConnectTimeout !== undefined) {
9669
+ hasAnyValues = true;
9670
+ internalValueResult.largeSeConnectTimeout = this._largeSeConnectTimeout;
9671
+ }
9672
+ if (this._seConnectTimeout !== undefined) {
9673
+ hasAnyValues = true;
9674
+ internalValueResult.seConnectTimeout = this._seConnectTimeout;
9675
+ }
9676
+ if (this._simultaneousImageDownloads !== undefined) {
9677
+ hasAnyValues = true;
9678
+ internalValueResult.simultaneousImageDownloads = this._simultaneousImageDownloads;
9679
+ }
9680
+ if (this._taskBaseTimeout !== undefined) {
9681
+ hasAnyValues = true;
9682
+ internalValueResult.taskBaseTimeout = this._taskBaseTimeout;
9683
+ }
9684
+ return hasAnyValues ? internalValueResult : undefined;
9685
+ }
9686
+ set internalValue(value) {
9687
+ if (value === undefined) {
9688
+ this.isEmptyObject = false;
9689
+ this.resolvableValue = undefined;
9690
+ this._concurrentSegroupUpgrades = undefined;
9691
+ this._imageDataTransferSize = undefined;
9692
+ this._largeSeConnectTimeout = undefined;
9693
+ this._seConnectTimeout = undefined;
9694
+ this._simultaneousImageDownloads = undefined;
9695
+ this._taskBaseTimeout = undefined;
9696
+ }
9697
+ else if (cdktf.Tokenization.isResolvable(value)) {
9698
+ this.isEmptyObject = false;
9699
+ this.resolvableValue = value;
9700
+ }
9701
+ else {
9702
+ this.isEmptyObject = Object.keys(value).length === 0;
9703
+ this.resolvableValue = undefined;
9704
+ this._concurrentSegroupUpgrades = value.concurrentSegroupUpgrades;
9705
+ this._imageDataTransferSize = value.imageDataTransferSize;
9706
+ this._largeSeConnectTimeout = value.largeSeConnectTimeout;
9707
+ this._seConnectTimeout = value.seConnectTimeout;
9708
+ this._simultaneousImageDownloads = value.simultaneousImageDownloads;
9709
+ this._taskBaseTimeout = value.taskBaseTimeout;
9710
+ }
9711
+ }
9712
+ // concurrent_segroup_upgrades - computed: false, optional: true, required: false
9713
+ _concurrentSegroupUpgrades;
9714
+ get concurrentSegroupUpgrades() {
9715
+ return this.getStringAttribute('concurrent_segroup_upgrades');
9716
+ }
9717
+ set concurrentSegroupUpgrades(value) {
9718
+ this._concurrentSegroupUpgrades = value;
9719
+ }
9720
+ resetConcurrentSegroupUpgrades() {
9721
+ this._concurrentSegroupUpgrades = undefined;
9722
+ }
9723
+ // Temporarily expose input value. Use with caution.
9724
+ get concurrentSegroupUpgradesInput() {
9725
+ return this._concurrentSegroupUpgrades;
9726
+ }
9727
+ // image_data_transfer_size - computed: false, optional: true, required: false
9728
+ _imageDataTransferSize;
9729
+ get imageDataTransferSize() {
9730
+ return this.getStringAttribute('image_data_transfer_size');
9731
+ }
9732
+ set imageDataTransferSize(value) {
9733
+ this._imageDataTransferSize = value;
9734
+ }
9735
+ resetImageDataTransferSize() {
9736
+ this._imageDataTransferSize = undefined;
9737
+ }
9738
+ // Temporarily expose input value. Use with caution.
9739
+ get imageDataTransferSizeInput() {
9740
+ return this._imageDataTransferSize;
9741
+ }
9742
+ // large_se_connect_timeout - computed: false, optional: true, required: false
9743
+ _largeSeConnectTimeout;
9744
+ get largeSeConnectTimeout() {
9745
+ return this.getStringAttribute('large_se_connect_timeout');
9746
+ }
9747
+ set largeSeConnectTimeout(value) {
9748
+ this._largeSeConnectTimeout = value;
9749
+ }
9750
+ resetLargeSeConnectTimeout() {
9751
+ this._largeSeConnectTimeout = undefined;
9752
+ }
9753
+ // Temporarily expose input value. Use with caution.
9754
+ get largeSeConnectTimeoutInput() {
9755
+ return this._largeSeConnectTimeout;
9756
+ }
9757
+ // se_connect_timeout - computed: false, optional: true, required: false
9758
+ _seConnectTimeout;
9759
+ get seConnectTimeout() {
9760
+ return this.getStringAttribute('se_connect_timeout');
9761
+ }
9762
+ set seConnectTimeout(value) {
9763
+ this._seConnectTimeout = value;
9764
+ }
9765
+ resetSeConnectTimeout() {
9766
+ this._seConnectTimeout = undefined;
9767
+ }
9768
+ // Temporarily expose input value. Use with caution.
9769
+ get seConnectTimeoutInput() {
9770
+ return this._seConnectTimeout;
9771
+ }
9772
+ // simultaneous_image_downloads - computed: false, optional: true, required: false
9773
+ _simultaneousImageDownloads;
9774
+ get simultaneousImageDownloads() {
9775
+ return this.getStringAttribute('simultaneous_image_downloads');
9776
+ }
9777
+ set simultaneousImageDownloads(value) {
9778
+ this._simultaneousImageDownloads = value;
9779
+ }
9780
+ resetSimultaneousImageDownloads() {
9781
+ this._simultaneousImageDownloads = undefined;
9782
+ }
9783
+ // Temporarily expose input value. Use with caution.
9784
+ get simultaneousImageDownloadsInput() {
9785
+ return this._simultaneousImageDownloads;
9786
+ }
9787
+ // task_base_timeout - computed: false, optional: true, required: false
9788
+ _taskBaseTimeout;
9789
+ get taskBaseTimeout() {
9790
+ return this.getStringAttribute('task_base_timeout');
9791
+ }
9792
+ set taskBaseTimeout(value) {
9793
+ this._taskBaseTimeout = value;
9794
+ }
9795
+ resetTaskBaseTimeout() {
9796
+ this._taskBaseTimeout = undefined;
9797
+ }
9798
+ // Temporarily expose input value. Use with caution.
9799
+ get taskBaseTimeoutInput() {
9800
+ return this._taskBaseTimeout;
9801
+ }
9802
+ }
9803
+ export class UpgradestatusinfoSegParamsServiceEngineList extends cdktf.ComplexList {
9804
+ terraformResource;
9805
+ terraformAttribute;
9806
+ wrapsSet;
9807
+ internalValue;
9808
+ /**
9809
+ * @param terraformResource The parent resource
9810
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
9811
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
9812
+ */
9813
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
9814
+ super(terraformResource, terraformAttribute, wrapsSet);
9815
+ this.terraformResource = terraformResource;
9816
+ this.terraformAttribute = terraformAttribute;
9817
+ this.wrapsSet = wrapsSet;
9818
+ }
9819
+ /**
9820
+ * @param index the index of the item to return
9821
+ */
9822
+ get(index) {
9823
+ return new UpgradestatusinfoSegParamsServiceEngineOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
9824
+ }
9825
+ }
5944
9826
  export function upgradestatusinfoSegParamsToTerraform(struct) {
5945
9827
  if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
5946
9828
  return struct;
@@ -5951,8 +9833,10 @@ export function upgradestatusinfoSegParamsToTerraform(struct) {
5951
9833
  return {
5952
9834
  image_ref: cdktf.stringToTerraform(struct.imageRef),
5953
9835
  patch_ref: cdktf.stringToTerraform(struct.patchRef),
9836
+ controller: cdktf.listMapper(upgradestatusinfoSegParamsControllerToTerraform, true)(struct.controller),
5954
9837
  se_group_options: cdktf.listMapper(upgradestatusinfoSegParamsSeGroupOptionsToTerraform, true)(struct.seGroupOptions),
5955
9838
  se_group_resume_options: cdktf.listMapper(upgradestatusinfoSegParamsSeGroupResumeOptionsToTerraform, true)(struct.seGroupResumeOptions),
9839
+ service_engine: cdktf.listMapper(upgradestatusinfoSegParamsServiceEngineToTerraform, true)(struct.serviceEngine),
5956
9840
  };
5957
9841
  }
5958
9842
  export function upgradestatusinfoSegParamsToHclTerraform(struct) {
@@ -5975,6 +9859,12 @@ export function upgradestatusinfoSegParamsToHclTerraform(struct) {
5975
9859
  type: "simple",
5976
9860
  storageClassType: "string",
5977
9861
  },
9862
+ controller: {
9863
+ value: cdktf.listMapperHcl(upgradestatusinfoSegParamsControllerToHclTerraform, true)(struct.controller),
9864
+ isBlock: true,
9865
+ type: "set",
9866
+ storageClassType: "UpgradestatusinfoSegParamsControllerList",
9867
+ },
5978
9868
  se_group_options: {
5979
9869
  value: cdktf.listMapperHcl(upgradestatusinfoSegParamsSeGroupOptionsToHclTerraform, true)(struct.seGroupOptions),
5980
9870
  isBlock: true,
@@ -5987,6 +9877,12 @@ export function upgradestatusinfoSegParamsToHclTerraform(struct) {
5987
9877
  type: "set",
5988
9878
  storageClassType: "UpgradestatusinfoSegParamsSeGroupResumeOptionsList",
5989
9879
  },
9880
+ service_engine: {
9881
+ value: cdktf.listMapperHcl(upgradestatusinfoSegParamsServiceEngineToHclTerraform, true)(struct.serviceEngine),
9882
+ isBlock: true,
9883
+ type: "set",
9884
+ storageClassType: "UpgradestatusinfoSegParamsServiceEngineList",
9885
+ },
5990
9886
  };
5991
9887
  // remove undefined attributes
5992
9888
  return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
@@ -6017,6 +9913,10 @@ export class UpgradestatusinfoSegParamsOutputReference extends cdktf.ComplexObje
6017
9913
  hasAnyValues = true;
6018
9914
  internalValueResult.patchRef = this._patchRef;
6019
9915
  }
9916
+ if (this._controller?.internalValue !== undefined) {
9917
+ hasAnyValues = true;
9918
+ internalValueResult.controller = this._controller?.internalValue;
9919
+ }
6020
9920
  if (this._seGroupOptions?.internalValue !== undefined) {
6021
9921
  hasAnyValues = true;
6022
9922
  internalValueResult.seGroupOptions = this._seGroupOptions?.internalValue;
@@ -6025,6 +9925,10 @@ export class UpgradestatusinfoSegParamsOutputReference extends cdktf.ComplexObje
6025
9925
  hasAnyValues = true;
6026
9926
  internalValueResult.seGroupResumeOptions = this._seGroupResumeOptions?.internalValue;
6027
9927
  }
9928
+ if (this._serviceEngine?.internalValue !== undefined) {
9929
+ hasAnyValues = true;
9930
+ internalValueResult.serviceEngine = this._serviceEngine?.internalValue;
9931
+ }
6028
9932
  return hasAnyValues ? internalValueResult : undefined;
6029
9933
  }
6030
9934
  set internalValue(value) {
@@ -6033,8 +9937,10 @@ export class UpgradestatusinfoSegParamsOutputReference extends cdktf.ComplexObje
6033
9937
  this.resolvableValue = undefined;
6034
9938
  this._imageRef = undefined;
6035
9939
  this._patchRef = undefined;
9940
+ this._controller.internalValue = undefined;
6036
9941
  this._seGroupOptions.internalValue = undefined;
6037
9942
  this._seGroupResumeOptions.internalValue = undefined;
9943
+ this._serviceEngine.internalValue = undefined;
6038
9944
  }
6039
9945
  else if (cdktf.Tokenization.isResolvable(value)) {
6040
9946
  this.isEmptyObject = false;
@@ -6045,8 +9951,10 @@ export class UpgradestatusinfoSegParamsOutputReference extends cdktf.ComplexObje
6045
9951
  this.resolvableValue = undefined;
6046
9952
  this._imageRef = value.imageRef;
6047
9953
  this._patchRef = value.patchRef;
9954
+ this._controller.internalValue = value.controller;
6048
9955
  this._seGroupOptions.internalValue = value.seGroupOptions;
6049
9956
  this._seGroupResumeOptions.internalValue = value.seGroupResumeOptions;
9957
+ this._serviceEngine.internalValue = value.serviceEngine;
6050
9958
  }
6051
9959
  }
6052
9960
  // image_ref - computed: true, optional: true, required: false
@@ -6079,6 +9987,21 @@ export class UpgradestatusinfoSegParamsOutputReference extends cdktf.ComplexObje
6079
9987
  get patchRefInput() {
6080
9988
  return this._patchRef;
6081
9989
  }
9990
+ // controller - computed: false, optional: true, required: false
9991
+ _controller = new UpgradestatusinfoSegParamsControllerList(this, "controller", true);
9992
+ get controller() {
9993
+ return this._controller;
9994
+ }
9995
+ putController(value) {
9996
+ this._controller.internalValue = value;
9997
+ }
9998
+ resetController() {
9999
+ this._controller.internalValue = undefined;
10000
+ }
10001
+ // Temporarily expose input value. Use with caution.
10002
+ get controllerInput() {
10003
+ return this._controller.internalValue;
10004
+ }
6082
10005
  // se_group_options - computed: false, optional: true, required: false
6083
10006
  _seGroupOptions = new UpgradestatusinfoSegParamsSeGroupOptionsList(this, "se_group_options", true);
6084
10007
  get seGroupOptions() {
@@ -6109,6 +10032,21 @@ export class UpgradestatusinfoSegParamsOutputReference extends cdktf.ComplexObje
6109
10032
  get seGroupResumeOptionsInput() {
6110
10033
  return this._seGroupResumeOptions.internalValue;
6111
10034
  }
10035
+ // service_engine - computed: false, optional: true, required: false
10036
+ _serviceEngine = new UpgradestatusinfoSegParamsServiceEngineList(this, "service_engine", true);
10037
+ get serviceEngine() {
10038
+ return this._serviceEngine;
10039
+ }
10040
+ putServiceEngine(value) {
10041
+ this._serviceEngine.internalValue = value;
10042
+ }
10043
+ resetServiceEngine() {
10044
+ this._serviceEngine.internalValue = undefined;
10045
+ }
10046
+ // Temporarily expose input value. Use with caution.
10047
+ get serviceEngineInput() {
10048
+ return this._serviceEngine.internalValue;
10049
+ }
6112
10050
  }
6113
10051
  export class UpgradestatusinfoSegParamsList extends cdktf.ComplexList {
6114
10052
  terraformResource;
@@ -10316,6 +14254,7 @@ export function upgradestatusinfoUpgradeReadinessToTerraform(struct) {
10316
14254
  end_time: cdktf.stringToTerraform(struct.endTime),
10317
14255
  image_ref: cdktf.stringToTerraform(struct.imageRef),
10318
14256
  patch_image_ref: cdktf.stringToTerraform(struct.patchImageRef),
14257
+ progress: cdktf.stringToTerraform(struct.progress),
10319
14258
  start_time: cdktf.stringToTerraform(struct.startTime),
10320
14259
  total_checks: cdktf.stringToTerraform(struct.totalChecks),
10321
14260
  upgrade_ops: cdktf.stringToTerraform(struct.upgradeOps),
@@ -10361,6 +14300,12 @@ export function upgradestatusinfoUpgradeReadinessToHclTerraform(struct) {
10361
14300
  type: "simple",
10362
14301
  storageClassType: "string",
10363
14302
  },
14303
+ progress: {
14304
+ value: cdktf.stringToHclTerraform(struct.progress),
14305
+ isBlock: false,
14306
+ type: "simple",
14307
+ storageClassType: "string",
14308
+ },
10364
14309
  start_time: {
10365
14310
  value: cdktf.stringToHclTerraform(struct.startTime),
10366
14311
  isBlock: false,
@@ -10433,6 +14378,10 @@ export class UpgradestatusinfoUpgradeReadinessOutputReference extends cdktf.Comp
10433
14378
  hasAnyValues = true;
10434
14379
  internalValueResult.patchImageRef = this._patchImageRef;
10435
14380
  }
14381
+ if (this._progress !== undefined) {
14382
+ hasAnyValues = true;
14383
+ internalValueResult.progress = this._progress;
14384
+ }
10436
14385
  if (this._startTime !== undefined) {
10437
14386
  hasAnyValues = true;
10438
14387
  internalValueResult.startTime = this._startTime;
@@ -10464,6 +14413,7 @@ export class UpgradestatusinfoUpgradeReadinessOutputReference extends cdktf.Comp
10464
14413
  this._endTime = undefined;
10465
14414
  this._imageRef = undefined;
10466
14415
  this._patchImageRef = undefined;
14416
+ this._progress = undefined;
10467
14417
  this._startTime = undefined;
10468
14418
  this._totalChecks = undefined;
10469
14419
  this._upgradeOps = undefined;
@@ -10482,6 +14432,7 @@ export class UpgradestatusinfoUpgradeReadinessOutputReference extends cdktf.Comp
10482
14432
  this._endTime = value.endTime;
10483
14433
  this._imageRef = value.imageRef;
10484
14434
  this._patchImageRef = value.patchImageRef;
14435
+ this._progress = value.progress;
10485
14436
  this._startTime = value.startTime;
10486
14437
  this._totalChecks = value.totalChecks;
10487
14438
  this._upgradeOps = value.upgradeOps;
@@ -10564,6 +14515,21 @@ export class UpgradestatusinfoUpgradeReadinessOutputReference extends cdktf.Comp
10564
14515
  get patchImageRefInput() {
10565
14516
  return this._patchImageRef;
10566
14517
  }
14518
+ // progress - computed: false, optional: true, required: false
14519
+ _progress;
14520
+ get progress() {
14521
+ return this.getStringAttribute('progress');
14522
+ }
14523
+ set progress(value) {
14524
+ this._progress = value;
14525
+ }
14526
+ resetProgress() {
14527
+ this._progress = undefined;
14528
+ }
14529
+ // Temporarily expose input value. Use with caution.
14530
+ get progressInput() {
14531
+ return this._progress;
14532
+ }
10567
14533
  // start_time - computed: true, optional: true, required: false
10568
14534
  _startTime;
10569
14535
  get startTime() {
@@ -10664,7 +14630,7 @@ export class UpgradestatusinfoUpgradeReadinessList extends cdktf.ComplexList {
10664
14630
  }
10665
14631
  }
10666
14632
  /**
10667
- * Represents a {@link https://registry.terraform.io/providers/vmware/avi/30.2.6/docs/resources/upgradestatusinfo avi_upgradestatusinfo}
14633
+ * Represents a {@link https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/upgradestatusinfo avi_upgradestatusinfo}
10668
14634
  */
10669
14635
  export class Upgradestatusinfo extends cdktf.TerraformResource {
10670
14636
  // =================
@@ -10678,7 +14644,7 @@ export class Upgradestatusinfo extends cdktf.TerraformResource {
10678
14644
  * Generates CDKTF code for importing a Upgradestatusinfo resource upon running "cdktf plan <stack-name>"
10679
14645
  * @param scope The scope in which to define this construct
10680
14646
  * @param importToId The construct id used in the generated config for the Upgradestatusinfo to import
10681
- * @param importFromId The id of the existing Upgradestatusinfo that should be imported. Refer to the {@link https://registry.terraform.io/providers/vmware/avi/30.2.6/docs/resources/upgradestatusinfo#import import section} in the documentation of this resource for the id to use
14647
+ * @param importFromId The id of the existing Upgradestatusinfo that should be imported. Refer to the {@link https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/upgradestatusinfo#import import section} in the documentation of this resource for the id to use
10682
14648
  * @param provider? Optional instance of the provider where the Upgradestatusinfo to import is found
10683
14649
  */
10684
14650
  static generateConfigForImport(scope, importToId, importFromId, provider) {
@@ -10688,7 +14654,7 @@ export class Upgradestatusinfo extends cdktf.TerraformResource {
10688
14654
  // INITIALIZER
10689
14655
  // ===========
10690
14656
  /**
10691
- * Create a new {@link https://registry.terraform.io/providers/vmware/avi/30.2.6/docs/resources/upgradestatusinfo avi_upgradestatusinfo} Resource
14657
+ * Create a new {@link https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/upgradestatusinfo avi_upgradestatusinfo} Resource
10692
14658
  *
10693
14659
  * @param scope The scope in which to define this construct
10694
14660
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -10699,8 +14665,8 @@ export class Upgradestatusinfo extends cdktf.TerraformResource {
10699
14665
  terraformResourceType: 'avi_upgradestatusinfo',
10700
14666
  terraformGeneratorMetadata: {
10701
14667
  providerName: 'avi',
10702
- providerVersion: '30.2.6',
10703
- providerVersionConstraint: '30.2.6'
14668
+ providerVersion: '31.2.1',
14669
+ providerVersionConstraint: '31.2.1'
10704
14670
  },
10705
14671
  provider: config.provider,
10706
14672
  dependsOn: config.dependsOn,
@@ -10751,6 +14717,7 @@ export class Upgradestatusinfo extends cdktf.TerraformResource {
10751
14717
  this._upgradeOps = config.upgradeOps;
10752
14718
  this._uuid = config.uuid;
10753
14719
  this._version = config.version;
14720
+ this._dryrunInfo.internalValue = config.dryrunInfo;
10754
14721
  this._history.internalValue = config.history;
10755
14722
  this._params.internalValue = config.params;
10756
14723
  this._patchList.internalValue = config.patchList;
@@ -11380,6 +15347,21 @@ export class Upgradestatusinfo extends cdktf.TerraformResource {
11380
15347
  get versionInput() {
11381
15348
  return this._version;
11382
15349
  }
15350
+ // dryrun_info - computed: false, optional: true, required: false
15351
+ _dryrunInfo = new UpgradestatusinfoDryrunInfoList(this, "dryrun_info", true);
15352
+ get dryrunInfo() {
15353
+ return this._dryrunInfo;
15354
+ }
15355
+ putDryrunInfo(value) {
15356
+ this._dryrunInfo.internalValue = value;
15357
+ }
15358
+ resetDryrunInfo() {
15359
+ this._dryrunInfo.internalValue = undefined;
15360
+ }
15361
+ // Temporarily expose input value. Use with caution.
15362
+ get dryrunInfoInput() {
15363
+ return this._dryrunInfo.internalValue;
15364
+ }
11383
15365
  // history - computed: false, optional: true, required: false
11384
15366
  _history = new UpgradestatusinfoHistoryList(this, "history", false);
11385
15367
  get history() {
@@ -11576,6 +15558,7 @@ export class Upgradestatusinfo extends cdktf.TerraformResource {
11576
15558
  upgrade_ops: cdktf.stringToTerraform(this._upgradeOps),
11577
15559
  uuid: cdktf.stringToTerraform(this._uuid),
11578
15560
  version: cdktf.stringToTerraform(this._version),
15561
+ dryrun_info: cdktf.listMapper(upgradestatusinfoDryrunInfoToTerraform, true)(this._dryrunInfo.internalValue),
11579
15562
  history: cdktf.listMapper(upgradestatusinfoHistoryToTerraform, true)(this._history.internalValue),
11580
15563
  params: cdktf.listMapper(upgradestatusinfoParamsToTerraform, true)(this._params.internalValue),
11581
15564
  patch_list: cdktf.listMapper(upgradestatusinfoPatchListStructToTerraform, true)(this._patchList.internalValue),
@@ -11836,6 +15819,12 @@ export class Upgradestatusinfo extends cdktf.TerraformResource {
11836
15819
  type: "simple",
11837
15820
  storageClassType: "string",
11838
15821
  },
15822
+ dryrun_info: {
15823
+ value: cdktf.listMapperHcl(upgradestatusinfoDryrunInfoToHclTerraform, true)(this._dryrunInfo.internalValue),
15824
+ isBlock: true,
15825
+ type: "set",
15826
+ storageClassType: "UpgradestatusinfoDryrunInfoList",
15827
+ },
11839
15828
  history: {
11840
15829
  value: cdktf.listMapperHcl(upgradestatusinfoHistoryToHclTerraform, true)(this._history.internalValue),
11841
15830
  isBlock: true,