@kensio/yulin 1.20.13 → 1.20.14
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/dist/service/acm/cfn/certificate/sim-cfn-acm-cert-creator.js +6 -4
- package/dist/service/acm/cfn/sim-cfn-acm-resource-factory.d.ts +2 -2
- package/dist/service/acm/cfn/sim-cfn-acm-resource-factory.js +3 -4
- package/dist/service/acm/cfn/validation/sim-cfn-acm-cert-validation.d.ts +2 -1
- package/dist/service/acm/cfn/validation/sim-cfn-acm-cert-validation.js +2 -2
- package/dist/service/acm/cfn/validation/sim-cfn-acm-validation-records.d.ts +2 -1
- package/dist/service/acm/cfn/validation/sim-cfn-acm-validation-records.js +4 -4
- package/dist/service/acm/sim-acm.d.ts +1 -1
- package/dist/service/acm/sim-acm.js +3 -2
- package/dist/service/apigateway/cfn/api/sim-cfn-rest-api-creator.d.ts +2 -1
- package/dist/service/apigateway/cfn/api/sim-cfn-rest-api-creator.js +11 -13
- package/dist/service/apigateway/cfn/authorizer/sim-cfn-rest-api-authorizer-creator.d.ts +2 -1
- package/dist/service/apigateway/cfn/authorizer/sim-cfn-rest-api-authorizer-creator.js +2 -4
- package/dist/service/apigateway/cfn/deployment/sim-cfn-rest-api-deployment-creator.d.ts +2 -1
- package/dist/service/apigateway/cfn/deployment/sim-cfn-rest-api-deployment-creator.js +2 -4
- package/dist/service/apigateway/cfn/method/sim-cfn-rest-api-method-creator.d.ts +2 -1
- package/dist/service/apigateway/cfn/method/sim-cfn-rest-api-method-creator.js +3 -5
- package/dist/service/apigateway/cfn/method/sim-cfn-rest-api-method-integration.d.ts +2 -1
- package/dist/service/apigateway/cfn/method/sim-cfn-rest-api-method-integration.js +3 -3
- package/dist/service/apigateway/cfn/resource/sim-cfn-rest-api-resource-creator.d.ts +2 -1
- package/dist/service/apigateway/cfn/resource/sim-cfn-rest-api-resource-creator.js +2 -4
- package/dist/service/apigateway/cfn/sim-cfn-api-gateway-resource-deleter.d.ts +2 -1
- package/dist/service/apigateway/cfn/sim-cfn-api-gateway-resource-deleter.js +3 -5
- package/dist/service/apigateway/cfn/sim-cfn-api-gateway-resource-factory.js +9 -7
- package/dist/service/apigateway/cfn/sim-cfn-rest-api-part-deleter.d.ts +2 -7
- package/dist/service/apigateway/cfn/sim-cfn-rest-api-part-deleter.js +12 -42
- package/dist/service/apigateway/cfn/sim-cfn-rest-api-part-values.d.ts +10 -0
- package/dist/service/apigateway/cfn/sim-cfn-rest-api-part-values.js +21 -0
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-creator.d.ts +2 -1
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-creator.js +2 -4
- package/dist/service/apigateway/serve/sim-api-gateway-router.js +5 -2
- package/dist/service/apigateway/sim-api-gateway-commands.d.ts +1 -1
- package/dist/service/apigateway/sim-api-gateway-commands.js +3 -2
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.d.ts +2 -1
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.js +5 -9
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts +2 -1
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js +2 -4
- package/dist/service/apigatewayv2/cfn/domain/sim-cfn-api-mapping-creator.d.ts +2 -1
- package/dist/service/apigatewayv2/cfn/domain/sim-cfn-api-mapping-creator.js +2 -4
- package/dist/service/apigatewayv2/cfn/domain/sim-cfn-http-api-domain-creator.d.ts +2 -1
- package/dist/service/apigatewayv2/cfn/domain/sim-cfn-http-api-domain-creator.js +2 -4
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.d.ts +2 -1
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.js +2 -4
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.d.ts +2 -1
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.js +2 -4
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-deleter.d.ts +2 -9
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-deleter.js +19 -25
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.d.ts +0 -5
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.js +13 -29
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-unsupported.d.ts +5 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-unsupported.js +19 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-part-deleter.d.ts +2 -1
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-part-deleter.js +5 -13
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.d.ts +2 -1
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.js +2 -4
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +5 -2
- package/dist/service/apigatewayv2/sim-api-gateway-v2-commands.d.ts +1 -1
- package/dist/service/apigatewayv2/sim-api-gateway-v2-commands.js +3 -2
- package/dist/service/athena/cfn/named-query/sim-cfn-athena-named-query-creator.d.ts +3 -2
- package/dist/service/athena/cfn/named-query/sim-cfn-athena-named-query-creator.js +4 -6
- package/dist/service/athena/cfn/sim-athena-cfn-resource-factory.d.ts +2 -2
- package/dist/service/athena/cfn/sim-athena-cfn-resource-factory.js +7 -6
- package/dist/service/athena/cfn/work-group/sim-cfn-athena-work-group-creator.d.ts +3 -2
- package/dist/service/athena/cfn/work-group/sim-cfn-athena-work-group-creator.js +7 -11
- package/dist/service/athena/engine/sim-athena-aggregate-shims.d.ts +10 -5
- package/dist/service/athena/engine/sim-athena-aggregate-shims.js +19 -16
- package/dist/service/athena/engine/sim-athena-binary-shims.d.ts +16 -0
- package/dist/service/athena/engine/sim-athena-binary-shims.js +49 -0
- package/dist/service/athena/engine/sim-athena-binary-text.d.ts +21 -0
- package/dist/service/athena/engine/sim-athena-binary-text.js +87 -0
- package/dist/service/athena/engine/sim-athena-count-distinct.d.ts +15 -0
- package/dist/service/athena/engine/sim-athena-count-distinct.js +103 -0
- package/dist/service/athena/engine/sim-athena-distinct-values.d.ts +19 -0
- package/dist/service/athena/engine/sim-athena-distinct-values.js +37 -0
- package/dist/service/athena/engine/sim-athena-hash-words.d.ts +14 -0
- package/dist/service/athena/engine/sim-athena-hash-words.js +22 -0
- package/dist/service/athena/engine/sim-athena-murmur3-mixing.d.ts +15 -0
- package/dist/service/athena/engine/sim-athena-murmur3-mixing.js +37 -0
- package/dist/service/athena/engine/sim-athena-murmur3.d.ts +11 -0
- package/dist/service/athena/engine/sim-athena-murmur3.js +51 -0
- package/dist/service/athena/engine/sim-athena-shim-registry.d.ts +9 -0
- package/dist/service/athena/engine/sim-athena-shim-registry.js +30 -1
- package/dist/service/athena/engine/sim-athena-shims.js +2 -0
- package/dist/service/athena/engine/sim-athena-sql-rewrites.d.ts +4 -2
- package/dist/service/athena/engine/sim-athena-sql-rewrites.js +6 -3
- package/dist/service/athena/engine/sim-athena-xxhash64.d.ts +8 -0
- package/dist/service/athena/engine/sim-athena-xxhash64.js +82 -0
- package/dist/service/athena/sim-athena-executions.d.ts +1 -1
- package/dist/service/athena/sim-athena-executions.js +3 -2
- package/dist/service/bedrock/sim-bedrock.d.ts +1 -1
- package/dist/service/bedrock/sim-bedrock.js +3 -2
- package/dist/service/cloudformation/cdk/assets/sim-cdk-assets-publisher.d.ts +8 -0
- package/dist/service/cloudformation/cdk/assets/sim-cdk-assets-publisher.js +6 -4
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts +4 -0
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js +4 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts +7 -0
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.js +3 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js +2 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts +9 -2
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js +2 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +10 -3
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js +4 -7
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts +10 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js +4 -2
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts +11 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js +2 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js +1 -0
- package/dist/service/cloudformation/resource/caller/sim-cfn-resource-caller-options.d.ts +16 -0
- package/dist/service/cloudformation/resource/caller/sim-cfn-resource-caller-options.js +6 -0
- package/dist/service/cloudformation/resource/cfn/scheduler/sim-scheduler-cfn-value-adapter.js +50 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts +12 -0
- package/dist/service/cloudformation/sim-cloudformation.d.ts +1 -1
- package/dist/service/cloudformation/sim-cloudformation.js +3 -2
- package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-batch-creator.d.ts +3 -0
- package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-batch-creator.js +4 -1
- package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-creator.d.ts +2 -0
- package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-creator.js +2 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack-resource-operations.d.ts +17 -2
- package/dist/service/cloudformation/stack/sim-cfn-stack-resource-operations.js +15 -4
- package/dist/service/cloudformation/stack/sim-cfn-stack.js +5 -5
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts +12 -0
- package/dist/service/cloudformation/stack/teardown/sim-cfn-stack-resource-batch-deleter.d.ts +3 -0
- package/dist/service/cloudformation/stack/teardown/sim-cfn-stack-resource-batch-deleter.js +3 -0
- package/dist/service/cloudformation/stack/teardown/sim-cfn-stack-resource-deleter.d.ts +2 -0
- package/dist/service/cloudformation/stack/teardown/sim-cfn-stack-resource-deleter.js +2 -1
- package/dist/service/cloudfront/cfn/cff/sim-cfn-cff-creator.d.ts +5 -0
- package/dist/service/cloudfront/cfn/cff/sim-cfn-cff-creator.js +10 -3
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js +2 -1
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-deleter.d.ts +2 -1
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-deleter.js +5 -7
- package/dist/service/cloudfront/cfn/key-value-store/sim-cfn-cf-kvs-creator.d.ts +3 -2
- package/dist/service/cloudfront/cfn/key-value-store/sim-cfn-cf-kvs-creator.js +6 -6
- package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.d.ts +2 -4
- package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.js +7 -15
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +3 -2
- package/dist/service/cloudfront/sim-cloudfront-commands.d.ts +1 -1
- package/dist/service/cloudfront/sim-cloudfront-commands.js +5 -2
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.d.ts +3 -2
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.js +4 -6
- package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.d.ts +2 -2
- package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.js +4 -3
- package/dist/service/cloudwatch/sim-cloudwatch-commands.d.ts +1 -1
- package/dist/service/cloudwatch/sim-cloudwatch-commands.js +3 -2
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts +2 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js +2 -4
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.d.ts +2 -1
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.js +2 -4
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts +2 -1
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js +2 -4
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.d.ts +2 -1
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.js +2 -4
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.d.ts +2 -1
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.js +18 -24
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts +2 -2
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js +9 -7
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts +2 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js +5 -7
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js +3 -2
- package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js +2 -1
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-creator.d.ts +2 -1
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-creator.js +2 -2
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-deleter.d.ts +2 -1
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-deleter.js +2 -4
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-factory.d.ts +2 -2
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-factory.js +6 -4
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.d.ts +2 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.js +5 -7
- package/dist/service/dynamodb/sim-dynamodb.js +3 -2
- package/dist/service/ecs/cfn/cluster/sim-cfn-ecs-cluster-creator.d.ts +3 -2
- package/dist/service/ecs/cfn/cluster/sim-cfn-ecs-cluster-creator.js +4 -6
- package/dist/service/ecs/cfn/service/sim-cfn-ecs-service-creator.d.ts +3 -2
- package/dist/service/ecs/cfn/service/sim-cfn-ecs-service-creator.js +4 -4
- package/dist/service/ecs/cfn/sim-cfn-ecs-created-resource.d.ts +5 -0
- package/dist/service/ecs/cfn/sim-cfn-ecs-created-resource.js +9 -0
- package/dist/service/ecs/cfn/sim-ecs-cfn-resource-factory.d.ts +2 -2
- package/dist/service/ecs/cfn/sim-ecs-cfn-resource-factory.js +11 -16
- package/dist/service/ecs/cfn/task-definition/sim-cfn-ecs-task-definition-creator.d.ts +3 -2
- package/dist/service/ecs/cfn/task-definition/sim-cfn-ecs-task-definition-creator.js +4 -6
- package/dist/service/ecs/sim-ecs-commands.js +3 -2
- package/dist/service/ecs/task/run/sim-ecs-container-environment.d.ts +12 -10
- package/dist/service/ecs/task/run/sim-ecs-container-environment.js +16 -18
- package/dist/service/elbv2/cfn/listener/sim-cfn-elbv2-listener-creator.d.ts +3 -2
- package/dist/service/elbv2/cfn/listener/sim-cfn-elbv2-listener-creator.js +4 -6
- package/dist/service/elbv2/cfn/load-balancer/sim-cfn-elbv2-load-balancer-creator.d.ts +3 -2
- package/dist/service/elbv2/cfn/load-balancer/sim-cfn-elbv2-load-balancer-creator.js +4 -6
- package/dist/service/elbv2/cfn/rule/sim-cfn-elbv2-listener-rule-creator.d.ts +3 -2
- package/dist/service/elbv2/cfn/rule/sim-cfn-elbv2-listener-rule-creator.js +4 -4
- package/dist/service/elbv2/cfn/sim-elbv2-cfn-resource-deleter.d.ts +2 -1
- package/dist/service/elbv2/cfn/sim-elbv2-cfn-resource-deleter.js +5 -5
- package/dist/service/elbv2/cfn/sim-elbv2-cfn-resource-factory.d.ts +2 -2
- package/dist/service/elbv2/cfn/sim-elbv2-cfn-resource-factory.js +8 -6
- package/dist/service/elbv2/cfn/target-group/sim-cfn-elbv2-target-group-creator.d.ts +3 -2
- package/dist/service/elbv2/cfn/target-group/sim-cfn-elbv2-target-group-creator.js +7 -11
- package/dist/service/elbv2/serve/sim-elbv2-router.js +2 -1
- package/dist/service/elbv2/sim-elbv2.js +3 -3
- package/dist/service/eventbridge/cfn/bus/sim-cfn-event-bus-creator.d.ts +2 -1
- package/dist/service/eventbridge/cfn/bus/sim-cfn-event-bus-creator.js +2 -4
- package/dist/service/eventbridge/cfn/rule/sim-cfn-event-rule-creator.d.ts +2 -1
- package/dist/service/eventbridge/cfn/rule/sim-cfn-event-rule-creator.js +5 -5
- package/dist/service/eventbridge/cfn/sim-cfn-event-bridge-resource-deleter.d.ts +2 -1
- package/dist/service/eventbridge/cfn/sim-cfn-event-bridge-resource-deleter.js +7 -7
- package/dist/service/eventbridge/cfn/sim-event-bridge-cfn-resource-factory.js +5 -3
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.js +2 -1
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-queue.js +2 -1
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-task.js +4 -1
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-topic.js +2 -1
- package/dist/service/eventbridge/delivery/sim-event-bridge-target-role.d.ts +8 -3
- package/dist/service/eventbridge/delivery/sim-event-bridge-target-role.js +9 -3
- package/dist/service/eventbridge/sim-event-bridge.d.ts +1 -1
- package/dist/service/eventbridge/sim-event-bridge.js +3 -2
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts +2 -1
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js +2 -2
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts +2 -1
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js +2 -4
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts +1 -1
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js +4 -3
- package/dist/service/firehose/sim-firehose.d.ts +1 -1
- package/dist/service/firehose/sim-firehose.js +3 -2
- package/dist/service/glue/sim-glue.d.ts +1 -1
- package/dist/service/glue/sim-glue.js +3 -2
- package/dist/service/iam/authorize/context/sim-iam-auth-z-context-builder.d.ts +15 -11
- package/dist/service/iam/authorize/context/sim-iam-auth-z-context-builder.js +5 -18
- package/dist/service/iam/authorize/context/sim-iam-derived-conditions.d.ts +42 -0
- package/dist/service/iam/authorize/context/sim-iam-derived-conditions.js +44 -0
- package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js +2 -2
- package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js +2 -2
- package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-for-all-values-string-operator.d.ts +20 -0
- package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-for-all-values-string-operator.js +27 -0
- package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-for-any-value-string-operator.d.ts +21 -0
- package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-for-any-value-string-operator.js +28 -0
- package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-operator-factories.d.ts +5 -0
- package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-operator-factories.js +36 -0
- package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-scalar-string-operator.d.ts +20 -0
- package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-scalar-string-operator.js +29 -0
- package/dist/service/iam/authorize/match/condition/numeric/less-than-equals/sim-iam-number-lte.d.ts +1 -0
- package/dist/service/iam/authorize/match/condition/numeric/less-than-equals/sim-iam-number-lte.js +1 -0
- package/dist/service/iam/authorize/match/condition/sim-iam-condition-match.d.ts +26 -0
- package/dist/service/iam/authorize/match/condition/sim-iam-condition-match.js +1 -0
- package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js +2 -0
- package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator.d.ts +15 -0
- package/dist/service/iam/authorize/match/condition/sim-iam-policy-condition-matcher.d.ts +11 -3
- package/dist/service/iam/authorize/match/condition/sim-iam-policy-condition-matcher.js +29 -11
- package/dist/service/iam/authorize/match/condition/sim-iam-string-comparison.d.ts +24 -0
- package/dist/service/iam/authorize/match/condition/sim-iam-string-comparison.js +17 -0
- package/dist/service/iam/authorize/match/condition/string/all-values/sim-iam-for-all-values-string-condition-operator.d.ts +1 -0
- package/dist/service/iam/authorize/match/condition/string/all-values/sim-iam-for-all-values-string-condition-operator.js +1 -0
- package/dist/service/iam/authorize/match/condition/string/all-values/sim-iam-for-all-values-string-equals.js +2 -1
- package/dist/service/iam/authorize/match/condition/string/all-values/sim-iam-for-all-values-string-like.js +2 -4
- package/dist/service/iam/authorize/match/condition/string/any-value/sim-iam-for-any-value-string-condition-operator.d.ts +1 -0
- package/dist/service/iam/authorize/match/condition/string/any-value/sim-iam-for-any-value-string-condition-operator.js +1 -0
- package/dist/service/iam/authorize/match/condition/string/any-value/sim-iam-for-any-value-string-equals.js +2 -1
- package/dist/service/iam/authorize/match/condition/string/any-value/sim-iam-for-any-value-string-like.js +2 -4
- package/dist/service/iam/authorize/match/condition/string/equals/sim-iam-string-equals.js +2 -1
- package/dist/service/iam/authorize/match/condition/string/like/sim-iam-string-like.js +2 -4
- package/dist/service/iam/authorize/match/condition/string/sim-iam-scalar-string-condition-operator.d.ts +1 -0
- package/dist/service/iam/authorize/match/condition/string/sim-iam-scalar-string-condition-operator.js +1 -0
- package/dist/service/iam/authorize/match/sim-iam-policy-statement-matcher.d.ts +18 -1
- package/dist/service/iam/authorize/match/sim-iam-policy-statement-matcher.js +32 -4
- package/dist/service/iam/authorize/sim-iam-decision.d.ts +12 -0
- package/dist/service/iam/authorize/sim-iam-decision.js +14 -0
- package/dist/service/iam/authorize/sim-iam-region-auth-z.d.ts +31 -0
- package/dist/service/iam/authorize/sim-iam-region-auth-z.js +65 -0
- package/dist/service/iam/authorize/unevaluated/sim-iam-unevaluated-statement.type.d.ts +31 -0
- package/dist/service/iam/authorize/unevaluated/sim-iam-unevaluated-statement.type.js +1 -0
- package/dist/service/iam/authorize/unevaluated/sim-iam-unevaluated-statements.d.ts +31 -0
- package/dist/service/iam/authorize/unevaluated/sim-iam-unevaluated-statements.js +43 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts +2 -1
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js +2 -4
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts +2 -1
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js +3 -3
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts +2 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js +7 -7
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-creator.d.ts +2 -1
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-creator.js +8 -8
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-deleter.d.ts +2 -1
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-deleter.js +10 -12
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts +2 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js +12 -16
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js +8 -5
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts +2 -1
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js +11 -11
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts +4 -2
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js +17 -3
- package/dist/service/iam/command/sim-iam-command-handlers.js +6 -1
- package/dist/service/kinesis/cfn/sim-cfn-kinesis-resource-deleter.d.ts +2 -1
- package/dist/service/kinesis/cfn/sim-cfn-kinesis-resource-deleter.js +2 -2
- package/dist/service/kinesis/cfn/sim-kinesis-cfn-resource-factory.d.ts +1 -1
- package/dist/service/kinesis/cfn/sim-kinesis-cfn-resource-factory.js +4 -3
- package/dist/service/kinesis/cfn/stream/sim-cfn-kinesis-stream-creator.d.ts +2 -1
- package/dist/service/kinesis/cfn/stream/sim-cfn-kinesis-stream-creator.js +5 -7
- package/dist/service/kinesis/sim-kinesis.d.ts +1 -1
- package/dist/service/kinesis/sim-kinesis.js +3 -2
- package/dist/service/kms/cfn/alias/sim-cfn-kms-alias-creator.d.ts +2 -1
- package/dist/service/kms/cfn/alias/sim-cfn-kms-alias-creator.js +2 -2
- package/dist/service/kms/cfn/key/sim-cfn-kms-key-creator.d.ts +6 -6
- package/dist/service/kms/cfn/key/sim-cfn-kms-key-creator.js +11 -11
- package/dist/service/kms/cfn/sim-cfn-kms-resource-deleter.d.ts +2 -1
- package/dist/service/kms/cfn/sim-cfn-kms-resource-deleter.js +3 -5
- package/dist/service/kms/cfn/sim-cfn-kms-resource-factory.d.ts +2 -1
- package/dist/service/kms/cfn/sim-cfn-kms-resource-factory.js +6 -4
- package/dist/service/kms/sim-kms-commands.d.ts +1 -1
- package/dist/service/kms/sim-kms-commands.js +3 -2
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.d.ts +2 -1
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.js +2 -2
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts +2 -1
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js +2 -2
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts +2 -1
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js +2 -4
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts +2 -1
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js +2 -2
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts +2 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.js +3 -4
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.d.ts +2 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.js +2 -2
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.d.ts +2 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.js +2 -2
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts +2 -8
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +18 -38
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +2 -2
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +12 -9
- package/dist/service/lambda/cfn/url/sim-cfn-lambda-url-creator.d.ts +2 -1
- package/dist/service/lambda/cfn/url/sim-cfn-lambda-url-creator.js +2 -2
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.d.ts +2 -1
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.js +2 -2
- package/dist/service/lambda/serve/sim-lambda-url-router.js +2 -1
- package/dist/service/lambda/sim-lambda-commands.d.ts +1 -1
- package/dist/service/lambda/sim-lambda-commands.js +3 -2
- package/dist/service/logs/cfn/delivery/sim-cfn-delivery-creator.d.ts +3 -2
- package/dist/service/logs/cfn/delivery/sim-cfn-delivery-creator.js +4 -6
- package/dist/service/logs/cfn/delivery/sim-cfn-delivery-destination-creator.d.ts +3 -2
- package/dist/service/logs/cfn/delivery/sim-cfn-delivery-destination-creator.js +4 -6
- package/dist/service/logs/cfn/delivery/sim-cfn-delivery-source-creator.d.ts +3 -2
- package/dist/service/logs/cfn/delivery/sim-cfn-delivery-source-creator.js +4 -4
- package/dist/service/logs/cfn/sim-logs-cfn-resource-deleter.d.ts +2 -1
- package/dist/service/logs/cfn/sim-logs-cfn-resource-deleter.js +4 -4
- package/dist/service/logs/cfn/sim-logs-cfn-resource-factory.d.ts +2 -2
- package/dist/service/logs/cfn/sim-logs-cfn-resource-factory.js +7 -5
- package/dist/service/logs/sim-logs-commands.d.ts +1 -1
- package/dist/service/logs/sim-logs-commands.js +3 -2
- package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.js +2 -1
- package/dist/service/personalize/cfn/sim-cfn-personalize-dataset-creator.d.ts +3 -2
- package/dist/service/personalize/cfn/sim-cfn-personalize-dataset-creator.js +4 -6
- package/dist/service/personalize/cfn/sim-cfn-personalize-dataset-group-creator.d.ts +3 -2
- package/dist/service/personalize/cfn/sim-cfn-personalize-dataset-group-creator.js +4 -6
- package/dist/service/personalize/cfn/sim-cfn-personalize-event-tracker-creator.d.ts +3 -2
- package/dist/service/personalize/cfn/sim-cfn-personalize-event-tracker-creator.js +4 -6
- package/dist/service/personalize/cfn/sim-cfn-personalize-schema-creator.d.ts +3 -2
- package/dist/service/personalize/cfn/sim-cfn-personalize-schema-creator.js +4 -4
- package/dist/service/personalize/cfn/sim-cfn-personalize-solution-creator.d.ts +3 -2
- package/dist/service/personalize/cfn/sim-cfn-personalize-solution-creator.js +4 -6
- package/dist/service/personalize/cfn/sim-personalize-cfn-resource-factory.d.ts +2 -2
- package/dist/service/personalize/cfn/sim-personalize-cfn-resource-factory.js +7 -6
- package/dist/service/personalize/sim-personalize-data-operations.d.ts +1 -1
- package/dist/service/personalize/sim-personalize-data-operations.js +3 -2
- package/dist/service/rekognition/sim-rekognition.d.ts +1 -1
- package/dist/service/rekognition/sim-rekognition.js +3 -2
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.d.ts +3 -2
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.js +5 -5
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.d.ts +3 -2
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.js +4 -8
- package/dist/service/route53/cfn/hosted-zone/sim-cfn-r53-zone-creator.d.ts +2 -1
- package/dist/service/route53/cfn/hosted-zone/sim-cfn-r53-zone-creator.js +2 -2
- package/dist/service/route53/cfn/record-set/apply/sim-cfn-r53-record-set-applicator.d.ts +9 -1
- package/dist/service/route53/cfn/record-set/apply/sim-cfn-r53-record-set-applicator.js +23 -2
- package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.d.ts +5 -3
- package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.js +9 -28
- package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.js +9 -5
- package/dist/service/route53/sim-route53.d.ts +1 -1
- package/dist/service/route53/sim-route53.js +5 -2
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts +3 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js +6 -13
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts +2 -1
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js +3 -2
- package/dist/service/s3/cfn/bucket-policy/sim-cfn-s3-bucket-policy-creator.d.ts +2 -1
- package/dist/service/s3/cfn/bucket-policy/sim-cfn-s3-bucket-policy-creator.js +2 -2
- package/dist/service/s3/cfn/sim-cfn-s3-resource-deleter.d.ts +2 -1
- package/dist/service/s3/cfn/sim-cfn-s3-resource-deleter.js +3 -7
- package/dist/service/s3/cfn/sim-cfn-s3-resource-factory.d.ts +2 -2
- package/dist/service/s3/cfn/sim-cfn-s3-resource-factory.js +6 -4
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +2 -1
- package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic.js +2 -1
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.js +2 -1
- package/dist/service/s3/sim-s3-commands.d.ts +1 -1
- package/dist/service/s3/sim-s3-commands.js +3 -2
- package/dist/service/scheduler/cfn/sim-cfn-schedule-creator.d.ts +26 -0
- package/dist/service/scheduler/cfn/sim-cfn-schedule-creator.js +49 -0
- package/dist/service/scheduler/cfn/sim-cfn-schedule-group-creator.d.ts +31 -0
- package/dist/service/scheduler/cfn/sim-cfn-schedule-group-creator.js +48 -0
- package/dist/service/scheduler/cfn/sim-cfn-schedule-group-properties.d.ts +26 -0
- package/dist/service/scheduler/cfn/sim-cfn-schedule-group-properties.js +68 -0
- package/dist/service/scheduler/cfn/sim-cfn-schedule-properties.js +4 -10
- package/dist/service/scheduler/cfn/sim-cfn-scheduler-resource-error.d.ts +14 -3
- package/dist/service/scheduler/cfn/sim-cfn-scheduler-resource-error.js +28 -6
- package/dist/service/scheduler/cfn/sim-cfn-scheduler-resource-lookup.d.ts +10 -4
- package/dist/service/scheduler/cfn/sim-cfn-scheduler-resource-lookup.js +9 -6
- package/dist/service/scheduler/cfn/sim-scheduler-cfn-resource-factory.d.ts +6 -8
- package/dist/service/scheduler/cfn/sim-scheduler-cfn-resource-factory.js +20 -33
- package/dist/service/scheduler/command/authorize/sim-scheduler-authorizer.d.ts +9 -8
- package/dist/service/scheduler/command/authorize/sim-scheduler-authorizer.js +14 -15
- package/dist/service/scheduler/command/group/group.command.d.ts +90 -0
- package/dist/service/scheduler/command/group/group.command.js +1 -0
- package/dist/service/scheduler/command/group/sim-scheduler-described-group.d.ts +15 -0
- package/dist/service/scheduler/command/group/sim-scheduler-described-group.js +29 -0
- package/dist/service/scheduler/command/group/sim-scheduler-group-access.d.ts +57 -0
- package/dist/service/scheduler/command/group/sim-scheduler-group-access.js +70 -0
- package/dist/service/scheduler/command/group/sim-scheduler-group-commands.d.ts +46 -0
- package/dist/service/scheduler/command/group/sim-scheduler-group-commands.js +72 -0
- package/dist/service/scheduler/command/group/sim-scheduler-listed-groups.d.ts +6 -0
- package/dist/service/scheduler/command/group/sim-scheduler-listed-groups.js +10 -0
- package/dist/service/scheduler/command/group/sim-scheduler-unsimulated-group-input.d.ts +14 -0
- package/dist/service/scheduler/command/group/sim-scheduler-unsimulated-group-input.js +19 -0
- package/dist/service/scheduler/command/schedule/sim-scheduler-create-schedule.js +1 -0
- package/dist/service/scheduler/command/schedule/sim-scheduler-schedule-access.d.ts +16 -0
- package/dist/service/scheduler/command/schedule/sim-scheduler-schedule-access.js +23 -3
- package/dist/service/scheduler/command/sim-scheduler-command.types.d.ts +1 -0
- package/dist/service/scheduler/command/sim-scheduler-commands.d.ts +4 -0
- package/dist/service/scheduler/command/sim-scheduler-commands.js +14 -1
- package/dist/service/scheduler/delivery/sim-aws-scheduler-delivery-targets.js +1 -1
- package/dist/service/scheduler/delivery/sim-scheduler-delivery-function.js +2 -1
- package/dist/service/scheduler/delivery/sim-scheduler-delivery-queue.js +2 -1
- package/dist/service/scheduler/delivery/sim-scheduler-delivery-topic.js +2 -1
- package/dist/service/scheduler/delivery/sim-scheduler-execution-role.d.ts +9 -3
- package/dist/service/scheduler/delivery/sim-scheduler-execution-role.js +10 -3
- package/dist/service/scheduler/group/sim-scheduler-schedule-group-arn.d.ts +11 -0
- package/dist/service/scheduler/group/sim-scheduler-schedule-group-arn.js +13 -0
- package/dist/service/scheduler/group/sim-scheduler-schedule-group-store.d.ts +46 -0
- package/dist/service/scheduler/group/sim-scheduler-schedule-group-store.js +65 -0
- package/dist/service/scheduler/group/sim-scheduler-schedule-group.d.ts +25 -0
- package/dist/service/scheduler/group/sim-scheduler-schedule-group.js +32 -0
- package/dist/service/scheduler/index.d.ts +2 -0
- package/dist/service/scheduler/index.js +2 -0
- package/dist/service/scheduler/schedule/sim-scheduler-schedule-name.d.ts +11 -9
- package/dist/service/scheduler/schedule/sim-scheduler-schedule-name.js +15 -18
- package/dist/service/scheduler/schedule/sim-scheduler-schedule-store.d.ts +7 -0
- package/dist/service/scheduler/schedule/sim-scheduler-schedule-store.js +13 -0
- package/dist/service/scheduler/schedule/sim-scheduler-schedule.d.ts +13 -0
- package/dist/service/scheduler/schedule/sim-scheduler-schedule.js +16 -0
- package/dist/service/scheduler/sdk/sim-scheduler-sdk-command-router.js +16 -0
- package/dist/service/scheduler/sim-scheduler-inspection.d.ts +14 -0
- package/dist/service/scheduler/sim-scheduler-inspection.js +15 -0
- package/dist/service/scheduler/sim-scheduler.d.ts +19 -1
- package/dist/service/scheduler/sim-scheduler.js +38 -2
- package/dist/service/secretsmanager/cfn/secret/sim-cfn-secrets-manager-secret-creator.d.ts +2 -1
- package/dist/service/secretsmanager/cfn/secret/sim-cfn-secrets-manager-secret-creator.js +2 -2
- package/dist/service/secretsmanager/cfn/sim-cfn-secrets-manager-resource-factory.d.ts +2 -2
- package/dist/service/secretsmanager/cfn/sim-cfn-secrets-manager-resource-factory.js +4 -5
- package/dist/service/secretsmanager/sim-secrets-manager.d.ts +1 -1
- package/dist/service/secretsmanager/sim-secrets-manager.js +3 -2
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.d.ts +3 -2
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.js +4 -4
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts +3 -2
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js +4 -8
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts +2 -2
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js +7 -6
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.d.ts +3 -2
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.js +4 -8
- package/dist/service/ses/sim-ses-commands.d.ts +1 -1
- package/dist/service/ses/sim-ses-commands.js +3 -2
- package/dist/service/sns/cfn/sim-cfn-sns-resource-deleter.d.ts +5 -8
- package/dist/service/sns/cfn/sim-cfn-sns-resource-deleter.js +10 -28
- package/dist/service/sns/cfn/sim-sns-cfn-resource-factory.js +10 -5
- package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-creator.d.ts +2 -1
- package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-creator.js +2 -2
- package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-creator.d.ts +2 -1
- package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-creator.js +5 -7
- package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-creator.d.ts +9 -1
- package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-creator.js +20 -4
- package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js +2 -1
- package/dist/service/sns/delivery/sqs/sim-sns-delivery-queue.js +2 -1
- package/dist/service/sns/sim-sns.d.ts +1 -1
- package/dist/service/sns/sim-sns.js +3 -2
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts +2 -1
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js +2 -4
- package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts +2 -1
- package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js +4 -4
- package/dist/service/sqs/cfn/sim-cfn-sqs-resource-deleter.d.ts +2 -1
- package/dist/service/sqs/cfn/sim-cfn-sqs-resource-deleter.js +7 -7
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +5 -3
- package/dist/service/sqs/sim-sqs.d.ts +1 -1
- package/dist/service/sqs/sim-sqs.js +3 -2
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-creator.d.ts +2 -1
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-creator.js +2 -2
- package/dist/service/ssm/cfn/sim-cfn-ssm-resource-factory.d.ts +2 -2
- package/dist/service/ssm/cfn/sim-cfn-ssm-resource-factory.js +4 -3
- package/dist/service/ssm/sim-ssm.d.ts +1 -1
- package/dist/service/ssm/sim-ssm.js +3 -2
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.d.ts +2 -1
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.js +2 -4
- package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.d.ts +1 -1
- package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.js +4 -3
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.d.ts +2 -1
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.js +2 -2
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +2 -4
- package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts +3 -3
- package/dist/service/stepfunctions/task/sim-states-execution-role.js +4 -3
- package/dist/service/stepfunctions/task/sim-states-task-function.js +2 -1
- package/dist/service/sts/auth-z/assume-role-auth-z-coordinator.d.ts +3 -0
- package/dist/service/sts/auth-z/assume-role-auth-z-coordinator.js +2 -7
- package/dist/service/sts/auth-z/assume-role-source-account-auth-z.d.ts +6 -0
- package/dist/service/sts/auth-z/assume-role-source-account-auth-z.js +3 -0
- package/dist/service/sts/auth-z/assume-role-target-auth-z.d.ts +6 -0
- package/dist/service/sts/auth-z/assume-role-target-auth-z.js +3 -0
- package/dist/service/sts/auth-z/assume-role-trust-policy-authorizer.d.ts +6 -0
- package/dist/service/sts/auth-z/assume-role-trust-policy-authorizer.js +1 -0
- package/dist/service/sts/command/assume-role/assume-role.handler.d.ts +5 -0
- package/dist/service/sts/command/assume-role/assume-role.handler.js +2 -1
- package/dist/service/sts/service-role/sim-service-role-source.d.ts +33 -0
- package/dist/service/sts/service-role/sim-service-role-source.js +26 -0
- package/dist/service/sts/service-role/sim-service-role-target.d.ts +26 -0
- package/dist/service/sts/service-role/sim-service-role-target.js +27 -0
- package/dist/service/sts/service-role/sim-service-role.d.ts +16 -20
- package/dist/service/sts/service-role/sim-service-role.js +7 -21
- package/dist/service/sts/sim-sts.js +1 -0
- package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-creator.d.ts +3 -2
- package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-creator.js +4 -6
- package/dist/service/wafv2/cfn/ip-set/sim-cfn-waf-ip-set-creator.d.ts +3 -2
- package/dist/service/wafv2/cfn/ip-set/sim-cfn-waf-ip-set-creator.js +4 -4
- package/dist/service/wafv2/cfn/regex-pattern-set/sim-cfn-waf-regex-set-creator.d.ts +3 -2
- package/dist/service/wafv2/cfn/regex-pattern-set/sim-cfn-waf-regex-set-creator.js +4 -4
- package/dist/service/wafv2/cfn/sim-cfn-waf-resource-deleter.d.ts +2 -1
- package/dist/service/wafv2/cfn/sim-cfn-waf-resource-deleter.js +5 -5
- package/dist/service/wafv2/cfn/sim-waf-cfn-resource-factory.d.ts +2 -2
- package/dist/service/wafv2/cfn/sim-waf-cfn-resource-factory.js +8 -6
- package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-creator.d.ts +3 -2
- package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-creator.js +4 -6
- package/dist/service/wafv2/sim-wafv2-commands.d.ts +1 -1
- package/dist/service/wafv2/sim-wafv2-commands.js +3 -2
- package/dist/util/clock/sim-clock-control.d.ts +3 -1
- package/dist/util/clock/sim-clock-control.js +2 -0
- package/dist/util/clock/sim-controllable-clock.d.ts +3 -1
- package/dist/util/clock/sim-controllable-clock.js +2 -0
- package/dist/util/clock/sim-duration.d.ts +6 -2
- package/dist/util/clock/sim-duration.js +8 -1
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ export class SimCfnRoute53KskCreator {
|
|
|
17
17
|
/**
|
|
18
18
|
* Create a key-signing key from an AWS::Route53::KeySigningKey Resource.
|
|
19
19
|
*/
|
|
20
|
-
async create(resource, properties) {
|
|
20
|
+
async create(resource, properties, options) {
|
|
21
21
|
const hostedZoneId = this.string(resource, properties["HostedZoneId"], "HostedZoneId");
|
|
22
22
|
const name = this.string(resource, properties["Name"], "Name");
|
|
23
23
|
await this.route53.createKeySigningKey({
|
|
@@ -28,7 +28,7 @@ export class SimCfnRoute53KskCreator {
|
|
|
28
28
|
Name: name,
|
|
29
29
|
Status: this.string(resource, properties["Status"], "Status"),
|
|
30
30
|
},
|
|
31
|
-
});
|
|
31
|
+
}, options);
|
|
32
32
|
const keySigningKey = this.route53.hostedZones
|
|
33
33
|
.get(normalizeSimRoute53HostedZoneId(hostedZoneId))
|
|
34
34
|
?.dnssec.keys()
|
|
@@ -43,13 +43,13 @@ export class SimCfnRoute53KskCreator {
|
|
|
43
43
|
* active would otherwise be undeployable, so it is deactivated first. Real
|
|
44
44
|
* CloudFormation does the same thing on its way to removing the Resource.
|
|
45
45
|
*/
|
|
46
|
-
async delete(resource, properties) {
|
|
46
|
+
async delete(resource, properties, options) {
|
|
47
47
|
const input = {
|
|
48
48
|
HostedZoneId: this.string(resource, properties["HostedZoneId"], "HostedZoneId"),
|
|
49
49
|
Name: this.string(resource, properties["Name"], "Name"),
|
|
50
50
|
};
|
|
51
|
-
await this.route53.deactivateKeySigningKey({ input });
|
|
52
|
-
await this.route53.deleteKeySigningKey({ input });
|
|
51
|
+
await this.route53.deactivateKeySigningKey({ input }, options);
|
|
52
|
+
await this.route53.deleteKeySigningKey({ input }, options);
|
|
53
53
|
}
|
|
54
54
|
string(resource, value, name) {
|
|
55
55
|
return simCfnRoute53String(resource, value, resourceType, name);
|
|
@@ -2,6 +2,7 @@ import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-re
|
|
|
2
2
|
import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
3
3
|
import type { SimRoute53HostedZone } from "../../hosted-zone/sim-route53-hosted-zone.js";
|
|
4
4
|
import type { SimRoute53 } from "../../sim-route53.js";
|
|
5
|
+
import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
5
6
|
interface SimCfnRoute53ZoneSigningCreatorProperties {
|
|
6
7
|
readonly route53: SimRoute53;
|
|
7
8
|
}
|
|
@@ -19,11 +20,11 @@ export declare class SimCfnRoute53ZoneSigningCreator {
|
|
|
19
20
|
/**
|
|
20
21
|
* Start signing the zone an AWS::Route53::DNSSEC Resource names.
|
|
21
22
|
*/
|
|
22
|
-
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimRoute53HostedZone>;
|
|
23
|
+
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimRoute53HostedZone>;
|
|
23
24
|
/**
|
|
24
25
|
* Stop signing the zone as the Resource is removed.
|
|
25
26
|
*/
|
|
26
|
-
delete(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<void>;
|
|
27
|
+
delete(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<void>;
|
|
27
28
|
private hostedZoneId;
|
|
28
29
|
}
|
|
29
30
|
export {};
|
|
@@ -18,11 +18,9 @@ export class SimCfnRoute53ZoneSigningCreator {
|
|
|
18
18
|
/**
|
|
19
19
|
* Start signing the zone an AWS::Route53::DNSSEC Resource names.
|
|
20
20
|
*/
|
|
21
|
-
async create(resource, properties) {
|
|
21
|
+
async create(resource, properties, options) {
|
|
22
22
|
const hostedZoneId = this.hostedZoneId(resource, properties);
|
|
23
|
-
await this.route53.enableHostedZoneDnssec({
|
|
24
|
-
input: { HostedZoneId: hostedZoneId },
|
|
25
|
-
});
|
|
23
|
+
await this.route53.enableHostedZoneDnssec({ input: { HostedZoneId: hostedZoneId } }, options);
|
|
26
24
|
const hostedZone = this.route53.hostedZones.get(normalizeSimRoute53HostedZoneId(hostedZoneId));
|
|
27
25
|
assertDefined(hostedZone, `sim Route53 Hosted Zone ${hostedZoneId} after enabling DNSSEC`);
|
|
28
26
|
return hostedZone;
|
|
@@ -30,10 +28,8 @@ export class SimCfnRoute53ZoneSigningCreator {
|
|
|
30
28
|
/**
|
|
31
29
|
* Stop signing the zone as the Resource is removed.
|
|
32
30
|
*/
|
|
33
|
-
async delete(resource, properties) {
|
|
34
|
-
await this.route53.disableHostedZoneDnssec({
|
|
35
|
-
input: { HostedZoneId: this.hostedZoneId(resource, properties) },
|
|
36
|
-
});
|
|
31
|
+
async delete(resource, properties, options) {
|
|
32
|
+
await this.route53.disableHostedZoneDnssec({ input: { HostedZoneId: this.hostedZoneId(resource, properties) } }, options);
|
|
37
33
|
}
|
|
38
34
|
hostedZoneId(resource, properties) {
|
|
39
35
|
return simCfnRoute53String(resource, properties["HostedZoneId"], resourceType, "HostedZoneId");
|
|
@@ -2,6 +2,7 @@ import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-re
|
|
|
2
2
|
import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
3
3
|
import type { SimRoute53HostedZone } from "../../hosted-zone/sim-route53-hosted-zone.js";
|
|
4
4
|
import type { SimRoute53 } from "../../sim-route53.js";
|
|
5
|
+
import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
5
6
|
interface SimCfnRoute53HostedZoneCreatorProperties {
|
|
6
7
|
readonly route53: SimRoute53;
|
|
7
8
|
}
|
|
@@ -14,7 +15,7 @@ export declare class SimCfnRoute53HostedZoneCreator {
|
|
|
14
15
|
/**
|
|
15
16
|
* Create a simulated Hosted Zone from an AWS::Route53::HostedZone Resource.
|
|
16
17
|
*/
|
|
17
|
-
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimRoute53HostedZone>;
|
|
18
|
+
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimRoute53HostedZone>;
|
|
18
19
|
private hostedZoneConfigComment;
|
|
19
20
|
private hostedZoneConfigPrivateZone;
|
|
20
21
|
}
|
|
@@ -11,7 +11,7 @@ export class SimCfnRoute53HostedZoneCreator {
|
|
|
11
11
|
/**
|
|
12
12
|
* Create a simulated Hosted Zone from an AWS::Route53::HostedZone Resource.
|
|
13
13
|
*/
|
|
14
|
-
async create(resource, properties) {
|
|
14
|
+
async create(resource, properties, options) {
|
|
15
15
|
const name = properties["Name"];
|
|
16
16
|
if (typeof name !== "string") {
|
|
17
17
|
throw new TypeError(`Invalid AWS::Route53::HostedZone ${resource.logicalId}: Name must be a string`);
|
|
@@ -34,7 +34,7 @@ export class SimCfnRoute53HostedZoneCreator {
|
|
|
34
34
|
CallerReference: resource.logicalId,
|
|
35
35
|
HostedZoneConfig: route53HostedZoneConfig,
|
|
36
36
|
},
|
|
37
|
-
});
|
|
37
|
+
}, options);
|
|
38
38
|
const hostedZoneId = hostedZoneCreation.HostedZone?.Id;
|
|
39
39
|
assertIsSimRoute53HostedZoneId(hostedZoneId);
|
|
40
40
|
const hostedZone = this.route53.hostedZones.get(hostedZoneId);
|
|
@@ -2,6 +2,7 @@ import type { SimCfnResource } from "../../../../cloudformation/resource/sim-cfn
|
|
|
2
2
|
import type { SimCfnTemplateValueRecord } from "../../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
3
3
|
import type { SimRoute53Record } from "../../../record/sim-route53-record.js";
|
|
4
4
|
import type { SimRoute53 } from "../../../sim-route53.js";
|
|
5
|
+
import type { SimCfnResourceCallerOptions } from "../../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
5
6
|
interface SimCfnRoute53RecordSetApplicatorProperties {
|
|
6
7
|
readonly route53: SimRoute53;
|
|
7
8
|
}
|
|
@@ -15,6 +16,13 @@ export declare class SimCfnRoute53RecordSetApplicator {
|
|
|
15
16
|
/**
|
|
16
17
|
* Create a simulated Record Set from an AWS::Route53::RecordSet Resource.
|
|
17
18
|
*/
|
|
18
|
-
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimRoute53Record>;
|
|
19
|
+
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimRoute53Record>;
|
|
20
|
+
/**
|
|
21
|
+
* Remove the Record Set a Resource created.
|
|
22
|
+
*
|
|
23
|
+
* Route53 only takes changes, so this is a ChangeResourceRecordSets carrying
|
|
24
|
+
* a DELETE change built from the same template properties that created it.
|
|
25
|
+
*/
|
|
26
|
+
delete(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<void>;
|
|
19
27
|
}
|
|
20
28
|
export {};
|
|
@@ -16,7 +16,7 @@ export class SimCfnRoute53RecordSetApplicator {
|
|
|
16
16
|
/**
|
|
17
17
|
* Create a simulated Record Set from an AWS::Route53::RecordSet Resource.
|
|
18
18
|
*/
|
|
19
|
-
async create(resource, properties) {
|
|
19
|
+
async create(resource, properties, options) {
|
|
20
20
|
// The record set is built first because resolving the Hosted Zone can
|
|
21
21
|
// register one, and a RecordSet that turns out to be unbuildable or of a
|
|
22
22
|
// skipped record type would otherwise leave that zone behind.
|
|
@@ -37,7 +37,7 @@ export class SimCfnRoute53RecordSetApplicator {
|
|
|
37
37
|
],
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
|
-
});
|
|
40
|
+
}, options);
|
|
41
41
|
const hostedZone = this.route53.hostedZones.get(hostedZoneId);
|
|
42
42
|
assertDefined(hostedZone, "Sim Route53 Hosted Zone after update");
|
|
43
43
|
await hostedZone.waitForSynchronizationComplete();
|
|
@@ -45,4 +45,25 @@ export class SimCfnRoute53RecordSetApplicator {
|
|
|
45
45
|
assertDefined(record, "Sim Route53 Record after update");
|
|
46
46
|
return record;
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Remove the Record Set a Resource created.
|
|
50
|
+
*
|
|
51
|
+
* Route53 only takes changes, so this is a ChangeResourceRecordSets carrying
|
|
52
|
+
* a DELETE change built from the same template properties that created it.
|
|
53
|
+
*/
|
|
54
|
+
async delete(resource, properties, options) {
|
|
55
|
+
const hostedZoneId = this.hostedZoneResolver.hostedZoneId(resource, properties);
|
|
56
|
+
const recordSet = new SimCfnRoute53RecordSetBuilder(resource, properties).build();
|
|
57
|
+
await this.route53.changeResourceRecordSets({
|
|
58
|
+
input: {
|
|
59
|
+
HostedZoneId: hostedZoneId,
|
|
60
|
+
ChangeBatch: {
|
|
61
|
+
Changes: [{ Action: "DELETE", ResourceRecordSet: recordSet }],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
}, options);
|
|
65
|
+
await this.route53.hostedZones
|
|
66
|
+
.get(hostedZoneId)
|
|
67
|
+
?.waitForSynchronizationComplete();
|
|
68
|
+
}
|
|
48
69
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import type { SimCfnResource } from "../../cloudformation/resource/sim-cfn-resource.js";
|
|
2
2
|
import type { SimCfnTemplateValueRecord } from "../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
3
3
|
import type { SimRoute53 } from "../sim-route53.js";
|
|
4
|
+
import type { SimCfnRoute53RecordSetApplicator } from "./record-set/apply/sim-cfn-r53-record-set-applicator.js";
|
|
4
5
|
import type { SimCfnRoute53KskCreator } from "./dnssec/sim-cfn-r53-ksk-creator.js";
|
|
5
6
|
import type { SimCfnRoute53ZoneSigningCreator } from "./dnssec/sim-cfn-r53-zone-signing-creator.js";
|
|
7
|
+
import type { SimCfnResourceCallerOptions } from "../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
6
8
|
interface SimCfnRoute53ResourceDeleterProperties {
|
|
7
9
|
readonly route53: SimRoute53;
|
|
10
|
+
readonly recordSetCreator: SimCfnRoute53RecordSetApplicator;
|
|
8
11
|
readonly keySigningKeyCreator: SimCfnRoute53KskCreator;
|
|
9
12
|
readonly zoneSigningCreator: SimCfnRoute53ZoneSigningCreator;
|
|
10
13
|
}
|
|
@@ -24,15 +27,14 @@ interface SimCfnRoute53ResourceDeleterProperties {
|
|
|
24
27
|
*/
|
|
25
28
|
export declare class SimCfnRoute53ResourceDeleter {
|
|
26
29
|
private readonly route53;
|
|
30
|
+
private readonly recordSetCreator;
|
|
27
31
|
private readonly keySigningKeyCreator;
|
|
28
32
|
private readonly zoneSigningCreator;
|
|
29
|
-
private readonly hostedZoneResolver;
|
|
30
33
|
constructor(properties: SimCfnRoute53ResourceDeleterProperties);
|
|
31
34
|
/**
|
|
32
35
|
* Delete a simulated Route53 resource created from a CloudFormation Resource.
|
|
33
36
|
*/
|
|
34
|
-
delete(resourceTypeName: string, resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<void>;
|
|
37
|
+
delete(resourceTypeName: string, resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<void>;
|
|
35
38
|
private deleteHostedZone;
|
|
36
|
-
private deleteRecordSet;
|
|
37
39
|
}
|
|
38
40
|
export {};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { SimCfnRoute53RecordSetBuilder } from "./record-set/build/sim-cfn-r53-record-set-builder.js";
|
|
2
|
-
import { SimCfnRoute53RecordSetHostedZoneResolver } from "./record-set/resolve/sim-cfn-r53-rec-set-zone-resolver.js";
|
|
3
1
|
import { assertDefined } from "../../../util/type-guard/defined.js";
|
|
4
2
|
/**
|
|
5
3
|
* Deletes the simulated Route53 resources a CloudFormation Stack created.
|
|
@@ -17,36 +15,34 @@ import { assertDefined } from "../../../util/type-guard/defined.js";
|
|
|
17
15
|
*/
|
|
18
16
|
export class SimCfnRoute53ResourceDeleter {
|
|
19
17
|
route53;
|
|
18
|
+
recordSetCreator;
|
|
20
19
|
keySigningKeyCreator;
|
|
21
20
|
zoneSigningCreator;
|
|
22
|
-
hostedZoneResolver;
|
|
23
21
|
constructor(properties) {
|
|
24
22
|
this.route53 = properties.route53;
|
|
23
|
+
this.recordSetCreator = properties.recordSetCreator;
|
|
25
24
|
this.keySigningKeyCreator = properties.keySigningKeyCreator;
|
|
26
25
|
this.zoneSigningCreator = properties.zoneSigningCreator;
|
|
27
|
-
this.hostedZoneResolver = new SimCfnRoute53RecordSetHostedZoneResolver({
|
|
28
|
-
route53: this.route53,
|
|
29
|
-
});
|
|
30
26
|
}
|
|
31
27
|
/**
|
|
32
28
|
* Delete a simulated Route53 resource created from a CloudFormation Resource.
|
|
33
29
|
*/
|
|
34
|
-
async delete(resourceTypeName, resource, properties) {
|
|
30
|
+
async delete(resourceTypeName, resource, properties, options) {
|
|
35
31
|
switch (resourceTypeName) {
|
|
36
32
|
case "HostedZone": {
|
|
37
|
-
await this.deleteHostedZone(resource);
|
|
33
|
+
await this.deleteHostedZone(resource, options);
|
|
38
34
|
return;
|
|
39
35
|
}
|
|
40
36
|
case "RecordSet": {
|
|
41
|
-
await this.
|
|
37
|
+
await this.recordSetCreator.delete(resource, properties, options);
|
|
42
38
|
return;
|
|
43
39
|
}
|
|
44
40
|
case "KeySigningKey": {
|
|
45
|
-
await this.keySigningKeyCreator.delete(resource, properties);
|
|
41
|
+
await this.keySigningKeyCreator.delete(resource, properties, options);
|
|
46
42
|
return;
|
|
47
43
|
}
|
|
48
44
|
case "DNSSEC": {
|
|
49
|
-
await this.zoneSigningCreator.delete(resource, properties);
|
|
45
|
+
await this.zoneSigningCreator.delete(resource, properties, options);
|
|
50
46
|
return;
|
|
51
47
|
}
|
|
52
48
|
default: {
|
|
@@ -54,24 +50,9 @@ export class SimCfnRoute53ResourceDeleter {
|
|
|
54
50
|
}
|
|
55
51
|
}
|
|
56
52
|
}
|
|
57
|
-
async deleteHostedZone(resource) {
|
|
53
|
+
async deleteHostedZone(resource, options) {
|
|
58
54
|
const hostedZone = resource.simResource;
|
|
59
55
|
assertDefined(hostedZone, `sim Route53 Hosted Zone for CloudFormation Resource ${resource.logicalId}`);
|
|
60
|
-
await this.route53.deleteHostedZone({ input: { Id: hostedZone.id } });
|
|
61
|
-
}
|
|
62
|
-
async deleteRecordSet(resource, properties) {
|
|
63
|
-
const hostedZoneId = this.hostedZoneResolver.hostedZoneId(resource, properties);
|
|
64
|
-
const recordSet = new SimCfnRoute53RecordSetBuilder(resource, properties).build();
|
|
65
|
-
await this.route53.changeResourceRecordSets({
|
|
66
|
-
input: {
|
|
67
|
-
HostedZoneId: hostedZoneId,
|
|
68
|
-
ChangeBatch: {
|
|
69
|
-
Changes: [{ Action: "DELETE", ResourceRecordSet: recordSet }],
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
});
|
|
73
|
-
await this.route53.hostedZones
|
|
74
|
-
.get(hostedZoneId)
|
|
75
|
-
?.waitForSynchronizationComplete();
|
|
56
|
+
await this.route53.deleteHostedZone({ input: { Id: hostedZone.id } }, options);
|
|
76
57
|
}
|
|
77
58
|
}
|
|
@@ -4,6 +4,7 @@ import { SimCfnRoute53RecordSetApplicator } from "./record-set/apply/sim-cfn-r53
|
|
|
4
4
|
import { SimCfnRoute53KskCreator } from "./dnssec/sim-cfn-r53-ksk-creator.js";
|
|
5
5
|
import { SimCfnRoute53ZoneSigningCreator } from "./dnssec/sim-cfn-r53-zone-signing-creator.js";
|
|
6
6
|
import { SimCfnRoute53ResourceDeleter } from "./sim-cfn-route53-resource-deleter.js";
|
|
7
|
+
import { simCfnResourceCallerOptions } from "../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
7
8
|
/**
|
|
8
9
|
* CloudFormation Resource factory for simulated Route53 resources.
|
|
9
10
|
*/
|
|
@@ -21,6 +22,7 @@ export class SimRoute53CloudFormationResourceFactory {
|
|
|
21
22
|
this.zoneSigningCreator = new SimCfnRoute53ZoneSigningCreator({ route53 });
|
|
22
23
|
this.deleter = new SimCfnRoute53ResourceDeleter({
|
|
23
24
|
route53,
|
|
25
|
+
recordSetCreator: this.recordSetCreator,
|
|
24
26
|
keySigningKeyCreator: this.keySigningKeyCreator,
|
|
25
27
|
zoneSigningCreator: this.zoneSigningCreator,
|
|
26
28
|
});
|
|
@@ -29,18 +31,20 @@ export class SimRoute53CloudFormationResourceFactory {
|
|
|
29
31
|
* Create a simulated Route53 resource from a CloudFormation Resource.
|
|
30
32
|
*/
|
|
31
33
|
async create(resourceTypeName, resource, context) {
|
|
34
|
+
const properties = context.resolvedProperties ?? resource.properties;
|
|
35
|
+
const options = simCfnResourceCallerOptions(context.caller);
|
|
32
36
|
switch (resourceTypeName) {
|
|
33
37
|
case "HostedZone": {
|
|
34
|
-
return await this.hostedZoneCreator.create(resource,
|
|
38
|
+
return await this.hostedZoneCreator.create(resource, properties, options);
|
|
35
39
|
}
|
|
36
40
|
case "RecordSet": {
|
|
37
|
-
return await this.recordSetCreator.create(resource,
|
|
41
|
+
return await this.recordSetCreator.create(resource, properties, options);
|
|
38
42
|
}
|
|
39
43
|
case "KeySigningKey": {
|
|
40
|
-
return await this.keySigningKeyCreator.create(resource,
|
|
44
|
+
return await this.keySigningKeyCreator.create(resource, properties, options);
|
|
41
45
|
}
|
|
42
46
|
case "DNSSEC": {
|
|
43
|
-
return await this.zoneSigningCreator.create(resource,
|
|
47
|
+
return await this.zoneSigningCreator.create(resource, properties, options);
|
|
44
48
|
}
|
|
45
49
|
default: {
|
|
46
50
|
throw new Error(`Unsupported sim Route53 CloudFormation Resource ${resourceTypeName}`);
|
|
@@ -51,6 +55,6 @@ export class SimRoute53CloudFormationResourceFactory {
|
|
|
51
55
|
* Delete a simulated Route53 resource created from a CloudFormation Resource.
|
|
52
56
|
*/
|
|
53
57
|
async delete(resourceTypeName, resource, context) {
|
|
54
|
-
await this.deleter.delete(resourceTypeName, resource, context.resolvedProperties ?? resource.properties);
|
|
58
|
+
await this.deleter.delete(resourceTypeName, resource, context.resolvedProperties ?? resource.properties, simCfnResourceCallerOptions(context.caller));
|
|
55
59
|
}
|
|
56
60
|
}
|
|
@@ -7,7 +7,7 @@ import type { SimRoute53HostedZoneId } from "./command/create-hosted-zone/sim-ro
|
|
|
7
7
|
import { type BackgroundScheduler } from "../../util/background/background.js";
|
|
8
8
|
import type { SimCfnServiceResourceFactory } from "../cloudformation/resource/factory/sim-cfn-resource-factory.type.js";
|
|
9
9
|
import { SimRoute53Registry } from "./registry/sim-route53-registry.js";
|
|
10
|
-
import {
|
|
10
|
+
import type { SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
11
11
|
import type { SimSdkCommandRouter } from "../../sdk/index.js";
|
|
12
12
|
import type { SimKmsKeyResolver } from "../kms/registry/sim-kms-registry.js";
|
|
13
13
|
import type { SimRoute53RequestOptions } from "./sim-route53-request-options.js";
|
|
@@ -3,7 +3,7 @@ import { registerSimRoute53HostedZone, } from "./hosted-zone/register-sim-route5
|
|
|
3
3
|
import { BackgroundTasks, } from "../../util/background/background.js";
|
|
4
4
|
import { SimRoute53CloudFormationResourceFactory } from "./cfn/sim-cfn-route53-resource-factory.js";
|
|
5
5
|
import { SimRoute53Registry } from "./registry/sim-route53-registry.js";
|
|
6
|
-
import {
|
|
6
|
+
import { simIamGlobalServiceRegion, simIamInRegion, } from "../iam/authorize/sim-iam-region-auth-z.js";
|
|
7
7
|
import { SimRoute53SdkCommandRouter } from "./sdk/sim-route53-sdk-command-router.js";
|
|
8
8
|
import { SimRoute53Commands } from "./sim-route53-commands.js";
|
|
9
9
|
/**
|
|
@@ -19,7 +19,10 @@ export class SimRoute53 {
|
|
|
19
19
|
resolver;
|
|
20
20
|
commands;
|
|
21
21
|
constructor(properties = {}) {
|
|
22
|
-
const {
|
|
22
|
+
const { background = new BackgroundTasks(), route53Registry = new SimRoute53Registry(), } = properties;
|
|
23
|
+
// Route53 is global rather than Region-scoped, so its requests are made in
|
|
24
|
+
// the Region its one endpoint is in.
|
|
25
|
+
const iam = simIamInRegion(properties.iam, simIamGlobalServiceRegion);
|
|
23
26
|
this.route53Registry = route53Registry;
|
|
24
27
|
this.resolver = new SimRoute53Resolver({
|
|
25
28
|
hostedZones: route53Registry.hostedZones,
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-resource.js";
|
|
2
2
|
import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
3
3
|
import type { SimS3 } from "../../sim-s3.js";
|
|
4
|
+
import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
4
5
|
interface SimCfnS3BucketConfiguratorProperties {
|
|
5
6
|
readonly simS3: SimS3;
|
|
6
7
|
readonly resource: SimCfnResource;
|
|
7
8
|
readonly properties: SimCfnTemplateValueRecord;
|
|
8
9
|
readonly bucketName: string;
|
|
10
|
+
readonly options?: SimCfnResourceCallerOptions;
|
|
9
11
|
}
|
|
10
12
|
/**
|
|
11
13
|
* Applies the configurations an AWS::S3::Bucket Resource declares to the
|
|
@@ -19,6 +21,7 @@ export declare class SimCfnS3BucketConfigurator {
|
|
|
19
21
|
private readonly resource;
|
|
20
22
|
private readonly properties;
|
|
21
23
|
private readonly bucketName;
|
|
24
|
+
private readonly options;
|
|
22
25
|
constructor(properties: SimCfnS3BucketConfiguratorProperties);
|
|
23
26
|
/**
|
|
24
27
|
* Apply every configuration the Resource declares.
|
|
@@ -14,11 +14,13 @@ export class SimCfnS3BucketConfigurator {
|
|
|
14
14
|
resource;
|
|
15
15
|
properties;
|
|
16
16
|
bucketName;
|
|
17
|
+
options;
|
|
17
18
|
constructor(properties) {
|
|
18
19
|
this.simS3 = properties.simS3;
|
|
19
20
|
this.resource = properties.resource;
|
|
20
21
|
this.properties = properties.properties;
|
|
21
22
|
this.bucketName = properties.bucketName;
|
|
23
|
+
this.options = properties.options;
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
26
|
* Apply every configuration the Resource declares.
|
|
@@ -38,9 +40,7 @@ export class SimCfnS3BucketConfigurator {
|
|
|
38
40
|
if (config === undefined) {
|
|
39
41
|
return;
|
|
40
42
|
}
|
|
41
|
-
await this.simS3.putBucketWebsite({
|
|
42
|
-
input: { Bucket: this.bucketName, WebsiteConfiguration: config },
|
|
43
|
-
});
|
|
43
|
+
await this.simS3.putBucketWebsite({ input: { Bucket: this.bucketName, WebsiteConfiguration: config } }, this.options);
|
|
44
44
|
}
|
|
45
45
|
async configurePublicAccess() {
|
|
46
46
|
const config = new SimCfnS3BucketPublicAccessConfiguration(this.resource.logicalId, this.properties).read();
|
|
@@ -52,16 +52,14 @@ export class SimCfnS3BucketConfigurator {
|
|
|
52
52
|
Bucket: this.bucketName,
|
|
53
53
|
PublicAccessBlockConfiguration: config,
|
|
54
54
|
},
|
|
55
|
-
});
|
|
55
|
+
}, this.options);
|
|
56
56
|
}
|
|
57
57
|
async configureLifecycle() {
|
|
58
58
|
const config = new SimCfnS3BucketLifecycleConfiguration(this.resource.logicalId, this.properties).read();
|
|
59
59
|
if (config === undefined) {
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
await this.simS3.putBucketLifecycleConfiguration({
|
|
63
|
-
input: { Bucket: this.bucketName, LifecycleConfiguration: config },
|
|
64
|
-
});
|
|
62
|
+
await this.simS3.putBucketLifecycleConfiguration({ input: { Bucket: this.bucketName, LifecycleConfiguration: config } }, this.options);
|
|
65
63
|
}
|
|
66
64
|
async configureNotifications() {
|
|
67
65
|
const declared = this.properties["NotificationConfiguration"];
|
|
@@ -69,11 +67,6 @@ export class SimCfnS3BucketConfigurator {
|
|
|
69
67
|
return;
|
|
70
68
|
}
|
|
71
69
|
const config = new SimCfnS3BucketNotificationConfiguration(this.resource.logicalId).read(declared);
|
|
72
|
-
await this.simS3.putBucketNotificationConfiguration({
|
|
73
|
-
input: {
|
|
74
|
-
Bucket: this.bucketName,
|
|
75
|
-
NotificationConfiguration: config,
|
|
76
|
-
},
|
|
77
|
-
});
|
|
70
|
+
await this.simS3.putBucketNotificationConfiguration({ input: { Bucket: this.bucketName, NotificationConfiguration: config } }, this.options);
|
|
78
71
|
}
|
|
79
72
|
}
|
|
@@ -2,6 +2,7 @@ import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-re
|
|
|
2
2
|
import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
3
3
|
import type { SimS3 } from "../../sim-s3.js";
|
|
4
4
|
import type { SimS3Bucket } from "../../bucket/sim-s3-bucket.js";
|
|
5
|
+
import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
5
6
|
interface SimCfnS3BucketCreatorProperties {
|
|
6
7
|
readonly simS3: SimS3;
|
|
7
8
|
}
|
|
@@ -19,7 +20,7 @@ export declare class SimCfnS3BucketCreator {
|
|
|
19
20
|
* Resource and the Bucket is created without it. What each of the remaining
|
|
20
21
|
* ones says is then checked as it is applied.
|
|
21
22
|
*/
|
|
22
|
-
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimS3Bucket>;
|
|
23
|
+
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimS3Bucket>;
|
|
23
24
|
/**
|
|
24
25
|
* A Resource without a BucketName is named after its logical id, rather than
|
|
25
26
|
* the generated name real CloudFormation invents.
|
|
@@ -18,7 +18,7 @@ export class SimCfnS3BucketCreator {
|
|
|
18
18
|
* Resource and the Bucket is created without it. What each of the remaining
|
|
19
19
|
* ones says is then checked as it is applied.
|
|
20
20
|
*/
|
|
21
|
-
async create(resource, properties) {
|
|
21
|
+
async create(resource, properties, options) {
|
|
22
22
|
new SimCfnS3BucketPropertyRules({
|
|
23
23
|
logicalId: resource.logicalId,
|
|
24
24
|
properties,
|
|
@@ -26,7 +26,7 @@ export class SimCfnS3BucketCreator {
|
|
|
26
26
|
}).apply();
|
|
27
27
|
const bucketName = this.bucketNameForResource(resource, properties);
|
|
28
28
|
validateS3BucketName(bucketName);
|
|
29
|
-
await this.simS3.createBucket({ input: { Bucket: bucketName } });
|
|
29
|
+
await this.simS3.createBucket({ input: { Bucket: bucketName } }, options);
|
|
30
30
|
const bucket = this.simS3.getSimBucketByName(bucketName);
|
|
31
31
|
assertDefined(bucket, `sim S3 Bucket ${bucketName} after CloudFormation creation`);
|
|
32
32
|
await new SimCfnS3BucketConfigurator({
|
|
@@ -34,6 +34,7 @@ export class SimCfnS3BucketCreator {
|
|
|
34
34
|
resource,
|
|
35
35
|
properties,
|
|
36
36
|
bucketName,
|
|
37
|
+
options,
|
|
37
38
|
}).configure();
|
|
38
39
|
return bucket;
|
|
39
40
|
}
|
|
@@ -2,6 +2,7 @@ import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-re
|
|
|
2
2
|
import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
3
3
|
import type { SimS3Bucket } from "../../bucket/sim-s3-bucket.js";
|
|
4
4
|
import type { SimS3 } from "../../sim-s3.js";
|
|
5
|
+
import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
5
6
|
interface SimCfnS3BucketPolicyCreatorProperties {
|
|
6
7
|
readonly simS3: SimS3;
|
|
7
8
|
}
|
|
@@ -24,7 +25,7 @@ export declare class SimCfnS3BucketPolicyCreator {
|
|
|
24
25
|
* because a Bucket policy has no existence of its own in S3: it is state on
|
|
25
26
|
* the Bucket it is attached to.
|
|
26
27
|
*/
|
|
27
|
-
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimS3Bucket>;
|
|
28
|
+
create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimS3Bucket>;
|
|
28
29
|
private bucketNameForResource;
|
|
29
30
|
private policyDocumentForResource;
|
|
30
31
|
}
|
|
@@ -21,7 +21,7 @@ export class SimCfnS3BucketPolicyCreator {
|
|
|
21
21
|
* because a Bucket policy has no existence of its own in S3: it is state on
|
|
22
22
|
* the Bucket it is attached to.
|
|
23
23
|
*/
|
|
24
|
-
async create(resource, properties) {
|
|
24
|
+
async create(resource, properties, options) {
|
|
25
25
|
const bucketName = this.bucketNameForResource(resource, properties);
|
|
26
26
|
const policyDocument = this.policyDocumentForResource(resource, properties);
|
|
27
27
|
await this.simS3.putBucketPolicy({
|
|
@@ -29,7 +29,7 @@ export class SimCfnS3BucketPolicyCreator {
|
|
|
29
29
|
Bucket: bucketName,
|
|
30
30
|
Policy: jsonStringify(policyDocument),
|
|
31
31
|
},
|
|
32
|
-
});
|
|
32
|
+
}, options);
|
|
33
33
|
const bucket = this.simS3.getSimBucketByName(bucketName);
|
|
34
34
|
assertDefined(bucket, `sim S3 Bucket ${bucketName} after CloudFormation Bucket policy creation`);
|
|
35
35
|
return bucket;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SimCfnResource } from "../../cloudformation/resource/sim-cfn-resource.js";
|
|
2
2
|
import type { SimS3 } from "../sim-s3.js";
|
|
3
|
+
import type { SimCfnResourceCallerOptions } from "../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
3
4
|
interface SimCfnS3ResourceDeleterProperties {
|
|
4
5
|
readonly simS3: SimS3;
|
|
5
6
|
}
|
|
@@ -19,7 +20,7 @@ export declare class SimCfnS3ResourceDeleter {
|
|
|
19
20
|
/**
|
|
20
21
|
* Delete a simulated S3 resource created from a CloudFormation Resource.
|
|
21
22
|
*/
|
|
22
|
-
delete(resourceTypeName: string, resource: SimCfnResource): Promise<void>;
|
|
23
|
+
delete(resourceTypeName: string, resource: SimCfnResource, options?: SimCfnResourceCallerOptions): Promise<void>;
|
|
23
24
|
/**
|
|
24
25
|
* The Bucket a Resource was created against.
|
|
25
26
|
*
|
|
@@ -17,18 +17,14 @@ export class SimCfnS3ResourceDeleter {
|
|
|
17
17
|
/**
|
|
18
18
|
* Delete a simulated S3 resource created from a CloudFormation Resource.
|
|
19
19
|
*/
|
|
20
|
-
async delete(resourceTypeName, resource) {
|
|
20
|
+
async delete(resourceTypeName, resource, options) {
|
|
21
21
|
switch (resourceTypeName) {
|
|
22
22
|
case "Bucket": {
|
|
23
|
-
await this.simS3.deleteBucket({
|
|
24
|
-
input: { Bucket: this.bucketName(resource) },
|
|
25
|
-
});
|
|
23
|
+
await this.simS3.deleteBucket({ input: { Bucket: this.bucketName(resource) } }, options);
|
|
26
24
|
return;
|
|
27
25
|
}
|
|
28
26
|
case "BucketPolicy": {
|
|
29
|
-
await this.simS3.deleteBucketPolicy({
|
|
30
|
-
input: { Bucket: this.bucketName(resource) },
|
|
31
|
-
});
|
|
27
|
+
await this.simS3.deleteBucketPolicy({ input: { Bucket: this.bucketName(resource) } }, options);
|
|
32
28
|
return;
|
|
33
29
|
}
|
|
34
30
|
default: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SimCfnResource, SimCloudFormationResourceCreateContext } from "../../cloudformation/resource/sim-cfn-resource.js";
|
|
1
|
+
import type { SimCfnResource, SimCloudFormationResourceCreateContext, SimCloudFormationResourceDeleteContext } from "../../cloudformation/resource/sim-cfn-resource.js";
|
|
2
2
|
import type { SimS3 } from "../sim-s3.js";
|
|
3
3
|
import type { SimCfnServiceResourceFactory } from "../../cloudformation/resource/factory/sim-cfn-resource-factory.type.js";
|
|
4
4
|
/**
|
|
@@ -16,5 +16,5 @@ export declare class SimS3CloudFormationResourceFactory implements SimCfnService
|
|
|
16
16
|
/**
|
|
17
17
|
* Delete a simulated S3 resource created from a CloudFormation Resource.
|
|
18
18
|
*/
|
|
19
|
-
delete(resourceTypeName: string, resource: SimCfnResource): Promise<void>;
|
|
19
|
+
delete(resourceTypeName: string, resource: SimCfnResource, context: SimCloudFormationResourceDeleteContext): Promise<void>;
|
|
20
20
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SimCfnS3BucketCreator } from "./bucket/sim-cfn-s3-bucket-creator.js";
|
|
2
2
|
import { SimCfnS3BucketPolicyCreator } from "./bucket-policy/sim-cfn-s3-bucket-policy-creator.js";
|
|
3
3
|
import { SimCfnS3ResourceDeleter } from "./sim-cfn-s3-resource-deleter.js";
|
|
4
|
+
import { simCfnResourceCallerOptions } from "../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
|
|
4
5
|
/**
|
|
5
6
|
* CloudFormation Resource factory for simulated S3 resources.
|
|
6
7
|
*/
|
|
@@ -17,12 +18,13 @@ export class SimS3CloudFormationResourceFactory {
|
|
|
17
18
|
* Create a simulated S3 resource from a CloudFormation Resource.
|
|
18
19
|
*/
|
|
19
20
|
async create(resourceTypeName, resource, context) {
|
|
21
|
+
const options = simCfnResourceCallerOptions(context.caller);
|
|
20
22
|
switch (resourceTypeName) {
|
|
21
23
|
case "Bucket": {
|
|
22
|
-
return await this.bucketCreator.create(resource, context.resolvedProperties ?? resource.properties);
|
|
24
|
+
return await this.bucketCreator.create(resource, context.resolvedProperties ?? resource.properties, options);
|
|
23
25
|
}
|
|
24
26
|
case "BucketPolicy": {
|
|
25
|
-
return await this.bucketPolicyCreator.create(resource, context.resolvedProperties ?? resource.properties);
|
|
27
|
+
return await this.bucketPolicyCreator.create(resource, context.resolvedProperties ?? resource.properties, options);
|
|
26
28
|
}
|
|
27
29
|
default: {
|
|
28
30
|
throw new Error(`Unsupported sim S3 CloudFormation Resource ${resourceTypeName}`);
|
|
@@ -32,7 +34,7 @@ export class SimS3CloudFormationResourceFactory {
|
|
|
32
34
|
/**
|
|
33
35
|
* Delete a simulated S3 resource created from a CloudFormation Resource.
|
|
34
36
|
*/
|
|
35
|
-
async delete(resourceTypeName, resource) {
|
|
36
|
-
await this.deleter.delete(resourceTypeName, resource);
|
|
37
|
+
async delete(resourceTypeName, resource, context) {
|
|
38
|
+
await this.deleter.delete(resourceTypeName, resource, simCfnResourceCallerOptions(context.caller));
|
|
37
39
|
}
|
|
38
40
|
}
|