@awboost/cfntypes 1.0.0-beta.58 → 1.0.0-beta.59

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 (465) hide show
  1. package/README.md +52 -0
  2. package/lib/intrinsics.d.ts +428 -0
  3. package/lib/intrinsics.js +498 -0
  4. package/lib/resources.generated/AWS-ACMPCA.d.ts +413 -0
  5. package/lib/resources.generated/AWS-ACMPCA.js +53 -0
  6. package/lib/resources.generated/AWS-APS.d.ts +71 -0
  7. package/lib/resources.generated/AWS-APS.js +27 -0
  8. package/lib/resources.generated/AWS-AccessAnalyzer.d.ts +53 -0
  9. package/lib/resources.generated/AWS-AccessAnalyzer.js +14 -0
  10. package/lib/resources.generated/AWS-AmazonMQ.d.ts +202 -0
  11. package/lib/resources.generated/AWS-AmazonMQ.js +50 -0
  12. package/lib/resources.generated/AWS-Amplify.d.ts +199 -0
  13. package/lib/resources.generated/AWS-Amplify.js +49 -0
  14. package/lib/resources.generated/AWS-AmplifyUIBuilder.d.ts +450 -0
  15. package/lib/resources.generated/AWS-AmplifyUIBuilder.js +40 -0
  16. package/lib/resources.generated/AWS-ApiGateway.d.ts +790 -0
  17. package/lib/resources.generated/AWS-ApiGateway.js +253 -0
  18. package/lib/resources.generated/AWS-ApiGatewayV2.d.ts +578 -0
  19. package/lib/resources.generated/AWS-ApiGatewayV2.js +170 -0
  20. package/lib/resources.generated/AWS-AppConfig.d.ts +282 -0
  21. package/lib/resources.generated/AWS-AppConfig.js +105 -0
  22. package/lib/resources.generated/AWS-AppFlow.d.ts +1084 -0
  23. package/lib/resources.generated/AWS-AppFlow.js +40 -0
  24. package/lib/resources.generated/AWS-AppIntegrations.d.ts +94 -0
  25. package/lib/resources.generated/AWS-AppIntegrations.js +27 -0
  26. package/lib/resources.generated/AWS-AppMesh.d.ts +1486 -0
  27. package/lib/resources.generated/AWS-AppMesh.js +129 -0
  28. package/lib/resources.generated/AWS-AppRunner.d.ts +338 -0
  29. package/lib/resources.generated/AWS-AppRunner.js +74 -0
  30. package/lib/resources.generated/AWS-AppStream.d.ts +555 -0
  31. package/lib/resources.generated/AWS-AppStream.js +170 -0
  32. package/lib/resources.generated/AWS-AppSync.d.ts +582 -0
  33. package/lib/resources.generated/AWS-AppSync.js +141 -0
  34. package/lib/resources.generated/AWS-ApplicationAutoScaling.d.ts +157 -0
  35. package/lib/resources.generated/AWS-ApplicationAutoScaling.js +27 -0
  36. package/lib/resources.generated/AWS-ApplicationInsights.d.ts +191 -0
  37. package/lib/resources.generated/AWS-ApplicationInsights.js +14 -0
  38. package/lib/resources.generated/AWS-Athena.d.ts +218 -0
  39. package/lib/resources.generated/AWS-Athena.js +75 -0
  40. package/lib/resources.generated/AWS-AuditManager.d.ts +103 -0
  41. package/lib/resources.generated/AWS-AuditManager.js +14 -0
  42. package/lib/resources.generated/AWS-AutoScaling.d.ts +621 -0
  43. package/lib/resources.generated/AWS-AutoScaling.js +85 -0
  44. package/lib/resources.generated/AWS-AutoScalingPlans.d.ts +134 -0
  45. package/lib/resources.generated/AWS-AutoScalingPlans.js +14 -0
  46. package/lib/resources.generated/AWS-Backup.d.ts +322 -0
  47. package/lib/resources.generated/AWS-Backup.js +66 -0
  48. package/lib/resources.generated/AWS-BackupGateway.d.ts +35 -0
  49. package/lib/resources.generated/AWS-BackupGateway.js +14 -0
  50. package/lib/resources.generated/AWS-Batch.d.ts +577 -0
  51. package/lib/resources.generated/AWS-Batch.js +53 -0
  52. package/lib/resources.generated/AWS-BillingConductor.d.ts +226 -0
  53. package/lib/resources.generated/AWS-BillingConductor.js +67 -0
  54. package/lib/resources.generated/AWS-Budgets.d.ts +210 -0
  55. package/lib/resources.generated/AWS-Budgets.js +27 -0
  56. package/lib/resources.generated/AWS-CE.d.ts +128 -0
  57. package/lib/resources.generated/AWS-CE.js +46 -0
  58. package/lib/resources.generated/AWS-CUR.d.ts +31 -0
  59. package/lib/resources.generated/AWS-CUR.js +14 -0
  60. package/lib/resources.generated/AWS-Cassandra.d.ts +105 -0
  61. package/lib/resources.generated/AWS-Cassandra.js +27 -0
  62. package/lib/resources.generated/AWS-CertificateManager.d.ts +72 -0
  63. package/lib/resources.generated/AWS-CertificateManager.js +27 -0
  64. package/lib/resources.generated/AWS-Chatbot.d.ts +69 -0
  65. package/lib/resources.generated/AWS-Chatbot.js +27 -0
  66. package/lib/resources.generated/AWS-CleanRooms.d.ts +342 -0
  67. package/lib/resources.generated/AWS-CleanRooms.js +79 -0
  68. package/lib/resources.generated/AWS-Cloud9.d.ts +48 -0
  69. package/lib/resources.generated/AWS-Cloud9.js +14 -0
  70. package/lib/resources.generated/AWS-CloudFormation.d.ts +540 -0
  71. package/lib/resources.generated/AWS-CloudFormation.js +225 -0
  72. package/lib/resources.generated/AWS-CloudFront.d.ts +1098 -0
  73. package/lib/resources.generated/AWS-CloudFront.js +170 -0
  74. package/lib/resources.generated/AWS-CloudTrail.d.ts +213 -0
  75. package/lib/resources.generated/AWS-CloudTrail.js +53 -0
  76. package/lib/resources.generated/AWS-CloudWatch.d.ts +358 -0
  77. package/lib/resources.generated/AWS-CloudWatch.js +79 -0
  78. package/lib/resources.generated/AWS-CodeArtifact.d.ts +71 -0
  79. package/lib/resources.generated/AWS-CodeArtifact.js +27 -0
  80. package/lib/resources.generated/AWS-CodeBuild.d.ts +335 -0
  81. package/lib/resources.generated/AWS-CodeBuild.js +40 -0
  82. package/lib/resources.generated/AWS-CodeCommit.d.ts +67 -0
  83. package/lib/resources.generated/AWS-CodeCommit.js +14 -0
  84. package/lib/resources.generated/AWS-CodeDeploy.d.ts +345 -0
  85. package/lib/resources.generated/AWS-CodeDeploy.js +40 -0
  86. package/lib/resources.generated/AWS-CodeGuruProfiler.d.ts +50 -0
  87. package/lib/resources.generated/AWS-CodeGuruProfiler.js +14 -0
  88. package/lib/resources.generated/AWS-CodeGuruReviewer.d.ts +34 -0
  89. package/lib/resources.generated/AWS-CodeGuruReviewer.js +14 -0
  90. package/lib/resources.generated/AWS-CodePipeline.d.ts +253 -0
  91. package/lib/resources.generated/AWS-CodePipeline.js +40 -0
  92. package/lib/resources.generated/AWS-CodeStar.d.ts +45 -0
  93. package/lib/resources.generated/AWS-CodeStar.js +14 -0
  94. package/lib/resources.generated/AWS-CodeStarConnections.d.ts +34 -0
  95. package/lib/resources.generated/AWS-CodeStarConnections.js +14 -0
  96. package/lib/resources.generated/AWS-CodeStarNotifications.d.ts +47 -0
  97. package/lib/resources.generated/AWS-CodeStarNotifications.js +14 -0
  98. package/lib/resources.generated/AWS-Cognito.d.ts +739 -0
  99. package/lib/resources.generated/AWS-Cognito.js +170 -0
  100. package/lib/resources.generated/AWS-Comprehend.d.ts +190 -0
  101. package/lib/resources.generated/AWS-Comprehend.js +27 -0
  102. package/lib/resources.generated/AWS-Config.d.ts +497 -0
  103. package/lib/resources.generated/AWS-Config.js +131 -0
  104. package/lib/resources.generated/AWS-Connect.d.ts +1147 -0
  105. package/lib/resources.generated/AWS-Connect.js +287 -0
  106. package/lib/resources.generated/AWS-ConnectCampaigns.d.ts +77 -0
  107. package/lib/resources.generated/AWS-ConnectCampaigns.js +14 -0
  108. package/lib/resources.generated/AWS-ControlTower.d.ts +21 -0
  109. package/lib/resources.generated/AWS-ControlTower.js +14 -0
  110. package/lib/resources.generated/AWS-CustomerProfiles.d.ts +422 -0
  111. package/lib/resources.generated/AWS-CustomerProfiles.js +73 -0
  112. package/lib/resources.generated/AWS-DAX.d.ts +91 -0
  113. package/lib/resources.generated/AWS-DAX.js +40 -0
  114. package/lib/resources.generated/AWS-DLM.d.ts +234 -0
  115. package/lib/resources.generated/AWS-DLM.js +14 -0
  116. package/lib/resources.generated/AWS-DMS.d.ts +584 -0
  117. package/lib/resources.generated/AWS-DMS.js +95 -0
  118. package/lib/resources.generated/AWS-DataBrew.d.ts +711 -0
  119. package/lib/resources.generated/AWS-DataBrew.js +79 -0
  120. package/lib/resources.generated/AWS-DataPipeline.d.ts +90 -0
  121. package/lib/resources.generated/AWS-DataPipeline.js +14 -0
  122. package/lib/resources.generated/AWS-DataSync.d.ts +736 -0
  123. package/lib/resources.generated/AWS-DataSync.js +188 -0
  124. package/lib/resources.generated/AWS-Detective.d.ts +78 -0
  125. package/lib/resources.generated/AWS-Detective.js +40 -0
  126. package/lib/resources.generated/AWS-DevOpsGuru.d.ts +132 -0
  127. package/lib/resources.generated/AWS-DevOpsGuru.js +40 -0
  128. package/lib/resources.generated/AWS-DirectoryService.d.ts +88 -0
  129. package/lib/resources.generated/AWS-DirectoryService.js +27 -0
  130. package/lib/resources.generated/AWS-DocDB.d.ts +131 -0
  131. package/lib/resources.generated/AWS-DocDB.js +53 -0
  132. package/lib/resources.generated/AWS-DocDBElastic.d.ts +40 -0
  133. package/lib/resources.generated/AWS-DocDBElastic.js +14 -0
  134. package/lib/resources.generated/AWS-DynamoDB.d.ts +403 -0
  135. package/lib/resources.generated/AWS-DynamoDB.js +27 -0
  136. package/lib/resources.generated/AWS-EC2.d.ts +4660 -0
  137. package/lib/resources.generated/AWS-EC2.js +1364 -0
  138. package/lib/resources.generated/AWS-ECR.d.ts +210 -0
  139. package/lib/resources.generated/AWS-ECR.js +66 -0
  140. package/lib/resources.generated/AWS-ECS.d.ts +843 -0
  141. package/lib/resources.generated/AWS-ECS.js +92 -0
  142. package/lib/resources.generated/AWS-EFS.d.ts +184 -0
  143. package/lib/resources.generated/AWS-EFS.js +40 -0
  144. package/lib/resources.generated/AWS-EKS.d.ts +354 -0
  145. package/lib/resources.generated/AWS-EKS.js +77 -0
  146. package/lib/resources.generated/AWS-EMR.d.ts +767 -0
  147. package/lib/resources.generated/AWS-EMR.js +109 -0
  148. package/lib/resources.generated/AWS-EMRContainers.d.ts +58 -0
  149. package/lib/resources.generated/AWS-EMRContainers.js +14 -0
  150. package/lib/resources.generated/AWS-EMRServerless.d.ts +121 -0
  151. package/lib/resources.generated/AWS-EMRServerless.js +14 -0
  152. package/lib/resources.generated/AWS-ElastiCache.d.ts +431 -0
  153. package/lib/resources.generated/AWS-ElastiCache.js +134 -0
  154. package/lib/resources.generated/AWS-ElasticBeanstalk.d.ts +208 -0
  155. package/lib/resources.generated/AWS-ElasticBeanstalk.js +53 -0
  156. package/lib/resources.generated/AWS-ElasticLoadBalancing.d.ts +131 -0
  157. package/lib/resources.generated/AWS-ElasticLoadBalancing.js +20 -0
  158. package/lib/resources.generated/AWS-ElasticLoadBalancingV2.d.ts +505 -0
  159. package/lib/resources.generated/AWS-ElasticLoadBalancingV2.js +78 -0
  160. package/lib/resources.generated/AWS-Elasticsearch.d.ts +177 -0
  161. package/lib/resources.generated/AWS-Elasticsearch.js +14 -0
  162. package/lib/resources.generated/AWS-EntityResolution.d.ts +136 -0
  163. package/lib/resources.generated/AWS-EntityResolution.js +27 -0
  164. package/lib/resources.generated/AWS-EventSchemas.d.ts +151 -0
  165. package/lib/resources.generated/AWS-EventSchemas.js +53 -0
  166. package/lib/resources.generated/AWS-Events.d.ts +569 -0
  167. package/lib/resources.generated/AWS-Events.js +92 -0
  168. package/lib/resources.generated/AWS-Evidently.d.ts +329 -0
  169. package/lib/resources.generated/AWS-Evidently.js +66 -0
  170. package/lib/resources.generated/AWS-FIS.d.ts +105 -0
  171. package/lib/resources.generated/AWS-FIS.js +14 -0
  172. package/lib/resources.generated/AWS-FMS.d.ts +154 -0
  173. package/lib/resources.generated/AWS-FMS.js +43 -0
  174. package/lib/resources.generated/AWS-FSx.d.ts +486 -0
  175. package/lib/resources.generated/AWS-FSx.js +70 -0
  176. package/lib/resources.generated/AWS-FinSpace.d.ts +73 -0
  177. package/lib/resources.generated/AWS-FinSpace.js +22 -0
  178. package/lib/resources.generated/AWS-Forecast.d.ts +99 -0
  179. package/lib/resources.generated/AWS-Forecast.js +27 -0
  180. package/lib/resources.generated/AWS-FraudDetector.d.ts +380 -0
  181. package/lib/resources.generated/AWS-FraudDetector.js +100 -0
  182. package/lib/resources.generated/AWS-GameLift.d.ts +493 -0
  183. package/lib/resources.generated/AWS-GameLift.js +118 -0
  184. package/lib/resources.generated/AWS-GlobalAccelerator.d.ts +129 -0
  185. package/lib/resources.generated/AWS-GlobalAccelerator.js +46 -0
  186. package/lib/resources.generated/AWS-Glue.d.ts +1154 -0
  187. package/lib/resources.generated/AWS-Glue.js +235 -0
  188. package/lib/resources.generated/AWS-Grafana.d.ts +111 -0
  189. package/lib/resources.generated/AWS-Grafana.js +23 -0
  190. package/lib/resources.generated/AWS-Greengrass.d.ts +909 -0
  191. package/lib/resources.generated/AWS-Greengrass.js +209 -0
  192. package/lib/resources.generated/AWS-GreengrassV2.d.ts +294 -0
  193. package/lib/resources.generated/AWS-GreengrassV2.js +27 -0
  194. package/lib/resources.generated/AWS-GroundStation.d.ts +344 -0
  195. package/lib/resources.generated/AWS-GroundStation.js +40 -0
  196. package/lib/resources.generated/AWS-GuardDuty.d.ts +252 -0
  197. package/lib/resources.generated/AWS-GuardDuty.js +79 -0
  198. package/lib/resources.generated/AWS-HealthImaging.d.ts +35 -0
  199. package/lib/resources.generated/AWS-HealthImaging.js +20 -0
  200. package/lib/resources.generated/AWS-HealthLake.d.ts +85 -0
  201. package/lib/resources.generated/AWS-HealthLake.js +22 -0
  202. package/lib/resources.generated/AWS-IAM.d.ts +485 -0
  203. package/lib/resources.generated/AWS-IAM.js +227 -0
  204. package/lib/resources.generated/AWS-IVS.d.ts +163 -0
  205. package/lib/resources.generated/AWS-IVS.js +53 -0
  206. package/lib/resources.generated/AWS-IVSChat.d.ts +108 -0
  207. package/lib/resources.generated/AWS-IVSChat.js +27 -0
  208. package/lib/resources.generated/AWS-IdentityStore.d.ts +66 -0
  209. package/lib/resources.generated/AWS-IdentityStore.js +27 -0
  210. package/lib/resources.generated/AWS-ImageBuilder.d.ts +568 -0
  211. package/lib/resources.generated/AWS-ImageBuilder.js +92 -0
  212. package/lib/resources.generated/AWS-Inspector.d.ts +85 -0
  213. package/lib/resources.generated/AWS-Inspector.js +40 -0
  214. package/lib/resources.generated/AWS-InspectorV2.d.ts +128 -0
  215. package/lib/resources.generated/AWS-InspectorV2.js +14 -0
  216. package/lib/resources.generated/AWS-InternetMonitor.d.ts +81 -0
  217. package/lib/resources.generated/AWS-InternetMonitor.js +20 -0
  218. package/lib/resources.generated/AWS-IoT.d.ts +1545 -0
  219. package/lib/resources.generated/AWS-IoT.js +332 -0
  220. package/lib/resources.generated/AWS-IoT1Click.d.ts +108 -0
  221. package/lib/resources.generated/AWS-IoT1Click.js +40 -0
  222. package/lib/resources.generated/AWS-IoTAnalytics.d.ts +587 -0
  223. package/lib/resources.generated/AWS-IoTAnalytics.js +53 -0
  224. package/lib/resources.generated/AWS-IoTCoreDeviceAdvisor.d.ts +53 -0
  225. package/lib/resources.generated/AWS-IoTCoreDeviceAdvisor.js +14 -0
  226. package/lib/resources.generated/AWS-IoTEvents.d.ts +544 -0
  227. package/lib/resources.generated/AWS-IoTEvents.js +40 -0
  228. package/lib/resources.generated/AWS-IoTFleetHub.d.ts +39 -0
  229. package/lib/resources.generated/AWS-IoTFleetHub.js +23 -0
  230. package/lib/resources.generated/AWS-IoTFleetWise.d.ts +438 -0
  231. package/lib/resources.generated/AWS-IoTFleetWise.js +88 -0
  232. package/lib/resources.generated/AWS-IoTSiteWise.d.ts +452 -0
  233. package/lib/resources.generated/AWS-IoTSiteWise.js +92 -0
  234. package/lib/resources.generated/AWS-IoTThingsGraph.d.ts +30 -0
  235. package/lib/resources.generated/AWS-IoTThingsGraph.js +14 -0
  236. package/lib/resources.generated/AWS-IoTTwinMaker.d.ts +412 -0
  237. package/lib/resources.generated/AWS-IoTTwinMaker.js +87 -0
  238. package/lib/resources.generated/AWS-IoTWireless.d.ts +620 -0
  239. package/lib/resources.generated/AWS-IoTWireless.js +180 -0
  240. package/lib/resources.generated/AWS-KMS.d.ts +91 -0
  241. package/lib/resources.generated/AWS-KMS.js +43 -0
  242. package/lib/resources.generated/AWS-KafkaConnect.d.ts +199 -0
  243. package/lib/resources.generated/AWS-KafkaConnect.js +14 -0
  244. package/lib/resources.generated/AWS-Kendra.d.ts +758 -0
  245. package/lib/resources.generated/AWS-Kendra.js +43 -0
  246. package/lib/resources.generated/AWS-KendraRanking.d.ts +41 -0
  247. package/lib/resources.generated/AWS-KendraRanking.js +14 -0
  248. package/lib/resources.generated/AWS-Kinesis.d.ts +82 -0
  249. package/lib/resources.generated/AWS-Kinesis.js +33 -0
  250. package/lib/resources.generated/AWS-KinesisAnalytics.d.ts +294 -0
  251. package/lib/resources.generated/AWS-KinesisAnalytics.js +40 -0
  252. package/lib/resources.generated/AWS-KinesisAnalyticsV2.d.ts +553 -0
  253. package/lib/resources.generated/AWS-KinesisAnalyticsV2.js +53 -0
  254. package/lib/resources.generated/AWS-KinesisFirehose.d.ts +532 -0
  255. package/lib/resources.generated/AWS-KinesisFirehose.js +14 -0
  256. package/lib/resources.generated/AWS-KinesisVideo.d.ts +63 -0
  257. package/lib/resources.generated/AWS-KinesisVideo.js +27 -0
  258. package/lib/resources.generated/AWS-LakeFormation.d.ts +471 -0
  259. package/lib/resources.generated/AWS-LakeFormation.js +92 -0
  260. package/lib/resources.generated/AWS-Lambda.d.ts +616 -0
  261. package/lib/resources.generated/AWS-Lambda.js +139 -0
  262. package/lib/resources.generated/AWS-Lex.d.ts +1060 -0
  263. package/lib/resources.generated/AWS-Lex.js +56 -0
  264. package/lib/resources.generated/AWS-LicenseManager.d.ts +138 -0
  265. package/lib/resources.generated/AWS-LicenseManager.js +27 -0
  266. package/lib/resources.generated/AWS-Lightsail.d.ts +706 -0
  267. package/lib/resources.generated/AWS-Lightsail.js +177 -0
  268. package/lib/resources.generated/AWS-Location.d.ts +198 -0
  269. package/lib/resources.generated/AWS-Location.js +79 -0
  270. package/lib/resources.generated/AWS-Logs.d.ts +223 -0
  271. package/lib/resources.generated/AWS-Logs.js +105 -0
  272. package/lib/resources.generated/AWS-LookoutEquipment.d.ts +83 -0
  273. package/lib/resources.generated/AWS-LookoutEquipment.js +14 -0
  274. package/lib/resources.generated/AWS-LookoutMetrics.d.ts +242 -0
  275. package/lib/resources.generated/AWS-LookoutMetrics.js +27 -0
  276. package/lib/resources.generated/AWS-LookoutVision.d.ts +28 -0
  277. package/lib/resources.generated/AWS-LookoutVision.js +14 -0
  278. package/lib/resources.generated/AWS-M2.d.ts +119 -0
  279. package/lib/resources.generated/AWS-M2.js +27 -0
  280. package/lib/resources.generated/AWS-MSK.d.ts +495 -0
  281. package/lib/resources.generated/AWS-MSK.js +84 -0
  282. package/lib/resources.generated/AWS-MWAA.d.ts +86 -0
  283. package/lib/resources.generated/AWS-MWAA.js +22 -0
  284. package/lib/resources.generated/AWS-Macie.d.ts +166 -0
  285. package/lib/resources.generated/AWS-Macie.js +53 -0
  286. package/lib/resources.generated/AWS-ManagedBlockchain.d.ts +178 -0
  287. package/lib/resources.generated/AWS-ManagedBlockchain.js +40 -0
  288. package/lib/resources.generated/AWS-MediaConnect.d.ts +575 -0
  289. package/lib/resources.generated/AWS-MediaConnect.js +124 -0
  290. package/lib/resources.generated/AWS-MediaConvert.d.ts +118 -0
  291. package/lib/resources.generated/AWS-MediaConvert.js +40 -0
  292. package/lib/resources.generated/AWS-MediaLive.d.ts +1959 -0
  293. package/lib/resources.generated/AWS-MediaLive.js +40 -0
  294. package/lib/resources.generated/AWS-MediaPackage.d.ts +529 -0
  295. package/lib/resources.generated/AWS-MediaPackage.js +66 -0
  296. package/lib/resources.generated/AWS-MediaPackageV2.d.ts +250 -0
  297. package/lib/resources.generated/AWS-MediaPackageV2.js +66 -0
  298. package/lib/resources.generated/AWS-MediaStore.d.ts +65 -0
  299. package/lib/resources.generated/AWS-MediaStore.js +14 -0
  300. package/lib/resources.generated/AWS-MediaTailor.d.ts +368 -0
  301. package/lib/resources.generated/AWS-MediaTailor.js +85 -0
  302. package/lib/resources.generated/AWS-MemoryDB.d.ts +193 -0
  303. package/lib/resources.generated/AWS-MemoryDB.js +72 -0
  304. package/lib/resources.generated/AWS-Neptune.d.ts +176 -0
  305. package/lib/resources.generated/AWS-Neptune.js +66 -0
  306. package/lib/resources.generated/AWS-NetworkFirewall.d.ts +460 -0
  307. package/lib/resources.generated/AWS-NetworkFirewall.js +53 -0
  308. package/lib/resources.generated/AWS-NetworkManager.d.ts +609 -0
  309. package/lib/resources.generated/AWS-NetworkManager.js +261 -0
  310. package/lib/resources.generated/AWS-NimbleStudio.d.ts +292 -0
  311. package/lib/resources.generated/AWS-NimbleStudio.js +61 -0
  312. package/lib/resources.generated/AWS-OSIS.d.ts +73 -0
  313. package/lib/resources.generated/AWS-OSIS.js +14 -0
  314. package/lib/resources.generated/AWS-Oam.d.ts +61 -0
  315. package/lib/resources.generated/AWS-Oam.js +32 -0
  316. package/lib/resources.generated/AWS-Omics.d.ts +290 -0
  317. package/lib/resources.generated/AWS-Omics.js +95 -0
  318. package/lib/resources.generated/AWS-OpenSearchServerless.d.ts +146 -0
  319. package/lib/resources.generated/AWS-OpenSearchServerless.js +66 -0
  320. package/lib/resources.generated/AWS-OpenSearchService.d.ts +258 -0
  321. package/lib/resources.generated/AWS-OpenSearchService.js +30 -0
  322. package/lib/resources.generated/AWS-OpsWorks.d.ts +425 -0
  323. package/lib/resources.generated/AWS-OpsWorks.js +98 -0
  324. package/lib/resources.generated/AWS-OpsWorksCM.d.ts +59 -0
  325. package/lib/resources.generated/AWS-OpsWorksCM.js +14 -0
  326. package/lib/resources.generated/AWS-Organizations.d.ts +158 -0
  327. package/lib/resources.generated/AWS-Organizations.js +73 -0
  328. package/lib/resources.generated/AWS-PCAConnectorAD.d.ts +488 -0
  329. package/lib/resources.generated/AWS-PCAConnectorAD.js +66 -0
  330. package/lib/resources.generated/AWS-Panorama.d.ts +142 -0
  331. package/lib/resources.generated/AWS-Panorama.js +65 -0
  332. package/lib/resources.generated/AWS-Personalize.d.ts +230 -0
  333. package/lib/resources.generated/AWS-Personalize.js +53 -0
  334. package/lib/resources.generated/AWS-Pinpoint.d.ts +1032 -0
  335. package/lib/resources.generated/AWS-Pinpoint.js +248 -0
  336. package/lib/resources.generated/AWS-PinpointEmail.d.ts +224 -0
  337. package/lib/resources.generated/AWS-PinpointEmail.js +60 -0
  338. package/lib/resources.generated/AWS-Pipes.d.ts +552 -0
  339. package/lib/resources.generated/AWS-Pipes.js +20 -0
  340. package/lib/resources.generated/AWS-Proton.d.ts +99 -0
  341. package/lib/resources.generated/AWS-Proton.js +40 -0
  342. package/lib/resources.generated/AWS-QLDB.d.ts +67 -0
  343. package/lib/resources.generated/AWS-QLDB.js +27 -0
  344. package/lib/resources.generated/AWS-QuickSight.d.ts +15929 -0
  345. package/lib/resources.generated/AWS-QuickSight.js +186 -0
  346. package/lib/resources.generated/AWS-RAM.d.ts +67 -0
  347. package/lib/resources.generated/AWS-RAM.js +27 -0
  348. package/lib/resources.generated/AWS-RDS.d.ts +691 -0
  349. package/lib/resources.generated/AWS-RDS.js +201 -0
  350. package/lib/resources.generated/AWS-RUM.d.ts +83 -0
  351. package/lib/resources.generated/AWS-RUM.js +14 -0
  352. package/lib/resources.generated/AWS-Redshift.d.ts +410 -0
  353. package/lib/resources.generated/AWS-Redshift.js +144 -0
  354. package/lib/resources.generated/AWS-RedshiftServerless.d.ts +179 -0
  355. package/lib/resources.generated/AWS-RedshiftServerless.js +58 -0
  356. package/lib/resources.generated/AWS-RefactorSpaces.d.ts +187 -0
  357. package/lib/resources.generated/AWS-RefactorSpaces.js +62 -0
  358. package/lib/resources.generated/AWS-Rekognition.d.ts +166 -0
  359. package/lib/resources.generated/AWS-Rekognition.js +40 -0
  360. package/lib/resources.generated/AWS-ResilienceHub.d.ts +122 -0
  361. package/lib/resources.generated/AWS-ResilienceHub.js +27 -0
  362. package/lib/resources.generated/AWS-ResourceExplorer2.d.ts +102 -0
  363. package/lib/resources.generated/AWS-ResourceExplorer2.js +40 -0
  364. package/lib/resources.generated/AWS-ResourceGroups.d.ts +80 -0
  365. package/lib/resources.generated/AWS-ResourceGroups.js +14 -0
  366. package/lib/resources.generated/AWS-RoboMaker.d.ts +238 -0
  367. package/lib/resources.generated/AWS-RoboMaker.js +79 -0
  368. package/lib/resources.generated/AWS-RolesAnywhere.d.ts +127 -0
  369. package/lib/resources.generated/AWS-RolesAnywhere.js +40 -0
  370. package/lib/resources.generated/AWS-Route53.d.ts +346 -0
  371. package/lib/resources.generated/AWS-Route53.js +92 -0
  372. package/lib/resources.generated/AWS-Route53RecoveryControl.d.ts +162 -0
  373. package/lib/resources.generated/AWS-Route53RecoveryControl.js +53 -0
  374. package/lib/resources.generated/AWS-Route53RecoveryReadiness.d.ts +166 -0
  375. package/lib/resources.generated/AWS-Route53RecoveryReadiness.js +53 -0
  376. package/lib/resources.generated/AWS-Route53Resolver.d.ts +415 -0
  377. package/lib/resources.generated/AWS-Route53Resolver.js +208 -0
  378. package/lib/resources.generated/AWS-S3.d.ts +942 -0
  379. package/lib/resources.generated/AWS-S3.js +85 -0
  380. package/lib/resources.generated/AWS-S3ObjectLambda.d.ts +124 -0
  381. package/lib/resources.generated/AWS-S3ObjectLambda.js +40 -0
  382. package/lib/resources.generated/AWS-S3Outposts.d.ts +198 -0
  383. package/lib/resources.generated/AWS-S3Outposts.js +53 -0
  384. package/lib/resources.generated/AWS-SDB.d.ts +20 -0
  385. package/lib/resources.generated/AWS-SDB.js +14 -0
  386. package/lib/resources.generated/AWS-SES.d.ts +548 -0
  387. package/lib/resources.generated/AWS-SES.js +138 -0
  388. package/lib/resources.generated/AWS-SNS.d.ts +121 -0
  389. package/lib/resources.generated/AWS-SNS.js +56 -0
  390. package/lib/resources.generated/AWS-SQS.d.ts +92 -0
  391. package/lib/resources.generated/AWS-SQS.js +44 -0
  392. package/lib/resources.generated/AWS-SSM.d.ts +516 -0
  393. package/lib/resources.generated/AWS-SSM.js +118 -0
  394. package/lib/resources.generated/AWS-SSMContacts.d.ts +243 -0
  395. package/lib/resources.generated/AWS-SSMContacts.js +53 -0
  396. package/lib/resources.generated/AWS-SSMIncidents.d.ts +183 -0
  397. package/lib/resources.generated/AWS-SSMIncidents.js +27 -0
  398. package/lib/resources.generated/AWS-SSO.d.ts +115 -0
  399. package/lib/resources.generated/AWS-SSO.js +40 -0
  400. package/lib/resources.generated/AWS-SageMaker.d.ts +3245 -0
  401. package/lib/resources.generated/AWS-SageMaker.js +393 -0
  402. package/lib/resources.generated/AWS-Scheduler.d.ts +221 -0
  403. package/lib/resources.generated/AWS-Scheduler.js +27 -0
  404. package/lib/resources.generated/AWS-SecretsManager.d.ts +151 -0
  405. package/lib/resources.generated/AWS-SecretsManager.js +53 -0
  406. package/lib/resources.generated/AWS-SecurityHub.d.ts +247 -0
  407. package/lib/resources.generated/AWS-SecurityHub.js +40 -0
  408. package/lib/resources.generated/AWS-ServiceCatalog.d.ts +471 -0
  409. package/lib/resources.generated/AWS-ServiceCatalog.js +209 -0
  410. package/lib/resources.generated/AWS-ServiceCatalogAppRegistry.d.ts +121 -0
  411. package/lib/resources.generated/AWS-ServiceCatalogAppRegistry.js +53 -0
  412. package/lib/resources.generated/AWS-ServiceDiscovery.d.ts +235 -0
  413. package/lib/resources.generated/AWS-ServiceDiscovery.js +66 -0
  414. package/lib/resources.generated/AWS-Shield.d.ts +147 -0
  415. package/lib/resources.generated/AWS-Shield.js +53 -0
  416. package/lib/resources.generated/AWS-Signer.d.ts +65 -0
  417. package/lib/resources.generated/AWS-Signer.js +27 -0
  418. package/lib/resources.generated/AWS-SimSpaceWeaver.d.ts +41 -0
  419. package/lib/resources.generated/AWS-SimSpaceWeaver.js +14 -0
  420. package/lib/resources.generated/AWS-StepFunctions.d.ts +208 -0
  421. package/lib/resources.generated/AWS-StepFunctions.js +53 -0
  422. package/lib/resources.generated/AWS-SupportApp.d.ts +72 -0
  423. package/lib/resources.generated/AWS-SupportApp.js +40 -0
  424. package/lib/resources.generated/AWS-Synthetics.d.ts +150 -0
  425. package/lib/resources.generated/AWS-Synthetics.js +27 -0
  426. package/lib/resources.generated/AWS-SystemsManagerSAP.d.ts +45 -0
  427. package/lib/resources.generated/AWS-SystemsManagerSAP.js +14 -0
  428. package/lib/resources.generated/AWS-Timestream.d.ts +265 -0
  429. package/lib/resources.generated/AWS-Timestream.js +50 -0
  430. package/lib/resources.generated/AWS-Transfer.d.ts +477 -0
  431. package/lib/resources.generated/AWS-Transfer.js +100 -0
  432. package/lib/resources.generated/AWS-VerifiedPermissions.d.ts +200 -0
  433. package/lib/resources.generated/AWS-VerifiedPermissions.js +60 -0
  434. package/lib/resources.generated/AWS-VoiceID.d.ts +40 -0
  435. package/lib/resources.generated/AWS-VoiceID.js +14 -0
  436. package/lib/resources.generated/AWS-VpcLattice.d.ts +515 -0
  437. package/lib/resources.generated/AWS-VpcLattice.js +161 -0
  438. package/lib/resources.generated/AWS-WAF.d.ts +252 -0
  439. package/lib/resources.generated/AWS-WAF.js +92 -0
  440. package/lib/resources.generated/AWS-WAFRegional.d.ts +350 -0
  441. package/lib/resources.generated/AWS-WAFRegional.js +144 -0
  442. package/lib/resources.generated/AWS-WAFv2.d.ts +1457 -0
  443. package/lib/resources.generated/AWS-WAFv2.js +79 -0
  444. package/lib/resources.generated/AWS-Wisdom.d.ts +147 -0
  445. package/lib/resources.generated/AWS-Wisdom.js +40 -0
  446. package/lib/resources.generated/AWS-WorkSpaces.d.ts +80 -0
  447. package/lib/resources.generated/AWS-WorkSpaces.js +27 -0
  448. package/lib/resources.generated/AWS-WorkSpacesWeb.d.ts +289 -0
  449. package/lib/resources.generated/AWS-WorkSpacesWeb.js +114 -0
  450. package/lib/resources.generated/AWS-XRay.d.ts +108 -0
  451. package/lib/resources.generated/AWS-XRay.js +42 -0
  452. package/lib/resources.generated/Alexa-ASK.d.ts +52 -0
  453. package/lib/resources.generated/Alexa-ASK.js +14 -0
  454. package/lib/resources.generated/core.d.ts +9 -0
  455. package/lib/template.d.ts +793 -5
  456. package/lib/template.js +83 -1
  457. package/lib/util.d.ts +24 -427
  458. package/lib/util.js +50 -487
  459. package/package.json +10 -14
  460. package/lib/definitions.d.ts +0 -351
  461. package/lib/policies.d.ts +0 -460
  462. package/lib/policies.js +0 -83
  463. package/lib/resources.generated.d.ts +0 -90257
  464. package/lib/resources.generated.js +0 -2289
  465. /package/lib/{definitions.js → resources.generated/core.js} +0 -0
package/lib/template.js CHANGED
@@ -1 +1,83 @@
1
- export {};
1
+ /**
2
+ * With the `DeletionPolicy` attribute you can preserve, and in some cases,
3
+ * backup a resource when its stack is deleted. You specify a `DeletionPolicy`
4
+ * attribute for each resource that you want to control. If a resource has no
5
+ * `DeletionPolicy` attribute, AWS CloudFormation deletes the resource by
6
+ * default, except for:
7
+ *
8
+ * - For `AWS::RDS::DBCluster resources`, the default policy is `Snapshot`.
9
+ * - For `AWS::RDS::DBInstance` resources that don't specify the
10
+ * `DBClusterIdentifier` property, the default policy is `Snapshot`.
11
+ * - For Amazon S3 buckets, you must delete all objects in the bucket for
12
+ * deletion to succeed.
13
+ *
14
+ * This capability also applies to stack update operations that lead to
15
+ * resources being deleted from stacks. For example, if you remove the resource
16
+ * from the stack template, and then update the stack with the template. This
17
+ * capability doesn't apply to resources whose physical instance is replaced
18
+ * during stack update operations. For example, if you edit a resource's
19
+ * properties such that CloudFormation replaces that resource during a stack
20
+ * update.
21
+ *
22
+ * To keep a resource when its stack is deleted, specify Retain for that
23
+ * resource. You can use retain for any resource. For example, you can retain a
24
+ * nested stack, Amazon S3 bucket, or EC2 instance so that you can continue to
25
+ * use or modify those resources after you delete their stacks.
26
+ *
27
+ * For resources that support snapshots, such as `AWS::EC2::Volume`, specify
28
+ * Snapshot to have CloudFormation create a snapshot before deleting the
29
+ * resource.
30
+ *
31
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html | DeletionPolicy attribute}
32
+ */
33
+ export const DeletionPolicy = {
34
+ /**
35
+ * CloudFormation deletes the resource and all its content if applicable
36
+ * during stack deletion. You can add this deletion policy to any resource
37
+ * type. By default, if you don't specify a `DeletionPolicy`, CloudFormation
38
+ * deletes your resources. However, be aware of the following considerations:
39
+ *
40
+ * - For `AWS::RDS::DBCluster resources`, the default policy is `Snapshot`.
41
+ * - For `AWS::RDS::DBInstance` resources that don't specify the
42
+ * `DBClusterIdentifier` property, the default policy is `Snapshot`.
43
+ *
44
+ * For Amazon S3 buckets, you must delete all objects in the bucket for
45
+ * deletion to succeed.
46
+ */
47
+ Delete: "Delete",
48
+ /**
49
+ * CloudFormation keeps the resource without deleting the resource or its
50
+ * contents when its stack is deleted. You can add this deletion policy to any
51
+ * resource type. When CloudFormation completes the stack deletion, the stack
52
+ * will be in `Delete_Complete` state; however, resources that are retained
53
+ * continue to exist and continue to incur applicable charges until you delete
54
+ * those resources.
55
+ *
56
+ * For update operations, the following considerations apply:
57
+ *
58
+ * - If a resource is deleted, the `DeletionPolicy` retains the physical
59
+ * resource but ensures that it's deleted from CloudFormation's scope.
60
+ * - If a resource is updated such that a new physical resource is created to
61
+ * replace the old resource, then the old resource is completely deleted,
62
+ * including from CloudFormation's scope.
63
+ */
64
+ Retain: "Retain",
65
+ /**
66
+ * For resources that support snapshots, CloudFormation creates a snapshot for
67
+ * the resource before deleting it. When CloudFormation completes the stack
68
+ * deletion, the stack will be in the `Delete_Complete` state; however, the
69
+ * snapshots that are created with this policy continue to exist and continue
70
+ * to incur applicable charges until you delete those snapshots.
71
+ *
72
+ * Resources that support snapshots include:
73
+ *
74
+ * - `AWS::EC2::Volume`
75
+ * - `AWS::ElastiCache::CacheCluster`
76
+ * - `AWS::ElastiCache::ReplicationGroup`
77
+ * - `AWS::Neptune::DBCluster`
78
+ * - `AWS::RDS::DBCluster`
79
+ * - `AWS::RDS::DBInstance`
80
+ * - `AWS::Redshift::Cluster`
81
+ */
82
+ Snapshot: "Snapshot",
83
+ };
package/lib/util.d.ts CHANGED
@@ -1,434 +1,31 @@
1
+ import { IntrinsicValue } from "./intrinsics.js";
2
+ import { ResourceDefinition, ResourceOptions, Template, TemplateSection } from "./template.js";
1
3
  /**
2
- * A key-value map.
4
+ * The base class for resources.
3
5
  */
4
- export interface TemplateMap<T> {
5
- [key: string]: T;
6
+ export declare class ResourceBase<Type extends string, Props, Attribs> {
7
+ readonly type: Type;
8
+ readonly attributeNames: readonly (keyof Attribs)[];
9
+ readonly logicalId: string;
10
+ readonly properties: Readonly<Props>;
11
+ readonly options: Readonly<ResourceOptions>;
12
+ readonly attributes: Readonly<Attribs>;
13
+ readonly ref: IntrinsicValue;
14
+ constructor(type: Type, attributeNames: readonly (keyof Attribs)[], logicalId: string, properties: Readonly<Props>, options?: Readonly<ResourceOptions>);
15
+ addToTemplate(template: Template): this;
16
+ toJSON(): ResourceDefinition<Props, Type>;
6
17
  }
7
18
  /**
8
- * IntrinsicValue represents the output of an intrinsic function.
19
+ * Add the given element to the template, taking care of creating the template
20
+ * section if necessary, and checking if the element already exists. An
21
+ * exception will be thrown if an element with the same name has already been
22
+ * added to the template.
9
23
  */
10
- export type IntrinsicValue = any;
24
+ export declare function addToTemplate<Section extends TemplateSection>(template: Template, section: Section, name: string, value: Required<Template>[Section][string]): void;
11
25
  /**
12
- * You can use intrinsic functions, such as `Fn::If`, `Fn::Equals`, and
13
- * `Fn::Not`, to conditionally create stack resources. These conditions are
14
- * evaluated based on input parameters that you declare when you create or
15
- * update a stack. After you define all your conditions, you can associate them
16
- * with resources or resource properties in the Resources and Outputs sections
17
- * of a template.
18
- *
19
- * You define all conditions in the Conditions section of a template except for
20
- * `Fn::If conditions`. You can use the `Fn::If` condition in the metadata
21
- * attribute, update policy attribute, and property values in the Resources
22
- * section and Outputs sections of a template.
23
- *
24
- * You might use conditions when you want to reuse a template that can create
25
- * resources in different contexts, such as a test environment versus a
26
- * production environment. In your template, you can add an EnvironmentType
27
- * input parameter, which accepts either prod or test as inputs. For the
28
- * production environment, you might include Amazon EC2 instances with certain
29
- * capabilities; however, for the test environment, you want to use less
30
- * capabilities to save costs. With conditions, you can define which resources
31
- * are created and how they're configured for each environment type.
26
+ * Make a Proxy object that translates member access into `Fn::GetAtt` calls for
27
+ * the given `logicalResourceId`. If `names` is specified, attempts to access
28
+ * an invalid attribute name will throw an exception; otherwise all attribute
29
+ * are allowed.
32
30
  */
33
- export declare class Fn {
34
- fn: string;
35
- args: IntrinsicValue;
36
- /**
37
- * Constructs a string value using {@link Fn.Join} from a tagged template
38
- * literal.
39
- */
40
- static fmt(literals: TemplateStringsArray, ...values: unknown[]): IntrinsicValue;
41
- /**
42
- * Returns true if all the specified conditions evaluate to true, or returns
43
- * false if any one of the conditions evaluates to false. `Fn::And` acts as an
44
- * AND operator. The minimum number of conditions that you can include is 2,
45
- * and the maximum is 10.
46
- *
47
- * @param conditions A condition that evaluates to true or false.
48
- *
49
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-and | Fn::And}
50
- */
51
- static And(...conditions: IntrinsicValue[]): IntrinsicValue;
52
- /**
53
- * The intrinsic function `Fn::Base64` returns the Base64 representation of
54
- * the input string. This function is typically used to pass encoded data to
55
- * Amazon EC2 instances by way of the UserData property.
56
- *
57
- * @param valueToEncode The string value you want to convert to Base64.
58
- * @returns The original string, in Base64 representation.
59
- *
60
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-base64.html | Fn::Base64}
61
- */
62
- static Base64(valueToEncode: string): IntrinsicValue;
63
- /**
64
- * The intrinsic function `Fn::Cidr` returns an array of CIDR address blocks.
65
- * The number of CIDR blocks returned is dependent on the count parameter.
66
- *
67
- * @param ipBlock The user-specified CIDR address block to be split into
68
- * smaller CIDR blocks.
69
- * @param count The number of CIDRs to generate. Valid range is between 1 and
70
- * 256.
71
- * @param cidrBits The number of subnet bits for the CIDR. For example,
72
- * specifying a value "8" for this parameter will create a CIDR with a mask of
73
- * "/24".
74
- * @returns An array of CIDR address blocks.
75
- *
76
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-cidr.html | Fn::Cidr}
77
- */
78
- static Cidr(ipBlock: string, count: number, cidrBits: number): IntrinsicValue;
79
- /**
80
- * Returns `true` if a specified string matches at least one value in a list
81
- * of strings.
82
- *
83
- * @param listOfStrings A list of strings, such as `"A", "B", "C"`.
84
- * @param string A string, such as `"A"`, that you want to compare against a
85
- * list of strings.
86
- *
87
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-contains | Fn::Contains}
88
- */
89
- static Contains(listOfStrings: string[], string: string): IntrinsicValue;
90
- /**
91
- * Returns `true` if a specified string matches all values in a list.
92
- *
93
- * @param listOfStrings A list of strings, such as `"A", "B", "C"`.
94
- * @param string A string, such as `"A"`, that you want to compare against a
95
- * list of strings.
96
- *
97
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-eachmemberequals | Fn::EachMemberEquals}
98
- */
99
- static EachMemberEquals(listOfStrings: string[], string: string): IntrinsicValue;
100
- /**
101
- * Returns `true` if a specified string matches all values in a list.
102
- *
103
- * @param stringsToCheck A list of strings, such as `"A", "B", "C"`.
104
- * CloudFormation checks whether each member in the stringsToC`heck parameter
105
- * is in the `stringsToMap` parameter.
106
- * @param stringsToMatch A list of strings, such as `"A", "B", "C"`. Each
107
- * member in the `stringsToMatch` parameter is compared against the members of
108
- * the `stringsToCheck` parameter.
109
- *
110
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-eachmemberin | Fn::EachMemberIn}
111
- */
112
- static EachMemberIn(stringsToCheck: string[], stringsToMatch: string[]): IntrinsicValue;
113
- /**
114
- * Compares if two values are equal. Returns true if the two values are equal
115
- * or false if they aren't.
116
- *
117
- * @param value1 A value of any type that you want to compare.
118
- * @param value2 A value of any type that you want to compare.
119
- *
120
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-equals | Fn::Equals}
121
- */
122
- static Equals(value1: IntrinsicValue, value2: IntrinsicValue): IntrinsicValue;
123
- /**
124
- * The intrinsic function `Fn::FindInMap` returns the value corresponding to
125
- * keys in a two-level map that is declared in the Mappings section.
126
- *
127
- * @param mapName The logical name of a mapping declared in the Mappings
128
- * section that contains the keys and values.
129
- * @param topLevelKey The top-level key name. Its value is a list of key-value pairs.
130
- * @param secondLevelKey The second-level key name, which is set to one of the keys from the list assigned to TopLevelKey.
131
- * @returns The value that is assigned to SecondLevelKey.
132
- *
133
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-findinmap.html | Fn::FindInMap}
134
- */
135
- static FindInMap(mapName: string, topLevelKey: string, secondLevelKey: string): IntrinsicValue;
136
- /**
137
- * The `Fn::GetAtt` intrinsic function returns the value of an attribute from
138
- * a resource in the template. For more information about GetAtt return values
139
- * for a particular resource, refer to the documentation for that resource in
140
- * the Resource and Property Reference.
141
- *
142
- * @param logicalNameOfResource The logical name (also called logical ID) of
143
- * the resource that contains the attribute that you want.
144
- * @param attributeName The name of the resource-specific attribute whose
145
- * value you want. See the resource's reference page for details about the
146
- * attributes available for that resource type.
147
- * @returns The attribute value.
148
- *
149
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html | Fn::GetAtt}
150
- */
151
- static GetAtt(logicalNameOfResource: string, attributeName: string): IntrinsicValue;
152
- /**
153
- * The intrinsic function `Fn::GetAZs` returns an array that lists
154
- * Availability Zones for a specified region. Because customers have access to
155
- * different Availability Zones, the intrinsic function `Fn::GetAZs` enables
156
- * template authors to write templates that adapt to the calling user's
157
- * access. That way you don't have to hard-code a full list of Availability
158
- * Zones for a specified region.
159
- *
160
- * @param region The name of the region for which you want to get the
161
- * Availability Zones. You can use the AWS::Region pseudo parameter to
162
- * specify the region in which the stack is created. Specifying an empty
163
- * string is equivalent to specifying AWS::Region.
164
- * @returns The list of Availability Zones for the region.
165
- *
166
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getavailabilityzones.html | Fn::GetAZs}
167
- */
168
- static GetAZs(region: string): IntrinsicValue;
169
- /**
170
- * Returns one value if the specified condition evaluates to true and another
171
- * value if the specified condition evaluates to false. Currently, AWS
172
- * CloudFormation supports the Fn::If intrinsic function in the metadata
173
- * attribute, update policy attribute, and property values in the Resources
174
- * section and Outputs sections of a template. You can use the `AWS::NoValue`
175
- * pseudo parameter as a return value to remove the corresponding property.
176
- *
177
- * @param conditionName A reference to a condition in the Conditions section.
178
- * Use the condition's name to reference it.
179
- * @param valueIfTrue A value to be returned if the specified condition
180
- * evaluates to true.
181
- * @param valueIfFalse A value to be returned if the specified condition
182
- * evaluates to false.
183
- *
184
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-if | Fn::If}
185
- */
186
- static IfThen(conditionName: string, valueIfTrue: IntrinsicValue, valueIfFalse: IntrinsicValue): IntrinsicValue;
187
- /**
188
- * The intrinsic function `Fn::ImportValue` returns the value of an output
189
- * exported by another stack. You typically use this function to create
190
- * cross-stack references. In the following example template snippets, Stack A
191
- * exports VPC security group values and Stack B imports them.
192
- *
193
- * @param sharedValueToImport The stack output value that you want to import.
194
- * @returns The stack output value.
195
- *
196
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html | Fn::ImportValue}
197
- */
198
- static ImportValue(sharedValueToImport: string): IntrinsicValue;
199
- /**
200
- * The intrinsic function `Fn::Join` appends a set of values into a single
201
- * value, separated by the specified delimiter. If a delimiter is the empty
202
- * string, the set of values are concatenated with no delimiter.
203
- *
204
- * @param delimiter The value you want to occur between fragments. The
205
- * delimiter will occur between fragments only. It will not terminate the
206
- * final value.
207
- * @param listOfValues The list of values you want combined.
208
- * @returns The combined string.
209
- *
210
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-join.html | Fn::Join}
211
- */
212
- static Join(delimiter: string, listOfValues: IntrinsicValue[]): IntrinsicValue;
213
- /**
214
- * Returns true for a condition that evaluates to false or returns false for a
215
- * condition that evaluates to true. `Fn::Not` acts as a NOT operator.
216
- *
217
- * @param condition A condition such as `Fn::Equals` that evaluates to true or
218
- * false.
219
- *
220
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-not | Fn::Not}
221
- */
222
- static Not(condition: string): IntrinsicValue;
223
- /**
224
- * Returns true if any one of the specified conditions evaluate to true, or
225
- * returns false if all of the conditions evaluates to false. `Fn::Or` acts as
226
- * an OR operator. The minimum number of conditions that you can include is 2,
227
- * and the maximum is 10.
228
- *
229
- * @param conditions A condition that evaluates to true or false.
230
- *
231
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-or | Fn::Or}
232
- */
233
- static Or(...conditions: IntrinsicValue[]): IntrinsicValue;
234
- /**
235
- * The intrinsic function Ref returns the value of the specified parameter or
236
- * resource.
237
- *
238
- * - When you specify a parameter's logical name, it returns the value of the
239
- * parameter.
240
- *
241
- * - When you specify a resource's logical name, it returns a value that you
242
- * can typically use to refer to that resource, such as a physical ID.
243
- *
244
- * When you are declaring a resource in a template and you need to specify
245
- * another template resource by name, you can use the Ref to refer to that
246
- * other resource. In general, Ref returns the name of the resource. For
247
- * example, a reference to an AWS::AutoScaling::AutoScalingGroup returns the
248
- * name of that Auto Scaling group resource.
249
- *
250
- * @param logicalName The logical name of the resource or parameter you want
251
- * to dereference.
252
- *
253
- * @returns The physical ID of the resource or the value of the parameter.
254
- *
255
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html | Ref}
256
- */
257
- static Ref(logicalName: string): IntrinsicValue;
258
- /**
259
- * Returns all values for a specified parameter type.
260
- *
261
- * @param parameterType An AWS-specific parameter type, such as
262
- * `AWS::EC2::SecurityGroup::Id` or `AWS::EC2::VPC::Id`. For more information,
263
- * see Parameters in the AWS CloudFormation User Guide.
264
- *
265
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-refall | Fn::RefAll}
266
- */
267
- static RefAll(parameterType: string): IntrinsicValue;
268
- /**
269
- * The intrinsic function `Fn::Select` returns a single object from a list of
270
- * objects by index.
271
- *
272
- * @param index The index of the object to retrieve. This must be a value from
273
- * zero to N-1, where N represents the number of elements in the array.
274
- * @param listOfObjects The list of objects to select from. This list must not
275
- * be null, nor can it have null entries.
276
- * @returns The selected object.
277
- *
278
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-select.html | Fn::Select}
279
- */
280
- static Select(index: number, listOfObjects: IntrinsicValue[]): IntrinsicValue;
281
- /**
282
- * To split a string into a list of string values so that you can select an
283
- * element from the resulting string list, use the `Fn::Split` intrinsic
284
- * function. Specify the location of splits with a delimiter, such as , (a
285
- * comma). After you split a string, use the `Fn::Select` function to pick a
286
- * specific element.
287
- *
288
- * @param delimiter A string value that determines where the source string is
289
- * divided.
290
- * @param sourceString The string value that you want to split.
291
- * @returns A list of string values.
292
- *
293
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-split.html | Fn::Split}
294
- */
295
- static Split(delimiter: string, sourceString: string): IntrinsicValue;
296
- /**
297
- * The intrinsic function `Fn::Sub` substitutes variables in an input string
298
- * with values that you specify. In your templates, you can use this function
299
- * to construct commands or outputs that include values that aren't available
300
- * until you create or update a stack.
301
- *
302
- * @param text A string with variables that AWS CloudFormation substitutes
303
- * with their associated values at runtime. Write variables as `${MyVarName}`.
304
- * Variables can be template parameter names, resource logical IDs,
305
- * resource attributes, or a variable in a key-value map. If you specify only
306
- * template parameter names, resource logical IDs, and resource attributes,
307
- * don't specify a key-value map.
308
- *
309
- * If you specify template parameter names or resource logical IDs, such as
310
- * `${InstanceTypeParameter}` AWS CloudFormation returns the same values as if
311
- * you used the Ref intrinsic function. If you specify resource attributes,
312
- * such as `${MyInstance.PublicIp}` AWS CloudFormation returns the same values
313
- * as if you used the `Fn::GetAtt` intrinsic function.
314
- *
315
- * To write a dollar sign and curly braces (`${}`) literally, add an
316
- * exclamation point (!) after the open curly brace, such as `${!Literal}`.
317
- * AWS CloudFormation resolves this text as `${Literal}`.
318
- *
319
- * @param values A map of values that AWS CloudFormation substitutes for the
320
- * associated variable names at runtime.
321
- *
322
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-sub.html | Fn::Sub}
323
- */
324
- static Sub(text: string, values: Record<string, IntrinsicValue>): IntrinsicValue;
325
- /**
326
- * Returns an attribute value or list of values for a specific parameter and
327
- * attribute.
328
- *
329
- * @param attribute The name of an attribute from which you want to retrieve a
330
- * value.
331
- * @param parameterLogicalId The name of a parameter for which you want to
332
- * retrieve attribute values. The parameter must be declared in the
333
- * `Parameters` section of the template.
334
- *
335
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-valueof | Fn::ValueOf}
336
- */
337
- static ValueOf(attribute: string, parameterLogicalId: string): IntrinsicValue;
338
- /**
339
- * Returns a list of all attribute values for a given parameter type and
340
- * attribute.
341
- *
342
- * @param parameterType An AWS-specific parameter type, such as
343
- * `AWS::EC2::SecurityGroup::Id` or `AWS::EC2::VPC::Id`. For more information,
344
- * see Parameters in the AWS CloudFormation User Guide.
345
- * @param attribute The name of an attribute from which you want to retrieve a
346
- * value.
347
- *
348
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-valueofall | Fn::ValueOfAll}
349
- */
350
- static ValueOfAll(parameterType: string, attribute: string): IntrinsicValue;
351
- /**
352
- * Create an arbitrary intrinsic function value.
353
- *
354
- * @param fn The name of the intrinsic function.
355
- * @param args The arguments for the intrinsic function.
356
- */
357
- constructor(fn: string, args: IntrinsicValue);
358
- /**
359
- * Get the JSON representation for this instance.
360
- */
361
- toJSON(): IntrinsicValue;
362
- }
363
- /**
364
- * Pseudo parameters are parameters that are predefined by AWS CloudFormation.
365
- * You don't declare them in your template. Use them the same way as you would a
366
- * parameter, as the argument for the Ref function.
367
- *
368
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html | Psuedo Parameter Reference}
369
- */
370
- export declare class AwsParam {
371
- /**
372
- * Returns the AWS account ID of the account in which the stack is being
373
- * created, such as `123456789012`.
374
- *
375
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-accountid | AWS::AccountId}
376
- */
377
- static get AccountId(): IntrinsicValue;
378
- /**
379
- * Returns the list of notification Amazon Resource Names (ARNs) for the
380
- * current stack.
381
- *
382
- * To get a single ARN from the list, use {@link Fn.Split}.
383
- *
384
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-notificationarns | AWS::NotificationARNs}
385
- */
386
- static get NotificationARNs(): IntrinsicValue;
387
- /**
388
- * Removes the corresponding resource property when specified as a return
389
- * value in the `Fn::If` intrinsic function.
390
- *
391
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-novalue | AWS::NoValue}
392
- */
393
- static get NoValue(): IntrinsicValue;
394
- /**
395
- * Returns the partition that the resource is in. For standard AWS Regions,
396
- * the partition is `aws`. For resources in other partitions, the partition is
397
- * `aws-partitionname`. For example, the partition for resources in the China
398
- * (Beijing and Ningxia) Region is `aws-cn` and the partition for resources in
399
- * the AWS GovCloud (US-West) region is `aws-us-gov`.
400
- *
401
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-partition | AWS::Partition}
402
- */
403
- static get Partition(): IntrinsicValue;
404
- /**
405
- * Returns a string representing the Region in which the encompassing resource
406
- * is being created, such as `us-west-2`.
407
- *
408
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-region | AWS::Region}
409
- */
410
- static get Region(): IntrinsicValue;
411
- /**
412
- * Returns the ID of the stack as specified with the aws cloudformation
413
- * create-stack command, such as
414
- * `arn:aws:cloudformation:us-west-2:123456789012:stack/teststack/51af3dc0-da77-11e4-872e-1234567db123`.
415
- *
416
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-stackid | AWS::StackId}
417
- */
418
- static get StackId(): IntrinsicValue;
419
- /**
420
- * Returns the name of the stack as specified with the aws cloudformation
421
- * `create-stack` command, such as `teststack`.
422
- *
423
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-stackname | AWS::StackName}
424
- */
425
- static get StackName(): IntrinsicValue;
426
- /**
427
- * Returns the suffix for a domain. The suffix is typically `amazonaws.com`,
428
- * but might differ by Region. For example, the suffix for the China (Beijing)
429
- * Region is `amazonaws.com.cn`.
430
- *
431
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-urlsuffix | AWS::URLSuffix}
432
- */
433
- static get URLSuffix(): IntrinsicValue;
434
- }
31
+ export declare function makeResourceAttributesProxy<T>(logicalResourceId: string, names?: readonly (keyof T)[]): T;