@kensio/yulin 1.20.2 → 1.20.4
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 +39 -39
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts +8 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +10 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +4 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +6 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts +15 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js +18 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts +30 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js +74 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts +45 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js +82 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts +27 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js +24 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts +39 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js +42 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts +32 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js +36 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts +14 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js +23 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js +2 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts +2 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts +23 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js +46 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +1 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js +5 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +1 -4
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts +7 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +9 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts +5 -4
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts.map +1 -1
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js +14 -5
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js.map +1 -1
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts +19 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js +78 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts +34 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js +58 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts +26 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js +60 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js.map +1 -0
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts +4 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js +6 -4
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js.map +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts +3 -11
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js +6 -20
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js.map +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts +43 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js +63 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts +16 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js +33 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts +14 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js +2 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts +45 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js +47 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts +6 -1
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js +6 -2
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js.map +1 -1
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts +4 -3
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +20 -8
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +1 -0
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts +2 -9
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js +5 -13
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts +16 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js +14 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts +51 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js +83 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts +23 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js +30 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts +9 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js +20 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts +4 -4
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js +4 -4
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +2 -4
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts +20 -6
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js +43 -8
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js +3 -2
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts +5 -2
- package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts +3 -3
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js +26 -10
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts +10 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js +29 -5
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.d.ts +14 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js +16 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts +27 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js +44 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +23 -3
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +30 -2
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts +26 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js +63 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js.map +1 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-object-loader.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-object-loader.js +7 -2
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-object-loader.js.map +1 -1
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts +17 -2
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js +20 -0
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js.map +1 -1
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts +15 -0
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js +15 -0
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js.map +1 -0
- package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts +13 -0
- package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts.map +1 -1
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts +71 -3
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object-loader.d.ts +2 -1
- 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 +4 -2
- 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 +6 -1
- package/dist/service/s3/command/get-object/get-object.command.d.ts.map +1 -1
- package/dist/service/s3/command/head-object/head-object-loader.d.ts.map +1 -1
- package/dist/service/s3/command/head-object/head-object-loader.js +2 -1
- package/dist/service/s3/command/head-object/head-object-loader.js.map +1 -1
- package/dist/service/s3/command/head-object/head-object.command.d.ts +2 -1
- package/dist/service/s3/command/head-object/head-object.command.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object.d.ts +14 -0
- package/dist/service/s3/object/s3-object.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object.js +18 -0
- package/dist/service/s3/object/s3-object.js.map +1 -1
- package/dist/service/s3/object/s3-system-metadata-read.d.ts +56 -0
- package/dist/service/s3/object/s3-system-metadata-read.d.ts.map +1 -0
- package/dist/service/s3/object/s3-system-metadata-read.js +66 -0
- package/dist/service/s3/object/s3-system-metadata-read.js.map +1 -0
- package/dist/service/s3/object/s3-system-metadata.d.ts +17 -0
- package/dist/service/s3/object/s3-system-metadata.d.ts.map +1 -1
- package/dist/service/s3/object/s3-system-metadata.js +17 -0
- package/dist/service/s3/object/s3-system-metadata.js.map +1 -1
- package/dist/service/s3/object/s3-write-metadata.d.ts +9 -5
- package/dist/service/s3/object/s3-write-metadata.d.ts.map +1 -1
- package/dist/service/s3/object/s3-write-metadata.js +16 -7
- package/dist/service/s3/object/s3-write-metadata.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-head-output.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-head-output.js +2 -1
- package/dist/service/s3/serve/api/sim-s3-api-head-output.js.map +1 -1
- 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 +2 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
- 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 +2 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -1
- package/dist/service/s3/serve/website/sim-s3-website-object-loader.d.ts.map +1 -1
- package/dist/service/s3/serve/website/sim-s3-website-object-loader.js +2 -1
- package/dist/service/s3/serve/website/sim-s3-website-object-loader.js.map +1 -1
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.d.ts.map +1 -1
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.js +3 -2
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.js.map +1 -1
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.d.ts +2 -2
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.js +1 -1
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.js.map +1 -0
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.js +1 -1
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.js.map +1 -0
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.d.ts +6 -3
- package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.js +2 -1
- package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.d.ts +7 -4
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.js +9 -4
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.d.ts +12 -13
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.js +30 -28
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.js +1 -1
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.d.ts +11 -3
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.js +18 -5
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.js +0 -5
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts +37 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js +63 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.d.ts +1 -1
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.js +3 -3
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts +33 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js +58 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +15 -4
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -1
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts +2 -0
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +2 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +3 -1
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -1
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts +36 -0
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js +76 -0
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js.map +1 -0
- package/dist/service/stepfunctions/command/tag/tag.command.d.ts +46 -0
- package/dist/service/stepfunctions/command/tag/tag.command.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/tag/tag.command.js +2 -0
- package/dist/service/stepfunctions/command/tag/tag.command.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.d.ts +45 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.js +48 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.d.ts +22 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.js +30 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts +3 -2
- package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-data-flow.js +10 -9
- package/dist/service/stepfunctions/data/sim-states-data-flow.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts +1 -1
- package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-intrinsic.js +6 -7
- package/dist/service/stepfunctions/data/sim-states-intrinsic.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts +9 -6
- package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-payload-template.js +16 -14
- package/dist/service/stepfunctions/data/sim-states-payload-template.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-reference-path.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-reference-path.js +4 -2
- package/dist/service/stepfunctions/data/sim-states-reference-path.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +8 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +9 -1
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts +23 -0
- package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-fields.js +60 -0
- package/dist/service/stepfunctions/definition/sim-states-map-fields.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts +12 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.js +56 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts +11 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.js +62 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts +14 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js +23 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts +10 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js +50 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js +5 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js +15 -7
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts +35 -11
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state.js +1 -15
- package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-transitions.js +14 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -1
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts +45 -0
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js +58 -0
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js.map +1 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts +34 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js +14 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js.map +1 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +36 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
- package/dist/service/stepfunctions/error/sim-step-functions.error.js +42 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts +16 -0
- package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-attempt.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-attempt.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts +11 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.js +20 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts +55 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.js +86 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts +69 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.js +114 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts +43 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child.d.ts +41 -0
- package/dist/service/stepfunctions/execution/sim-states-child.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-child.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +32 -3
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-execution.js +42 -2
- package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts +19 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js +15 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts +46 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.js +106 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +18 -11
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js +55 -65
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts +13 -0
- package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-map-items.js +38 -0
- package/dist/service/stepfunctions/execution/sim-states-map-items.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts +32 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.js +37 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js +2 -2
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts +12 -0
- package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-map.js +25 -0
- package/dist/service/stepfunctions/execution/sim-states-run-map.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts +16 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.js +31 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts +47 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +4 -3
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-state.js +20 -11
- package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-task.js +2 -2
- package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js +2 -2
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +7 -3
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-settlement.js +11 -5
- package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts +37 -0
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.js +112 -0
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +69 -15
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +26 -12
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js +55 -15
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts +19 -0
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.js +35 -0
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.d.ts +19 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.d.ts +25 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.js +25 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.js.map +1 -0
- package/dist/service/stepfunctions/index.d.ts +10 -3
- package/dist/service/stepfunctions/index.d.ts.map +1 -1
- package/dist/service/stepfunctions/index.js +4 -2
- package/dist/service/stepfunctions/index.js.map +1 -1
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts +43 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.js +111 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts +39 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.js +80 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +6 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -1
- package/dist/service/stepfunctions/machine/sim-state-machine.js +5 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -1
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts +37 -0
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.js +38 -0
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js +20 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.js +49 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts +29 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.js +31 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts +19 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.js +69 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts +31 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.js +40 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts +29 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.js +34 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.d.ts +31 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.js +23 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts +22 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.js +33 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts +35 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.js +31 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts +12 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js +44 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.js +76 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts +43 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.js +76 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.js +2 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.js.map +1 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -1
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +12 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +28 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions-inspection.js +38 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions.d.ts +17 -0
- package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions.js +31 -1
- package/dist/service/stepfunctions/sim-step-functions.js.map +1 -1
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts +36 -0
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js +115 -0
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts +25 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.js +51 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts +17 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.js +43 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts +42 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.js +74 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts +10 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.js +79 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts +27 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.js +2 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts +33 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.js +60 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +11 -9
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +16 -20
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +2 -2
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts +9 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js +37 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +2 -2
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts +38 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-target.js +37 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +6 -5
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-fields.js +9 -10
- package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-resource.js +16 -40
- package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +33 -17
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-target.js +4 -5
- package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -1
- package/package.json +3 -2
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +0 -1
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.js +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.d.ts +0 -0
package/README.md
CHANGED
|
@@ -19,43 +19,43 @@ npm i -D @kensio/yulin
|
|
|
19
19
|
|
|
20
20
|
## Service specific docs
|
|
21
21
|
|
|
22
|
-
- [ACM](
|
|
23
|
-
- [API Gateway HTTP APIs](
|
|
24
|
-
- [API Gateway REST APIs](
|
|
25
|
-
- [CloudFormation](
|
|
26
|
-
- [CloudFront](
|
|
27
|
-
- [CloudWatch metrics](
|
|
28
|
-
- [Cognito user pools](
|
|
29
|
-
- [DynamoDB](
|
|
30
|
-
- [ECR](
|
|
31
|
-
- [ECS](
|
|
32
|
-
- [EventBridge](
|
|
33
|
-
- [IAM](
|
|
34
|
-
- [KMS](
|
|
35
|
-
- [Lambda](
|
|
36
|
-
- [CloudWatch Logs](
|
|
37
|
-
- [Personalize](
|
|
38
|
-
- [Rekognition](
|
|
39
|
-
- [Route53](
|
|
40
|
-
- [S3](
|
|
41
|
-
- [Scheduler](
|
|
42
|
-
- [Secrets Manager](
|
|
43
|
-
- [SES](
|
|
44
|
-
- [SNS](
|
|
45
|
-
- [SQS](
|
|
46
|
-
- [SSM Parameter Store](
|
|
47
|
-
- [Step Functions](
|
|
48
|
-
- [STS](
|
|
49
|
-
- [WAFv2](
|
|
22
|
+
- [ACM](https://yulinsim.dev/services/acm/ "Simulated ACM docs")
|
|
23
|
+
- [API Gateway HTTP APIs](https://yulinsim.dev/services/apigatewayv2/ "Simulated API Gateway HTTP API docs")
|
|
24
|
+
- [API Gateway REST APIs](https://yulinsim.dev/services/apigateway/ "Simulated API Gateway REST API docs")
|
|
25
|
+
- [CloudFormation](https://yulinsim.dev/services/cloudformation/ "Simulated CloudFormation docs")
|
|
26
|
+
- [CloudFront](https://yulinsim.dev/services/cloudfront/ "Simulated CloudFront docs")
|
|
27
|
+
- [CloudWatch metrics](https://yulinsim.dev/services/cloudwatch/ "Simulated CloudWatch metrics docs")
|
|
28
|
+
- [Cognito user pools](https://yulinsim.dev/services/cognito/ "Simulated Cognito user pools docs")
|
|
29
|
+
- [DynamoDB](https://yulinsim.dev/services/dynamodb/ "Simulated DynamoDB docs")
|
|
30
|
+
- [ECR](https://yulinsim.dev/services/ecr/ "Simulated ECR docs")
|
|
31
|
+
- [ECS](https://yulinsim.dev/services/ecs/ "Simulated ECS docs")
|
|
32
|
+
- [EventBridge](https://yulinsim.dev/services/eventbridge/ "Simulated EventBridge docs")
|
|
33
|
+
- [IAM](https://yulinsim.dev/services/iam/ "Simulated IAM docs")
|
|
34
|
+
- [KMS](https://yulinsim.dev/services/kms/ "Simulated KMS docs")
|
|
35
|
+
- [Lambda](https://yulinsim.dev/services/lambda/ "Simulated Lambda docs")
|
|
36
|
+
- [CloudWatch Logs](https://yulinsim.dev/services/logs/ "Simulated CloudWatch Logs docs")
|
|
37
|
+
- [Personalize](https://yulinsim.dev/services/personalize/ "Simulated Amazon Personalize docs")
|
|
38
|
+
- [Rekognition](https://yulinsim.dev/services/rekognition/ "Simulated Rekognition docs")
|
|
39
|
+
- [Route53](https://yulinsim.dev/services/route53/ "Simulated Route53 docs")
|
|
40
|
+
- [S3](https://yulinsim.dev/services/s3/ "Simulated S3 docs")
|
|
41
|
+
- [Scheduler](https://yulinsim.dev/services/scheduler/ "Simulated EventBridge Scheduler docs")
|
|
42
|
+
- [Secrets Manager](https://yulinsim.dev/services/secretsmanager/ "Simulated Secrets Manager docs")
|
|
43
|
+
- [SES](https://yulinsim.dev/services/ses/ "Simulated SES docs")
|
|
44
|
+
- [SNS](https://yulinsim.dev/services/sns/ "Simulated SNS docs")
|
|
45
|
+
- [SQS](https://yulinsim.dev/services/sqs/ "Simulated SQS docs")
|
|
46
|
+
- [SSM Parameter Store](https://yulinsim.dev/services/ssm/ "Simulated SSM Parameter Store docs")
|
|
47
|
+
- [Step Functions](https://yulinsim.dev/services/stepfunctions/ "Simulated Step Functions docs")
|
|
48
|
+
- [STS](https://yulinsim.dev/services/sts/ "Simulated STS docs")
|
|
49
|
+
- [WAFv2](https://yulinsim.dev/services/wafv2/ "Simulated WAFv2 docs")
|
|
50
50
|
|
|
51
51
|
## Feature specific docs
|
|
52
52
|
|
|
53
|
-
- [AI skill](
|
|
54
|
-
- [The AWS CLI](
|
|
55
|
-
- [AWS SDK interception](
|
|
56
|
-
- [Serving on localhost](
|
|
57
|
-
- [Simulated time](
|
|
58
|
-
- [Terraform](
|
|
53
|
+
- [AI skill](https://yulinsim.dev/ai-skill/ "Yulin AI skill docs")
|
|
54
|
+
- [The AWS CLI](https://yulinsim.dev/cli/ "The AWS CLI against simulated AWS docs")
|
|
55
|
+
- [AWS SDK interception](https://yulinsim.dev/sdk/ "Simulated AWS SDK docs")
|
|
56
|
+
- [Serving on localhost](https://yulinsim.dev/serve/ "Serving simulated AWS on localhost docs")
|
|
57
|
+
- [Simulated time](https://yulinsim.dev/time/ "Simulated time docs")
|
|
58
|
+
- [Terraform](https://yulinsim.dev/terraform/ "Deploying Terraform into simulated AWS docs")
|
|
59
59
|
|
|
60
60
|
## Usage
|
|
61
61
|
|
|
@@ -105,7 +105,7 @@ Each `SimSdk` owns its own isolated simulated AWS, available as `simSdk.simAws`
|
|
|
105
105
|
to seed or inspect simulated state directly. To share state with an existing simulation, wrap it
|
|
106
106
|
with `new SimSdk({ simAws })`.
|
|
107
107
|
|
|
108
|
-
See the [simulated AWS SDK docs](
|
|
108
|
+
See the [simulated AWS SDK docs](https://yulinsim.dev/sdk/ "Simulated AWS SDK docs") for full usage.
|
|
109
109
|
|
|
110
110
|
### Direct interaction with simulated AWS
|
|
111
111
|
|
|
@@ -235,7 +235,7 @@ A URL a simulated service gives out is fetched as it is, with no `localUrl(...)`
|
|
|
235
235
|
hostname a simulated Route53 answers for is requested by its own name. Both routes go through the
|
|
236
236
|
same authentication, routing and service code. Reach for `serveSimAws` when the request comes from
|
|
237
237
|
outside the process. See the
|
|
238
|
-
[serving docs](
|
|
238
|
+
[serving docs](https://yulinsim.dev/serve/ "Serving simulated AWS on localhost docs") for how to choose.
|
|
239
239
|
|
|
240
240
|
#### Restarting a served environment
|
|
241
241
|
|
|
@@ -282,7 +282,7 @@ yulin watch -- tsx dev.ts
|
|
|
282
282
|
|
|
283
283
|
It watches the working directory. It also watches the paths Yulin is holding that a module graph
|
|
284
284
|
never mentions, a directory mounted into a Bucket and a synthesized template. See the
|
|
285
|
-
[serving docs](
|
|
285
|
+
[serving docs](https://yulinsim.dev/serve/ "Serving simulated AWS on localhost docs") for what gets the script, what
|
|
286
286
|
is watched, and what is not.
|
|
287
287
|
|
|
288
288
|
#### Update a stack when its template changes
|
|
@@ -304,7 +304,7 @@ await simAws.cloudFormation().deployTemplateFile({
|
|
|
304
304
|
Resources the change left alone keep what they hold, so simulated S3, DynamoDB and SQS survive a
|
|
305
305
|
`cdk synth`. Under `yulin watch` the template is left to the process watching it, and never triggers
|
|
306
306
|
a restart. See the
|
|
307
|
-
[CloudFormation docs](
|
|
307
|
+
[CloudFormation docs](https://yulinsim.dev/services/cloudformation/ "Simulated CloudFormation docs") for what an
|
|
308
308
|
update does to each resource.
|
|
309
309
|
|
|
310
310
|
### Control simulated time
|
|
@@ -337,7 +337,7 @@ await simAws.clock().advanceBy({ minutes: 20 });
|
|
|
337
337
|
Advancing runs whatever falls due during the interval and returns once the simulation has settled.
|
|
338
338
|
The next line can assert. Time belongs to the `SimAws` instance, so moving it never disturbs another
|
|
339
339
|
simulation, or the real clock. See the
|
|
340
|
-
[simulated time docs](
|
|
340
|
+
[simulated time docs](https://yulinsim.dev/time/ "Simulated time docs") for full usage.
|
|
341
341
|
|
|
342
342
|
## What is Yulin?
|
|
343
343
|
|
|
@@ -2,6 +2,14 @@ import type { SimAwsAccountId } from "../../service/aws/sim-aws-account.js";
|
|
|
2
2
|
import type { AwsRegionName } from "../../service/aws/sim-aws-region.js";
|
|
3
3
|
import type { SimAws } from "../../service/aws/sim-aws.js";
|
|
4
4
|
import type { SimSdkCommandRouter } from "./sim-sdk-command-router.type.js";
|
|
5
|
+
/**
|
|
6
|
+
* Every AWS service SDK interception can reach a simulation of.
|
|
7
|
+
*
|
|
8
|
+
* Read by anything that resolves a service from something other than an SDK
|
|
9
|
+
* client, such as a Step Functions `Task` state whose `Resource` names a
|
|
10
|
+
* service and an operation.
|
|
11
|
+
*/
|
|
12
|
+
export declare function simSdkInterceptedServiceIds(): readonly string[];
|
|
5
13
|
/**
|
|
6
14
|
* Resolve the scoped simulated service SDK Command router for an intercepted
|
|
7
15
|
* client's AWS service.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-sim-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../src/sdk/router/resolve-sim-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AA0I5E;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,eAAe,GAAG,MAAM,EACnC,UAAU,EAAE,aAAa,GACxB,mBAAmB,CAWrB"}
|
|
1
|
+
{"version":3,"file":"resolve-sim-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../src/sdk/router/resolve-sim-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AA0I5E;;;;;;GAMG;AACH,wBAAgB,2BAA2B,IAAI,SAAS,MAAM,EAAE,CAE/D;AAED;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,eAAe,GAAG,MAAM,EACnC,UAAU,EAAE,aAAa,GACxB,mBAAmB,CAWrB"}
|
|
@@ -119,6 +119,16 @@ const scopedRouters = new Map([
|
|
|
119
119
|
["STS", (scoped) => scoped.sts().sdkCommandRouter()],
|
|
120
120
|
["WAFV2", (scoped) => scoped.wafV2().sdkCommandRouter()],
|
|
121
121
|
]);
|
|
122
|
+
/**
|
|
123
|
+
* Every AWS service SDK interception can reach a simulation of.
|
|
124
|
+
*
|
|
125
|
+
* Read by anything that resolves a service from something other than an SDK
|
|
126
|
+
* client, such as a Step Functions `Task` state whose `Resource` names a
|
|
127
|
+
* service and an operation.
|
|
128
|
+
*/
|
|
129
|
+
export function simSdkInterceptedServiceIds() {
|
|
130
|
+
return scopedRouters.keys().toArray();
|
|
131
|
+
}
|
|
122
132
|
/**
|
|
123
133
|
* Resolve the scoped simulated service SDK Command router for an intercepted
|
|
124
134
|
* client's AWS service.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-sim-sdk-command-router.js","sourceRoot":"","sources":["../../../src/sdk/router/resolve-sim-sdk-command-router.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAUtE;;;;;;;;;;GAUG;AACH,MAAM,aAAa,GAA4C,IAAI,GAAG,CAGpE;IACA,CAAC,KAAK,EAAE,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACzE;QACE,aAAa;QACb,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,gBAAgB,EAAE;KACxE;IACD;QACE,cAAc;QACd,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC,gBAAgB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J,CAAC;IAED,OAAO,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AACpE,CAAC"}
|
|
1
|
+
{"version":3,"file":"resolve-sim-sdk-command-router.js","sourceRoot":"","sources":["../../../src/sdk/router/resolve-sim-sdk-command-router.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAUtE;;;;;;;;;;GAUG;AACH,MAAM,aAAa,GAA4C,IAAI,GAAG,CAGpE;IACA,CAAC,KAAK,EAAE,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACzE;QACE,aAAa;QACb,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,gBAAgB,EAAE;KACxE;IACD;QACE,cAAc;QACd,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC,gBAAgB,EAAE;KAC1E;IACD;QACE,iBAAiB;QACjB,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAE;KACrE;IACD;QACE,gBAAgB;QAChB,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC,gBAAgB,EAAE;KAC5E;IACD;QACE,YAAY;QACZ,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,gBAAgB,EAAE;KACxE;IACD;QACE,0BAA0B;QAC1B,CAAC,MAAM,EAAuB,EAAE,CAC9B,MAAM,CAAC,uBAAuB,EAAE,CAAC,gBAAgB,EAAE;KACtD;IACD;QACE,YAAY;QACZ,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,gBAAgB,EAAE;KACxE;IACD;QACE,2BAA2B;QAC3B,CAAC,MAA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,CAAC,gBAAgB,EAAE,CAAC;IACzE,CAAC,KAAK,EAAE,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACzE,CAAC,KAAK,EAAE,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACzE,CAAC,OAAO,EAAE,CAAC,MAAM,EAAuB,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,gBAAgB,EAAE,CAAC;CAC9E,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,UAAU,2BAA2B;IACzC,OAAO,aAAa,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;AACxC,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,0BAA0B,CACxC,MAAc,EACd,SAAiB,EACjB,SAAmC,EACnC,UAAyB;IAEzB,MAAM,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAElD,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,yBAAyB,CACjC,4DAA4D;YAC1D,GAAG,SAAS,MAAM,CACrB,CAAC;IACJ,CAAC;IAED,OAAO,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -142,6 +142,10 @@ export declare class SimAwsAccountRegionServiceBuilder {
|
|
|
142
142
|
* invokes a function in any Account and Region of the simulation, as a real
|
|
143
143
|
* execution does, so the functions it can reach come from the whole
|
|
144
144
|
* simulation rather than from this scope.
|
|
145
|
+
*
|
|
146
|
+
* A `DefinitionS3Location` on a CloudFormation Resource is read from this
|
|
147
|
+
* scope's own simulated S3, which is where the CDK assets publisher put a
|
|
148
|
+
* definition file staged in a cloud assembly.
|
|
145
149
|
*/
|
|
146
150
|
createStepFunctions(scope: SimAwsAccountRegionContainer): SimStepFunctions;
|
|
147
151
|
/** Create simulated EventBridge Scheduler for an Account Region scope. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-aws-account-region-service-builder.d.ts","sourceRoot":"","sources":["../../../../src/service/aws/factory/sim-aws-account-region-service-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAO5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-aws-account-region-service-builder.d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GAAG,MAAM,CAKrD;IAED;;;;;OAKG;IACH,iBAAiB,CAAC,KAAK,EAAE,4BAA4B,GAAG,cAAc,CAKrE;IAED,oEAAoE;IACpE,UAAU,CAAC,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAKvD;IAED,2DAA2D;IAC3D,YAAY,CAAC,KAAK,EAAE,4BAA4B,GAAG,SAAS,CAU3D;IAED,gEAAgE;IAChE,iBAAiB,CAAC,KAAK,EAAE,4BAA4B,GAAG,cAAc,CAMrE;IAED;;;;;OAKG;IACH,iBAAiB,CAAC,KAAK,EAAE,4BAA4B,GAAG,cAAc,CAOrE;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,KAAK,EAAE,4BAA4B,GAAG,KAAK,CAQnD;IAED;;;;;;;OAOG;IACH,WAAW,CAAC,KAAK,EAAE,4BAA4B,GAAG,QAAQ,CAKzD;IAED;;;;;;;OAOG;IACH,SAAS,CAAC,KAAK,EAAE,4BAA4B,GAAG,MAAM,CAQrD;IAED;;;;;;;;;;;;OAYG;IACH,mBAAmB,CAAC,KAAK,EAAE,4BAA4B,GAAG,gBAAgB,CAMzE;IAED,0EAA0E;IAC1E,eAAe,CAAC,KAAK,EAAE,4BAA4B,GAAG,YAAY,CAKjE;IAED;;;;;;;OAOG;IACH,WAAW,CAAC,KAAK,EAAE,4BAA4B,GAAG,QAAQ,CAQzD;IAED,wDAAwD;IACxD,SAAS,CAAC,KAAK,EAAE,4BAA4B,GAAG,MAAM,CAQrD;IAED;;OAEG;IACH,OAAO,CAAC,MAAM;CAKf"}
|
|
@@ -16,6 +16,7 @@ import { SimS3 } from "../../s3/sim-s3.js";
|
|
|
16
16
|
import { SimScheduler } from "../../scheduler/index.js";
|
|
17
17
|
import { SimSesV2 } from "../../ses/index.js";
|
|
18
18
|
import { SimStepFunctions } from "../../stepfunctions/index.js";
|
|
19
|
+
import { SimS3StatesDefinitionStore } from "../../stepfunctions/definition/store/sim-s3-states-definition-store.js";
|
|
19
20
|
import { simAwsEcsCollaborators } from "./sim-aws-ecs-collaborators.js";
|
|
20
21
|
import { simAwsLambdaCollaborators } from "./sim-aws-lambda-collaborators.js";
|
|
21
22
|
import { simAwsS3NotificationDestinations } from "./sim-aws-s3-notification-destinations.js";
|
|
@@ -225,11 +226,16 @@ export class SimAwsAccountRegionServiceBuilder {
|
|
|
225
226
|
* invokes a function in any Account and Region of the simulation, as a real
|
|
226
227
|
* execution does, so the functions it can reach come from the whole
|
|
227
228
|
* simulation rather than from this scope.
|
|
229
|
+
*
|
|
230
|
+
* A `DefinitionS3Location` on a CloudFormation Resource is read from this
|
|
231
|
+
* scope's own simulated S3, which is where the CDK assets publisher put a
|
|
232
|
+
* definition file staged in a cloud assembly.
|
|
228
233
|
*/
|
|
229
234
|
createStepFunctions(scope) {
|
|
230
235
|
return new SimStepFunctions({
|
|
231
236
|
...this.scoped(scope),
|
|
232
237
|
taskTargets: simAwsStatesTaskTargets(this.simAws, scope),
|
|
238
|
+
definitions: new SimS3StatesDefinitionStore({ s3: scope.s3() }),
|
|
233
239
|
});
|
|
234
240
|
}
|
|
235
241
|
/** Create simulated EventBridge Scheduler for an Account Region scope. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-aws-account-region-service-builder.js","sourceRoot":"","sources":["../../../../src/service/aws/factory/sim-aws-account-region-service-builder.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,gCAAgC,EAChC,uBAAuB,EACvB,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,yBAAyB,E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EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC,CAAC;IACL,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"sim-aws-account-region-service-builder.js","sourceRoot":"","sources":["../../../../src/service/aws/factory/sim-aws-account-region-service-builder.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,gCAAgC,EAChC,uBAAuB,EACvB,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAC7G,OAAO,EAAE,6BAA6B,EAAE,MAAM,sEAAsE,CAAC;AACrH,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,wEAAwE,CAAC;AACpH,OAAO,EAAE,sBA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C;QAC7C,OAAO,IAAI,QAAQ,CAAC;YAClB,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;YACrB,kBAAkB,EAAE,IAAI,2BAA2B,CAAC;gBAClD,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;aAC7C,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED,wDAAwD;IACxD,SAAS,CAAC,KAAmC;QAC3C,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAEtC,OAAO,IAAI,MAAM,CAAC;YAChB,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;YAC5C,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACK,MAAM,CACZ,KAAmC;QAEnC,OAAO,IAAI,CAAC,eAAe,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC;IAC7D,CAAC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Resource type CDK reads a parameter from another Region through.
|
|
3
|
+
*/
|
|
4
|
+
export declare const crossRegionParameterResourceTypeName = "CrossRegionStringParameterReader";
|
|
5
|
+
/**
|
|
6
|
+
* Build the error a Custom::CrossRegionStringParameterReader Resource is
|
|
7
|
+
* refused with.
|
|
8
|
+
*
|
|
9
|
+
* Sim CloudFormation turns a failure whose message reads as an unsupported
|
|
10
|
+
* Resource type into a skip, so none of these says `Unsupported sim`. A reader
|
|
11
|
+
* that was refused rather than skipped is one whose properties this simulation
|
|
12
|
+
* did not recognise, and a Stack should stop on that.
|
|
13
|
+
*/
|
|
14
|
+
export declare function crossRegionParameterError(logicalId: string, reason: string): Error;
|
|
15
|
+
//# sourceMappingURL=sim-cdk-cross-region-parameter-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-cross-region-parameter-error.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,oCAAoC,qCACb,CAAC;AAErC;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GACb,KAAK,CAKP"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Resource type CDK reads a parameter from another Region through.
|
|
3
|
+
*/
|
|
4
|
+
export const crossRegionParameterResourceTypeName = "CrossRegionStringParameterReader";
|
|
5
|
+
/**
|
|
6
|
+
* Build the error a Custom::CrossRegionStringParameterReader Resource is
|
|
7
|
+
* refused with.
|
|
8
|
+
*
|
|
9
|
+
* Sim CloudFormation turns a failure whose message reads as an unsupported
|
|
10
|
+
* Resource type into a skip, so none of these says `Unsupported sim`. A reader
|
|
11
|
+
* that was refused rather than skipped is one whose properties this simulation
|
|
12
|
+
* did not recognise, and a Stack should stop on that.
|
|
13
|
+
*/
|
|
14
|
+
export function crossRegionParameterError(logicalId, reason) {
|
|
15
|
+
return new Error(`Invalid Custom::${crossRegionParameterResourceTypeName} Resource ` +
|
|
16
|
+
`${logicalId}: ${reason}`);
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=sim-cdk-cross-region-parameter-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-cross-region-parameter-error.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAC/C,kCAAkC,CAAC;AAErC;;;;;;;;GAQG;AACH,MAAM,UAAU,yBAAyB,CACvC,SAAiB,EACjB,MAAc;IAEd,OAAO,IAAI,KAAK,CACd,mBAAmB,oCAAoC,YAAY;QACjE,GAAG,SAAS,KAAK,MAAM,EAAE,CAC5B,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { AwsRegionName } from "../../../../aws/sim-aws-region.js";
|
|
2
|
+
import type { SimCfnTemplateValueRecord } from "../../../template/value/sim-cfn-template-value.js";
|
|
3
|
+
/**
|
|
4
|
+
* Reads the properties of one Custom::CrossRegionStringParameterReader
|
|
5
|
+
* Resource.
|
|
6
|
+
*
|
|
7
|
+
* A property name CDK does not emit is refused rather than ignored, as it is
|
|
8
|
+
* for Bucket notifications. This Resource is a private contract between CDK
|
|
9
|
+
* and its own provider function, so a name that turns up here is a version of
|
|
10
|
+
* CDK asking for something this simulation has not been told about.
|
|
11
|
+
*/
|
|
12
|
+
export declare class SimCdkCrossRegionParameterProperties {
|
|
13
|
+
private readonly logicalId;
|
|
14
|
+
private readonly properties;
|
|
15
|
+
constructor(logicalId: string, properties: SimCfnTemplateValueRecord);
|
|
16
|
+
/**
|
|
17
|
+
* The name of the parameter to read.
|
|
18
|
+
*/
|
|
19
|
+
get parameterName(): string;
|
|
20
|
+
/**
|
|
21
|
+
* The Region the parameter is read from.
|
|
22
|
+
*
|
|
23
|
+
* CDK writes `us-east-1` here for an EdgeFunction, since that is the only
|
|
24
|
+
* Region CloudFront runs a Lambda@Edge function from, but the Resource type
|
|
25
|
+
* says nothing about Lambda@Edge and the Region is read as written.
|
|
26
|
+
*/
|
|
27
|
+
get regionName(): AwsRegionName;
|
|
28
|
+
private refuseUnknownProperties;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=sim-cdk-cross-region-parameter-properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-cross-region-parameter-properties.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AAqBnG;;;;;;;;GAQG;AACH,qBAAa,oCAAoC;IAC/C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4B;IAEvD,YAAY,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,yBAAyB,EAKnE;IAED;;OAEG;IACH,IAAI,aAAa,IAAI,MAAM,CAW1B;IAED;;;;;;OAMG;IACH,IAAI,UAAU,IAAI,aAAa,CAe9B;IAED,OAAO,CAAC,uBAAuB;CAYhC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { AWS_REGION_NAMES } from "../../../../aws/sim-aws-region.js";
|
|
2
|
+
import { jsonStringify } from "../../../../../util/type-guard/json.js";
|
|
3
|
+
import { crossRegionParameterError } from "./sim-cdk-cross-region-parameter-error.js";
|
|
4
|
+
/**
|
|
5
|
+
* The properties CDK puts on a Custom::CrossRegionStringParameterReader
|
|
6
|
+
* Resource.
|
|
7
|
+
*
|
|
8
|
+
* `ServiceToken` is read and ignored. It points at CDK's own provider
|
|
9
|
+
* function, whose whole job is the GetParameter call this factory makes
|
|
10
|
+
* instead. `RefreshToken` is the logical ID of the function version the
|
|
11
|
+
* parameter was written from, and CDK puts it there so that publishing a new
|
|
12
|
+
* version makes CloudFormation run the reader again. The reader here runs on
|
|
13
|
+
* every deployment either way, so the token has nothing left to say.
|
|
14
|
+
*/
|
|
15
|
+
const knownPropertyNames = new Set([
|
|
16
|
+
"ParameterName",
|
|
17
|
+
"Region",
|
|
18
|
+
"RefreshToken",
|
|
19
|
+
"ServiceToken",
|
|
20
|
+
]);
|
|
21
|
+
/**
|
|
22
|
+
* Reads the properties of one Custom::CrossRegionStringParameterReader
|
|
23
|
+
* Resource.
|
|
24
|
+
*
|
|
25
|
+
* A property name CDK does not emit is refused rather than ignored, as it is
|
|
26
|
+
* for Bucket notifications. This Resource is a private contract between CDK
|
|
27
|
+
* and its own provider function, so a name that turns up here is a version of
|
|
28
|
+
* CDK asking for something this simulation has not been told about.
|
|
29
|
+
*/
|
|
30
|
+
export class SimCdkCrossRegionParameterProperties {
|
|
31
|
+
logicalId;
|
|
32
|
+
properties;
|
|
33
|
+
constructor(logicalId, properties) {
|
|
34
|
+
this.logicalId = logicalId;
|
|
35
|
+
this.properties = properties;
|
|
36
|
+
this.refuseUnknownProperties();
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The name of the parameter to read.
|
|
40
|
+
*/
|
|
41
|
+
get parameterName() {
|
|
42
|
+
const parameterName = this.properties["ParameterName"];
|
|
43
|
+
if (typeof parameterName !== "string" || parameterName === "") {
|
|
44
|
+
throw crossRegionParameterError(this.logicalId, "ParameterName must resolve to a parameter name");
|
|
45
|
+
}
|
|
46
|
+
return parameterName;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The Region the parameter is read from.
|
|
50
|
+
*
|
|
51
|
+
* CDK writes `us-east-1` here for an EdgeFunction, since that is the only
|
|
52
|
+
* Region CloudFront runs a Lambda@Edge function from, but the Resource type
|
|
53
|
+
* says nothing about Lambda@Edge and the Region is read as written.
|
|
54
|
+
*/
|
|
55
|
+
get regionName() {
|
|
56
|
+
const regionName = this.properties["Region"];
|
|
57
|
+
if (typeof regionName !== "string" ||
|
|
58
|
+
!AWS_REGION_NAMES.includes(regionName)) {
|
|
59
|
+
throw crossRegionParameterError(this.logicalId, `Region must resolve to a known AWS Region, and ` +
|
|
60
|
+
`${jsonStringify(regionName)} is not one`);
|
|
61
|
+
}
|
|
62
|
+
return regionName;
|
|
63
|
+
}
|
|
64
|
+
refuseUnknownProperties() {
|
|
65
|
+
for (const name of Object.keys(this.properties)) {
|
|
66
|
+
if (!knownPropertyNames.has(name)) {
|
|
67
|
+
throw crossRegionParameterError(this.logicalId, `${name} is not a Custom::CrossRegionStringParameterReader ` +
|
|
68
|
+
"property this simulation knows about, so it is refused rather " +
|
|
69
|
+
"than ignored");
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=sim-cdk-cross-region-parameter-properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-cross-region-parameter-properties.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAEtF;;;;;;;;;;GAUG;AACH,MAAM,kBAAkB,GAAwB,IAAI,GAAG,CAAC;IACtD,eAAe;IACf,QAAQ;IACR,cAAc;IACd,cAAc;CACf,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,MAAM,OAAO,oCAAoC;IAC9B,SAAS,CAAS;IAClB,UAAU,CAA4B;IAEvD,YAAY,SAAiB,EAAE,UAAqC;QAClE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAE7B,IAAI,CAAC,uBAAuB,EAAE,CAAC;IACjC,CAAC;IAED;;OAEG;IACH,IAAI,aAAa;QACf,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;QAEvD,IAAI,OAAO,aAAa,KAAK,QAAQ,IAAI,aAAa,KAAK,EAAE,EAAE,CAAC;YAC9D,MAAM,yBAAyB,CAC7B,IAAI,CAAC,SAAS,EACd,gDAAgD,CACjD,CAAC;QACJ,CAAC;QAED,OAAO,aAAa,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,IAAI,UAAU;QACZ,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAE7C,IACE,OAAO,UAAU,KAAK,QAAQ;YAC9B,CAAE,gBAAsC,CAAC,QAAQ,CAAC,UAAU,CAAC,EAC7D,CAAC;YACD,MAAM,yBAAyB,CAC7B,IAAI,CAAC,SAAS,EACd,iDAAiD;gBAC/C,GAAG,aAAa,CAAC,UAAU,CAAC,aAAa,CAC5C,CAAC;QACJ,CAAC;QAED,OAAO,UAA2B,CAAC;IACrC,CAAC;IAEO,uBAAuB;QAC7B,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAChD,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAClC,MAAM,yBAAyB,CAC7B,IAAI,CAAC,SAAS,EACd,GAAG,IAAI,qDAAqD;oBAC1D,gEAAgE;oBAChE,cAAc,CACjB,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { SimCfnServiceResourceFactory } from "../../../resource/factory/sim-cfn-resource-factory.type.js";
|
|
2
|
+
import type { SimCfnResource, SimCloudFormationResourceCreateContext } from "../../../resource/sim-cfn-resource.js";
|
|
3
|
+
import { SimCdkCrossRegionParameterReading } from "./sim-cdk-cross-region-parameter-reading.js";
|
|
4
|
+
/**
|
|
5
|
+
* CloudFormation Resource factory for CDK's cross-Region parameter reader.
|
|
6
|
+
*
|
|
7
|
+
* `cloudfront.experimental.EdgeFunction` in a Stack outside `us-east-1` puts
|
|
8
|
+
* the function itself in a support Stack there and writes its version ARN to
|
|
9
|
+
* an SSM parameter. The using Stack reads that parameter back through a
|
|
10
|
+
* `Custom::CrossRegionStringParameterReader` Resource, and the Behavior's
|
|
11
|
+
* `LambdaFunctionARN` is an `Fn::GetAtt` on it. Without the read the ARN never
|
|
12
|
+
* arrives, and CloudFront refuses the Distribution over a value that is not an
|
|
13
|
+
* ARN at all.
|
|
14
|
+
*
|
|
15
|
+
* The Resource carries the parameter name and the Region, so this factory
|
|
16
|
+
* makes the GetParameter call CDK's provider function would have made, through
|
|
17
|
+
* the ordinary command path. Deploy the whole cloud assembly and the support
|
|
18
|
+
* Stack has written the parameter by the time this runs, because the manifest
|
|
19
|
+
* says the using Stack comes after it.
|
|
20
|
+
*
|
|
21
|
+
* Deploy the using Stack's template on its own and the parameter is not there.
|
|
22
|
+
* The reader is created holding nothing rather than failing, so the Stack
|
|
23
|
+
* deploys and the Distribution goes up without the association, which is
|
|
24
|
+
* recorded on it. A site survives an edge function whose Stack was left out
|
|
25
|
+
* the way it survives one this simulation cannot run.
|
|
26
|
+
*/
|
|
27
|
+
export declare class SimCdkCrossRegionParameterReaderResourceFactory implements SimCfnServiceResourceFactory {
|
|
28
|
+
/**
|
|
29
|
+
* Read the parameter the Resource names, in the Region it names.
|
|
30
|
+
*/
|
|
31
|
+
create(resourceTypeName: string, resource: SimCfnResource, context: SimCloudFormationResourceCreateContext): Promise<SimCdkCrossRegionParameterReading>;
|
|
32
|
+
/**
|
|
33
|
+
* Forget the reading.
|
|
34
|
+
*
|
|
35
|
+
* CDK's provider function does nothing on its Delete event either. The
|
|
36
|
+
* parameter belongs to the Stack that wrote it, and reading a value leaves
|
|
37
|
+
* nothing behind to take away.
|
|
38
|
+
*/
|
|
39
|
+
delete(resourceTypeName: string, resource: SimCfnResource): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* The parameter's value, or nothing where no Stack has written it.
|
|
42
|
+
*/
|
|
43
|
+
private read;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=sim-cdk-cross-region-parameter-reader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-cross-region-parameter-reader.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4DAA4D,CAAC;AAC/G,OAAO,KAAK,EACV,cAAc,EACd,sCAAsC,EACvC,MAAM,uCAAuC,CAAC;AAM/C,OAAO,EAAE,iCAAiC,EAAE,MAAM,6CAA6C,CAAC;AAEhG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,+CAAgD,YAAW,4BAA4B;IAClG;;OAEG;IACG,MAAM,CACV,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,sCAAsC,GAC9C,OAAO,CAAC,iCAAiC,CAAC,CAoB5C;IAED;;;;;;OAMG;IACG,MAAM,CACV,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAUf;IAED;;OAEG;YACW,IAAI;CA6BnB"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { SimSsmParameterNotFound } from "../../../../ssm/error/sim-ssm.error.js";
|
|
2
|
+
import { crossRegionParameterError, crossRegionParameterResourceTypeName, } from "./sim-cdk-cross-region-parameter-error.js";
|
|
3
|
+
import { SimCdkCrossRegionParameterProperties } from "./sim-cdk-cross-region-parameter-properties.js";
|
|
4
|
+
import { SimCdkCrossRegionParameterReading } from "./sim-cdk-cross-region-parameter-reading.js";
|
|
5
|
+
/**
|
|
6
|
+
* CloudFormation Resource factory for CDK's cross-Region parameter reader.
|
|
7
|
+
*
|
|
8
|
+
* `cloudfront.experimental.EdgeFunction` in a Stack outside `us-east-1` puts
|
|
9
|
+
* the function itself in a support Stack there and writes its version ARN to
|
|
10
|
+
* an SSM parameter. The using Stack reads that parameter back through a
|
|
11
|
+
* `Custom::CrossRegionStringParameterReader` Resource, and the Behavior's
|
|
12
|
+
* `LambdaFunctionARN` is an `Fn::GetAtt` on it. Without the read the ARN never
|
|
13
|
+
* arrives, and CloudFront refuses the Distribution over a value that is not an
|
|
14
|
+
* ARN at all.
|
|
15
|
+
*
|
|
16
|
+
* The Resource carries the parameter name and the Region, so this factory
|
|
17
|
+
* makes the GetParameter call CDK's provider function would have made, through
|
|
18
|
+
* the ordinary command path. Deploy the whole cloud assembly and the support
|
|
19
|
+
* Stack has written the parameter by the time this runs, because the manifest
|
|
20
|
+
* says the using Stack comes after it.
|
|
21
|
+
*
|
|
22
|
+
* Deploy the using Stack's template on its own and the parameter is not there.
|
|
23
|
+
* The reader is created holding nothing rather than failing, so the Stack
|
|
24
|
+
* deploys and the Distribution goes up without the association, which is
|
|
25
|
+
* recorded on it. A site survives an edge function whose Stack was left out
|
|
26
|
+
* the way it survives one this simulation cannot run.
|
|
27
|
+
*/
|
|
28
|
+
export class SimCdkCrossRegionParameterReaderResourceFactory {
|
|
29
|
+
/**
|
|
30
|
+
* Read the parameter the Resource names, in the Region it names.
|
|
31
|
+
*/
|
|
32
|
+
async create(resourceTypeName, resource, context) {
|
|
33
|
+
/* v8 ignore if -- defensive catch; the resolver routes on this name */
|
|
34
|
+
if (resourceTypeName !== crossRegionParameterResourceTypeName) {
|
|
35
|
+
throw crossRegionParameterError(resource.logicalId, `${resourceTypeName} is not a Resource type this factory creates`);
|
|
36
|
+
}
|
|
37
|
+
const properties = new SimCdkCrossRegionParameterProperties(resource.logicalId, context.resolvedProperties ?? resource.properties);
|
|
38
|
+
const { parameterName, regionName } = properties;
|
|
39
|
+
return new SimCdkCrossRegionParameterReading({
|
|
40
|
+
parameterName,
|
|
41
|
+
regionName,
|
|
42
|
+
value: await this.read(resource, context, parameterName, regionName),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Forget the reading.
|
|
47
|
+
*
|
|
48
|
+
* CDK's provider function does nothing on its Delete event either. The
|
|
49
|
+
* parameter belongs to the Stack that wrote it, and reading a value leaves
|
|
50
|
+
* nothing behind to take away.
|
|
51
|
+
*/
|
|
52
|
+
async delete(resourceTypeName, resource) {
|
|
53
|
+
await Promise.resolve();
|
|
54
|
+
/* v8 ignore if -- defensive catch; the resolver routes on this name */
|
|
55
|
+
if (resourceTypeName !== crossRegionParameterResourceTypeName) {
|
|
56
|
+
throw crossRegionParameterError(resource.logicalId, `${resourceTypeName} is not a Resource type this factory deletes`);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The parameter's value, or nothing where no Stack has written it.
|
|
61
|
+
*/
|
|
62
|
+
async read(resource, context, parameterName, regionName) {
|
|
63
|
+
try {
|
|
64
|
+
const output = await context.simAws
|
|
65
|
+
.accountRegionScope(resource.accountRegionScope.accountId, regionName)
|
|
66
|
+
.ssm()
|
|
67
|
+
.getParameter({ input: { Name: parameterName } });
|
|
68
|
+
return output.Parameter?.Value;
|
|
69
|
+
}
|
|
70
|
+
catch (error) {
|
|
71
|
+
if (!(error instanceof SimSsmParameterNotFound)) {
|
|
72
|
+
throw error;
|
|
73
|
+
}
|
|
74
|
+
resource.ignoreProperty("ParameterName", `no simulated SSM parameter ${parameterName} has been written in ` +
|
|
75
|
+
`${regionName}, so this Resource reads nothing. CDK writes that ` +
|
|
76
|
+
`parameter from a support Stack of its own; deploy the whole cloud ` +
|
|
77
|
+
`assembly with deployCdkOut to deploy that Stack too`);
|
|
78
|
+
return undefined;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=sim-cdk-cross-region-parameter-reader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-cross-region-parameter-reader.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAMjF,OAAO,EACL,yBAAyB,EACzB,oCAAoC,GACrC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,oCAAoC,EAAE,MAAM,gDAAgD,CAAC;AACtG,OAAO,EAAE,iCAAiC,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ACL,YAAY,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,CAAC,CAAC;YAEpD,OAAO,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC;QACjC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,CAAC,KAAK,YAAY,uBAAuB,CAAC,EAAE,CAAC;gBAChD,MAAM,KAAK,CAAC;YACd,CAAC;YAED,QAAQ,CAAC,cAAc,CACrB,eAAe,EACf,8BAA8B,aAAa,uBAAuB;gBAChE,GAAG,UAAU,oDAAoD;gBACjE,oEAAoE;gBACpE,qDAAqD,CACxD,CAAC;YAEF,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { AwsRegionName } from "../../../../aws/sim-aws-region.js";
|
|
2
|
+
interface SimCdkCrossRegionParameterReadingProperties {
|
|
3
|
+
readonly parameterName: string;
|
|
4
|
+
readonly regionName: AwsRegionName;
|
|
5
|
+
readonly value?: string | undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* What one Custom::CrossRegionStringParameterReader read.
|
|
9
|
+
*
|
|
10
|
+
* This is the simulated object the Resource is created as, and what
|
|
11
|
+
* `Fn::GetAtt` on it is answered from. CDK's provider function answers with
|
|
12
|
+
* `Data: { FunctionArn: <value> }` whatever the parameter holds, because the
|
|
13
|
+
* only construct that builds this Resource is `EdgeFunction`.
|
|
14
|
+
*
|
|
15
|
+
* A reading with no value is one whose parameter was not there. That happens
|
|
16
|
+
* where the Stack holding the parameter was never deployed, which is what
|
|
17
|
+
* deploying one template of a cloud assembly rather than the assembly comes
|
|
18
|
+
* to.
|
|
19
|
+
*/
|
|
20
|
+
export declare class SimCdkCrossRegionParameterReading {
|
|
21
|
+
readonly parameterName: string;
|
|
22
|
+
readonly regionName: AwsRegionName;
|
|
23
|
+
readonly value: string | undefined;
|
|
24
|
+
constructor(properties: SimCdkCrossRegionParameterReadingProperties);
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=sim-cdk-cross-region-parameter-reading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-cross-region-parameter-reading.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvE,UAAU,2CAA2C;IACnD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IACnC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED;;;;;;;;;;;;GAYG;AACH,qBAAa,iCAAiC;IAC5C,SAAgB,aAAa,EAAE,MAAM,CAAC;IACtC,SAAgB,UAAU,EAAE,aAAa,CAAC;IAC1C,SAAgB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1C,YAAY,UAAU,EAAE,2CAA2C,EAIlE;CACF"}
|