@cdklabs/cdk-ssm-documents 0.0.75 → 0.0.77

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 (262) hide show
  1. package/.jsii +13 -13
  2. package/lib/construct/synth-utils.js +1 -1
  3. package/lib/document/automation-document.js +1 -1
  4. package/lib/document/command-document.js +1 -1
  5. package/lib/document/document-builder.js +2 -2
  6. package/lib/document/ssm-document.js +1 -1
  7. package/lib/domain/aws-service.js +1 -1
  8. package/lib/domain/choice.js +1 -1
  9. package/lib/domain/data-type.js +1 -1
  10. package/lib/domain/enum/install-action.js +2 -2
  11. package/lib/domain/enum/install-uninstall-repair.js +2 -2
  12. package/lib/domain/enum/installation-type.js +2 -2
  13. package/lib/domain/enum/package-name.js +2 -2
  14. package/lib/domain/input.js +1 -1
  15. package/lib/domain/operation.js +1 -1
  16. package/lib/domain/platform.js +1 -1
  17. package/lib/domain/precondition.js +1 -1
  18. package/lib/incident-response/incident-response.js +3 -3
  19. package/lib/interface/approve-hook.js +2 -2
  20. package/lib/interface/auth-method.js +3 -3
  21. package/lib/interface/aws-invoker.js +2 -2
  22. package/lib/interface/downloadable-content.js +8 -8
  23. package/lib/interface/environment.js +3 -3
  24. package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
  25. package/lib/interface/observer.js +1 -1
  26. package/lib/interface/on-failure.js +6 -6
  27. package/lib/interface/pause-hook.js +2 -2
  28. package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
  29. package/lib/interface/run-document-location.js +2 -2
  30. package/lib/interface/sleep-hook.js +2 -2
  31. package/lib/interface/step-ref.js +1 -1
  32. package/lib/interface/variables/boolean-variable.js +2 -2
  33. package/lib/interface/variables/map-list-variable.js +2 -2
  34. package/lib/interface/variables/number-variable.js +2 -2
  35. package/lib/interface/variables/secure-string-variable.js +4 -4
  36. package/lib/interface/variables/string-list-variable.js +2 -2
  37. package/lib/interface/variables/string-map-variable.js +2 -2
  38. package/lib/interface/variables/string-variable.js +4 -4
  39. package/lib/interface/variables/variable.js +2 -2
  40. package/lib/interface/webhook.js +1 -1
  41. package/lib/parent-steps/automation/approve-step.js +1 -1
  42. package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
  43. package/lib/parent-steps/automation/aws-api-step.js +1 -1
  44. package/lib/parent-steps/automation/branch-step.js +1 -1
  45. package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
  46. package/lib/parent-steps/automation/copy-image-step.js +1 -1
  47. package/lib/parent-steps/automation/create-image-step.js +1 -1
  48. package/lib/parent-steps/automation/create-stack-step.js +3 -3
  49. package/lib/parent-steps/automation/create-tags-step.js +3 -3
  50. package/lib/parent-steps/automation/delete-image-step.js +1 -1
  51. package/lib/parent-steps/automation/delete-stack-step.js +1 -1
  52. package/lib/parent-steps/automation/execute-automation-step.js +1 -1
  53. package/lib/parent-steps/automation/execute-script-step.js +5 -5
  54. package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
  55. package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
  56. package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
  57. package/lib/parent-steps/automation/pause-step.js +1 -1
  58. package/lib/parent-steps/automation/run-command-step.js +3 -3
  59. package/lib/parent-steps/automation/run-instance-step.js +1 -1
  60. package/lib/parent-steps/automation/sleep-step.js +1 -1
  61. package/lib/parent-steps/automation/update-variable.js +1 -1
  62. package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
  63. package/lib/parent-steps/automation-step.js +1 -1
  64. package/lib/parent-steps/command/applications-step.js +1 -1
  65. package/lib/parent-steps/command/configure-docker-step.js +1 -1
  66. package/lib/parent-steps/command/configure-package-step.js +1 -1
  67. package/lib/parent-steps/command/domain-join-step.js +1 -1
  68. package/lib/parent-steps/command/download-content-step.js +1 -1
  69. package/lib/parent-steps/command/ps-module-step.js +1 -1
  70. package/lib/parent-steps/command/run-docker-action-step.js +1 -1
  71. package/lib/parent-steps/command/run-document-step.js +1 -1
  72. package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
  73. package/lib/parent-steps/command/run-shell-script-step.js +1 -1
  74. package/lib/parent-steps/command/software-inventory-step.js +1 -1
  75. package/lib/parent-steps/command/update-agent-step.js +1 -1
  76. package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
  77. package/lib/parent-steps/command-step.js +1 -1
  78. package/lib/parent-steps/step.js +1 -1
  79. package/lib/patterns/automation/composite-step.js +2 -2
  80. package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
  81. package/lib/patterns/automation/string-step.js +1 -1
  82. package/lib/patterns/document/string-document.js +1 -1
  83. package/lib/patterns/document/timed-document.js +1 -1
  84. package/lib/samples/hello-world.js +1 -1
  85. package/lib/simulation/automation/approve-simulation.js +1 -1
  86. package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
  87. package/lib/simulation/automation/automation-simulation-base.js +1 -1
  88. package/lib/simulation/automation/aws-api-simulation.js +1 -1
  89. package/lib/simulation/automation/branch-simulation.js +1 -1
  90. package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
  91. package/lib/simulation/automation/copy-image-simulation.js +1 -1
  92. package/lib/simulation/automation/create-image-simulation.js +1 -1
  93. package/lib/simulation/automation/create-stack-simulation.js +1 -1
  94. package/lib/simulation/automation/create-tags-simulation.js +1 -1
  95. package/lib/simulation/automation/delete-image-simulation.js +1 -1
  96. package/lib/simulation/automation/delete-stack-simulation.js +1 -1
  97. package/lib/simulation/automation/execute-script-simulation.js +1 -1
  98. package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
  99. package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
  100. package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
  101. package/lib/simulation/automation/pause-simulation.js +1 -1
  102. package/lib/simulation/automation/run-command-simulation.js +1 -1
  103. package/lib/simulation/automation/run-instance-simulation.js +1 -1
  104. package/lib/simulation/automation/sleep-simulation.js +1 -1
  105. package/lib/simulation/automation/update-variable-simulation.js +1 -1
  106. package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
  107. package/lib/simulation/automation-step-simulation.js +1 -1
  108. package/lib/simulation/command/command-simulation-base.js +1 -1
  109. package/lib/simulation/command/ps-module-simulation.js +1 -1
  110. package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
  111. package/lib/simulation/command/run-shell-script-simulation.js +1 -1
  112. package/lib/simulation/command-step-simulation.js +1 -1
  113. package/lib/simulation/document/automation-simulation.js +1 -1
  114. package/lib/simulation/document/command-simulation.js +1 -1
  115. package/lib/simulation/simulation.js +1 -1
  116. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  117. package/node_modules/@aws-sdk/client-cloudformation/package.json +2 -2
  118. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +1 -1
  119. package/node_modules/@aws-sdk/client-cloudwatch/package.json +2 -2
  120. package/node_modules/@aws-sdk/client-ec2/README.md +14 -0
  121. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +210 -43
  122. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +4 -0
  123. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ReplaceImageInstanceTypeSpecificationCommand.js +4 -0
  124. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ValidateSecurityGroupQuotasForInterfaceCommand.js +4 -0
  125. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +2 -0
  126. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +15 -0
  127. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +168 -41
  128. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +14 -0
  129. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +4 -2
  130. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -0
  131. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -0
  132. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -1
  133. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +17 -3
  134. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -0
  135. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamInternetRegistryAssociationCommand.d.ts +1 -0
  136. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  138. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -2
  139. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +1 -0
  141. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  142. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -0
  143. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFleetsCommand.d.ts +11 -4
  144. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -2
  145. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImagesCommand.d.ts +12 -0
  146. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeIpamInternetRegistryAssociationsCommand.d.ts +1 -0
  147. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  148. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
  149. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -2
  150. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpcsCommand.d.ts +1 -1
  151. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  152. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableFastLaunchCommand.d.ts +1 -2
  153. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableIpamInternetRegistryAssociationCommand.d.ts +1 -0
  154. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -0
  155. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  156. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  157. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  158. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
  159. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -0
  160. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +2 -0
  161. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +108 -0
  162. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +1 -1
  163. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  164. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  165. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  166. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  167. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +2 -1
  168. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ValidateSecurityGroupQuotasForInterfaceCommand.d.ts +79 -0
  169. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +2 -0
  170. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +39 -0
  171. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +15 -1
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +86 -59
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +52 -29
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +71 -120
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +168 -242
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +240 -108
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +108 -190
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +259 -305
  179. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +341 -4
  180. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +13 -1
  181. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +34 -0
  182. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +12 -0
  183. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -2
  184. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  185. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +2 -1
  186. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +1 -2
  187. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
  188. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +4 -2
  189. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  190. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +1 -2
  191. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportKeyPairCommand.d.ts +1 -1
  192. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
  193. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +42 -0
  194. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +1 -1
  195. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
  196. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  197. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  198. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ValidateSecurityGroupQuotasForInterfaceCommand.d.ts +42 -0
  199. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +2 -0
  200. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +20 -0
  201. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +3 -0
  202. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +15 -13
  203. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +12 -9
  204. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +15 -17
  205. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +26 -55
  206. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +49 -23
  207. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +22 -36
  208. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +54 -66
  209. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +73 -2
  210. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -1
  211. package/node_modules/@aws-sdk/client-ec2/package.json +2 -2
  212. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +1 -1
  213. package/node_modules/@aws-sdk/client-iam/package.json +2 -2
  214. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +17 -3
  215. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +5 -0
  216. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +9 -2
  217. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +6 -0
  218. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +3 -0
  219. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +3 -0
  220. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +3 -0
  221. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +3 -0
  222. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +3 -0
  223. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +3 -0
  224. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +6 -0
  225. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +13 -0
  226. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +19 -3
  227. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +1 -0
  228. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +6 -0
  229. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +5 -0
  230. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  231. package/node_modules/@aws-sdk/client-lambda/package.json +2 -2
  232. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  233. package/node_modules/@aws-sdk/client-s3/package.json +3 -3
  234. package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
  235. package/node_modules/@aws-sdk/client-sns/package.json +2 -2
  236. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
  237. package/node_modules/@aws-sdk/client-sqs/package.json +2 -2
  238. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  239. package/node_modules/@aws-sdk/client-ssm/package.json +2 -2
  240. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
  241. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
  242. package/node_modules/@aws-sdk/credential-provider-node/package.json +1 -1
  243. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
  244. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -1
  245. package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
  246. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
  247. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
  248. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
  249. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
  250. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  251. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
  252. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +14 -0
  253. package/node_modules/@smithy/types/package.json +1 -1
  254. package/node_modules/js-yaml/dist/js-yaml.js +11 -3
  255. package/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
  256. package/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
  257. package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
  258. package/node_modules/js-yaml/dist/js-yaml.mjs +11 -3
  259. package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
  260. package/node_modules/js-yaml/lib/loader.js +16 -3
  261. package/node_modules/js-yaml/package.json +1 -1
  262. package/package.json +11 -11
@@ -371,19 +371,28 @@ function captureSegment (state, start, end, checkJson) {
371
371
  }
372
372
  }
373
373
 
374
+ function chargeMergeWork (state) {
375
+ state.totalMergeKeys++
376
+
377
+ if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) {
378
+ throwError(state, 'merge keys exceeded maxTotalMergeKeys (' + state.maxTotalMergeKeys + ')')
379
+ }
380
+ }
381
+
374
382
  function mergeMappings (state, destination, source, overridableKeys) {
375
383
  if (!common.isObject(source)) {
376
384
  throwError(state, 'cannot merge mappings; the provided source object is unacceptable')
377
385
  }
378
386
 
387
+ // Count the source mapping itself to bound sequences of empty mappings.
388
+ chargeMergeWork(state)
389
+
379
390
  const sourceKeys = Object.keys(source)
380
391
 
381
392
  for (let index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
382
393
  const key = sourceKeys[index]
383
394
 
384
- if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) {
385
- throwError(state, 'merge keys exceeded maxTotalMergeKeys (' + state.maxTotalMergeKeys + ')')
386
- }
395
+ chargeMergeWork(state)
387
396
 
388
397
  if (!_hasOwnProperty.call(destination, key)) {
389
398
  setProperty(destination, key, source[key])
@@ -426,6 +435,10 @@ function storeMappingPair (state, _result, overridableKeys, keyTag, keyNode, val
426
435
 
427
436
  if (keyTag === 'tag:yaml.org,2002:merge') {
428
437
  if (Array.isArray(valueNode)) {
438
+ if (valueNode.length > 100) {
439
+ throwError(state, 'abnormal merge sequence size')
440
+ }
441
+
429
442
  for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) {
430
443
  mergeMappings(state, _result, valueNode[index], overridableKeys)
431
444
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-yaml",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "description": "YAML 1.2 parser and serializer",
5
5
  "keywords": [
6
6
  "yaml",
package/package.json CHANGED
@@ -74,17 +74,17 @@
74
74
  "constructs": "^10.5.1"
75
75
  },
76
76
  "dependencies": {
77
- "@aws-sdk/client-cloudformation": "^3.1116.0",
78
- "@aws-sdk/client-cloudwatch": "^3.1116.0",
79
- "@aws-sdk/client-ec2": "^3.1116.0",
80
- "@aws-sdk/client-iam": "^3.1116.0",
81
- "@aws-sdk/client-lambda": "^3.1116.0",
82
- "@aws-sdk/client-s3": "^3.1116.0",
83
- "@aws-sdk/client-sns": "^3.1116.0",
84
- "@aws-sdk/client-sqs": "^3.1116.0",
85
- "@aws-sdk/client-ssm": "^3.1116.0",
77
+ "@aws-sdk/client-cloudformation": "^3.1127.0",
78
+ "@aws-sdk/client-cloudwatch": "^3.1127.0",
79
+ "@aws-sdk/client-ec2": "^3.1127.0",
80
+ "@aws-sdk/client-iam": "^3.1127.0",
81
+ "@aws-sdk/client-lambda": "^3.1127.0",
82
+ "@aws-sdk/client-s3": "^3.1127.0",
83
+ "@aws-sdk/client-sns": "^3.1127.0",
84
+ "@aws-sdk/client-sqs": "^3.1127.0",
85
+ "@aws-sdk/client-ssm": "^3.1127.0",
86
86
  "immutable": "^4.3.9",
87
- "js-yaml": "^4.3.1",
87
+ "js-yaml": "^4.3.2",
88
88
  "jsonpath-plus": "^10.4.0",
89
89
  "python-shell": "^3.0.1",
90
90
  "synchronized-promise": "^0.3.1"
@@ -116,7 +116,7 @@
116
116
  "publishConfig": {
117
117
  "access": "public"
118
118
  },
119
- "version": "0.0.75",
119
+ "version": "0.0.77",
120
120
  "jest": {
121
121
  "coverageProvider": "v8",
122
122
  "maxWorkers": 4,