@kensio/yulin 1.17.0 → 1.17.2
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.
- package/README.md +1 -0
- package/dist/serve/http/local-server/sim-aws-local-location.d.ts +55 -0
- package/dist/serve/http/local-server/sim-aws-local-location.d.ts.map +1 -0
- package/dist/serve/http/local-server/sim-aws-local-location.js +80 -0
- package/dist/serve/http/local-server/sim-aws-local-location.js.map +1 -0
- package/dist/serve/http/local-server/sim-aws-local-request-handler.d.ts +7 -0
- package/dist/serve/http/local-server/sim-aws-local-request-handler.d.ts.map +1 -1
- package/dist/serve/http/local-server/sim-aws-local-request-handler.js +10 -3
- package/dist/serve/http/local-server/sim-aws-local-request-handler.js.map +1 -1
- package/dist/serve/http/local-server/sim-aws-local-server.d.ts.map +1 -1
- package/dist/serve/http/local-server/sim-aws-local-server.js +5 -0
- package/dist/serve/http/local-server/sim-aws-local-server.js.map +1 -1
- package/dist/serve/http/node-fetch-http-adapter.d.ts +9 -0
- package/dist/serve/http/node-fetch-http-adapter.d.ts.map +1 -1
- package/dist/serve/http/node-fetch-http-adapter.js +17 -1
- package/dist/serve/http/node-fetch-http-adapter.js.map +1 -1
- package/dist/service/acm/certificate/register-sim-acm-certificate.d.ts +41 -0
- package/dist/service/acm/certificate/register-sim-acm-certificate.d.ts.map +1 -0
- package/dist/service/acm/certificate/register-sim-acm-certificate.js +60 -0
- package/dist/service/acm/certificate/register-sim-acm-certificate.js.map +1 -0
- package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts +9 -0
- package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts.map +1 -1
- package/dist/service/acm/command/request-certificate/request-certificate.handler.js +18 -1
- package/dist/service/acm/command/request-certificate/request-certificate.handler.js.map +1 -1
- package/dist/service/acm/sim-acm.d.ts +15 -0
- package/dist/service/acm/sim-acm.d.ts.map +1 -1
- package/dist/service/acm/sim-acm.js +21 -0
- package/dist/service/acm/sim-acm.js.map +1 -1
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts +23 -4
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js +56 -14
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts +7 -3
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js +6 -2
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts +11 -12
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +15 -7
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-http-api-function-target.d.ts +17 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-function-target.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-function-target.js +2 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-function-target.js.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js +1 -1
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js.map +1 -1
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts +4 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts.map +1 -1
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js +7 -2
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js.map +1 -1
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts.map +1 -1
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js +2 -2
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js.map +1 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts.map +1 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.js +2 -2
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js +6 -4
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts +4 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +25 -2
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js +13 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js +3 -3
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.d.ts +10 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.js +30 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts +2 -4
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js +2 -3
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js.map +1 -1
- package/dist/service/cloudformation/index.d.ts +1 -1
- package/dist/service/cloudformation/index.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js +4 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts +28 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.js +33 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js +11 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.d.ts +29 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.js +31 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.d.ts +35 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.js +40 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts +6 -0
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js +3 -0
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +1 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.d.ts +20 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.js +80 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.js.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.d.ts +46 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.js +103 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.js.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.d.ts +28 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.js +81 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.d.ts +52 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.js +38 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.d.ts +16 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.js +21 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.d.ts +26 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.js +84 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.d.ts +24 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.js +41 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.d.ts +20 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.js +56 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.d.ts +11 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.js +57 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.d.ts +25 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.js +42 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.d.ts +17 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.js +26 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.d.ts +32 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.js +70 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.d.ts +20 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.js +71 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.d.ts +14 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.js +38 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.d.ts +18 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.js +56 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.d.ts +20 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.js +41 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.d.ts +29 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.js +23 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.d.ts +33 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.js +103 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.d.ts +22 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.js +76 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.d.ts +17 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.js +22 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.d.ts +15 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.js +97 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.d.ts +23 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.js +60 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.d.ts +31 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.js +74 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.d.ts +24 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.js +67 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.d.ts +18 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.js +35 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.d.ts +45 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.js +50 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.d.ts +19 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.js +37 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.d.ts +44 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.js +74 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.d.ts +18 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.js +83 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-globals.d.ts +36 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-globals.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-globals.js +76 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-globals.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-picked.d.ts +10 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-picked.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-picked.js +11 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-picked.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-record.d.ts +40 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-record.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-record.js +50 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-record.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-transform.d.ts +23 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-transform.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-transform.js +48 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-transform.js.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.d.ts +18 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.js +52 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.js.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.d.ts +40 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.js +47 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.js.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.d.ts +25 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.js +77 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts +1 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts.map +1 -1
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js +2 -1
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js +4 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts +19 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts +6 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js +9 -3
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template-body-parse.d.ts +19 -0
- package/dist/service/cloudformation/template/sim-cfn-template-body-parse.d.ts.map +1 -0
- package/dist/service/cloudformation/template/sim-cfn-template-body-parse.js +36 -0
- package/dist/service/cloudformation/template/sim-cfn-template-body-parse.js.map +1 -0
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts +11 -4
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template.js +16 -13
- package/dist/service/cloudformation/template/sim-cfn-template.js.map +1 -1
- package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.d.ts +11 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.d.ts.map +1 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.js +41 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.js.map +1 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.d.ts +17 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.d.ts.map +1 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.js +70 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.js.map +1 -0
- package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.d.ts +23 -0
- package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.d.ts.map +1 -1
- package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.js +64 -22
- package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.js.map +1 -1
- package/dist/service/cloudfront/command/create-function/create-function-code-size.d.ts +23 -0
- package/dist/service/cloudfront/command/create-function/create-function-code-size.d.ts.map +1 -0
- package/dist/service/cloudfront/command/create-function/create-function-code-size.js +33 -0
- package/dist/service/cloudfront/command/create-function/create-function-code-size.js.map +1 -0
- package/dist/service/cloudfront/command/create-function/create-function.handler.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-function/create-function.handler.js +2 -0
- package/dist/service/cloudfront/command/create-function/create-function.handler.js.map +1 -1
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +11 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
- package/dist/service/cloudfront/error/sim-cloudfront.error.js +13 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
- package/dist/service/cloudfront/index.d.ts +1 -1
- package/dist/service/cloudfront/index.d.ts.map +1 -1
- package/dist/service/cloudfront/index.js +1 -1
- package/dist/service/cloudfront/index.js.map +1 -1
- package/dist/service/cloudfront/typings/cloudfront-functions.namespace.d.ts +1 -1
- package/dist/service/cloudfront/typings/cloudfront-functions.namespace.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +6 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.js +22 -6
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.d.ts +22 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.js +26 -0
- package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
- package/dist/service/cognito/index.d.ts +2 -1
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +1 -1
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +24 -0
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js +26 -0
- package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +9 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -2
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts +22 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js +36 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js.map +1 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts +25 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js +30 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts +40 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.js +2 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts +34 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.js +28 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts +9 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js +3 -2
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts +9 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js +18 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +8 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +15 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
- package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.d.ts +1 -1
- package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js +26 -19
- package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js.map +1 -1
- package/dist/service/elbv2/serve/sim-elbv2-invoke-authorizer.js +1 -1
- package/dist/service/elbv2/serve/sim-elbv2-invoke-authorizer.js.map +1 -1
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.d.ts +5 -3
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.d.ts.map +1 -1
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.js +14 -9
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.js.map +1 -1
- package/dist/service/eventbridge/target/sim-event-target-arn.d.ts +13 -6
- package/dist/service/eventbridge/target/sim-event-target-arn.d.ts.map +1 -1
- package/dist/service/eventbridge/target/sim-event-target-arn.js +17 -7
- package/dist/service/eventbridge/target/sim-event-target-arn.js.map +1 -1
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts +40 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts.map +1 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js +65 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js.map +1 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts +1 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts.map +1 -1
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js +5 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js.map +1 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts +11 -20
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts.map +1 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js +29 -61
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js.map +1 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts +38 -0
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts.map +1 -0
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js +79 -0
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js.map +1 -0
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts +2 -2
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts.map +1 -1
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js +4 -2
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts +35 -0
- package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts.map +1 -0
- package/dist/service/iam/cfn/{role/sim-cfn-iam-role-policies-parser.js → sim-cfn-iam-policies-parser.js} +17 -12
- package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.js.map +1 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts +11 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js +25 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts +1 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js +6 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js.map +1 -1
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts +28 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js +67 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts +26 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js +29 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts +38 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js +80 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js.map +1 -0
- package/dist/service/iam/command/sim-iam-command.types.d.ts +3 -0
- package/dist/service/iam/command/sim-iam-command.types.d.ts.map +1 -1
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts +9 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts.map +1 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js +2 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js.map +1 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts +30 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts.map +1 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js +44 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts +16 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js +2 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts +32 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js +59 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js.map +1 -0
- package/dist/service/iam/command/user/create-user/create-user-record-factory.d.ts.map +1 -1
- package/dist/service/iam/command/user/create-user/create-user-record-factory.js +1 -0
- package/dist/service/iam/command/user/create-user/create-user-record-factory.js.map +1 -1
- package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts +19 -0
- package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts.map +1 -0
- package/dist/service/iam/command/user/delete-user/delete-user.command.js +2 -0
- package/dist/service/iam/command/user/delete-user/delete-user.command.js.map +1 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts +34 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts.map +1 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.js +51 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.js.map +1 -0
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts +15 -0
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts.map +1 -1
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.js +36 -0
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.js.map +1 -1
- package/dist/service/iam/sdk/sim-iam-sdk-command-router.d.ts.map +1 -1
- package/dist/service/iam/sdk/sim-iam-sdk-command-router.js +12 -0
- package/dist/service/iam/sdk/sim-iam-sdk-command-router.js.map +1 -1
- package/dist/service/iam/sim-iam.d.ts +12 -0
- package/dist/service/iam/sim-iam.d.ts.map +1 -1
- package/dist/service/iam/sim-iam.js +18 -0
- package/dist/service/iam/sim-iam.js.map +1 -1
- package/dist/service/iam/user/sim-iam-user-login-profile.d.ts +14 -0
- package/dist/service/iam/user/sim-iam-user-login-profile.d.ts.map +1 -0
- package/dist/service/iam/user/sim-iam-user-login-profile.js +2 -0
- package/dist/service/iam/user/sim-iam-user-login-profile.js.map +1 -0
- package/dist/service/iam/user/sim-iam-user.d.ts +8 -0
- package/dist/service/iam/user/sim-iam-user.d.ts.map +1 -1
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.d.ts +30 -0
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.d.ts.map +1 -0
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.js +41 -0
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts +12 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js +15 -3
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js.map +1 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.d.ts +6 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.d.ts.map +1 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.js +11 -5
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.js.map +1 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.d.ts +12 -0
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.d.ts.map +1 -0
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.js +22 -0
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.js.map +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.d.ts +10 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.d.ts.map +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.js +14 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.js.map +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts +2 -6
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +24 -19
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +2 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +12 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.d.ts +31 -0
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.d.ts.map +1 -0
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.js +40 -0
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.js.map +1 -0
- package/dist/service/lambda/command/add-permission/add-permission.command.d.ts +1 -0
- package/dist/service/lambda/command/add-permission/add-permission.command.d.ts.map +1 -1
- package/dist/service/lambda/command/add-permission/add-permission.handler.d.ts +8 -1
- package/dist/service/lambda/command/add-permission/add-permission.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/add-permission/add-permission.handler.js +13 -6
- package/dist/service/lambda/command/add-permission/add-permission.handler.js.map +1 -1
- package/dist/service/lambda/command/alias/alias-input.d.ts +21 -0
- package/dist/service/lambda/command/alias/alias-input.d.ts.map +1 -0
- package/dist/service/lambda/command/alias/alias-input.js +30 -0
- package/dist/service/lambda/command/alias/alias-input.js.map +1 -0
- package/dist/service/lambda/command/alias/sim-lambda-alias-commands.d.ts +52 -0
- package/dist/service/lambda/command/alias/sim-lambda-alias-commands.d.ts.map +1 -0
- package/dist/service/lambda/command/alias/sim-lambda-alias-commands.js +49 -0
- package/dist/service/lambda/command/alias/sim-lambda-alias-commands.js.map +1 -0
- package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.d.ts +9 -7
- package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.d.ts.map +1 -1
- package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.js +11 -9
- package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.js.map +1 -1
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts +10 -2
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts.map +1 -1
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js +2 -2
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js.map +1 -1
- package/dist/service/lambda/command/create-alias/create-alias.command.d.ts +31 -0
- package/dist/service/lambda/command/create-alias/create-alias.command.d.ts.map +1 -0
- package/dist/service/lambda/command/create-alias/create-alias.command.js +5 -0
- package/dist/service/lambda/command/create-alias/create-alias.command.js.map +1 -0
- package/dist/service/lambda/command/create-alias/create-alias.handler.d.ts +35 -0
- package/dist/service/lambda/command/create-alias/create-alias.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/create-alias/create-alias.handler.js +52 -0
- package/dist/service/lambda/command/create-alias/create-alias.handler.js.map +1 -0
- package/dist/service/lambda/command/create-function/create-function.command.d.ts +1 -1
- package/dist/service/lambda/command/create-function/create-function.command.d.ts.map +1 -1
- package/dist/service/lambda/command/create-function/create-function.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/create-function/create-function.handler.js +2 -1
- package/dist/service/lambda/command/create-function/create-function.handler.js.map +1 -1
- package/dist/service/lambda/command/delete-alias/delete-alias.command.d.ts +24 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.command.d.ts.map +1 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.command.js +5 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.command.js.map +1 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.handler.d.ts +37 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.handler.js +44 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.handler.js.map +1 -0
- package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +6 -2
- package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/delete-function/delete-function.handler.js +7 -3
- package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts +8 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js +11 -2
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js +13 -6
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js.map +1 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +3 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.js +1 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
- package/dist/service/lambda/command/get-alias/get-alias.command.d.ts +25 -0
- package/dist/service/lambda/command/get-alias/get-alias.command.d.ts.map +1 -0
- package/dist/service/lambda/command/get-alias/get-alias.command.js +5 -0
- package/dist/service/lambda/command/get-alias/get-alias.command.js.map +1 -0
- package/dist/service/lambda/command/get-alias/get-alias.handler.d.ts +34 -0
- package/dist/service/lambda/command/get-alias/get-alias.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/get-alias/get-alias.handler.js +38 -0
- package/dist/service/lambda/command/get-alias/get-alias.handler.js.map +1 -0
- package/dist/service/lambda/command/get-function/get-function.command.d.ts +2 -1
- package/dist/service/lambda/command/get-function/get-function.command.d.ts.map +1 -1
- package/dist/service/lambda/command/get-function/get-function.handler.d.ts +6 -2
- package/dist/service/lambda/command/get-function/get-function.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/get-function/get-function.handler.js +13 -6
- package/dist/service/lambda/command/get-function/get-function.handler.js.map +1 -1
- package/dist/service/lambda/command/get-policy/get-policy.command.d.ts +1 -0
- package/dist/service/lambda/command/get-policy/get-policy.command.d.ts.map +1 -1
- package/dist/service/lambda/command/get-policy/get-policy.handler.d.ts +8 -3
- package/dist/service/lambda/command/get-policy/get-policy.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/get-policy/get-policy.handler.js +11 -6
- package/dist/service/lambda/command/get-policy/get-policy.handler.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-authorizer.d.ts +11 -8
- package/dist/service/lambda/command/invoke/invoke-authorizer.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-authorizer.js +11 -8
- package/dist/service/lambda/command/invoke/invoke-authorizer.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts +3 -0
- package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-dispatcher.js +5 -2
- package/dist/service/lambda/command/invoke/invoke-dispatcher.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke.handler.d.ts +9 -2
- package/dist/service/lambda/command/invoke/invoke.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke.handler.js +20 -10
- package/dist/service/lambda/command/invoke/invoke.handler.js.map +1 -1
- package/dist/service/lambda/command/list-aliases/list-aliases.command.d.ts +30 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.command.d.ts.map +1 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.command.js +5 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.command.js.map +1 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.handler.d.ts +35 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.handler.js +44 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.handler.js.map +1 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.d.ts +28 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.d.ts.map +1 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.js +5 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.js.map +1 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.d.ts +35 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.js +43 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.js.map +1 -0
- package/dist/service/lambda/command/permission/sim-lambda-permission-commands.d.ts +8 -3
- package/dist/service/lambda/command/permission/sim-lambda-permission-commands.d.ts.map +1 -1
- package/dist/service/lambda/command/permission/sim-lambda-permission-commands.js +6 -3
- package/dist/service/lambda/command/permission/sim-lambda-permission-commands.js.map +1 -1
- package/dist/service/lambda/command/publish-version/publish-version.command.d.ts +34 -0
- package/dist/service/lambda/command/publish-version/publish-version.command.d.ts.map +1 -0
- package/dist/service/lambda/command/publish-version/publish-version.command.js +5 -0
- package/dist/service/lambda/command/publish-version/publish-version.command.js.map +1 -0
- package/dist/service/lambda/command/publish-version/publish-version.handler.d.ts +37 -0
- package/dist/service/lambda/command/publish-version/publish-version.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/publish-version/publish-version.handler.js +42 -0
- package/dist/service/lambda/command/publish-version/publish-version.handler.js.map +1 -0
- package/dist/service/lambda/command/remove-permission/remove-permission.command.d.ts +1 -0
- package/dist/service/lambda/command/remove-permission/remove-permission.command.d.ts.map +1 -1
- package/dist/service/lambda/command/remove-permission/remove-permission.handler.d.ts +8 -1
- package/dist/service/lambda/command/remove-permission/remove-permission.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/remove-permission/remove-permission.handler.js +12 -5
- package/dist/service/lambda/command/remove-permission/remove-permission.handler.js.map +1 -1
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts +7 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
- package/dist/service/lambda/command/update-alias/update-alias.command.d.ts +31 -0
- package/dist/service/lambda/command/update-alias/update-alias.command.d.ts.map +1 -0
- package/dist/service/lambda/command/update-alias/update-alias.command.js +5 -0
- package/dist/service/lambda/command/update-alias/update-alias.command.js.map +1 -0
- package/dist/service/lambda/command/update-alias/update-alias.handler.d.ts +35 -0
- package/dist/service/lambda/command/update-alias/update-alias.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/update-alias/update-alias.handler.js +48 -0
- package/dist/service/lambda/command/update-alias/update-alias.handler.js.map +1 -0
- package/dist/service/lambda/command/version/sim-lambda-version-commands.d.ts +37 -0
- package/dist/service/lambda/command/version/sim-lambda-version-commands.d.ts.map +1 -0
- package/dist/service/lambda/command/version/sim-lambda-version-commands.js +28 -0
- package/dist/service/lambda/command/version/sim-lambda-version-commands.js.map +1 -0
- package/dist/service/lambda/command/version/version-authorizer.d.ts +29 -0
- package/dist/service/lambda/command/version/version-authorizer.d.ts.map +1 -0
- package/dist/service/lambda/command/version/version-authorizer.js +39 -0
- package/dist/service/lambda/command/version/version-authorizer.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-event-source-poller.d.ts.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-event-source-poller.js +2 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-event-source-poller.js.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.d.ts +13 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.js +13 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-consumer.d.ts.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-consumer.js +2 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-consumer.js.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts +9 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js +8 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts +6 -5
- package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-executable-code.js +7 -6
- package/dist/service/lambda/function/code/sim-lambda-executable-code.js.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts +11 -3
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js +13 -7
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.d.ts +2 -0
- package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.d.ts.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.js +2 -2
- package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.js.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts +104 -0
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts.map +1 -0
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.js +133 -0
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.js.map +1 -0
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts +10 -0
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts.map +1 -1
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.js +11 -0
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.js.map +1 -1
- package/dist/service/lambda/function/policy/sim-lambda-policy-resource.d.ts +17 -0
- package/dist/service/lambda/function/policy/sim-lambda-policy-resource.d.ts.map +1 -0
- package/dist/service/lambda/function/policy/sim-lambda-policy-resource.js +2 -0
- package/dist/service/lambda/function/policy/sim-lambda-policy-resource.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-arn-parts.d.ts +3 -3
- package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts +43 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.js +22 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-name.d.ts +3 -1
- package/dist/service/lambda/function/sim-lambda-function-name.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function-name.js +3 -1
- package/dist/service/lambda/function/sim-lambda-function-name.js.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function-reference.d.ts +36 -0
- package/dist/service/lambda/function/sim-lambda-function-reference.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-reference.js +56 -0
- package/dist/service/lambda/function/sim-lambda-function-reference.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function.d.ts +19 -32
- package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.js +33 -14
- package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts +22 -3
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts.map +1 -1
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.js +24 -4
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.js.map +1 -1
- package/dist/service/lambda/function/version/sim-lambda-function-alias-store.d.ts +55 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias-store.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias-store.js +80 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias-store.js.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias.d.ts +60 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias.js +57 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias.js.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-target.d.ts +16 -0
- package/dist/service/lambda/function/version/sim-lambda-function-target.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-target.js +2 -0
- package/dist/service/lambda/function/version/sim-lambda-function-target.js.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-version-store.d.ts +80 -0
- package/dist/service/lambda/function/version/sim-lambda-function-version-store.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-version-store.js +114 -0
- package/dist/service/lambda/function/version/sim-lambda-function-version-store.js.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-versions.d.ts +61 -0
- package/dist/service/lambda/function/version/sim-lambda-function-versions.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-versions.js +96 -0
- package/dist/service/lambda/function/version/sim-lambda-function-versions.js.map +1 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +28 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts +2 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts.map +1 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.js +2 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.js.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.d.ts +8 -0
- package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.js +25 -0
- package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
- package/dist/service/lambda/sim-lambda-inspection.d.ts +43 -0
- package/dist/service/lambda/sim-lambda-inspection.d.ts.map +1 -0
- package/dist/service/lambda/sim-lambda-inspection.js +50 -0
- package/dist/service/lambda/sim-lambda-inspection.js.map +1 -0
- package/dist/service/lambda/sim-lambda.d.ts +44 -80
- package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda.js +55 -82
- package/dist/service/lambda/sim-lambda.js.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-aws-logs-subscription-functions.d.ts.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-aws-logs-subscription-functions.js +2 -2
- package/dist/service/logs/subscription/lambda/sim-aws-logs-subscription-functions.js.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.d.ts +7 -5
- package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.d.ts.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.js +15 -9
- package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.js.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.d.ts +9 -0
- package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.d.ts.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.js +11 -5
- package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.js.map +1 -1
- package/dist/service/s3/command/get-object/get-object-loader.d.ts +5 -3
- package/dist/service/s3/command/get-object/get-object-loader.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object-loader.js +19 -4
- package/dist/service/s3/command/get-object/get-object-loader.js.map +1 -1
- package/dist/service/s3/command/get-object/get-object.command.d.ts +13 -0
- package/dist/service/s3/command/get-object/get-object.command.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object.handler.d.ts +3 -0
- package/dist/service/s3/command/get-object/get-object.handler.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object.handler.js +4 -1
- package/dist/service/s3/command/get-object/get-object.handler.js.map +1 -1
- package/dist/service/s3/error/sim-s3.error.d.ts +13 -0
- package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
- package/dist/service/s3/error/sim-s3.error.js +15 -0
- package/dist/service/s3/error/sim-s3.error.js.map +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts.map +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +23 -10
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js.map +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts +8 -4
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts.map +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js +12 -12
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js.map +1 -1
- package/dist/service/s3/object/s3-object-range.d.ts +26 -0
- package/dist/service/s3/object/s3-object-range.d.ts.map +1 -0
- package/dist/service/s3/object/s3-object-range.js +89 -0
- package/dist/service/s3/object/s3-object-range.js.map +1 -0
- package/dist/service/s3/object/s3-object-response-headers.d.ts +7 -1
- package/dist/service/s3/object/s3-object-response-headers.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object-response-headers.js +5 -1
- package/dist/service/s3/object/s3-object-response-headers.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts +0 -14
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-input.js +0 -29
- package/dist/service/s3/serve/api/sim-s3-api-input.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +27 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js +47 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +5 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js +8 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +2 -2
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts +5 -0
- package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js +20 -3
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -1
- package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.d.ts +5 -4
- package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.d.ts.map +1 -1
- package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js +16 -11
- package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js.map +1 -1
- package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.d.ts +8 -4
- package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.d.ts.map +1 -1
- package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.js +11 -10
- package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.js.map +1 -1
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts +0 -7
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts.map +1 -1
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js +7 -41
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js.map +1 -1
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts +14 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js +26 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts +11 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js +16 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts +40 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js +67 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts +8 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js +61 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts +19 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.js +37 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.js.map +1 -0
- package/dist/service/ssm/sim-ssm.d.ts +5 -0
- package/dist/service/ssm/sim-ssm.d.ts.map +1 -1
- package/dist/service/ssm/sim-ssm.js +7 -0
- package/dist/service/ssm/sim-ssm.js.map +1 -1
- package/package.json +4 -2
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts +0 -25
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts.map +0 -1
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-stack.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/update-stack/update-stack.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"update-stack.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/update-stack/update-stack.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAYvE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AAC7F,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAuB3F;;;;GAIG;AACH,MAAM,OAAO,yBAAyB;IAInB,MAAM,CAAS;IACf,kBAAkB,CAA2B;IAC7C,MAAM,CAA+C;IACrD,UAAU,CAA4C;IACtD,aAAa,CAA+B;IAC5C,OAAO,CAA4B;IAEpD,YAAY,UAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IACpC,CAAC;IAED;;;;;;;;;;OAUG;IACH,KAAK,CAAC,MAAM,CACV,OAA8B;QAE9B,aAAa,CACX,OAAO,CAAC,KAAK,CAAC,SAAS,EACvB,oCAAoC,CACrC,CAAC;QACF,aAAa,CACX,OAAO,CAAC,KAAK,CAAC,YAAY,EAC1B,uCAAuC,CACxC,CAAC;QAEF,oEAAoE;QACpE,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAEjC,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,SAAuC,CAAC;QACxE,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAEzC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,IAAI,gCAAgC,CACxC,iBAAiB,SAAS,iBAAiB,CAC5C,CAAC;QACJ,CAAC;QAED,MAAM,UAAU,GAAG,gBAAgB,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE;YAC3D,SAAS;YACT,cAAc,EAAE,wBAAwB,CAAC;gBACvC,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;aAC5C,CAAC;SACH,CAAC,CAAC;QAEH,MAAM,KAAK,CAAC,MAAM,CAChB,cAAc,CAAC,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,EAAE;YAC1D,SAAS;YACT,UAAU;YACV,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,OAAO,EAAE,IAAI,CAAC,OAAO;SACtB,CAAC,EACF,EAAE,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,CACtC,CAAC;QAEF,OAAO;YACL,OAAO,EAAE,KAAK,CAAC,SAAS;YACxB,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -2,7 +2,7 @@ import type { SimAws } from "../../aws/sim-aws.js";
|
|
|
2
2
|
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
3
3
|
import type { SimCfnStack } from "../stack/sim-cfn-stack.js";
|
|
4
4
|
import { type SimCloudFormationDeployCdkOutProperties } from "./sim-cfn-cdk-out-plan.js";
|
|
5
|
-
export type { SimCfnCdkOutStackOptions } from "./sim-cfn-cdk-out-stack-options.js";
|
|
5
|
+
export type { SimCfnCdkOutStackOptions, SimCfnCdkOutTemplateTransform, } from "./sim-cfn-cdk-out-stack-options.js";
|
|
6
6
|
export type { SimCloudFormationDeployCdkOutProperties } from "./sim-cfn-cdk-out-plan.js";
|
|
7
7
|
interface SimCfnCdkOutDeployerProperties {
|
|
8
8
|
readonly simAws: SimAws;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-cdk-out-deployer.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.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,WAAW,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-deployer.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.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,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAK7D,OAAO,EAIL,KAAK,uCAAuC,EAC7C,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EAAE,uCAAuC,EAAE,MAAM,2BAA2B,CAAC;AAEzF,UAAU,8BAA8B;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;CACvD;AAED;;;;;;GAMG;AACH,qBAAa,oBAAoB;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK;IAAlC,YAA6B,KAAK,EAAE,8BAA8B,EAAI;IAEhE,MAAM,CACV,OAAO,EAAE,uCAAuC,GAAG,MAAM,GACxD,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAgB3C;YAEa,WAAW;CAqB1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cdkOutOptionsFor } from "./sim-cfn-cdk-out-stack-options.js";
|
|
1
|
+
import { cdkOutBoundTransform, cdkOutOptionsFor, } from "./sim-cfn-cdk-out-stack-options.js";
|
|
2
2
|
import { planCdkOutDeployment, } from "./sim-cfn-cdk-out-plan.js";
|
|
3
3
|
/**
|
|
4
4
|
* Deploys the Stacks a CDK cloud assembly holds, each into its own region.
|
|
@@ -20,20 +20,22 @@ export class SimCfnCdkOutDeployer {
|
|
|
20
20
|
const deployed = new Map();
|
|
21
21
|
for (const stack of plan.stacks) {
|
|
22
22
|
// oxlint-disable-next-line no-await-in-loop -- one Stack at a time, since a later one may depend on an earlier one
|
|
23
|
-
const deployedStack = await this.deployStack(stack, plan);
|
|
23
|
+
const deployedStack = await this.deployStack(stack, plan, deployed);
|
|
24
24
|
deployed.set(stack.stackName, deployedStack);
|
|
25
25
|
}
|
|
26
26
|
return deployed;
|
|
27
27
|
}
|
|
28
|
-
async deployStack(stack, plan) {
|
|
28
|
+
async deployStack(stack, plan, deployed) {
|
|
29
29
|
const { simAws, accountRegionScope } = this.scope;
|
|
30
|
+
const { transform, ...options } = cdkOutOptionsFor(stack, plan.stackOptions);
|
|
30
31
|
return await simAws
|
|
31
32
|
.accountRegionScope(accountRegionScope.accountId, stack.regionName)
|
|
32
33
|
.cloudFormation()
|
|
33
34
|
.deployTemplateFile({
|
|
34
35
|
templatePath: stack.templatePath,
|
|
35
36
|
stackName: stack.stackName,
|
|
36
|
-
...
|
|
37
|
+
...options,
|
|
38
|
+
transform: cdkOutBoundTransform(transform, deployed),
|
|
37
39
|
});
|
|
38
40
|
}
|
|
39
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-cdk-out-deployer.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-deployer.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,oBAAoB,GAIrB,MAAM,2BAA2B,CAAC;AAanC;;;;;;GAMG;AACH,MAAM,OAAO,oBAAoB;IACF,KAAK;IAAlC,YAA6B,KAAqC;qBAArC,KAAK;IAAmC,CAAC;IAEtE,KAAK,CAAC,MAAM,CACV,OAAyD;QAEzD,MAAM,IAAI,GAAG,MAAM,oBAAoB,CAAC;YACtC,OAAO;YACP,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU;SAC5D,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAuB,CAAC;QAEhD,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChC,mHAAmH;YACnH,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;YAEpE,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEO,KAAK,CAAC,WAAW,CACvB,KAA+B,EAC/B,IAAsB,EACtB,QAA0C;QAE1C,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAClD,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,GAAG,gBAAgB,CAChD,KAAK,EACL,IAAI,CAAC,YAAY,CAClB,CAAC;QAEF,OAAO,MAAM,MAAM;aAChB,kBAAkB,CAAC,kBAAkB,CAAC,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC;aAClE,cAAc,EAAE;aAChB,kBAAkB,CAAC;YAClB,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,GAAG,OAAO;YACV,SAAS,EAAE,oBAAoB,CAAC,SAAS,EAAE,QAAQ,CAAC;SACrD,CAAC,CAAC;IACP,CAAC;CACF"}
|
|
@@ -10,6 +10,10 @@ export interface SimCloudFormationDeployCdkOutProperties {
|
|
|
10
10
|
* Every Stack in the assembly is deployed when this is left out, which is
|
|
11
11
|
* rarely what a test wants of an app that also synthesizes a deployment
|
|
12
12
|
* pipeline.
|
|
13
|
+
*
|
|
14
|
+
* The order they are named is the order they deploy in. A Stack the manifest
|
|
15
|
+
* says another depends on still goes first, whatever order the two are named
|
|
16
|
+
* in.
|
|
13
17
|
*/
|
|
14
18
|
readonly stackNames?: readonly string[] | undefined;
|
|
15
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-cdk-out-plan.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-plan.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,oCAAoC,CAAC;AAE5C,MAAM,WAAW,uCAAuC;IACtD,oEAAoE;IACpE,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAE/B
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-plan.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-plan.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,oCAAoC,CAAC;AAE5C,MAAM,WAAW,uCAAuC;IACtD,oEAAoE;IACpE,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAE/B;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAEpD;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CACpE;AAED,kEAAkE;AAClE,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;IACnE,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;CACpC;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,EAAE,SAAS,wBAAwB,EAAE,CAAC;IACrD,QAAQ,CAAC,YAAY,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CACpE;AAED;;;;;GAKG;AACH,wBAAsB,oBAAoB,CAAC,UAAU,EAAE;IACrD,QAAQ,CAAC,OAAO,EAAE,uCAAuC,GAAG,MAAM,CAAC;IACnE,QAAQ,CAAC,iBAAiB,EAAE,aAAa,CAAC;CAC3C,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAoB5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-cdk-out-plan.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-plan.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EACL,qBAAqB,GAEtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EACL,8BAA8B,GAE/B,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-plan.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-plan.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EACL,qBAAqB,GAEtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EACL,8BAA8B,GAE/B,MAAM,oCAAoC,CAAC;AAoC5C;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,UAG1C;IACC,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,gBAAgB,CAClE,UAAU,CAAC,OAAO,CACnB,CAAC;IAEF,MAAM,QAAQ,GAAG,uBAAuB,CAAC;QACvC,MAAM,EAAE,MAAM,qBAAqB,CAAC,aAAa,CAAC;QAClD,UAAU;QACV,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC;KAC3C,CAAC,CAAC;IAEH,8BAA8B,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAEvD,OAAO;QACL,MAAM,EAAE,sBAAsB,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YACvD,GAAG,KAAK;YACR,UAAU,EAAE,KAAK,CAAC,UAAU,IAAI,UAAU,CAAC,iBAAiB;SAC7D,CAAC,CAAC;QACH,YAAY;KACb,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,gBAAgB,CACvB,OAAyD;IAEzD,OAAO,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;AAC5E,CAAC"}
|
|
@@ -1,22 +1,45 @@
|
|
|
1
1
|
import type { SimCdkAssemblyStack } from "../cdk/sim-cdk-assembly-manifest.js";
|
|
2
2
|
import type { SimCfnDeployBinding } from "../bind/sim-cfn-deploy-binding.js";
|
|
3
|
+
import type { SimCfnStack } from "../stack/sim-cfn-stack.js";
|
|
4
|
+
import type { CfnTemplateBodyRecord } from "../template/sim-cfn-template.js";
|
|
3
5
|
import type { SimCfnTemplateFileTransform } from "./sim-cfn-template-file-transform.js";
|
|
6
|
+
/**
|
|
7
|
+
* Adapts one Stack's parsed template, with the Stacks the same call has already
|
|
8
|
+
* deployed to hand.
|
|
9
|
+
*
|
|
10
|
+
* A synthesized template names the real account's resources as literals, and a
|
|
11
|
+
* simulation allocates its own identifiers for them. The deployed Stacks are
|
|
12
|
+
* keyed by Stack name, and a value one of them created is reached through
|
|
13
|
+
* `output(...)` or `getResource(...)`.
|
|
14
|
+
*
|
|
15
|
+
* A transform taking the template alone is this type too, since the deployed
|
|
16
|
+
* Stacks are the second argument.
|
|
17
|
+
*/
|
|
18
|
+
export type SimCfnCdkOutTemplateTransform = (template: CfnTemplateBodyRecord, deployed: ReadonlyMap<string, SimCfnStack>) => CfnTemplateBodyRecord;
|
|
4
19
|
/**
|
|
5
20
|
* What one Stack in a cloud assembly is deployed with.
|
|
6
21
|
*
|
|
7
22
|
* These are the per-template options `deployTemplateFile` takes, for the one
|
|
8
|
-
* Stack they are keyed against.
|
|
23
|
+
* Stack they are keyed against. The transform sees more than that one does,
|
|
24
|
+
* because a Stack in an assembly has Stacks in front of it.
|
|
9
25
|
*/
|
|
10
26
|
export interface SimCfnCdkOutStackOptions {
|
|
11
27
|
readonly parameters?: Record<string, string> | undefined;
|
|
12
28
|
readonly bindings?: readonly SimCfnDeployBinding[] | undefined;
|
|
13
|
-
readonly transform?:
|
|
29
|
+
readonly transform?: SimCfnCdkOutTemplateTransform | undefined;
|
|
14
30
|
}
|
|
15
31
|
export type SimCfnCdkOutStackOptionsByName = Record<string, SimCfnCdkOutStackOptions>;
|
|
16
32
|
/**
|
|
17
33
|
* The options a Stack is deployed with, keyed by Stack name or artifact ID.
|
|
18
34
|
*/
|
|
19
35
|
export declare function cdkOutOptionsFor(stack: SimCdkAssemblyStack, optionsByName: SimCfnCdkOutStackOptionsByName | undefined): SimCfnCdkOutStackOptions;
|
|
36
|
+
/**
|
|
37
|
+
* Bind a Stack's transform to the Stacks deployed ahead of it.
|
|
38
|
+
*
|
|
39
|
+
* The deployment is copied on the way in, so a transform holding on to the map
|
|
40
|
+
* keeps the deployment it was handed while the call goes on deploying.
|
|
41
|
+
*/
|
|
42
|
+
export declare function cdkOutBoundTransform(transform: SimCfnCdkOutTemplateTransform | undefined, deployed: ReadonlyMap<string, SimCfnStack>): SimCfnTemplateFileTransform | undefined;
|
|
20
43
|
/**
|
|
21
44
|
* Refuse options keyed against a Stack that is not being deployed.
|
|
22
45
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-cdk-out-stack-options.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAExF
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-stack-options.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAExF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAC1C,QAAQ,EAAE,qBAAqB,EAC/B,QAAQ,EAAE,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,KACvC,qBAAqB,CAAC;AAE3B;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,SAAS,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;CAChE;AAED,MAAM,MAAM,8BAA8B,GAAG,MAAM,CACjD,MAAM,EACN,wBAAwB,CACzB,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,mBAAmB,EAC1B,aAAa,EAAE,8BAA8B,GAAG,SAAS,GACxD,wBAAwB,CAI1B;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,6BAA6B,GAAG,SAAS,EACpD,QAAQ,EAAE,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,GACzC,2BAA2B,GAAG,SAAS,CAQzC;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,8BAA8B,GAAG,SAAS,EACzD,SAAS,EAAE,SAAS,mBAAmB,EAAE,GACxC,IAAI,CAaN"}
|
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
export function cdkOutOptionsFor(stack, optionsByName) {
|
|
5
5
|
return (optionsByName?.[stack.stackName] ?? optionsByName?.[stack.artifactId] ?? {});
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* Bind a Stack's transform to the Stacks deployed ahead of it.
|
|
9
|
+
*
|
|
10
|
+
* The deployment is copied on the way in, so a transform holding on to the map
|
|
11
|
+
* keeps the deployment it was handed while the call goes on deploying.
|
|
12
|
+
*/
|
|
13
|
+
export function cdkOutBoundTransform(transform, deployed) {
|
|
14
|
+
if (transform === undefined) {
|
|
15
|
+
return undefined;
|
|
16
|
+
}
|
|
17
|
+
const deployedSoFar = new Map(deployed);
|
|
18
|
+
return (template) => transform(template, deployedSoFar);
|
|
19
|
+
}
|
|
7
20
|
/**
|
|
8
21
|
* Refuse options keyed against a Stack that is not being deployed.
|
|
9
22
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-cdk-out-stack-options.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-stack-options.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"AAyCA;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAC9B,KAA0B,EAC1B,aAAyD;IAEzD,OAAO,CACL,aAAa,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,aAAa,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,CAC5E,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAClC,SAAoD,EACpD,QAA0C;IAE1C,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC;IAExC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;AAC1D,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,8BAA8B,CAC5C,aAAyD,EACzD,SAAyC;IAEzC,MAAM,KAAK,GAAG,IAAI,GAAG,CACnB,SAAS,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAClE,CAAC;IACF,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,MAAM,CACvD,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAC3B,CAAC;IAEF,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CACb,0BAA0B,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,2EAA2E,UAAU,CAAC,SAAS,CAAC,GAAG,CAClJ,CAAC;IACJ,CAAC;AACH,CAAC;AAED,SAAS,UAAU,CAAC,MAAsC;IACxD,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-template-file-loader.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-loader.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cfn-template-file-loader.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-loader.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAE7E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAE9F,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,sCAAsC,CAAC;AAI9C,MAAM,WAAW,6CAA6C;IAC5D,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,0BAA0B,GAAG,MAAM,GAAG,SAAS,CAAC;IACrE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAE/D;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAE7D;;;;;;;;OAQG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,8BAA8B,GAAG,SAAS,CAAC;CACvE;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,SAAS,EAAE,0BAA0B,GAAG,MAAM,CAAC;IACxD,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC;IACzC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACvD;AAED;;;GAGG;AACH,qBAAa,wBAAwB;IACnC;;;OAGG;IACG,IAAI,CACR,UAAU,EAAE,6CAA6C,GAAG,MAAM,GACjE,OAAO,CAAC,wBAAwB,CAAC,CA0BnC;CACF"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import { jsonParse } from "../../../util/type-guard/json.js";
|
|
3
2
|
import { loadSiblingCdkAssetsManifest, } from "../cdk/sim-cdk-out-context.js";
|
|
4
3
|
import { simWatch } from "../../../watch/sim-watch-runtime.js";
|
|
5
4
|
import { simCfnTemplateFileDeployment } from "./sim-cfn-template-file-deployment.js";
|
|
6
5
|
import { transformedTemplate, } from "./sim-cfn-template-file-transform.js";
|
|
7
6
|
import { readTemplateFile } from "./sim-cfn-template-file-read.js";
|
|
7
|
+
import { parseTemplateFileBody } from "./sim-cfn-template-file-parse.js";
|
|
8
8
|
/**
|
|
9
9
|
* Loads a synthesized CloudFormation template file and gathers adjacent CDK
|
|
10
10
|
* context needed to deploy it.
|
|
@@ -22,7 +22,7 @@ export class SimCfnTemplateFileLoader {
|
|
|
22
22
|
// stack restarts the process that deployed it. Nothing happens outside
|
|
23
23
|
// watch mode.
|
|
24
24
|
simWatch.reportPath(templatePath);
|
|
25
|
-
const template = transformedTemplate(
|
|
25
|
+
const template = transformedTemplate(parseTemplateFileBody(templatePath, await readTemplateFile(templatePath)), deployment.transform);
|
|
26
26
|
// Read from the path rather than the template, so what a transform did to
|
|
27
27
|
// the body leaves the staged assets beside it where they were.
|
|
28
28
|
const cdkOutContext = await loadSiblingCdkAssetsManifest(templatePath);
|
|
@@ -38,6 +38,6 @@ export class SimCfnTemplateFileLoader {
|
|
|
38
38
|
function stackNameFromTemplatePath(templatePath) {
|
|
39
39
|
return path
|
|
40
40
|
.basename(templatePath)
|
|
41
|
-
.replace(/\.template\.json$/u, "");
|
|
41
|
+
.replace(/\.template\.json$|(?:\.template)?\.ya?ml$/u, "");
|
|
42
42
|
}
|
|
43
43
|
//# sourceMappingURL=sim-cfn-template-file-loader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-template-file-loader.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-loader.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,OAAO,
|
|
1
|
+
{"version":3,"file":"sim-cfn-template-file-loader.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-loader.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,OAAO,EACL,4BAA4B,GAE7B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EACL,mBAAmB,GAEpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AA8CzE;;;GAGG;AACH,MAAM,OAAO,wBAAwB;IACnC;;;OAGG;IACH,KAAK,CAAC,IAAI,CACR,UAAkE;QAElE,MAAM,UAAU,GAAG,4BAA4B,CAAC,UAAU,CAAC,CAAC;QAC5D,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;QAC1D,MAAM,SAAS,GACb,UAAU,CAAC,SAAS,IAAI,yBAAyB,CAAC,YAAY,CAAC,CAAC;QAElE,wEAAwE;QACxE,uEAAuE;QACvE,cAAc;QACd,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;QAElC,MAAM,QAAQ,GAAG,mBAAmB,CAClC,qBAAqB,CAAC,YAAY,EAAE,MAAM,gBAAgB,CAAC,YAAY,CAAC,CAAC,EACzE,UAAU,CAAC,SAAS,CACrB,CAAC;QACF,0EAA0E;QAC1E,+DAA+D;QAC/D,MAAM,aAAa,GAAG,MAAM,4BAA4B,CAAC,YAAY,CAAC,CAAC;QAEvE,OAAO;YACL,SAAS;YACT,QAAQ;YACR,UAAU;YACV,QAAQ;YACR,aAAa;SACd,CAAC;IACJ,CAAC;CACF;AAED,SAAS,yBAAyB,CAChC,YAAoB;IAEpB,OAAO,IAAI;SACR,QAAQ,CAAC,YAAY,CAAC;SACtB,OAAO,CACN,4CAA4C,EAC5C,EAAE,CAC2B,CAAC;AACpC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CfnTemplateBodyRecord } from "../template/sim-cfn-template.js";
|
|
2
|
+
/**
|
|
3
|
+
* Parse a template file in the format its name gives it.
|
|
4
|
+
*
|
|
5
|
+
* CloudFormation takes a template as JSON or as YAML, and a file says which of
|
|
6
|
+
* the two it holds by what it is called. A `.yaml` or `.yml` file is read as
|
|
7
|
+
* YAML. Every other name is read as JSON, which is what CDK synthesizes.
|
|
8
|
+
*/
|
|
9
|
+
export declare function parseTemplateFileBody(templatePath: string, templateBody: string): CfnTemplateBodyRecord;
|
|
10
|
+
//# sourceMappingURL=sim-cfn-template-file-parse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-template-file-parse.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-parse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAK7E;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,GACnB,qBAAqB,CAiBvB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { jsonParse } from "../../../util/type-guard/json.js";
|
|
3
|
+
import { parseSimCfnTemplateYaml } from "../template/yaml/sim-cfn-template-yaml.js";
|
|
4
|
+
const YAML_TEMPLATE_FILE_NAME = /\.ya?ml$/u;
|
|
5
|
+
/**
|
|
6
|
+
* Parse a template file in the format its name gives it.
|
|
7
|
+
*
|
|
8
|
+
* CloudFormation takes a template as JSON or as YAML, and a file says which of
|
|
9
|
+
* the two it holds by what it is called. A `.yaml` or `.yml` file is read as
|
|
10
|
+
* YAML. Every other name is read as JSON, which is what CDK synthesizes.
|
|
11
|
+
*/
|
|
12
|
+
export function parseTemplateFileBody(templatePath, templateBody) {
|
|
13
|
+
if (!YAML_TEMPLATE_FILE_NAME.test(templatePath)) {
|
|
14
|
+
return jsonParse(templateBody);
|
|
15
|
+
}
|
|
16
|
+
try {
|
|
17
|
+
return parseSimCfnTemplateYaml(templateBody);
|
|
18
|
+
}
|
|
19
|
+
catch (error) {
|
|
20
|
+
// The path is named because a YAML failure reports a line and column, and
|
|
21
|
+
// a line and column with no file to look them up in is no use to anyone
|
|
22
|
+
// deploying more than one template.
|
|
23
|
+
throw new Error(`Sim CloudFormation template file at ${path.resolve(templatePath)} ` +
|
|
24
|
+
`is not YAML this simulation can read: ${reasonFor(error)}`, { cause: error });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function reasonFor(error) {
|
|
28
|
+
return error instanceof Error ? error.message : String(error);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=sim-cfn-template-file-parse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-template-file-parse.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-parse.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAmB,MAAM,kCAAkC,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,MAAM,uBAAuB,GAAG,WAAW,CAAC;AAE5C;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,YAAoB,EACpB,YAAoB;IAEpB,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;QAChD,OAAO,SAAS,CAAC,YAAiD,CAAC,CAAC;IACtE,CAAC;IAED,IAAI,CAAC;QACH,OAAO,uBAAuB,CAAC,YAAY,CAAC,CAAC;IAC/C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,0EAA0E;QAC1E,wEAAwE;QACxE,oCAAoC;QACpC,MAAM,IAAI,KAAK,CACb,uCAAuC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG;YAClE,yCAAyC,SAAS,CAAC,KAAK,CAAC,EAAE,EAC7D,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;IACJ,CAAC;AACH,CAAC;AAED,SAAS,SAAS,CAAC,KAAc;IAC/B,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type { JSONString } from "../../../util/type-guard/json.js";
|
|
2
|
-
import type { CfnTemplateBodyRecord } from "../template/sim-cfn-template.js";
|
|
3
1
|
/**
|
|
4
|
-
* Read the
|
|
2
|
+
* Read the template file a deployment names.
|
|
5
3
|
*
|
|
6
4
|
* A path with no file at it is refused by naming the resolved path and what
|
|
7
5
|
* was expected there. A template under `cdk.out` is build output that a fresh
|
|
@@ -9,5 +7,5 @@ import type { CfnTemplateBodyRecord } from "../template/sim-cfn-template.js";
|
|
|
9
7
|
* the path failed to open, which is what leaves callers writing their own
|
|
10
8
|
* guard in front of the deployment.
|
|
11
9
|
*/
|
|
12
|
-
export declare function readTemplateFile(templatePath: string): Promise<
|
|
10
|
+
export declare function readTemplateFile(templatePath: string): Promise<string>;
|
|
13
11
|
//# sourceMappingURL=sim-cfn-template-file-read.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-template-file-read.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-read.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-cfn-template-file-read.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-read.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,wBAAsB,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAe5E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFile } from "node:fs/promises";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
/**
|
|
4
|
-
* Read the
|
|
4
|
+
* Read the template file a deployment names.
|
|
5
5
|
*
|
|
6
6
|
* A path with no file at it is refused by naming the resolved path and what
|
|
7
7
|
* was expected there. A template under `cdk.out` is build output that a fresh
|
|
@@ -12,8 +12,7 @@ import path from "node:path";
|
|
|
12
12
|
export async function readTemplateFile(templatePath) {
|
|
13
13
|
try {
|
|
14
14
|
// oxlint-disable-next-line security/detect-non-literal-fs-filename
|
|
15
|
-
|
|
16
|
-
return templateBody;
|
|
15
|
+
return await readFile(templatePath, "utf8");
|
|
17
16
|
}
|
|
18
17
|
catch (error) {
|
|
19
18
|
if (isMissingPathError(error)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-template-file-read.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,IAAI,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cfn-template-file-read.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,YAAoB;IACzD,IAAI,CAAC;QACH,mEAAmE;QACnE,OAAO,MAAM,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAC9C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,kBAAkB,CAAC,KAAK,CAAC,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CACb,0CAA0C,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,EACtE,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;QACJ,CAAC;QAED,oBAAoB;QACpB,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAc;IACxC,OAAO,KAAK,YAAY,KAAK,IAAI,MAAM,IAAI,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,CAAC;AAC9E,CAAC"}
|
|
@@ -2,6 +2,6 @@ export { SimCloudFormation } from "./sim-cloudformation.js";
|
|
|
2
2
|
export type { CfnTemplateBodyRecord } from "./template/sim-cfn-template.js";
|
|
3
3
|
export type { SimCfnTemplateFileTransform } from "./deploy/sim-cfn-template-file-transform.js";
|
|
4
4
|
export type { SimCloudFormationDeployCdkOutProperties } from "./deploy/sim-cfn-cdk-out-deployer.js";
|
|
5
|
-
export type { SimCfnCdkOutStackOptions } from "./deploy/sim-cfn-cdk-out-stack-options.js";
|
|
5
|
+
export type { SimCfnCdkOutStackOptions, SimCfnCdkOutTemplateTransform, } from "./deploy/sim-cfn-cdk-out-stack-options.js";
|
|
6
6
|
export type { SimCfnTemplateFileWatchOptions, SimCfnWatchReloadTarget, } from "./watch/sim-cfn-template-watch.type.js";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/cloudformation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC/F,YAAY,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACpG,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/cloudformation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC/F,YAAY,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACpG,YAAY,EACV,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,2CAA2C,CAAC;AACnD,YAAY,EACV,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,wCAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-iam-cfn-value-adapter.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-iam-cfn-value-adapter.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,oCAAoC,EACpC,yBAAyB,EAC1B,MAAM,sCAAsC,CAAC;AAE9C;;GAEG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,oCAAoC,GAC/C,yBAAyB,CAgB3B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SimIamManagedPolicyCfn } from "./sim-iam-managed-policy-cfn.js";
|
|
2
2
|
import { SimIamRoleCfn } from "./sim-iam-role-cfn.js";
|
|
3
|
+
import { SimIamUserCfn } from "./sim-iam-user-cfn.js";
|
|
3
4
|
/**
|
|
4
5
|
* The CloudFormation-facing value adapter for a simulated IAM Resource.
|
|
5
6
|
*/
|
|
@@ -12,6 +13,9 @@ export function iamValueAdapter(properties) {
|
|
|
12
13
|
if (properties.type === "AWS::IAM::Role") {
|
|
13
14
|
return new SimIamRoleCfn({ role: properties.simResource });
|
|
14
15
|
}
|
|
16
|
+
if (properties.type === "AWS::IAM::User") {
|
|
17
|
+
return new SimIamUserCfn({ user: properties.simResource });
|
|
18
|
+
}
|
|
15
19
|
return undefined;
|
|
16
20
|
}
|
|
17
21
|
//# sourceMappingURL=sim-iam-cfn-value-adapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-iam-cfn-value-adapter.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-iam-cfn-value-adapter.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAMtD;;GAEG;AACH,MAAM,UAAU,eAAe,CAC7B,UAAgD;IAEhD,IAAI,UAAU,CAAC,IAAI,KAAK,yBAAyB,EAAE,CAAC;QAClD,OAAO,IAAI,sBAAsB,CAAC;YAChC,MAAM,EAAE,UAAU,CAAC,WAAkC;SACtD,CAAC,CAAC;IACL,CAAC;IAED,IAAI,UAAU,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;QACzC,OAAO,IAAI,aAAa,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,WAAyB,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,IAAI,UAAU,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;QACzC,OAAO,IAAI,aAAa,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,WAAyB,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { SimCfnTemplateValue } from "../../../template/value/sim-cfn-template-value.js";
|
|
2
|
+
import type { SimIamUser } from "../../../../iam/user/sim-iam-user.js";
|
|
3
|
+
import type { SimCfnResourceValueAdapter } from "../sim-cfn-resource-value-adapter.js";
|
|
4
|
+
interface SimIamUserCfnProperties {
|
|
5
|
+
readonly user: SimIamUser;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* CloudFormation-facing behaviour for an AWS::IAM::User Resource.
|
|
9
|
+
*
|
|
10
|
+
* Keeps IAM user objects free of CloudFormation intrinsic-function concerns
|
|
11
|
+
* while exposing the correct Ref and Fn::GetAtt values.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimIamUserCfn implements SimCfnResourceValueAdapter {
|
|
14
|
+
private readonly user;
|
|
15
|
+
constructor(properties: SimIamUserCfnProperties);
|
|
16
|
+
/**
|
|
17
|
+
* CloudFormation Ref for AWS::IAM::User returns the user name.
|
|
18
|
+
*/
|
|
19
|
+
refValue(): SimCfnTemplateValue;
|
|
20
|
+
/**
|
|
21
|
+
* CloudFormation attributes for AWS::IAM::User.
|
|
22
|
+
*
|
|
23
|
+
* AWS::IAM::User supports Fn::GetAtt for Arn and UserId.
|
|
24
|
+
*/
|
|
25
|
+
attributeValue(attributeName: string): SimCfnTemplateValue;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=sim-iam-user-cfn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-iam-user-cfn.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AAC7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,UAAU,uBAAuB;IAC/B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B;AAED;;;;;GAKG;AACH,qBAAa,aAAc,YAAW,0BAA0B;IAC9D,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;IAElC,YAAY,UAAU,EAAE,uBAAuB,EAE9C;IAED;;OAEG;IACH,QAAQ,IAAI,mBAAmB,CAE9B;IAED;;;;OAIG;IACH,cAAc,CAAC,aAAa,EAAE,MAAM,GAAG,mBAAmB,CAUzD;CACF"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudFormation-facing behaviour for an AWS::IAM::User Resource.
|
|
3
|
+
*
|
|
4
|
+
* Keeps IAM user objects free of CloudFormation intrinsic-function concerns
|
|
5
|
+
* while exposing the correct Ref and Fn::GetAtt values.
|
|
6
|
+
*/
|
|
7
|
+
export class SimIamUserCfn {
|
|
8
|
+
user;
|
|
9
|
+
constructor(properties) {
|
|
10
|
+
this.user = properties.user;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* CloudFormation Ref for AWS::IAM::User returns the user name.
|
|
14
|
+
*/
|
|
15
|
+
refValue() {
|
|
16
|
+
return this.user.userName;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* CloudFormation attributes for AWS::IAM::User.
|
|
20
|
+
*
|
|
21
|
+
* AWS::IAM::User supports Fn::GetAtt for Arn and UserId.
|
|
22
|
+
*/
|
|
23
|
+
attributeValue(attributeName) {
|
|
24
|
+
if (attributeName === "Arn") {
|
|
25
|
+
return this.user.arn;
|
|
26
|
+
}
|
|
27
|
+
if (attributeName === "UserId") {
|
|
28
|
+
return this.user.userId;
|
|
29
|
+
}
|
|
30
|
+
return `${this.user.arn}.${attributeName}`;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=sim-iam-user-cfn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-iam-user-cfn.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.ts"],"names":[],"mappings":"AAQA;;;;;GAKG;AACH,MAAM,OAAO,aAAa;IACP,IAAI,CAAa;IAElC,YAAY,UAAmC;QAC7C,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC5B,CAAC;IAED;;;;OAIG;IACH,cAAc,CAAC,aAAqB;QAClC,IAAI,aAAa,KAAK,KAAK,EAAE,CAAC;YAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;QACvB,CAAC;QAED,IAAI,aAAa,KAAK,QAAQ,EAAE,CAAC;YAC/B,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QAC1B,CAAC;QAED,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,aAAa,EAAE,CAAC;IAC7C,CAAC;CACF"}
|
package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-lambda-cfn-value-adapter.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-lambda-cfn-value-adapter.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,oCAAoC,EACpC,yBAAyB,EAC1B,MAAM,sCAAsC,CAAC;AAE9C;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,oCAAoC,GAC/C,yBAAyB,CAuC3B"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { SimLambdaEventSourceMapping } from "../../../../lambda/event-source/sim-lambda-event-source-mapping.js";
|
|
2
2
|
import { SimLambdaEventSourceMappingCfn } from "./sim-lambda-event-source-mapping-cfn.js";
|
|
3
3
|
import { SimLambdaFunction } from "../../../../lambda/function/sim-lambda-function.js";
|
|
4
|
+
import { SimLambdaFunctionAlias } from "../../../../lambda/function/version/sim-lambda-function-alias.js";
|
|
4
5
|
import { SimLambdaFunctionUrl } from "../../../../lambda/function/url/sim-lambda-function-url.js";
|
|
6
|
+
import { SimLambdaFunctionAliasCfn } from "./sim-lambda-function-alias-cfn.js";
|
|
5
7
|
import { SimLambdaFunctionCfn } from "./sim-lambda-function-cfn.js";
|
|
6
8
|
import { SimLambdaFunctionUrlCfn } from "./sim-lambda-function-url-cfn.js";
|
|
9
|
+
import { SimLambdaFunctionVersionCfn } from "./sim-lambda-function-version-cfn.js";
|
|
7
10
|
/**
|
|
8
11
|
* The CloudFormation-facing value adapter for a simulated Lambda Resource.
|
|
9
12
|
*/
|
|
@@ -12,6 +15,14 @@ export function lambdaValueAdapter(properties) {
|
|
|
12
15
|
properties.simResource instanceof SimLambdaFunction) {
|
|
13
16
|
return new SimLambdaFunctionCfn({ lambdaFunction: properties.simResource });
|
|
14
17
|
}
|
|
18
|
+
if (properties.type === "AWS::Lambda::Version" &&
|
|
19
|
+
properties.simResource instanceof SimLambdaFunction) {
|
|
20
|
+
return new SimLambdaFunctionVersionCfn({ version: properties.simResource });
|
|
21
|
+
}
|
|
22
|
+
if (properties.type === "AWS::Lambda::Alias" &&
|
|
23
|
+
properties.simResource instanceof SimLambdaFunctionAlias) {
|
|
24
|
+
return new SimLambdaFunctionAliasCfn({ alias: properties.simResource });
|
|
25
|
+
}
|
|
15
26
|
if (properties.type === "AWS::Lambda::Url" &&
|
|
16
27
|
properties.simResource instanceof SimLambdaFunctionUrl) {
|
|
17
28
|
return new SimLambdaFunctionUrlCfn({ functionUrl: properties.simResource });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-lambda-cfn-value-adapter.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oEAAoE,CAAC;AACjH,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AACvF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4DAA4D,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-lambda-cfn-value-adapter.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oEAAoE,CAAC;AACjH,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AACvF,OAAO,EAAE,sBAAsB,EAAE,MAAM,kEAAkE,CAAC;AAC1G,OAAO,EAAE,oBAAoB,EAAE,MAAM,4DAA4D,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAMnF;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAChC,UAAgD;IAEhD,IACE,UAAU,CAAC,IAAI,KAAK,uBAAuB;QAC3C,UAAU,CAAC,WAAW,YAAY,iBAAiB,EACnD,CAAC;QACD,OAAO,IAAI,oBAAoB,CAAC,EAAE,cAAc,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,IACE,UAAU,CAAC,IAAI,KAAK,sBAAsB;QAC1C,UAAU,CAAC,WAAW,YAAY,iBAAiB,EACnD,CAAC;QACD,OAAO,IAAI,2BAA2B,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,IACE,UAAU,CAAC,IAAI,KAAK,oBAAoB;QACxC,UAAU,CAAC,WAAW,YAAY,sBAAsB,EACxD,CAAC;QACD,OAAO,IAAI,yBAAyB,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,IACE,UAAU,CAAC,IAAI,KAAK,kBAAkB;QACtC,UAAU,CAAC,WAAW,YAAY,oBAAoB,EACtD,CAAC;QACD,OAAO,IAAI,uBAAuB,CAAC,EAAE,WAAW,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,IACE,UAAU,CAAC,IAAI,KAAK,iCAAiC;QACrD,UAAU,CAAC,WAAW,YAAY,2BAA2B,EAC7D,CAAC;QACD,OAAO,IAAI,8BAA8B,CAAC;YACxC,OAAO,EAAE,UAAU,CAAC,WAAW;SAChC,CAAC,CAAC;IACL,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { SimLambdaFunctionAlias } from "../../../../lambda/function/version/sim-lambda-function-alias.js";
|
|
2
|
+
import type { SimCfnTemplateValue } from "../../../template/value/sim-cfn-template-value.js";
|
|
3
|
+
import type { SimCfnResourceValueAdapter } from "../sim-cfn-resource-value-adapter.js";
|
|
4
|
+
interface SimLambdaFunctionAliasCfnProperties {
|
|
5
|
+
readonly alias: SimLambdaFunctionAlias;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* CloudFormation-facing behaviour for an AWS::Lambda::Alias Resource.
|
|
9
|
+
*
|
|
10
|
+
* The alias ARN is what the rest of a template interpolates, and CDK reads the
|
|
11
|
+
* alias name back out of it, so the ARN carries the name on the end rather
|
|
12
|
+
* than standing for the function.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SimLambdaFunctionAliasCfn implements SimCfnResourceValueAdapter {
|
|
15
|
+
private readonly alias;
|
|
16
|
+
constructor(properties: SimLambdaFunctionAliasCfnProperties);
|
|
17
|
+
/**
|
|
18
|
+
* CloudFormation Ref for AWS::Lambda::Alias returns the alias ARN.
|
|
19
|
+
*/
|
|
20
|
+
refValue(): SimCfnTemplateValue;
|
|
21
|
+
/**
|
|
22
|
+
* CloudFormation attributes for AWS::Lambda::Alias.
|
|
23
|
+
*
|
|
24
|
+
* AWS::Lambda::Alias supports Fn::GetAtt for AliasArn.
|
|
25
|
+
*/
|
|
26
|
+
attributeValue(attributeName: string): SimCfnTemplateValue;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=sim-lambda-function-alias-cfn.d.ts.map
|
package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-function-alias-cfn.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kEAAkE,CAAC;AAC/G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AAC7F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC;CACxC;AAED;;;;;;GAMG;AACH,qBAAa,yBAA0B,YAAW,0BAA0B;IAC1E,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAyB;IAE/C,YAAY,UAAU,EAAE,mCAAmC,EAE1D;IAED;;OAEG;IACH,QAAQ,IAAI,mBAAmB,CAE9B;IAED;;;;OAIG;IACH,cAAc,CAAC,aAAa,EAAE,MAAM,GAAG,mBAAmB,CAQzD;CACF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudFormation-facing behaviour for an AWS::Lambda::Alias Resource.
|
|
3
|
+
*
|
|
4
|
+
* The alias ARN is what the rest of a template interpolates, and CDK reads the
|
|
5
|
+
* alias name back out of it, so the ARN carries the name on the end rather
|
|
6
|
+
* than standing for the function.
|
|
7
|
+
*/
|
|
8
|
+
export class SimLambdaFunctionAliasCfn {
|
|
9
|
+
alias;
|
|
10
|
+
constructor(properties) {
|
|
11
|
+
this.alias = properties.alias;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* CloudFormation Ref for AWS::Lambda::Alias returns the alias ARN.
|
|
15
|
+
*/
|
|
16
|
+
refValue() {
|
|
17
|
+
return this.alias.arn;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* CloudFormation attributes for AWS::Lambda::Alias.
|
|
21
|
+
*
|
|
22
|
+
* AWS::Lambda::Alias supports Fn::GetAtt for AliasArn.
|
|
23
|
+
*/
|
|
24
|
+
attributeValue(attributeName) {
|
|
25
|
+
if (attributeName === "AliasArn") {
|
|
26
|
+
return this.alias.arn;
|
|
27
|
+
}
|
|
28
|
+
throw new Error(`Unsupported AWS::Lambda::Alias attribute ${attributeName}`);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=sim-lambda-function-alias-cfn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-function-alias-cfn.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.ts"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACnB,KAAK,CAAyB;IAE/C,YAAY,UAA+C;QACzD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC;IACxB,CAAC;IAED;;;;OAIG;IACH,cAAc,CAAC,aAAqB;QAClC,IAAI,aAAa,KAAK,UAAU,EAAE,CAAC;YACjC,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC;QACxB,CAAC;QAED,MAAM,IAAI,KAAK,CACb,4CAA4C,aAAa,EAAE,CAC5D,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { SimLambdaFunction } from "../../../../lambda/function/sim-lambda-function.js";
|
|
2
|
+
import type { SimCfnTemplateValue } from "../../../template/value/sim-cfn-template-value.js";
|
|
3
|
+
import type { SimCfnResourceValueAdapter } from "../sim-cfn-resource-value-adapter.js";
|
|
4
|
+
interface SimLambdaFunctionVersionCfnProperties {
|
|
5
|
+
readonly version: SimLambdaFunction;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* CloudFormation-facing behaviour for an AWS::Lambda::Version Resource.
|
|
9
|
+
*
|
|
10
|
+
* A version is a function under a number, so the same simulated function
|
|
11
|
+
* object backs this Resource and AWS::Lambda::Function. What differs is what
|
|
12
|
+
* templates want from it: the ARN with the number on the end, which is what a
|
|
13
|
+
* later alias or integration has to be pointed at to reach this version rather
|
|
14
|
+
* than `$LATEST`.
|
|
15
|
+
*/
|
|
16
|
+
export declare class SimLambdaFunctionVersionCfn implements SimCfnResourceValueAdapter {
|
|
17
|
+
private readonly version;
|
|
18
|
+
constructor(properties: SimLambdaFunctionVersionCfnProperties);
|
|
19
|
+
/**
|
|
20
|
+
* CloudFormation Ref for AWS::Lambda::Version returns the qualified function
|
|
21
|
+
* ARN, which is the function's own ARN with the version number appended.
|
|
22
|
+
*/
|
|
23
|
+
refValue(): SimCfnTemplateValue;
|
|
24
|
+
/**
|
|
25
|
+
* CloudFormation attributes for AWS::Lambda::Version.
|
|
26
|
+
*
|
|
27
|
+
* `Version` is the number the function was published under, which is what an
|
|
28
|
+
* alias's FunctionVersion is written from. `FunctionArn` is what
|
|
29
|
+
* PublishVersion answers with, so it names the version rather than the
|
|
30
|
+
* function.
|
|
31
|
+
*/
|
|
32
|
+
attributeValue(attributeName: string): SimCfnTemplateValue;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=sim-lambda-function-version-cfn.d.ts.map
|