@kensio/yulin 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/dist/service/acm/command/delete-certificate/delete-certificate-authorizer.d.ts +26 -0
  2. package/dist/service/acm/command/delete-certificate/delete-certificate-authorizer.d.ts.map +1 -0
  3. package/dist/service/acm/command/delete-certificate/delete-certificate-authorizer.js +36 -0
  4. package/dist/service/acm/command/delete-certificate/delete-certificate-authorizer.js.map +1 -0
  5. package/dist/service/acm/command/delete-certificate/delete-certificate.command.d.ts +22 -0
  6. package/dist/service/acm/command/delete-certificate/delete-certificate.command.d.ts.map +1 -0
  7. package/dist/service/acm/command/delete-certificate/delete-certificate.command.js +2 -0
  8. package/dist/service/acm/command/delete-certificate/delete-certificate.command.js.map +1 -0
  9. package/dist/service/acm/command/delete-certificate/delete-certificate.handler.d.ts +39 -0
  10. package/dist/service/acm/command/delete-certificate/delete-certificate.handler.d.ts.map +1 -0
  11. package/dist/service/acm/command/delete-certificate/delete-certificate.handler.js +43 -0
  12. package/dist/service/acm/command/delete-certificate/delete-certificate.handler.js.map +1 -0
  13. package/dist/service/acm/sdk/sim-acm-sdk-command-router.d.ts.map +1 -1
  14. package/dist/service/acm/sdk/sim-acm-sdk-command-router.js +4 -0
  15. package/dist/service/acm/sdk/sim-acm-sdk-command-router.js.map +1 -1
  16. package/dist/service/acm/sim-acm.d.ts +5 -0
  17. package/dist/service/acm/sim-acm.d.ts.map +1 -1
  18. package/dist/service/acm/sim-acm.js +12 -0
  19. package/dist/service/acm/sim-acm.js.map +1 -1
  20. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.js +1 -1
  21. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.js +2 -2
  22. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.js.map +1 -1
  23. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.d.ts +22 -7
  24. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.d.ts.map +1 -1
  25. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.js +37 -16
  26. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.js.map +1 -1
  27. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js +1 -1
  28. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js.map +1 -1
  29. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.js +1 -1
  30. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.js.map +1 -1
  31. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.js +1 -1
  32. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.js.map +1 -1
  33. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.d.ts +17 -12
  34. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.d.ts.map +1 -1
  35. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.js +21 -17
  36. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.js.map +1 -1
  37. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js +1 -1
  38. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js.map +1 -1
  39. package/dist/service/cloudformation/resource/ignore/sim-cfn-ignored-properties.d.ts +47 -0
  40. package/dist/service/cloudformation/resource/ignore/sim-cfn-ignored-properties.d.ts.map +1 -0
  41. package/dist/service/cloudformation/resource/ignore/sim-cfn-ignored-properties.js +55 -0
  42. package/dist/service/cloudformation/resource/ignore/sim-cfn-ignored-properties.js.map +1 -0
  43. package/dist/service/cloudformation/resource/ignore/sim-cfn-ignored-property.type.d.ts +33 -0
  44. package/dist/service/cloudformation/resource/ignore/sim-cfn-ignored-property.type.d.ts.map +1 -0
  45. package/dist/service/cloudformation/resource/ignore/sim-cfn-ignored-property.type.js +2 -0
  46. package/dist/service/cloudformation/resource/ignore/sim-cfn-ignored-property.type.js.map +1 -0
  47. package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts +17 -36
  48. package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts.map +1 -1
  49. package/dist/service/cloudformation/resource/sim-cfn-resource.js +20 -5
  50. package/dist/service/cloudformation/resource/sim-cfn-resource.js.map +1 -1
  51. package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts +34 -0
  52. package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts.map +1 -0
  53. package/dist/service/cloudformation/resource/sim-cfn-resource.type.js +2 -0
  54. package/dist/service/cloudformation/resource/sim-cfn-resource.type.js.map +1 -0
  55. package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts +9 -0
  56. package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts.map +1 -1
  57. package/dist/service/cloudformation/stack/sim-cfn-stack.js +13 -0
  58. package/dist/service/cloudformation/stack/sim-cfn-stack.js.map +1 -1
  59. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +1 -1
  60. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  61. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.js +1 -1
  62. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.js.map +1 -1
  63. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js +1 -1
  64. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js.map +1 -1
  65. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts +22 -14
  66. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts.map +1 -1
  67. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js +27 -20
  68. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js.map +1 -1
  69. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js +1 -1
  70. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js.map +1 -1
  71. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js +1 -1
  72. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js.map +1 -1
  73. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +1 -1
  74. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -1
  75. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts +3 -3
  76. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +6 -6
  77. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
  78. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-capacity.js +22 -2
  79. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-capacity.js.map +1 -1
  80. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-properties.d.ts +4 -4
  81. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-properties.d.ts.map +1 -1
  82. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-properties.js +13 -10
  83. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-properties.js.map +1 -1
  84. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property-rules.d.ts +6 -5
  85. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property-rules.d.ts.map +1 -1
  86. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property-rules.js +12 -12
  87. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property-rules.js.map +1 -1
  88. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replica-rules.d.ts +4 -3
  89. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replica-rules.d.ts.map +1 -1
  90. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replica-rules.js +8 -8
  91. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replica-rules.js.map +1 -1
  92. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replicas.d.ts +28 -20
  93. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replicas.d.ts.map +1 -1
  94. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replicas.js +49 -32
  95. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replicas.js.map +1 -1
  96. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-simulated.d.ts +6 -4
  97. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-simulated.d.ts.map +1 -1
  98. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-simulated.js +18 -17
  99. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-simulated.js.map +1 -1
  100. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-error.d.ts +6 -14
  101. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-error.d.ts.map +1 -1
  102. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-error.js +6 -19
  103. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-error.js.map +1 -1
  104. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-rules.d.ts +19 -16
  105. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-rules.d.ts.map +1 -1
  106. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-rules.js +25 -20
  107. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-rules.js.map +1 -1
  108. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-resource-scope.d.ts +14 -0
  109. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-resource-scope.d.ts.map +1 -0
  110. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-resource-scope.js +2 -0
  111. package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-resource-scope.js.map +1 -0
  112. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.js +1 -1
  113. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.js.map +1 -1
  114. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.d.ts +6 -4
  115. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.d.ts.map +1 -1
  116. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.js +7 -6
  117. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.js.map +1 -1
  118. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.d.ts +2 -2
  119. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.d.ts.map +1 -1
  120. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.js +7 -4
  121. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.js.map +1 -1
  122. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.d.ts +13 -13
  123. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.d.ts.map +1 -1
  124. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.js +22 -23
  125. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.js.map +1 -1
  126. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream-rules.d.ts +6 -4
  127. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream-rules.d.ts.map +1 -1
  128. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream-rules.js +6 -5
  129. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream-rules.js.map +1 -1
  130. package/dist/service/iam/command/policy/delete-policy/delete-policy.command.d.ts +8 -0
  131. package/dist/service/iam/command/policy/delete-policy/delete-policy.command.d.ts.map +1 -0
  132. package/dist/service/iam/command/policy/delete-policy/delete-policy.command.js +2 -0
  133. package/dist/service/iam/command/policy/delete-policy/delete-policy.command.js.map +1 -0
  134. package/dist/service/iam/command/policy/delete-policy/delete-policy.handler.d.ts +38 -0
  135. package/dist/service/iam/command/policy/delete-policy/delete-policy.handler.d.ts.map +1 -0
  136. package/dist/service/iam/command/policy/delete-policy/delete-policy.handler.js +52 -0
  137. package/dist/service/iam/command/policy/delete-policy/delete-policy.handler.js.map +1 -0
  138. package/dist/service/iam/command/policy/delete-role-policy/delete-role-policy.command.d.ts +9 -0
  139. package/dist/service/iam/command/policy/delete-role-policy/delete-role-policy.command.d.ts.map +1 -0
  140. package/dist/service/iam/command/policy/delete-role-policy/delete-role-policy.command.js +2 -0
  141. package/dist/service/iam/command/policy/delete-role-policy/delete-role-policy.command.js.map +1 -0
  142. package/dist/service/iam/command/policy/delete-role-policy/delete-role-policy.handler.d.ts +28 -0
  143. package/dist/service/iam/command/policy/delete-role-policy/delete-role-policy.handler.d.ts.map +1 -0
  144. package/dist/service/iam/command/policy/delete-role-policy/delete-role-policy.handler.js +44 -0
  145. package/dist/service/iam/command/policy/delete-role-policy/delete-role-policy.handler.js.map +1 -0
  146. package/dist/service/iam/command/policy/sim-iam-policy-command-handlers.d.ts +8 -0
  147. package/dist/service/iam/command/policy/sim-iam-policy-command-handlers.d.ts.map +1 -1
  148. package/dist/service/iam/command/policy/sim-iam-policy-command-handlers.js +17 -1
  149. package/dist/service/iam/command/policy/sim-iam-policy-command-handlers.js.map +1 -1
  150. package/dist/service/iam/command/role/delete-role/delete-role.command.d.ts +19 -0
  151. package/dist/service/iam/command/role/delete-role/delete-role.command.d.ts.map +1 -0
  152. package/dist/service/iam/command/role/delete-role/delete-role.command.js +2 -0
  153. package/dist/service/iam/command/role/delete-role/delete-role.command.js.map +1 -0
  154. package/dist/service/iam/command/role/delete-role/delete-role.handler.d.ts +30 -0
  155. package/dist/service/iam/command/role/delete-role/delete-role.handler.d.ts.map +1 -0
  156. package/dist/service/iam/command/role/delete-role/delete-role.handler.js +47 -0
  157. package/dist/service/iam/command/role/delete-role/delete-role.handler.js.map +1 -0
  158. package/dist/service/iam/command/role/detach-role-policy/detach-role-policy.command.d.ts +20 -0
  159. package/dist/service/iam/command/role/detach-role-policy/detach-role-policy.command.d.ts.map +1 -0
  160. package/dist/service/iam/command/role/detach-role-policy/detach-role-policy.command.js +2 -0
  161. package/dist/service/iam/command/role/detach-role-policy/detach-role-policy.command.js.map +1 -0
  162. package/dist/service/iam/command/role/detach-role-policy/detach-role-policy.handler.d.ts +28 -0
  163. package/dist/service/iam/command/role/detach-role-policy/detach-role-policy.handler.d.ts.map +1 -0
  164. package/dist/service/iam/command/role/detach-role-policy/detach-role-policy.handler.js +44 -0
  165. package/dist/service/iam/command/role/detach-role-policy/detach-role-policy.handler.js.map +1 -0
  166. package/dist/service/iam/command/role/sim-iam-role-command-handlers.d.ts +15 -0
  167. package/dist/service/iam/command/role/sim-iam-role-command-handlers.d.ts.map +1 -1
  168. package/dist/service/iam/command/role/sim-iam-role-command-handlers.js +36 -0
  169. package/dist/service/iam/command/role/sim-iam-role-command-handlers.js.map +1 -1
  170. package/dist/service/iam/command/sim-iam-command-handlers.d.ts.map +1 -1
  171. package/dist/service/iam/command/sim-iam-command-handlers.js +1 -0
  172. package/dist/service/iam/command/sim-iam-command-handlers.js.map +1 -1
  173. package/dist/service/iam/command/sim-iam-command.types.d.ts +22 -0
  174. package/dist/service/iam/command/sim-iam-command.types.d.ts.map +1 -0
  175. package/dist/service/iam/command/sim-iam-command.types.js +8 -0
  176. package/dist/service/iam/command/sim-iam-command.types.js.map +1 -0
  177. package/dist/service/iam/error/sim-iam.error.d.ts +11 -0
  178. package/dist/service/iam/error/sim-iam.error.d.ts.map +1 -1
  179. package/dist/service/iam/error/sim-iam.error.js +13 -0
  180. package/dist/service/iam/error/sim-iam.error.js.map +1 -1
  181. package/dist/service/iam/sdk/sim-iam-sdk-command-router.d.ts.map +1 -1
  182. package/dist/service/iam/sdk/sim-iam-sdk-command-router.js +16 -0
  183. package/dist/service/iam/sdk/sim-iam-sdk-command-router.js.map +1 -1
  184. package/dist/service/iam/sim-iam.d.ts +28 -22
  185. package/dist/service/iam/sim-iam.d.ts.map +1 -1
  186. package/dist/service/iam/sim-iam.js +24 -0
  187. package/dist/service/iam/sim-iam.js.map +1 -1
  188. package/dist/service/kms/cfn/key/sim-cfn-kms-key-properties.js +1 -1
  189. package/dist/service/kms/cfn/key/sim-cfn-kms-key-properties.js.map +1 -1
  190. package/dist/service/kms/cfn/key/sim-cfn-kms-unsimulated-key-properties.d.ts +19 -16
  191. package/dist/service/kms/cfn/key/sim-cfn-kms-unsimulated-key-properties.d.ts.map +1 -1
  192. package/dist/service/kms/cfn/key/sim-cfn-kms-unsimulated-key-properties.js +30 -28
  193. package/dist/service/kms/cfn/key/sim-cfn-kms-unsimulated-key-properties.js.map +1 -1
  194. package/dist/service/kms/command/alias/alias.command.d.ts +14 -0
  195. package/dist/service/kms/command/alias/alias.command.d.ts.map +1 -1
  196. package/dist/service/kms/command/alias/sim-kms-alias-commands.d.ts +10 -1
  197. package/dist/service/kms/command/alias/sim-kms-alias-commands.d.ts.map +1 -1
  198. package/dist/service/kms/command/alias/sim-kms-alias-commands.js +27 -2
  199. package/dist/service/kms/command/alias/sim-kms-alias-commands.js.map +1 -1
  200. package/dist/service/kms/command/sim-kms-command.types.d.ts +1 -1
  201. package/dist/service/kms/command/sim-kms-command.types.d.ts.map +1 -1
  202. package/dist/service/kms/key/sim-kms-key-store.d.ts +7 -0
  203. package/dist/service/kms/key/sim-kms-key-store.d.ts.map +1 -1
  204. package/dist/service/kms/key/sim-kms-key-store.js +9 -0
  205. package/dist/service/kms/key/sim-kms-key-store.js.map +1 -1
  206. package/dist/service/kms/sdk/sim-kms-sdk-command-router.d.ts.map +1 -1
  207. package/dist/service/kms/sdk/sim-kms-sdk-command-router.js +4 -0
  208. package/dist/service/kms/sdk/sim-kms-sdk-command-router.js.map +1 -1
  209. package/dist/service/kms/sim-kms-commands.d.ts +40 -0
  210. package/dist/service/kms/sim-kms-commands.d.ts.map +1 -0
  211. package/dist/service/kms/sim-kms-commands.js +66 -0
  212. package/dist/service/kms/sim-kms-commands.js.map +1 -0
  213. package/dist/service/kms/sim-kms.d.ts +6 -18
  214. package/dist/service/kms/sim-kms.d.ts.map +1 -1
  215. package/dist/service/kms/sim-kms.js +40 -89
  216. package/dist/service/kms/sim-kms.js.map +1 -1
  217. package/dist/service/lambda/command/delete-function/delete-function-authorizer.d.ts +22 -0
  218. package/dist/service/lambda/command/delete-function/delete-function-authorizer.d.ts.map +1 -0
  219. package/dist/service/lambda/command/delete-function/delete-function-authorizer.js +32 -0
  220. package/dist/service/lambda/command/delete-function/delete-function-authorizer.js.map +1 -0
  221. package/dist/service/lambda/command/delete-function/delete-function.command.d.ts +23 -0
  222. package/dist/service/lambda/command/delete-function/delete-function.command.d.ts.map +1 -0
  223. package/dist/service/lambda/command/delete-function/delete-function.command.js +2 -0
  224. package/dist/service/lambda/command/delete-function/delete-function.command.js.map +1 -0
  225. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +45 -0
  226. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts.map +1 -0
  227. package/dist/service/lambda/command/delete-function/delete-function.handler.js +53 -0
  228. package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -0
  229. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +7 -0
  230. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
  231. package/dist/service/lambda/command/function/sim-lambda-function-commands.js +7 -0
  232. package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
  233. package/dist/service/lambda/command/sim-lambda-command.types.d.ts +1 -0
  234. package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
  235. package/dist/service/lambda/function/url/sim-lambda-function-url-store.d.ts +7 -0
  236. package/dist/service/lambda/function/url/sim-lambda-function-url-store.d.ts.map +1 -1
  237. package/dist/service/lambda/function/url/sim-lambda-function-url-store.js +11 -0
  238. package/dist/service/lambda/function/url/sim-lambda-function-url-store.js.map +1 -1
  239. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
  240. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +4 -0
  241. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
  242. package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
  243. package/dist/service/lambda/sim-lambda-commands.js +1 -0
  244. package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
  245. package/dist/service/lambda/sim-lambda.d.ts +4 -0
  246. package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
  247. package/dist/service/lambda/sim-lambda.js +6 -0
  248. package/dist/service/lambda/sim-lambda.js.map +1 -1
  249. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone-authorizer.d.ts +26 -0
  250. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone-authorizer.d.ts.map +1 -0
  251. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone-authorizer.js +36 -0
  252. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone-authorizer.js.map +1 -0
  253. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.command.d.ts +26 -0
  254. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.command.d.ts.map +1 -0
  255. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.command.js +2 -0
  256. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.command.js.map +1 -0
  257. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.d.ts +44 -0
  258. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.d.ts.map +1 -0
  259. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.js +59 -0
  260. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.js.map +1 -0
  261. package/dist/service/route53/error/sim-route53.error.d.ts +12 -0
  262. package/dist/service/route53/error/sim-route53.error.d.ts.map +1 -1
  263. package/dist/service/route53/error/sim-route53.error.js +14 -0
  264. package/dist/service/route53/error/sim-route53.error.js.map +1 -1
  265. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts +8 -0
  266. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts.map +1 -1
  267. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js +14 -0
  268. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js.map +1 -1
  269. package/dist/service/route53/local-name/sim-route53-local-name.d.ts +11 -0
  270. package/dist/service/route53/local-name/sim-route53-local-name.d.ts.map +1 -1
  271. package/dist/service/route53/local-name/sim-route53-local-name.js +18 -3
  272. package/dist/service/route53/local-name/sim-route53-local-name.js.map +1 -1
  273. package/dist/service/route53/registry/sim-route53-registry.d.ts +8 -0
  274. package/dist/service/route53/registry/sim-route53-registry.d.ts.map +1 -1
  275. package/dist/service/route53/registry/sim-route53-registry.js +11 -0
  276. package/dist/service/route53/registry/sim-route53-registry.js.map +1 -1
  277. package/dist/service/route53/resolve/sim-route53-resolver.d.ts +8 -2
  278. package/dist/service/route53/resolve/sim-route53-resolver.d.ts.map +1 -1
  279. package/dist/service/route53/resolve/sim-route53-resolver.js +10 -4
  280. package/dist/service/route53/resolve/sim-route53-resolver.js.map +1 -1
  281. package/dist/service/route53/sdk/sim-route53-sdk-command-router.d.ts.map +1 -1
  282. package/dist/service/route53/sdk/sim-route53-sdk-command-router.js +4 -0
  283. package/dist/service/route53/sdk/sim-route53-sdk-command-router.js.map +1 -1
  284. package/dist/service/route53/sim-route53.d.ts +5 -0
  285. package/dist/service/route53/sim-route53.d.ts.map +1 -1
  286. package/dist/service/route53/sim-route53.js +13 -0
  287. package/dist/service/route53/sim-route53.js.map +1 -1
  288. package/dist/service/s3/bucket/sim-s3-bucket-access.d.ts +37 -0
  289. package/dist/service/s3/bucket/sim-s3-bucket-access.d.ts.map +1 -0
  290. package/dist/service/s3/bucket/sim-s3-bucket-access.js +46 -0
  291. package/dist/service/s3/bucket/sim-s3-bucket-access.js.map +1 -0
  292. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts +4 -5
  293. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts.map +1 -1
  294. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js +6 -6
  295. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js.map +1 -1
  296. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-names.d.ts +26 -0
  297. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-names.d.ts.map +1 -0
  298. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-names.js +77 -0
  299. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-names.js.map +1 -0
  300. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts +18 -7
  301. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts.map +1 -1
  302. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js +25 -65
  303. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js.map +1 -1
  304. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts +4 -0
  305. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts.map +1 -1
  306. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js +7 -0
  307. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js.map +1 -1
  308. package/dist/service/s3/command/delete-bucket/delete-bucket-authorizer.d.ts +24 -0
  309. package/dist/service/s3/command/delete-bucket/delete-bucket-authorizer.d.ts.map +1 -0
  310. package/dist/service/s3/command/delete-bucket/delete-bucket-authorizer.js +37 -0
  311. package/dist/service/s3/command/delete-bucket/delete-bucket-authorizer.js.map +1 -0
  312. package/dist/service/s3/command/delete-bucket/delete-bucket.command.d.ts +23 -0
  313. package/dist/service/s3/command/delete-bucket/delete-bucket.command.d.ts.map +1 -0
  314. package/dist/service/s3/command/delete-bucket/delete-bucket.command.js +2 -0
  315. package/dist/service/s3/command/delete-bucket/delete-bucket.command.js.map +1 -0
  316. package/dist/service/s3/command/delete-bucket/delete-bucket.handler.d.ts +43 -0
  317. package/dist/service/s3/command/delete-bucket/delete-bucket.handler.d.ts.map +1 -0
  318. package/dist/service/s3/command/delete-bucket/delete-bucket.handler.js +55 -0
  319. package/dist/service/s3/command/delete-bucket/delete-bucket.handler.js.map +1 -0
  320. package/dist/service/s3/command/sim-s3-command.types.d.ts +1 -0
  321. package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
  322. package/dist/service/s3/error/sim-s3.error.d.ts +10 -0
  323. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  324. package/dist/service/s3/error/sim-s3.error.js +12 -0
  325. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  326. package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
  327. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +4 -0
  328. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
  329. package/dist/service/s3/sim-s3-global-registry.d.ts +7 -0
  330. package/dist/service/s3/sim-s3-global-registry.d.ts.map +1 -1
  331. package/dist/service/s3/sim-s3-global-registry.js +9 -0
  332. package/dist/service/s3/sim-s3-global-registry.js.map +1 -1
  333. package/dist/service/s3/sim-s3.d.ts +5 -0
  334. package/dist/service/s3/sim-s3.d.ts.map +1 -1
  335. package/dist/service/s3/sim-s3.js +16 -12
  336. package/dist/service/s3/sim-s3.js.map +1 -1
  337. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts.map +1 -1
  338. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js +2 -1
  339. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js.map +1 -1
  340. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-names.d.ts +31 -0
  341. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-names.d.ts.map +1 -0
  342. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-names.js +63 -0
  343. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-names.js.map +1 -0
  344. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts +27 -17
  345. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts.map +1 -1
  346. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js +39 -73
  347. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js.map +1 -1
  348. package/package.json +1 -1
@@ -6,35 +6,40 @@ interface SimCfnApiGatewayV2PropertyParserProperties {
6
6
  readonly simulated: readonly string[];
7
7
  }
8
8
  /**
9
- * Validates the AWS::ApiGatewayV2::* CloudFormation properties of one Resource
10
- * type: which of them may appear, and, through the value parsing it inherits,
11
- * what shape each has to be.
9
+ * Reads the AWS::ApiGatewayV2::* CloudFormation properties of one Resource
10
+ * type: which of them are acted on, and, through the value parsing it inherits,
11
+ * what shape each of those has to be.
12
12
  *
13
13
  * Each Resource type states the properties it simulates, and every other
14
- * property is refused. An allow-list rather than a list of known-unsimulated
15
- * properties is what keeps a template from quietly deploying an API that looks
16
- * configured to the template that configured it and unconfigured to every
17
- * request it serves.
14
+ * property is recorded against the Resource and left out of what is created.
15
+ * An allow-list rather than a list of known-unsimulated properties is what
16
+ * keeps a template from quietly deploying an API that looks configured to the
17
+ * template that configured it and unconfigured to every request it serves: the
18
+ * API is created either way, and the record says which of the two it is.
18
19
  *
19
20
  * The Resource type is carried here because five of them are created, and a
20
- * message naming the wrong one would send a reader to the wrong template entry.
21
+ * record naming the wrong one would send a reader to the wrong template entry.
21
22
  */
22
23
  export declare class SimCfnApiGatewayV2PropertyParser extends SimCfnApiGatewayV2PropertyValues {
23
24
  private readonly simulated;
24
25
  constructor(properties: SimCfnApiGatewayV2PropertyParserProperties);
25
26
  /**
26
- * Refuse every property this Resource type does not simulate.
27
+ * Record every property this Resource type does not simulate.
27
28
  *
28
29
  * A property whose only simulated value is one of the values it can take,
29
30
  * such as `ProtocolType`, counts as simulated here and is refused further
30
31
  * down by the API Gateway command that receives it, which is where the
31
32
  * reason lives.
32
33
  */
33
- requireOnlySimulated(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): void;
34
+ ignoreUnsimulated(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): void;
34
35
  /**
35
- * Build the diagnostic error for a property this simulator does not model.
36
+ * Say why a property this simulator does not model was left out.
37
+ *
38
+ * The simulated names are listed because an API Gateway Resource type has
39
+ * many more properties than this creates the API from, so what it can act on
40
+ * is the shorter and more useful half to read.
36
41
  */
37
- private unsimulatedPropertyError;
42
+ private unsimulatedPropertyReason;
38
43
  }
39
44
  export {};
40
45
  //# sourceMappingURL=sim-cfn-api-gateway-v2-property-parser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-api-gateway-v2-property-parser.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+DAA+D,CAAC;AAC/G,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAE/F,UAAU,0CAA0C;IAClD,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,gCAAiC,SAAQ,gCAAgC;IACpF,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoB;IAE9C,YAAY,UAAU,EAAE,0CAA0C,EAGjE;IAED;;;;;;;OAOG;IACH,oBAAoB,CAClB,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,yBAAyB,GACpC,IAAI,CAMN;IAED;;OAEG;IACH,OAAO,CAAC,wBAAwB;CAWjC"}
1
+ {"version":3,"file":"sim-cfn-api-gateway-v2-property-parser.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+DAA+D,CAAC;AAC/G,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAE/F,UAAU,0CAA0C;IAClD,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,gCAAiC,SAAQ,gCAAgC;IACpF,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoB;IAE9C,YAAY,UAAU,EAAE,0CAA0C,EAGjE;IAED;;;;;;;OAOG;IACH,iBAAiB,CACf,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,yBAAyB,GACpC,IAAI,CAMN;IAED;;;;;;OAMG;IACH,OAAO,CAAC,yBAAyB;CAOlC"}
@@ -1,17 +1,18 @@
1
1
  import { SimCfnApiGatewayV2PropertyValues } from "./sim-cfn-api-gateway-v2-property-values.js";
2
2
  /**
3
- * Validates the AWS::ApiGatewayV2::* CloudFormation properties of one Resource
4
- * type: which of them may appear, and, through the value parsing it inherits,
5
- * what shape each has to be.
3
+ * Reads the AWS::ApiGatewayV2::* CloudFormation properties of one Resource
4
+ * type: which of them are acted on, and, through the value parsing it inherits,
5
+ * what shape each of those has to be.
6
6
  *
7
7
  * Each Resource type states the properties it simulates, and every other
8
- * property is refused. An allow-list rather than a list of known-unsimulated
9
- * properties is what keeps a template from quietly deploying an API that looks
10
- * configured to the template that configured it and unconfigured to every
11
- * request it serves.
8
+ * property is recorded against the Resource and left out of what is created.
9
+ * An allow-list rather than a list of known-unsimulated properties is what
10
+ * keeps a template from quietly deploying an API that looks configured to the
11
+ * template that configured it and unconfigured to every request it serves: the
12
+ * API is created either way, and the record says which of the two it is.
12
13
  *
13
14
  * The Resource type is carried here because five of them are created, and a
14
- * message naming the wrong one would send a reader to the wrong template entry.
15
+ * record naming the wrong one would send a reader to the wrong template entry.
15
16
  */
16
17
  export class SimCfnApiGatewayV2PropertyParser extends SimCfnApiGatewayV2PropertyValues {
17
18
  simulated;
@@ -20,28 +21,31 @@ export class SimCfnApiGatewayV2PropertyParser extends SimCfnApiGatewayV2Property
20
21
  this.simulated = properties.simulated;
21
22
  }
22
23
  /**
23
- * Refuse every property this Resource type does not simulate.
24
+ * Record every property this Resource type does not simulate.
24
25
  *
25
26
  * A property whose only simulated value is one of the values it can take,
26
27
  * such as `ProtocolType`, counts as simulated here and is refused further
27
28
  * down by the API Gateway command that receives it, which is where the
28
29
  * reason lives.
29
30
  */
30
- requireOnlySimulated(resource, properties) {
31
+ ignoreUnsimulated(resource, properties) {
31
32
  for (const name of Object.keys(properties)) {
32
33
  if (!this.simulated.includes(name)) {
33
- throw this.unsimulatedPropertyError(resource, name);
34
+ resource.ignoreProperty(name, this.unsimulatedPropertyReason(name));
34
35
  }
35
36
  }
36
37
  }
37
38
  /**
38
- * Build the diagnostic error for a property this simulator does not model.
39
+ * Say why a property this simulator does not model was left out.
40
+ *
41
+ * The simulated names are listed because an API Gateway Resource type has
42
+ * many more properties than this creates the API from, so what it can act on
43
+ * is the shorter and more useful half to read.
39
44
  */
40
- unsimulatedPropertyError(resource, label) {
41
- return new Error(`${this.resourceType} ${resource.logicalId} property ${label} is not ` +
42
- `simulated, and a deployed Resource ignoring it would behave ` +
43
- `differently here than on AWS. The simulated properties are ` +
44
- `${this.simulated.join(", ")}.`);
45
+ unsimulatedPropertyReason(label) {
46
+ return (`${this.resourceType} property ${label} is not simulated, so the ` +
47
+ `Resource is created without it and behaves differently here than on ` +
48
+ `AWS. The simulated properties are ${this.simulated.join(", ")}.`);
45
49
  }
46
50
  }
47
51
  //# sourceMappingURL=sim-cfn-api-gateway-v2-property-parser.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-api-gateway-v2-property-parser.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAO/F;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,gCAAiC,SAAQ,gCAAgC;IACnE,SAAS,CAAoB;IAE9C,YAAY,UAAsD;QAChE,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;IACxC,CAAC;IAED;;;;;;;OAOG;IACH,oBAAoB,CAClB,QAAwB,EACxB,UAAqC;QAErC,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAC3C,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;gBACnC,MAAM,IAAI,CAAC,wBAAwB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACtD,CAAC;QACH,CAAC;IACH,CAAC;IAED;;OAEG;IACK,wBAAwB,CAC9B,QAAwB,EACxB,KAAa;QAEb,OAAO,IAAI,KAAK,CACd,GAAG,IAAI,CAAC,YAAY,IAAI,QAAQ,CAAC,SAAS,aAAa,KAAK,UAAU;YACpE,8DAA8D;YAC9D,6DAA6D;YAC7D,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAClC,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cfn-api-gateway-v2-property-parser.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAO/F;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,gCAAiC,SAAQ,gCAAgC;IACnE,SAAS,CAAoB;IAE9C,YAAY,UAAsD;QAChE,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;IACxC,CAAC;IAED;;;;;;;OAOG;IACH,iBAAiB,CACf,QAAwB,EACxB,UAAqC;QAErC,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAC3C,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;gBACnC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC;YACtE,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACK,yBAAyB,CAAC,KAAa;QAC7C,OAAO,CACL,GAAG,IAAI,CAAC,YAAY,aAAa,KAAK,4BAA4B;YAClE,sEAAsE;YACtE,qCAAqC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAClE,CAAC;IACJ,CAAC;CACF"}
@@ -28,7 +28,7 @@ export class SimCfnHttpApiStageProperties {
28
28
  constructor(properties) {
29
29
  this.resource = properties.resource;
30
30
  this.properties = properties.properties;
31
- this.propertyParser.requireOnlySimulated(this.resource, this.properties);
31
+ this.propertyParser.ignoreUnsimulated(this.resource, this.properties);
32
32
  }
33
33
  /**
34
34
  * The API this stage belongs to, which a template reaches with a `Ref` on
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-http-api-stage-properties.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAEhG;;;;;;;GAOG;AACH,MAAM,mBAAmB,GAAG;IAC1B,OAAO;IACP,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,aAAa;CACd,CAAC;AAOF;;;GAGG;AACH,MAAM,OAAO,4BAA4B;IACtB,QAAQ,CAAiB;IACzB,UAAU,CAA4B;IACtC,cAAc,GAAG,IAAI,gCAAgC,CAAC;QACrE,YAAY,EAAE,0BAA0B;QACxC,SAAS,EAAE,mBAAmB;KAC/B,CAAC,CAAC;IAEH,YAAY,UAAkD;QAC5D,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QAExC,IAAI,CAAC,cAAc,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3E,CAAC;IAED;;;OAGG;IACH,KAAK;QACH,OAAO,IAAI,CAAC,cAAc,CAAC,cAAc,CACvC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EACxB,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,SAAS;QACP,OAAO,IAAI,CAAC,cAAc,CAAC,cAAc,CACvC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAC5B,WAAW,CACZ,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,gBAAgB;QACd,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE;YACnB,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE;YAC3B,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC,eAAe,CAC7C,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,EAC7B,YAAY,CACb;YACD,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,iBAAiB,CACnD,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,EACjC,gBAAgB,CACjB;YACD,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,cAAc,CAC7C,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,EAC9B,aAAa,CACd;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cfn-http-api-stage-properties.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAEhG;;;;;;;GAOG;AACH,MAAM,mBAAmB,GAAG;IAC1B,OAAO;IACP,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,aAAa;CACd,CAAC;AAOF;;;GAGG;AACH,MAAM,OAAO,4BAA4B;IACtB,QAAQ,CAAiB;IACzB,UAAU,CAA4B;IACtC,cAAc,GAAG,IAAI,gCAAgC,CAAC;QACrE,YAAY,EAAE,0BAA0B;QACxC,SAAS,EAAE,mBAAmB;KAC/B,CAAC,CAAC;IAEH,YAAY,UAAkD;QAC5D,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QAExC,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IACxE,CAAC;IAED;;;OAGG;IACH,KAAK;QACH,OAAO,IAAI,CAAC,cAAc,CAAC,cAAc,CACvC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EACxB,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,SAAS;QACP,OAAO,IAAI,CAAC,cAAc,CAAC,cAAc,CACvC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAC5B,WAAW,CACZ,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,gBAAgB;QACd,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE;YACnB,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE;YAC3B,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC,eAAe,CAC7C,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,EAC7B,YAAY,CACb;YACD,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,iBAAiB,CACnD,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,EACjC,gBAAgB,CACjB;YACD,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,cAAc,CAC7C,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,EAC9B,aAAa,CACd;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,47 @@
1
+ import type { SimCfnIgnoredProperty } from "./sim-cfn-ignored-property.type.js";
2
+ /**
3
+ * What a recorded property names as the Resource it was declared on.
4
+ */
5
+ interface SimCfnIgnoredPropertyResource {
6
+ readonly logicalId: string;
7
+ readonly type: string | undefined;
8
+ }
9
+ /**
10
+ * The properties one CloudFormation Resource was created without acting on.
11
+ *
12
+ * Simulated CloudFormation deploys what it can. A Resource type it does not
13
+ * simulate is skipped and the rest of the stack still deploys; this is the
14
+ * same answer one level down, for a property the Resource's own service cannot
15
+ * act on. The Resource is created without it and the omission is recorded
16
+ * here, rather than the property taking the Resource, or the stack, down with
17
+ * it.
18
+ *
19
+ * The record is the point. An ignored property means the simulated Resource
20
+ * behaves differently to the one the template describes, so a test asserting
21
+ * on that behaviour needs somewhere to find out that it was never configured.
22
+ *
23
+ * Properties nothing simulated could tell apart are not recorded here, since a
24
+ * list of differences that make no difference is a list nobody can read. Each
25
+ * service decides which of its own properties those are.
26
+ */
27
+ export declare class SimCfnIgnoredProperties {
28
+ #private;
29
+ /**
30
+ * Every property ignored on the current creation attempt.
31
+ */
32
+ get all(): readonly SimCfnIgnoredProperty[];
33
+ /**
34
+ * Record a property the Resource was created without.
35
+ *
36
+ * A property recorded twice on one attempt is kept once, since two levels of
37
+ * the same parse noticing the same omission is a detail of how the template
38
+ * was read rather than something a reader needs told twice.
39
+ */
40
+ record(resource: SimCfnIgnoredPropertyResource, path: string, reason: string): void;
41
+ /**
42
+ * Forget everything recorded, for a Resource starting creation again.
43
+ */
44
+ clear(): void;
45
+ }
46
+ export {};
47
+ //# sourceMappingURL=sim-cfn-ignored-properties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ignored-properties.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/resource/ignore/sim-cfn-ignored-properties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAEhF;;GAEG;AACH,UAAU,6BAA6B;IACrC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,uBAAuB;;IAGlC;;OAEG;IACH,IAAW,GAAG,IAAI,SAAS,qBAAqB,EAAE,CAEjD;IAED;;;;;;OAMG;IACH,MAAM,CACJ,QAAQ,EAAE,6BAA6B,EACvC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACb,IAAI,CAeN;IAED;;OAEG;IACH,KAAK,IAAI,IAAI,CAEZ;CACF"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * The properties one CloudFormation Resource was created without acting on.
3
+ *
4
+ * Simulated CloudFormation deploys what it can. A Resource type it does not
5
+ * simulate is skipped and the rest of the stack still deploys; this is the
6
+ * same answer one level down, for a property the Resource's own service cannot
7
+ * act on. The Resource is created without it and the omission is recorded
8
+ * here, rather than the property taking the Resource, or the stack, down with
9
+ * it.
10
+ *
11
+ * The record is the point. An ignored property means the simulated Resource
12
+ * behaves differently to the one the template describes, so a test asserting
13
+ * on that behaviour needs somewhere to find out that it was never configured.
14
+ *
15
+ * Properties nothing simulated could tell apart are not recorded here, since a
16
+ * list of differences that make no difference is a list nobody can read. Each
17
+ * service decides which of its own properties those are.
18
+ */
19
+ export class SimCfnIgnoredProperties {
20
+ #ignored = [];
21
+ /**
22
+ * Every property ignored on the current creation attempt.
23
+ */
24
+ get all() {
25
+ return this.#ignored;
26
+ }
27
+ /**
28
+ * Record a property the Resource was created without.
29
+ *
30
+ * A property recorded twice on one attempt is kept once, since two levels of
31
+ * the same parse noticing the same omission is a detail of how the template
32
+ * was read rather than something a reader needs told twice.
33
+ */
34
+ record(resource, path, reason) {
35
+ const already = this.#ignored.some((entry) => {
36
+ return entry.path === path && entry.reason === reason;
37
+ });
38
+ if (already) {
39
+ return;
40
+ }
41
+ this.#ignored.push({
42
+ logicalId: resource.logicalId,
43
+ resourceType: resource.type ?? "",
44
+ path,
45
+ reason,
46
+ });
47
+ }
48
+ /**
49
+ * Forget everything recorded, for a Resource starting creation again.
50
+ */
51
+ clear() {
52
+ this.#ignored = [];
53
+ }
54
+ }
55
+ //# sourceMappingURL=sim-cfn-ignored-properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ignored-properties.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/resource/ignore/sim-cfn-ignored-properties.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,uBAAuB;IAClC,QAAQ,GAA4B,EAAE,CAAC;IAEvC;;OAEG;IACH,IAAW,GAAG;QACZ,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,QAAuC,EACvC,IAAY,EACZ,MAAc;QAEd,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;YAC3C,OAAO,KAAK,CAAC,IAAI,KAAK,IAAI,IAAI,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC;QACxD,CAAC,CAAC,CAAC;QAEH,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO;QACT,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YACjB,SAAS,EAAE,QAAQ,CAAC,SAAS;YAC7B,YAAY,EAAE,QAAQ,CAAC,IAAI,IAAI,EAAE;YACjC,IAAI;YACJ,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK;QACH,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;IACrB,CAAC;CACF"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * One property of a CloudFormation Resource that was deployed unread.
3
+ *
4
+ * The Resource exists and is usable. The property named here was left out of
5
+ * it, so the simulated Resource behaves as though the template had never
6
+ * declared that property at all.
7
+ */
8
+ export interface SimCfnIgnoredProperty {
9
+ /** The logical ID of the Resource the property was declared on. */
10
+ readonly logicalId: string;
11
+ /** The Resource type, e.g. `AWS::S3::Bucket`. */
12
+ readonly resourceType: string;
13
+ /**
14
+ * The whole way to the property, so a setting on one entry of a list says
15
+ * which entry it was on, e.g. `GlobalSecondaryIndexes.1.OnDemandThroughput`.
16
+ */
17
+ readonly path: string;
18
+ /** Why the property was ignored rather than acted on. */
19
+ readonly reason: string;
20
+ }
21
+ /**
22
+ * What a service property parser records an ignored property against.
23
+ *
24
+ * Narrow on purpose: a property parser needs to say that it ignored something,
25
+ * and nothing else about the Resource holding it.
26
+ */
27
+ export interface SimCfnPropertyIgnorer {
28
+ /**
29
+ * Record that this Resource is being created without acting on a property.
30
+ */
31
+ ignoreProperty(path: string, reason: string): void;
32
+ }
33
+ //# sourceMappingURL=sim-cfn-ignored-property.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ignored-property.type.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/resource/ignore/sim-cfn-ignored-property.type.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,qBAAqB;IACpC,mEAAmE;IACnE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,iDAAiD;IACjD,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,yDAAyD;IACzD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACpD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-cfn-ignored-property.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ignored-property.type.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/resource/ignore/sim-cfn-ignored-property.type.ts"],"names":[],"mappings":""}
@@ -1,35 +1,7 @@
1
- import type { SimAws } from "../../aws/sim-aws.js";
2
1
  import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
3
- import { type BackgroundScheduler } from "../../../util/background/background.js";
4
- import type { SimCfnServiceResourceFactory } from "./factory/sim-cfn-resource-factory.type.js";
2
+ import type { SimCfnIgnoredProperty, SimCfnPropertyIgnorer } from "./ignore/sim-cfn-ignored-property.type.js";
5
3
  import type { SimCfnTemplateValue, SimCfnTemplateValueRecord } from "../template/value/sim-cfn-template-value.js";
6
- import type { SimCfnParameters } from "../parameters/sim-cfn-parameters.js";
7
- import type { SimCdkOutContext } from "../cdk/sim-cdk-out-context.js";
8
- import type { SimCfnExecutableResourceBinding } from "../bind/sim-cfn-exec-binding.type.js";
9
- export interface SimCloudFormationResourceProperties {
10
- readonly accountRegionScope?: SimAwsAccountRegionScope;
11
- readonly background?: BackgroundScheduler;
12
- readonly logicalId?: string;
13
- readonly stackName?: string | undefined;
14
- readonly template?: SimCfnTemplateValueRecord;
15
- readonly cfnResourceFactory?: SimCfnServiceResourceFactory | undefined;
16
- readonly parameters?: SimCfnParameters | undefined;
17
- readonly resourceLogicalIds?: ReadonlySet<string> | undefined;
18
- }
19
- /**
20
- * Simulated CloudFormation Resource status.
21
- *
22
- * These states model the CloudFormation creation lifecycle for one Resource
23
- * entry, not the lifecycle of the underlying simulated AWS service object.
24
- */
25
- export type SimCloudFormationResourceStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED";
26
- export interface SimCloudFormationResourceCreateContext {
27
- readonly simAws: SimAws;
28
- readonly resources: ReadonlyMap<string, SimCfnResource>;
29
- readonly resolvedProperties?: SimCfnTemplateValueRecord | undefined;
30
- readonly cdkOutContext?: SimCdkOutContext | undefined;
31
- readonly bindings?: readonly SimCfnExecutableResourceBinding[] | undefined;
32
- }
4
+ import type { SimCloudFormationResourceCreateContext, SimCloudFormationResourceProperties, SimCloudFormationResourceStatus } from "./sim-cfn-resource.type.js";
33
5
  /**
34
6
  * Runtime representation of one CloudFormation Resource entry.
35
7
  *
@@ -43,17 +15,17 @@ export interface SimCloudFormationResourceCreateContext {
43
15
  * - Resource-field reading belongs to SimCfnResourceTemplateReader;
44
16
  * - asynchronous creation orchestration belongs to SimCfnResourceCreateOperation;
45
17
  * - service-specific object construction belongs to SimCfnServiceResourceFactory.
46
- *
47
18
  * As a result, SimCfnResource acts as the stable Resource record passed between
48
19
  * stack creation, dependency resolution, and service-specific factories.
49
20
  */
50
- export declare class SimCfnResource<T extends object = object> {
21
+ export declare class SimCfnResource<T extends object = object> implements SimCfnPropertyIgnorer {
51
22
  readonly accountRegionScope: SimAwsAccountRegionScope;
52
23
  readonly logicalId: string;
53
24
  /** The Stack this Resource belongs to, where a generated name comes from. */
54
25
  readonly stackName: string | undefined;
55
26
  readonly template: SimCfnTemplateValueRecord;
56
27
  private readonly creationState;
28
+ private readonly ignoredPropertyList;
57
29
  private readonly resourceTemplateReader;
58
30
  private readonly propertyResolver;
59
31
  private readonly background;
@@ -77,6 +49,16 @@ export declare class SimCfnResource<T extends object = object> {
77
49
  * The reason this Resource was skipped, if it was skipped.
78
50
  */
79
51
  get skippedReason(): string | undefined;
52
+ /**
53
+ * The properties this Resource was created without acting on.
54
+ */
55
+ get ignoredProperties(): readonly SimCfnIgnoredProperty[];
56
+ /**
57
+ * Record that this Resource is being created without acting on a property.
58
+ * Called by the service parsing this Resource's properties, which is the
59
+ * only thing that knows whether a property changes behaviour it simulates.
60
+ */
61
+ ignoreProperty(path: string, reason: string): void;
80
62
  /**
81
63
  * Whether this Resource has reached a terminal successful creation status.
82
64
  */
@@ -159,9 +141,8 @@ export declare class SimCfnResource<T extends object = object> {
159
141
  */
160
142
  markCreateInProgress(): void;
161
143
  /**
162
- * Mark this Resource as successfully created and store its simulated AWS object.
163
- *
164
- * Intended for use by the creation operation after the appropriate
144
+ * Mark this Resource as successfully created and store its simulated AWS
145
+ * object. Intended for use by the creation operation after the appropriate
165
146
  * service-specific factory has created the simulated resource.
166
147
  */
167
148
  markCreateComplete(simResource?: T): void;
@@ -175,11 +156,11 @@ export declare class SimCfnResource<T extends object = object> {
175
156
  markCreateSkipped(reason: string): void;
176
157
  /**
177
158
  * Mark this Resource as failed to create and store the failure reason.
178
- *
179
159
  * Intended for use by the creation operation when service-specific creation
180
160
  * throws or rejects.
181
161
  */
182
162
  markCreateFailed(error?: Error): void;
183
163
  private cfnValueAdapter;
184
164
  }
165
+ export { type SimCloudFormationResourceCreateContext, type SimCloudFormationResourceProperties, type SimCloudFormationResourceStatus, } from "./sim-cfn-resource.type.js";
185
166
  //# sourceMappingURL=sim-cfn-resource.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-resource.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/resource/sim-cfn-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAI/F,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAM5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAG5F,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;IACvD,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,QAAQ,CAAC,EAAE,yBAAyB,CAAC;IAC9C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,UAAU,CAAC,EAAE,gBAAg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AAK,mCAAmC,EACxC,KAAK,+BAA+B,GACrC,MAAM,4BAA4B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { BackgroundTasks, } from "../../../util/background/background.js";
2
2
  import { SimCfnResourceCreateOperation } from "./create/sim-cfn-resource-create-operation.js";
3
3
  import { SimCfnResourceCreationState } from "./state/sim-cfn-resource-creation-state.js";
4
+ import { SimCfnIgnoredProperties } from "./ignore/sim-cfn-ignored-properties.js";
4
5
  import { SimCfnResourceTemplateReader } from "./template/sim-cfn-resource-template-reader.js";
5
6
  import { SimCfnResourcePropertyResolver } from "./resolve/property/sim-cfn-resource-property-resolver.js";
6
7
  import { simCfnResourceValueAdapter, } from "./cfn/sim-cfn-resource-value-adapter.js";
@@ -18,7 +19,6 @@ import { simAwsAccountRegionScopeFactory } from "../../aws/sim-aws-account-regio
18
19
  * - Resource-field reading belongs to SimCfnResourceTemplateReader;
19
20
  * - asynchronous creation orchestration belongs to SimCfnResourceCreateOperation;
20
21
  * - service-specific object construction belongs to SimCfnServiceResourceFactory.
21
- *
22
22
  * As a result, SimCfnResource acts as the stable Resource record passed between
23
23
  * stack creation, dependency resolution, and service-specific factories.
24
24
  */
@@ -29,6 +29,7 @@ export class SimCfnResource {
29
29
  stackName;
30
30
  template;
31
31
  creationState = new SimCfnResourceCreationState();
32
+ ignoredPropertyList = new SimCfnIgnoredProperties();
32
33
  resourceTemplateReader;
33
34
  propertyResolver;
34
35
  background;
@@ -71,6 +72,20 @@ export class SimCfnResource {
71
72
  get skippedReason() {
72
73
  return this.creationState.skippedReason;
73
74
  }
75
+ /**
76
+ * The properties this Resource was created without acting on.
77
+ */
78
+ get ignoredProperties() {
79
+ return this.ignoredPropertyList.all;
80
+ }
81
+ /**
82
+ * Record that this Resource is being created without acting on a property.
83
+ * Called by the service parsing this Resource's properties, which is the
84
+ * only thing that knows whether a property changes behaviour it simulates.
85
+ */
86
+ ignoreProperty(path, reason) {
87
+ this.ignoredPropertyList.record(this, path, reason);
88
+ }
74
89
  /**
75
90
  * Whether this Resource has reached a terminal successful creation status.
76
91
  */
@@ -181,12 +196,12 @@ export class SimCfnResource {
181
196
  * CloudFormation lifecycle.
182
197
  */
183
198
  markCreateInProgress() {
199
+ this.ignoredPropertyList.clear();
184
200
  this.creationState.markCreateInProgress();
185
201
  }
186
202
  /**
187
- * Mark this Resource as successfully created and store its simulated AWS object.
188
- *
189
- * Intended for use by the creation operation after the appropriate
203
+ * Mark this Resource as successfully created and store its simulated AWS
204
+ * object. Intended for use by the creation operation after the appropriate
190
205
  * service-specific factory has created the simulated resource.
191
206
  */
192
207
  markCreateComplete(simResource) {
@@ -204,7 +219,6 @@ export class SimCfnResource {
204
219
  }
205
220
  /**
206
221
  * Mark this Resource as failed to create and store the failure reason.
207
- *
208
222
  * Intended for use by the creation operation when service-specific creation
209
223
  * throws or rejects.
210
224
  */
@@ -219,4 +233,5 @@ export class SimCfnResource {
219
233
  });
220
234
  }
221
235
  }
236
+ export {} from "./sim-cfn-resource.type.js";
222
237
  //# sourceMappingURL=sim-cfn-resource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-resource.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/resource/sim-cfn-resource.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,eAAe,GAChB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAM9F,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAC1G,OAAO,EAEL,0BAA0B,GAC3B,MAAM,yCAAyC,CAAC;AAGjD,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AA8BpG;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,OAAO,cAAc;IACT,kBAAkB,CAA2B;IAC7C,SAAS,CAAS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AAC,UAAU,CAAC,EAAE,MAAM,KAAK,iBAAiB,CAAC;QACjE,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,OAA+C;QACpD,MAAM,iBAAiB,GAAG,IAAI,6BAA6B,CAAC;YAC1D,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,QAAQ,EAAE,IAAI;YACd,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;SAC5C,CAAC,CAAC;QACH,OAAO,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED;;;;;OAKG;IACH,oBAAoB;QAClB,IAAI,CAAC,aAAa,CAAC,oBAAoB,EAAE,CAAC;IAC5C,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAAC,WAAe;QAChC,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC;IACrD,CAAC;IAED;;;;;;OAMG;IACH,iBAAiB,CAAC,MAAc;QAC9B,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACH,gBAAgB,CAAC,KAAa;QAC5B,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC7C,CAAC;IAEO,eAAe;QACrB,OAAO,0BAA0B,CAAC;YAChC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cfn-resource.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/resource/sim-cfn-resource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,2BAA2B,EAAE,MAAM,4C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CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC;IACrD,CAAC;IAED;;;;;;OAMG;IACH,iBAAiB,CAAC,MAAc;QAC9B,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC/C,CAAC;IAED;;;;OAIG;IACH,gBAAgB,CAAC,KAAa;QAC5B,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC7C,CAAC;IAEO,eAAe;QACrB,OAAO,0BAA0B,CAAC;YAChC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC,CAAC;IACL,CAAC;CACF;AAED,OAAO,EAIN,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { SimAws } from "../../aws/sim-aws.js";
2
+ import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
3
+ import type { BackgroundScheduler } from "../../../util/background/background.js";
4
+ import type { SimCfnServiceResourceFactory } from "./factory/sim-cfn-resource-factory.type.js";
5
+ import type { SimCfnTemplateValueRecord } from "../template/value/sim-cfn-template-value.js";
6
+ import type { SimCfnParameters } from "../parameters/sim-cfn-parameters.js";
7
+ import type { SimCdkOutContext } from "../cdk/sim-cdk-out-context.js";
8
+ import type { SimCfnExecutableResourceBinding } from "../bind/sim-cfn-exec-binding.type.js";
9
+ import type { SimCfnResource } from "./sim-cfn-resource.js";
10
+ export interface SimCloudFormationResourceProperties {
11
+ readonly accountRegionScope?: SimAwsAccountRegionScope;
12
+ readonly background?: BackgroundScheduler;
13
+ readonly logicalId?: string;
14
+ readonly stackName?: string | undefined;
15
+ readonly template?: SimCfnTemplateValueRecord;
16
+ readonly cfnResourceFactory?: SimCfnServiceResourceFactory | undefined;
17
+ readonly parameters?: SimCfnParameters | undefined;
18
+ readonly resourceLogicalIds?: ReadonlySet<string> | undefined;
19
+ }
20
+ /**
21
+ * Simulated CloudFormation Resource status.
22
+ *
23
+ * These states model the CloudFormation creation lifecycle for one Resource
24
+ * entry, not the lifecycle of the underlying simulated AWS service object.
25
+ */
26
+ export type SimCloudFormationResourceStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED";
27
+ export interface SimCloudFormationResourceCreateContext {
28
+ readonly simAws: SimAws;
29
+ readonly resources: ReadonlyMap<string, SimCfnResource>;
30
+ readonly resolvedProperties?: SimCfnTemplateValueRecord | undefined;
31
+ readonly cdkOutContext?: SimCdkOutContext | undefined;
32
+ readonly bindings?: readonly SimCfnExecutableResourceBinding[] | undefined;
33
+ }
34
+ //# sourceMappingURL=sim-cfn-resource.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-resource.type.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/resource/sim-cfn-resource.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;IACvD,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,QAAQ,CAAC,EAAE,yBAAyB,CAAC;IAC9C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,UAAU,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAC/D;AAED;;;;;GAKG;AACH,MAAM,MAAM,+BAA+B,GACzC,gBAAgB,GAAG,oBAAoB,GAAG,iBAAiB,GAAG,eAAe,CAAC;AAEhF,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACxD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IACpE,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,+BAA+B,EAAE,GAAG,SAAS,CAAC;CAC5E"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-cfn-resource.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-resource.type.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/resource/sim-cfn-resource.type.ts"],"names":[],"mappings":""}
@@ -3,6 +3,7 @@ import type { Brand } from "../../../util/brand.type.js";
3
3
  import type { BackgroundScheduler } from "../../../util/background/background.js";
4
4
  import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
5
5
  import type { SimCfnResource } from "../resource/sim-cfn-resource.js";
6
+ import type { SimCfnIgnoredProperty } from "../resource/ignore/sim-cfn-ignored-property.type.js";
6
7
  import type { CfnTemplateBodyRecord, SimCfnTemplate } from "../template/sim-cfn-template.js";
7
8
  import { SimCfnStackDeploymentLifecycle } from "./deploy/sim-cfn-stack-deployment-lifecycle.js";
8
9
  import type { SimCdkOutContext } from "../cdk/sim-cdk-out-context.js";
@@ -62,6 +63,14 @@ export declare class SimCfnStack {
62
63
  * available.
63
64
  */
64
65
  get skippedResources(): readonly SimCfnResource[];
66
+ /**
67
+ * Every property the deployment created a Resource without acting on.
68
+ *
69
+ * Read from the Resources rather than collected during deployment, so a
70
+ * Resource created outside a stack deployment still reports its own, and the
71
+ * two never disagree.
72
+ */
73
+ get ignoredProperties(): readonly SimCfnIgnoredProperty[];
65
74
  /**
66
75
  * Delegate resource dependency ordering and creation to the resource
67
76
  * creator.
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-stack.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACf,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,M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