aws-cdk-lib 2.52.0 → 2.52.1
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/.jsii.gz +0 -0
- package/alexa-ask/lib/ask.generated.js +1 -1
- package/assertions/lib/annotations.js +1 -1
- package/assertions/lib/capture.js +1 -1
- package/assertions/lib/match.js +1 -1
- package/assertions/lib/matcher.js +1 -1
- package/assertions/lib/template.js +1 -1
- package/assets/lib/staging.js +1 -1
- package/aws-accessanalyzer/lib/accessanalyzer.generated.js +1 -1
- package/aws-acmpca/lib/acmpca.generated.js +1 -1
- package/aws-acmpca/lib/certificate-authority.js +1 -1
- package/aws-amazonmq/lib/amazonmq.generated.js +1 -1
- package/aws-amplify/lib/amplify.generated.js +1 -1
- package/aws-amplifyuibuilder/lib/amplifyuibuilder.generated.js +1 -1
- package/aws-apigateway/lib/access-log.js +1 -1
- package/aws-apigateway/lib/api-definition.js +1 -1
- package/aws-apigateway/lib/api-key.js +1 -1
- package/aws-apigateway/lib/apigateway.generated.js +1 -1
- package/aws-apigateway/lib/apigatewayv2.js +1 -1
- package/aws-apigateway/lib/authorizer.js +1 -1
- package/aws-apigateway/lib/authorizers/cognito.js +1 -1
- package/aws-apigateway/lib/authorizers/identity-source.js +1 -1
- package/aws-apigateway/lib/authorizers/lambda.js +1 -1
- package/aws-apigateway/lib/base-path-mapping.js +1 -1
- package/aws-apigateway/lib/cors.js +1 -1
- package/aws-apigateway/lib/deployment.js +1 -1
- package/aws-apigateway/lib/domain-name.js +1 -1
- package/aws-apigateway/lib/gateway-response.js +1 -1
- package/aws-apigateway/lib/integration.js +1 -1
- package/aws-apigateway/lib/integrations/aws.js +1 -1
- package/aws-apigateway/lib/integrations/http.js +1 -1
- package/aws-apigateway/lib/integrations/lambda.js +1 -1
- package/aws-apigateway/lib/integrations/mock.js +1 -1
- package/aws-apigateway/lib/integrations/stepfunctions.js +1 -1
- package/aws-apigateway/lib/lambda-api.js +1 -1
- package/aws-apigateway/lib/method.js +1 -1
- package/aws-apigateway/lib/model.js +1 -1
- package/aws-apigateway/lib/requestvalidator.js +1 -1
- package/aws-apigateway/lib/resource.js +1 -1
- package/aws-apigateway/lib/restapi.js +1 -1
- package/aws-apigateway/lib/stage.js +1 -1
- package/aws-apigateway/lib/stepfunctions-api.js +1 -1
- package/aws-apigateway/lib/usage-plan.js +1 -1
- package/aws-apigateway/lib/vpc-link.js +1 -1
- package/aws-apigatewayv2/lib/apigatewayv2.generated.js +1 -1
- package/aws-appconfig/lib/appconfig.generated.js +1 -1
- package/aws-appflow/lib/appflow.generated.js +1 -1
- package/aws-appintegrations/lib/appintegrations.generated.js +1 -1
- package/aws-applicationautoscaling/lib/applicationautoscaling.generated.js +1 -1
- package/aws-applicationautoscaling/lib/base-scalable-attribute.js +1 -1
- package/aws-applicationautoscaling/lib/scalable-target.js +1 -1
- package/aws-applicationautoscaling/lib/schedule.js +1 -1
- package/aws-applicationautoscaling/lib/step-scaling-action.js +1 -1
- package/aws-applicationautoscaling/lib/step-scaling-policy.js +1 -1
- package/aws-applicationautoscaling/lib/target-tracking-scaling-policy.js +1 -1
- package/aws-applicationinsights/lib/applicationinsights.generated.js +1 -1
- package/aws-appmesh/lib/appmesh.generated.js +1 -1
- package/aws-appmesh/lib/gateway-route-spec.js +1 -1
- package/aws-appmesh/lib/gateway-route.js +1 -1
- package/aws-appmesh/lib/header-match.js +1 -1
- package/aws-appmesh/lib/health-checks.js +1 -1
- package/aws-appmesh/lib/http-route-path-match.js +1 -1
- package/aws-appmesh/lib/mesh.js +1 -1
- package/aws-appmesh/lib/query-parameter-match.js +1 -1
- package/aws-appmesh/lib/route-spec.js +1 -1
- package/aws-appmesh/lib/route.js +1 -1
- package/aws-appmesh/lib/service-discovery.js +1 -1
- package/aws-appmesh/lib/shared-interfaces.js +1 -1
- package/aws-appmesh/lib/tls-certificate.js +1 -1
- package/aws-appmesh/lib/tls-validation.js +1 -1
- package/aws-appmesh/lib/virtual-gateway-listener.js +1 -1
- package/aws-appmesh/lib/virtual-gateway.js +1 -1
- package/aws-appmesh/lib/virtual-node-listener.js +1 -1
- package/aws-appmesh/lib/virtual-node.js +1 -1
- package/aws-appmesh/lib/virtual-router-listener.js +1 -1
- package/aws-appmesh/lib/virtual-router.js +1 -1
- package/aws-appmesh/lib/virtual-service.js +1 -1
- package/aws-apprunner/lib/apprunner.generated.js +1 -1
- package/aws-appstream/lib/appstream.generated.js +1 -1
- package/aws-appsync/lib/appsync.generated.js +1 -1
- package/aws-aps/lib/aps.generated.js +1 -1
- package/aws-athena/lib/athena.generated.js +1 -1
- package/aws-auditmanager/lib/auditmanager.generated.js +1 -1
- package/aws-autoscaling/lib/aspects/require-imdsv2-aspect.js +1 -1
- package/aws-autoscaling/lib/auto-scaling-group.js +1 -1
- package/aws-autoscaling/lib/autoscaling.generated.js +1 -1
- package/aws-autoscaling/lib/lifecycle-hook.js +1 -1
- package/aws-autoscaling/lib/schedule.js +1 -1
- package/aws-autoscaling/lib/scheduled-action.js +1 -1
- package/aws-autoscaling/lib/step-scaling-action.js +1 -1
- package/aws-autoscaling/lib/step-scaling-policy.js +1 -1
- package/aws-autoscaling/lib/target-tracking-scaling-policy.js +1 -1
- package/aws-autoscaling/lib/volume.js +1 -1
- package/aws-autoscaling/lib/warm-pool.js +1 -1
- package/aws-autoscaling-hooktargets/lib/lambda-hook.js +1 -1
- package/aws-autoscaling-hooktargets/lib/queue-hook.js +1 -1
- package/aws-autoscaling-hooktargets/lib/topic-hook.js +1 -1
- package/aws-autoscalingplans/lib/autoscalingplans.generated.js +1 -1
- package/aws-backup/lib/backup.generated.js +1 -1
- package/aws-backup/lib/plan.js +1 -1
- package/aws-backup/lib/resource.js +1 -1
- package/aws-backup/lib/rule.js +1 -1
- package/aws-backup/lib/selection.js +1 -1
- package/aws-backup/lib/vault.js +1 -1
- package/aws-batch/lib/batch.generated.js +1 -1
- package/aws-billingconductor/lib/billingconductor.generated.js +1 -1
- package/aws-budgets/lib/budgets.generated.js +1 -1
- package/aws-cassandra/lib/cassandra.generated.js +1 -1
- package/aws-ce/lib/ce.generated.js +1 -1
- package/aws-certificatemanager/lib/certificate.js +1 -1
- package/aws-certificatemanager/lib/certificatemanager.generated.js +1 -1
- package/aws-certificatemanager/lib/dns-validated-certificate.js +1 -1
- package/aws-certificatemanager/lib/private-certificate.js +1 -1
- package/aws-chatbot/lib/chatbot.generated.js +1 -1
- package/aws-chatbot/lib/slack-channel-configuration.js +1 -1
- package/aws-cloud9/lib/cloud9.generated.js +1 -1
- package/aws-cloudformation/lib/cloudformation.generated.js +1 -1
- package/aws-cloudformation/lib/custom-resource.js +1 -1
- package/aws-cloudformation/lib/nested-stack.js +1 -1
- package/aws-cloudfront/lib/cache-policy.js +1 -1
- package/aws-cloudfront/lib/cloudfront.generated.js +1 -1
- package/aws-cloudfront/lib/distribution.js +1 -1
- package/aws-cloudfront/lib/experimental/edge-function.js +1 -1
- package/aws-cloudfront/lib/function.js +1 -1
- package/aws-cloudfront/lib/geo-restriction.js +1 -1
- package/aws-cloudfront/lib/key-group.js +1 -1
- package/aws-cloudfront/lib/origin-access-identity.js +1 -1
- package/aws-cloudfront/lib/origin-request-policy.js +1 -1
- package/aws-cloudfront/lib/origin.js +1 -1
- package/aws-cloudfront/lib/public-key.js +1 -1
- package/aws-cloudfront/lib/response-headers-policy.js +1 -1
- package/aws-cloudfront/lib/web-distribution.js +2 -2
- package/aws-cloudfront-origins/lib/http-origin.js +1 -1
- package/aws-cloudfront-origins/lib/load-balancer-origin.js +1 -1
- package/aws-cloudfront-origins/lib/origin-group.js +1 -1
- package/aws-cloudfront-origins/lib/rest-api-origin.js +1 -1
- package/aws-cloudfront-origins/lib/s3-origin.js +1 -1
- package/aws-cloudtrail/lib/cloudtrail.generated.js +1 -1
- package/aws-cloudtrail/lib/cloudtrail.js +1 -1
- package/aws-cloudwatch/lib/alarm-base.js +1 -1
- package/aws-cloudwatch/lib/alarm-rule.js +1 -1
- package/aws-cloudwatch/lib/alarm-status-widget.js +1 -1
- package/aws-cloudwatch/lib/alarm.js +1 -1
- package/aws-cloudwatch/lib/cloudwatch.generated.js +1 -1
- package/aws-cloudwatch/lib/composite-alarm.js +1 -1
- package/aws-cloudwatch/lib/dashboard.js +1 -1
- package/aws-cloudwatch/lib/graph.js +1 -1
- package/aws-cloudwatch/lib/layout.js +1 -1
- package/aws-cloudwatch/lib/log-query.js +1 -1
- package/aws-cloudwatch/lib/metric.js +1 -1
- package/aws-cloudwatch/lib/text.js +1 -1
- package/aws-cloudwatch/lib/widget.js +1 -1
- package/aws-cloudwatch-actions/lib/appscaling.js +1 -1
- package/aws-cloudwatch-actions/lib/autoscaling.js +1 -1
- package/aws-cloudwatch-actions/lib/ec2.js +1 -1
- package/aws-cloudwatch-actions/lib/sns.js +1 -1
- package/aws-cloudwatch-actions/lib/ssm.js +1 -1
- package/aws-codeartifact/lib/codeartifact.generated.js +1 -1
- package/aws-codebuild/lib/artifacts.js +1 -1
- package/aws-codebuild/lib/build-spec.js +1 -1
- package/aws-codebuild/lib/cache.js +1 -1
- package/aws-codebuild/lib/codebuild.generated.js +1 -1
- package/aws-codebuild/lib/events.js +1 -1
- package/aws-codebuild/lib/file-location.js +1 -1
- package/aws-codebuild/lib/linux-arm-build-image.js +1 -1
- package/aws-codebuild/lib/linux-gpu-build-image.js +1 -1
- package/aws-codebuild/lib/pipeline-project.js +1 -1
- package/aws-codebuild/lib/project.js +1 -1
- package/aws-codebuild/lib/report-group.js +1 -1
- package/aws-codebuild/lib/source-credentials.js +1 -1
- package/aws-codebuild/lib/source.js +1 -1
- package/aws-codebuild/lib/untrusted-code-boundary-policy.js +1 -1
- package/aws-codecommit/lib/code.js +1 -1
- package/aws-codecommit/lib/codecommit.generated.js +1 -1
- package/aws-codecommit/lib/events.js +1 -1
- package/aws-codecommit/lib/repository.js +1 -1
- package/aws-codedeploy/lib/base-deployment-config.js +1 -1
- package/aws-codedeploy/lib/codedeploy.generated.js +1 -1
- package/aws-codedeploy/lib/ecs/application.js +1 -1
- package/aws-codedeploy/lib/ecs/deployment-config.js +1 -1
- package/aws-codedeploy/lib/ecs/deployment-group.js +1 -1
- package/aws-codedeploy/lib/host-health-config.js +1 -1
- package/aws-codedeploy/lib/lambda/application.js +1 -1
- package/aws-codedeploy/lib/lambda/custom-deployment-config.js +1 -1
- package/aws-codedeploy/lib/lambda/deployment-config.js +1 -1
- package/aws-codedeploy/lib/lambda/deployment-group.js +1 -1
- package/aws-codedeploy/lib/server/application.js +1 -1
- package/aws-codedeploy/lib/server/deployment-config.js +1 -1
- package/aws-codedeploy/lib/server/deployment-group.js +1 -1
- package/aws-codedeploy/lib/server/load-balancer.js +1 -1
- package/aws-codedeploy/lib/traffic-routing-config.js +1 -1
- package/aws-codeguruprofiler/lib/codeguruprofiler.generated.js +1 -1
- package/aws-codeguruprofiler/lib/profiling-group.js +1 -1
- package/aws-codegurureviewer/lib/codegurureviewer.generated.js +1 -1
- package/aws-codepipeline/lib/action.js +1 -1
- package/aws-codepipeline/lib/artifact.js +1 -1
- package/aws-codepipeline/lib/codepipeline.generated.js +1 -1
- package/aws-codepipeline/lib/custom-action-registration.js +1 -1
- package/aws-codepipeline/lib/pipeline.js +1 -1
- package/aws-codepipeline-actions/lib/action.js +1 -1
- package/aws-codepipeline-actions/lib/alexa-ask/deploy-action.js +1 -1
- package/aws-codepipeline-actions/lib/bitbucket/source-action.js +1 -1
- package/aws-codepipeline-actions/lib/cloudformation/pipeline-actions.js +1 -1
- package/aws-codepipeline-actions/lib/cloudformation/stackinstances-action.js +1 -1
- package/aws-codepipeline-actions/lib/cloudformation/stackset-action.js +1 -1
- package/aws-codepipeline-actions/lib/cloudformation/stackset-types.js +1 -1
- package/aws-codepipeline-actions/lib/codebuild/build-action.js +1 -1
- package/aws-codepipeline-actions/lib/codecommit/source-action.js +1 -1
- package/aws-codepipeline-actions/lib/codedeploy/ecs-deploy-action.js +1 -1
- package/aws-codepipeline-actions/lib/codedeploy/server-deploy-action.js +1 -1
- package/aws-codepipeline-actions/lib/codestar-connections/source-action.js +1 -1
- package/aws-codepipeline-actions/lib/ecr/source-action.js +1 -1
- package/aws-codepipeline-actions/lib/ecs/deploy-action.js +1 -1
- package/aws-codepipeline-actions/lib/elastic-beanstalk/deploy-action.js +1 -1
- package/aws-codepipeline-actions/lib/github/source-action.js +1 -1
- package/aws-codepipeline-actions/lib/jenkins/jenkins-action.js +1 -1
- package/aws-codepipeline-actions/lib/jenkins/jenkins-provider.js +1 -1
- package/aws-codepipeline-actions/lib/lambda/invoke-action.js +1 -1
- package/aws-codepipeline-actions/lib/manual-approval-action.js +1 -1
- package/aws-codepipeline-actions/lib/s3/deploy-action.js +1 -1
- package/aws-codepipeline-actions/lib/s3/source-action.js +1 -1
- package/aws-codepipeline-actions/lib/servicecatalog/deploy-action-beta1.js +1 -1
- package/aws-codepipeline-actions/lib/stepfunctions/invoke-action.js +1 -1
- package/aws-codestar/lib/codestar.generated.js +1 -1
- package/aws-codestarconnections/lib/codestarconnections.generated.js +1 -1
- package/aws-codestarnotifications/lib/codestarnotifications.generated.js +1 -1
- package/aws-codestarnotifications/lib/notification-rule.js +1 -1
- package/aws-cognito/lib/cognito.generated.js +1 -1
- package/aws-cognito/lib/user-pool-attr.js +1 -1
- package/aws-cognito/lib/user-pool-client.js +1 -1
- package/aws-cognito/lib/user-pool-domain.js +1 -1
- package/aws-cognito/lib/user-pool-email.js +1 -1
- package/aws-cognito/lib/user-pool-idp.js +1 -1
- package/aws-cognito/lib/user-pool-idps/amazon.js +1 -1
- package/aws-cognito/lib/user-pool-idps/apple.js +1 -1
- package/aws-cognito/lib/user-pool-idps/base.js +1 -1
- package/aws-cognito/lib/user-pool-idps/facebook.js +1 -1
- package/aws-cognito/lib/user-pool-idps/google.js +1 -1
- package/aws-cognito/lib/user-pool-idps/oidc.js +1 -1
- package/aws-cognito/lib/user-pool-idps/saml.js +1 -1
- package/aws-cognito/lib/user-pool-resource-server.js +1 -1
- package/aws-cognito/lib/user-pool.js +1 -1
- package/aws-config/lib/config.generated.js +1 -1
- package/aws-config/lib/managed-rules.js +1 -1
- package/aws-config/lib/rule.js +1 -1
- package/aws-connect/lib/connect.generated.js +1 -1
- package/aws-connectcampaigns/lib/connectcampaigns.generated.js +1 -1
- package/aws-controltower/lib/controltower.generated.js +1 -1
- package/aws-cur/lib/cur.generated.js +1 -1
- package/aws-customerprofiles/lib/customerprofiles.generated.js +1 -1
- package/aws-databrew/lib/databrew.generated.js +1 -1
- package/aws-datapipeline/lib/datapipeline.generated.js +1 -1
- package/aws-datasync/lib/datasync.generated.js +1 -1
- package/aws-dax/lib/dax.generated.js +1 -1
- package/aws-detective/lib/detective.generated.js +1 -1
- package/aws-devopsguru/lib/devopsguru.generated.js +1 -1
- package/aws-directoryservice/lib/directoryservice.generated.js +1 -1
- package/aws-dlm/lib/dlm.generated.js +1 -1
- package/aws-dms/lib/dms.generated.js +1 -1
- package/aws-docdb/lib/cluster.js +1 -1
- package/aws-docdb/lib/database-secret.js +1 -1
- package/aws-docdb/lib/docdb.generated.js +1 -1
- package/aws-docdb/lib/endpoint.js +1 -1
- package/aws-docdb/lib/instance.js +1 -1
- package/aws-docdb/lib/parameter-group.js +1 -1
- package/aws-dynamodb/lib/dynamodb.generated.js +1 -1
- package/aws-dynamodb/lib/table.js +1 -1
- package/aws-ec2/lib/aspects/require-imdsv2-aspect.js +1 -1
- package/aws-ec2/lib/bastion-host.js +1 -1
- package/aws-ec2/lib/cfn-init-elements.js +1 -1
- package/aws-ec2/lib/cfn-init.js +1 -1
- package/aws-ec2/lib/client-vpn-authorization-rule.js +1 -1
- package/aws-ec2/lib/client-vpn-endpoint.js +1 -1
- package/aws-ec2/lib/client-vpn-route.js +1 -1
- package/aws-ec2/lib/connections.js +1 -1
- package/aws-ec2/lib/ec2.generated.js +1 -1
- package/aws-ec2/lib/instance-types.js +1 -1
- package/aws-ec2/lib/instance.js +1 -1
- package/aws-ec2/lib/ip-addresses.js +1 -1
- package/aws-ec2/lib/launch-template.js +1 -1
- package/aws-ec2/lib/machine-image.js +1 -1
- package/aws-ec2/lib/nat.js +1 -1
- package/aws-ec2/lib/network-acl-types.js +1 -1
- package/aws-ec2/lib/network-acl.js +1 -1
- package/aws-ec2/lib/peer.js +1 -1
- package/aws-ec2/lib/port.js +1 -1
- package/aws-ec2/lib/security-group.js +1 -1
- package/aws-ec2/lib/subnet.js +1 -1
- package/aws-ec2/lib/user-data.js +3 -3
- package/aws-ec2/lib/volume.js +1 -1
- package/aws-ec2/lib/vpc-endpoint-service.js +1 -1
- package/aws-ec2/lib/vpc-endpoint.js +1 -1
- package/aws-ec2/lib/vpc-flow-logs.js +1 -1
- package/aws-ec2/lib/vpc.js +1 -1
- package/aws-ec2/lib/vpn.js +1 -1
- package/aws-ecr/lib/auth-token.js +1 -1
- package/aws-ecr/lib/ecr.generated.js +1 -1
- package/aws-ecr/lib/repository.js +1 -1
- package/aws-ecr-assets/lib/image-asset.js +2 -2
- package/aws-ecr-assets/lib/tarball-asset.js +1 -1
- package/aws-ecs/lib/amis.js +1 -1
- package/aws-ecs/lib/base/base-service.js +1 -1
- package/aws-ecs/lib/base/scalable-task-count.js +1 -1
- package/aws-ecs/lib/base/task-definition.js +1 -1
- package/aws-ecs/lib/cluster.js +1 -1
- package/aws-ecs/lib/container-definition.js +1 -1
- package/aws-ecs/lib/container-image.js +1 -1
- package/aws-ecs/lib/ec2/ec2-service.js +1 -1
- package/aws-ecs/lib/ec2/ec2-task-definition.js +1 -1
- package/aws-ecs/lib/ecs.generated.js +1 -1
- package/aws-ecs/lib/environment-file.js +1 -1
- package/aws-ecs/lib/external/external-service.js +1 -1
- package/aws-ecs/lib/external/external-task-definition.js +1 -1
- package/aws-ecs/lib/fargate/fargate-service.js +1 -1
- package/aws-ecs/lib/fargate/fargate-task-definition.js +1 -1
- package/aws-ecs/lib/firelens-log-router.js +1 -1
- package/aws-ecs/lib/images/asset-image.js +1 -1
- package/aws-ecs/lib/images/ecr.js +1 -1
- package/aws-ecs/lib/images/repository.js +1 -1
- package/aws-ecs/lib/images/tag-parameter-container-image.js +1 -1
- package/aws-ecs/lib/linux-parameters.js +1 -1
- package/aws-ecs/lib/log-drivers/aws-log-driver.js +1 -1
- package/aws-ecs/lib/log-drivers/firelens-log-driver.js +1 -1
- package/aws-ecs/lib/log-drivers/fluentd-log-driver.js +1 -1
- package/aws-ecs/lib/log-drivers/gelf-log-driver.js +1 -1
- package/aws-ecs/lib/log-drivers/generic-log-driver.js +1 -1
- package/aws-ecs/lib/log-drivers/journald-log-driver.js +1 -1
- package/aws-ecs/lib/log-drivers/json-file-log-driver.js +1 -1
- package/aws-ecs/lib/log-drivers/log-driver.js +1 -1
- package/aws-ecs/lib/log-drivers/log-drivers.js +1 -1
- package/aws-ecs/lib/log-drivers/splunk-log-driver.js +1 -1
- package/aws-ecs/lib/log-drivers/syslog-log-driver.js +1 -1
- package/aws-ecs/lib/placement.js +1 -1
- package/aws-ecs/lib/proxy-configuration/app-mesh-proxy-configuration.js +1 -1
- package/aws-ecs/lib/proxy-configuration/proxy-configuration.js +1 -1
- package/aws-ecs/lib/proxy-configuration/proxy-configurations.js +1 -1
- package/aws-ecs/lib/runtime-platform.js +1 -1
- package/aws-ecs-patterns/lib/base/application-load-balanced-service-base.js +1 -1
- package/aws-ecs-patterns/lib/base/application-multiple-target-groups-service-base.js +1 -1
- package/aws-ecs-patterns/lib/base/network-load-balanced-service-base.js +1 -1
- package/aws-ecs-patterns/lib/base/network-multiple-target-groups-service-base.js +1 -1
- package/aws-ecs-patterns/lib/base/queue-processing-service-base.js +1 -1
- package/aws-ecs-patterns/lib/base/scheduled-task-base.js +1 -1
- package/aws-ecs-patterns/lib/ecs/application-load-balanced-ecs-service.js +1 -1
- package/aws-ecs-patterns/lib/ecs/application-multiple-target-groups-ecs-service.js +1 -1
- package/aws-ecs-patterns/lib/ecs/network-load-balanced-ecs-service.js +1 -1
- package/aws-ecs-patterns/lib/ecs/network-multiple-target-groups-ecs-service.js +1 -1
- package/aws-ecs-patterns/lib/ecs/queue-processing-ecs-service.js +1 -1
- package/aws-ecs-patterns/lib/ecs/scheduled-ecs-task.js +1 -1
- package/aws-ecs-patterns/lib/fargate/application-load-balanced-fargate-service.js +1 -1
- package/aws-ecs-patterns/lib/fargate/application-multiple-target-groups-fargate-service.js +1 -1
- package/aws-ecs-patterns/lib/fargate/network-load-balanced-fargate-service.js +1 -1
- package/aws-ecs-patterns/lib/fargate/network-multiple-target-groups-fargate-service.js +1 -1
- package/aws-ecs-patterns/lib/fargate/queue-processing-fargate-service.js +1 -1
- package/aws-ecs-patterns/lib/fargate/scheduled-fargate-task.js +1 -1
- package/aws-efs/lib/access-point.js +1 -1
- package/aws-efs/lib/efs-file-system.js +1 -1
- package/aws-efs/lib/efs.generated.js +1 -1
- package/aws-eks/lib/alb-controller.js +1 -1
- package/aws-eks/lib/aws-auth.js +1 -1
- package/aws-eks/lib/cluster.js +1 -1
- package/aws-eks/lib/eks.generated.js +1 -1
- package/aws-eks/lib/fargate-cluster.js +1 -1
- package/aws-eks/lib/fargate-profile.js +1 -1
- package/aws-eks/lib/helm-chart.js +1 -1
- package/aws-eks/lib/k8s-manifest.js +1 -1
- package/aws-eks/lib/k8s-object-value.js +1 -1
- package/aws-eks/lib/k8s-patch.js +1 -1
- package/aws-eks/lib/kubectl-provider.js +1 -1
- package/aws-eks/lib/managed-nodegroup.js +1 -1
- package/aws-eks/lib/oidc-provider.js +1 -1
- package/aws-eks/lib/service-account.js +1 -1
- package/aws-elasticache/lib/elasticache.generated.js +1 -1
- package/aws-elasticbeanstalk/lib/elasticbeanstalk.generated.js +1 -1
- package/aws-elasticloadbalancing/lib/elasticloadbalancing.generated.js +1 -1
- package/aws-elasticloadbalancing/lib/load-balancer.js +1 -1
- package/aws-elasticloadbalancingv2/lib/alb/application-listener-action.js +1 -1
- package/aws-elasticloadbalancingv2/lib/alb/application-listener-certificate.js +1 -1
- package/aws-elasticloadbalancingv2/lib/alb/application-listener-rule.js +1 -1
- package/aws-elasticloadbalancingv2/lib/alb/application-listener.js +1 -1
- package/aws-elasticloadbalancingv2/lib/alb/application-load-balancer.js +1 -1
- package/aws-elasticloadbalancingv2/lib/alb/application-target-group.js +1 -1
- package/aws-elasticloadbalancingv2/lib/alb/conditions.js +1 -1
- package/aws-elasticloadbalancingv2/lib/elasticloadbalancingv2.generated.js +1 -1
- package/aws-elasticloadbalancingv2/lib/nlb/network-listener-action.js +1 -1
- package/aws-elasticloadbalancingv2/lib/nlb/network-listener.js +1 -1
- package/aws-elasticloadbalancingv2/lib/nlb/network-load-balancer.js +1 -1
- package/aws-elasticloadbalancingv2/lib/nlb/network-target-group.js +1 -1
- package/aws-elasticloadbalancingv2/lib/shared/base-listener.js +1 -1
- package/aws-elasticloadbalancingv2/lib/shared/base-load-balancer.js +1 -1
- package/aws-elasticloadbalancingv2/lib/shared/base-target-group.js +1 -1
- package/aws-elasticloadbalancingv2/lib/shared/listener-certificate.js +1 -1
- package/aws-elasticloadbalancingv2/lib/shared/load-balancer-targets.js +1 -1
- package/aws-elasticloadbalancingv2-actions/lib/cognito-action.js +1 -1
- package/aws-elasticloadbalancingv2-targets/lib/alb-target.js +1 -1
- package/aws-elasticloadbalancingv2-targets/lib/instance-target.js +1 -1
- package/aws-elasticloadbalancingv2-targets/lib/ip-target.js +1 -1
- package/aws-elasticloadbalancingv2-targets/lib/lambda-target.js +1 -1
- package/aws-elasticsearch/lib/domain.js +1 -1
- package/aws-elasticsearch/lib/elasticsearch.generated.js +1 -1
- package/aws-emr/lib/emr.generated.js +1 -1
- package/aws-emrcontainers/lib/emrcontainers.generated.js +1 -1
- package/aws-emrserverless/lib/emrserverless.generated.js +1 -1
- package/aws-events/lib/api-destination.js +1 -1
- package/aws-events/lib/archive.js +1 -1
- package/aws-events/lib/connection.js +1 -1
- package/aws-events/lib/event-bus.js +1 -1
- package/aws-events/lib/event-pattern.js +1 -1
- package/aws-events/lib/events.generated.js +1 -1
- package/aws-events/lib/input.js +2 -2
- package/aws-events/lib/rule.js +1 -1
- package/aws-events/lib/schedule.js +1 -1
- package/aws-events-targets/lib/api-destination.js +1 -1
- package/aws-events-targets/lib/api-gateway.js +1 -1
- package/aws-events-targets/lib/aws-api.js +1 -1
- package/aws-events-targets/lib/batch.js +1 -1
- package/aws-events-targets/lib/codebuild.js +1 -1
- package/aws-events-targets/lib/codepipeline.js +1 -1
- package/aws-events-targets/lib/ecs-task.js +1 -1
- package/aws-events-targets/lib/event-bus.js +1 -1
- package/aws-events-targets/lib/kinesis-firehose-stream.js +1 -1
- package/aws-events-targets/lib/kinesis-stream.js +1 -1
- package/aws-events-targets/lib/lambda.js +1 -1
- package/aws-events-targets/lib/log-group.js +2 -2
- package/aws-events-targets/lib/sns.js +1 -1
- package/aws-events-targets/lib/sqs.js +1 -1
- package/aws-events-targets/lib/state-machine.js +1 -1
- package/aws-eventschemas/lib/eventschemas.generated.js +1 -1
- package/aws-evidently/lib/evidently.generated.js +1 -1
- package/aws-finspace/lib/finspace.generated.js +1 -1
- package/aws-fis/lib/fis.generated.js +1 -1
- package/aws-fms/lib/fms.generated.js +1 -1
- package/aws-forecast/lib/forecast.generated.js +1 -1
- package/aws-frauddetector/lib/frauddetector.generated.js +1 -1
- package/aws-fsx/lib/file-system.js +1 -1
- package/aws-fsx/lib/fsx.generated.js +1 -1
- package/aws-fsx/lib/lustre-file-system.js +1 -1
- package/aws-fsx/lib/maintenance-time.js +1 -1
- package/aws-gamelift/lib/gamelift.generated.js +1 -1
- package/aws-globalaccelerator/lib/accelerator.js +1 -1
- package/aws-globalaccelerator/lib/endpoint-group.js +1 -1
- package/aws-globalaccelerator/lib/endpoint.js +1 -1
- package/aws-globalaccelerator/lib/globalaccelerator.generated.js +1 -1
- package/aws-globalaccelerator/lib/listener.js +1 -1
- package/aws-globalaccelerator-endpoints/lib/alb.js +1 -1
- package/aws-globalaccelerator-endpoints/lib/eip.js +1 -1
- package/aws-globalaccelerator-endpoints/lib/instance.js +1 -1
- package/aws-globalaccelerator-endpoints/lib/nlb.js +1 -1
- package/aws-glue/lib/glue.generated.js +1 -1
- package/aws-greengrass/lib/greengrass.generated.js +1 -1
- package/aws-greengrassv2/lib/greengrassv2.generated.js +1 -1
- package/aws-groundstation/lib/groundstation.generated.js +1 -1
- package/aws-guardduty/lib/guardduty.generated.js +1 -1
- package/aws-healthlake/lib/healthlake.generated.js +1 -1
- package/aws-iam/lib/access-key.js +1 -1
- package/aws-iam/lib/grant.js +1 -1
- package/aws-iam/lib/group.js +1 -1
- package/aws-iam/lib/iam.generated.js +1 -1
- package/aws-iam/lib/lazy-role.js +1 -1
- package/aws-iam/lib/managed-policy.js +1 -1
- package/aws-iam/lib/oidc-provider.js +1 -1
- package/aws-iam/lib/permissions-boundary.js +1 -1
- package/aws-iam/lib/policy-document.js +1 -1
- package/aws-iam/lib/policy-statement.js +1 -1
- package/aws-iam/lib/policy.js +1 -1
- package/aws-iam/lib/principals.js +1 -1
- package/aws-iam/lib/role.js +1 -1
- package/aws-iam/lib/saml-provider.js +1 -1
- package/aws-iam/lib/unknown-principal.js +1 -1
- package/aws-iam/lib/user.js +1 -1
- package/aws-identitystore/lib/identitystore.generated.js +1 -1
- package/aws-imagebuilder/lib/imagebuilder.generated.js +1 -1
- package/aws-inspector/lib/inspector.generated.js +1 -1
- package/aws-inspectorv2/lib/inspectorv2.generated.js +1 -1
- package/aws-iot/lib/iot.generated.js +1 -1
- package/aws-iot1click/lib/iot1click.generated.js +1 -1
- package/aws-iotanalytics/lib/iotanalytics.generated.js +1 -1
- package/aws-iotcoredeviceadvisor/lib/iotcoredeviceadvisor.generated.js +1 -1
- package/aws-iotevents/lib/iotevents.generated.js +1 -1
- package/aws-iotfleethub/lib/iotfleethub.generated.js +1 -1
- package/aws-iotfleetwise/lib/iotfleetwise.generated.js +1 -1
- package/aws-iotsitewise/lib/iotsitewise.generated.js +1 -1
- package/aws-iotthingsgraph/lib/iotthingsgraph.generated.js +1 -1
- package/aws-iottwinmaker/lib/iottwinmaker.generated.js +1 -1
- package/aws-iotwireless/lib/iotwireless.generated.js +1 -1
- package/aws-ivs/lib/ivs.generated.js +1 -1
- package/aws-kafkaconnect/lib/kafkaconnect.generated.js +1 -1
- package/aws-kendra/lib/kendra.generated.js +1 -1
- package/aws-kinesis/lib/kinesis.generated.js +1 -1
- package/aws-kinesis/lib/stream.js +1 -1
- package/aws-kinesisanalytics/lib/kinesisanalytics.generated.js +1 -1
- package/aws-kinesisanalytics/lib/kinesisanalyticsv2.generated.js +1 -1
- package/aws-kinesisanalyticsv2/lib/kinesisanalyticsv2.generated.js +1 -1
- package/aws-kinesisfirehose/lib/kinesisfirehose.generated.js +1 -1
- package/aws-kinesisvideo/lib/kinesisvideo.generated.js +1 -1
- package/aws-kms/lib/alias.js +1 -1
- package/aws-kms/lib/key.js +1 -1
- package/aws-kms/lib/kms.generated.js +1 -1
- package/aws-kms/lib/via-service-principal.js +1 -1
- package/aws-lakeformation/lib/lakeformation.generated.js +1 -1
- package/aws-lambda/lib/alias.js +1 -1
- package/aws-lambda/lib/architecture.js +1 -1
- package/aws-lambda/lib/code-signing-config.js +1 -1
- package/aws-lambda/lib/code.js +1 -1
- package/aws-lambda/lib/event-invoke-config.js +1 -1
- package/aws-lambda/lib/event-source-filter.js +1 -1
- package/aws-lambda/lib/event-source-mapping.js +1 -1
- package/aws-lambda/lib/filesystem.js +1 -1
- package/aws-lambda/lib/function-base.js +1 -1
- package/aws-lambda/lib/function-url.js +1 -1
- package/aws-lambda/lib/function.js +1 -1
- package/aws-lambda/lib/handler.js +1 -1
- package/aws-lambda/lib/image-function.js +1 -1
- package/aws-lambda/lib/lambda-insights.js +1 -1
- package/aws-lambda/lib/lambda-version.js +1 -1
- package/aws-lambda/lib/lambda.generated.js +1 -1
- package/aws-lambda/lib/layers.js +1 -1
- package/aws-lambda/lib/log-retention.js +1 -1
- package/aws-lambda/lib/runtime.js +1 -1
- package/aws-lambda/lib/singleton-lambda.js +1 -1
- package/aws-lambda-destinations/lib/event-bridge.js +1 -1
- package/aws-lambda-destinations/lib/lambda.js +1 -1
- package/aws-lambda-destinations/lib/sns.js +1 -1
- package/aws-lambda-destinations/lib/sqs.js +1 -1
- package/aws-lambda-event-sources/lib/api.js +1 -1
- package/aws-lambda-event-sources/lib/dynamodb.js +1 -1
- package/aws-lambda-event-sources/lib/kafka.js +1 -1
- package/aws-lambda-event-sources/lib/kinesis.js +1 -1
- package/aws-lambda-event-sources/lib/s3.js +1 -1
- package/aws-lambda-event-sources/lib/sns-dlq.js +1 -1
- package/aws-lambda-event-sources/lib/sns.js +1 -1
- package/aws-lambda-event-sources/lib/sqs-dlq.js +1 -1
- package/aws-lambda-event-sources/lib/sqs.js +1 -1
- package/aws-lambda-event-sources/lib/stream.js +1 -1
- package/aws-lambda-nodejs/lib/function.js +1 -1
- package/aws-lex/lib/lex.generated.js +1 -1
- package/aws-licensemanager/lib/licensemanager.generated.js +1 -1
- package/aws-lightsail/lib/lightsail.generated.js +1 -1
- package/aws-location/lib/location.generated.js +1 -1
- package/aws-logs/lib/cross-account-destination.js +1 -1
- package/aws-logs/lib/log-group.js +1 -1
- package/aws-logs/lib/log-retention.js +1 -1
- package/aws-logs/lib/log-stream.js +1 -1
- package/aws-logs/lib/logs.generated.js +1 -1
- package/aws-logs/lib/metric-filter.js +1 -1
- package/aws-logs/lib/pattern.js +1 -1
- package/aws-logs/lib/policy.js +1 -1
- package/aws-logs/lib/query-definition.js +1 -1
- package/aws-logs/lib/subscription-filter.js +1 -1
- package/aws-logs-destinations/lib/kinesis.js +1 -1
- package/aws-logs-destinations/lib/lambda.js +1 -1
- package/aws-lookoutequipment/lib/lookoutequipment.generated.js +1 -1
- package/aws-lookoutmetrics/lib/lookoutmetrics.generated.js +1 -1
- package/aws-lookoutvision/lib/lookoutvision.generated.js +1 -1
- package/aws-m2/lib/m2.generated.js +1 -1
- package/aws-macie/lib/macie.generated.js +1 -1
- package/aws-managedblockchain/lib/managedblockchain.generated.js +1 -1
- package/aws-mediaconnect/lib/mediaconnect.generated.js +1 -1
- package/aws-mediaconvert/lib/mediaconvert.generated.js +1 -1
- package/aws-medialive/lib/medialive.generated.js +1 -1
- package/aws-mediapackage/lib/mediapackage.generated.js +1 -1
- package/aws-mediastore/lib/mediastore.generated.js +1 -1
- package/aws-mediatailor/lib/mediatailor.generated.js +1 -1
- package/aws-memorydb/lib/memorydb.generated.js +1 -1
- package/aws-msk/lib/msk.generated.js +1 -1
- package/aws-mwaa/lib/mwaa.generated.js +1 -1
- package/aws-neptune/lib/neptune.generated.js +1 -1
- package/aws-networkfirewall/lib/networkfirewall.generated.js +1 -1
- package/aws-networkmanager/lib/networkmanager.generated.js +1 -1
- package/aws-nimblestudio/lib/nimblestudio.generated.js +1 -1
- package/aws-opensearchservice/lib/domain.js +1 -1
- package/aws-opensearchservice/lib/opensearchservice.generated.js +1 -1
- package/aws-opensearchservice/lib/version.js +1 -1
- package/aws-opsworks/lib/opsworks.generated.js +1 -1
- package/aws-opsworkscm/lib/opsworkscm.generated.js +1 -1
- package/aws-organizations/lib/organizations.generated.js +1 -1
- package/aws-panorama/lib/panorama.generated.js +1 -1
- package/aws-personalize/lib/personalize.generated.js +1 -1
- package/aws-pinpoint/lib/pinpoint.generated.js +1 -1
- package/aws-pinpointemail/lib/pinpointemail.generated.js +1 -1
- package/aws-qldb/lib/qldb.generated.js +1 -1
- package/aws-quicksight/lib/quicksight.generated.js +1 -1
- package/aws-ram/lib/ram.generated.js +1 -1
- package/aws-rds/lib/cluster-engine.js +1 -1
- package/aws-rds/lib/cluster.js +1 -1
- package/aws-rds/lib/database-secret.js +1 -1
- package/aws-rds/lib/endpoint.js +1 -1
- package/aws-rds/lib/instance-engine.js +1 -1
- package/aws-rds/lib/instance.js +1 -1
- package/aws-rds/lib/option-group.js +1 -1
- package/aws-rds/lib/parameter-group.js +1 -1
- package/aws-rds/lib/props.js +1 -1
- package/aws-rds/lib/proxy.js +1 -1
- package/aws-rds/lib/rds.generated.js +1 -1
- package/aws-rds/lib/serverless-cluster.js +1 -1
- package/aws-rds/lib/subnet-group.js +1 -1
- package/aws-redshift/lib/redshift.generated.js +1 -1
- package/aws-redshiftserverless/lib/redshiftserverless.generated.js +1 -1
- package/aws-refactorspaces/lib/refactorspaces.generated.js +1 -1
- package/aws-rekognition/lib/rekognition.generated.js +1 -1
- package/aws-resiliencehub/lib/resiliencehub.generated.js +1 -1
- package/aws-resourceexplorer2/lib/resourceexplorer2.generated.js +1 -1
- package/aws-resourcegroups/lib/resourcegroups.generated.js +1 -1
- package/aws-robomaker/lib/robomaker.generated.js +1 -1
- package/aws-rolesanywhere/lib/rolesanywhere.generated.js +1 -1
- package/aws-route53/lib/hosted-zone.js +1 -1
- package/aws-route53/lib/record-set.js +1 -1
- package/aws-route53/lib/route53.generated.js +1 -1
- package/aws-route53/lib/vpc-endpoint-service-domain-name.js +1 -1
- package/aws-route53-patterns/lib/website-redirect.js +1 -1
- package/aws-route53-targets/lib/api-gateway-domain-name.js +1 -1
- package/aws-route53-targets/lib/api-gatewayv2-domain-name.js +1 -1
- package/aws-route53-targets/lib/bucket-website-target.js +1 -1
- package/aws-route53-targets/lib/classic-load-balancer-target.js +1 -1
- package/aws-route53-targets/lib/cloudfront-target.js +1 -1
- package/aws-route53-targets/lib/elastic-beanstalk-environment-target.js +1 -1
- package/aws-route53-targets/lib/global-accelerator-target.js +1 -1
- package/aws-route53-targets/lib/interface-vpc-endpoint-target.js +1 -1
- package/aws-route53-targets/lib/load-balancer-target.js +1 -1
- package/aws-route53-targets/lib/route53-record.js +1 -1
- package/aws-route53-targets/lib/userpool-domain.js +1 -1
- package/aws-route53recoverycontrol/lib/route53recoverycontrol.generated.js +1 -1
- package/aws-route53recoveryreadiness/lib/route53recoveryreadiness.generated.js +1 -1
- package/aws-route53resolver/lib/route53resolver.generated.js +1 -1
- package/aws-rum/lib/rum.generated.js +1 -1
- package/aws-s3/lib/bucket-policy.js +1 -1
- package/aws-s3/lib/bucket.js +1 -1
- package/aws-s3/lib/rule.js +1 -1
- package/aws-s3/lib/s3.generated.js +1 -1
- package/aws-s3-assets/lib/asset.js +1 -1
- package/aws-s3-deployment/lib/bucket-deployment.js +1 -1
- package/aws-s3-deployment/lib/source.js +1 -1
- package/aws-s3-notifications/lib/lambda.js +1 -1
- package/aws-s3-notifications/lib/sns.js +1 -1
- package/aws-s3-notifications/lib/sqs.js +1 -1
- package/aws-s3objectlambda/lib/s3objectlambda.generated.js +1 -1
- package/aws-s3outposts/lib/s3outposts.generated.js +1 -1
- package/aws-sagemaker/lib/sagemaker.generated.js +1 -1
- package/aws-sam/lib/sam.generated.js +1 -1
- package/aws-scheduler/lib/scheduler.generated.js +1 -1
- package/aws-sdb/lib/sdb.generated.js +1 -1
- package/aws-secretsmanager/lib/policy.js +1 -1
- package/aws-secretsmanager/lib/rotation-schedule.js +1 -1
- package/aws-secretsmanager/lib/secret-rotation.js +1 -1
- package/aws-secretsmanager/lib/secret.js +1 -1
- package/aws-secretsmanager/lib/secretsmanager.generated.js +1 -1
- package/aws-securityhub/lib/securityhub.generated.js +1 -1
- package/aws-servicecatalog/lib/cloudformation-template.js +1 -1
- package/aws-servicecatalog/lib/portfolio.js +1 -1
- package/aws-servicecatalog/lib/product-stack-history.js +1 -1
- package/aws-servicecatalog/lib/product-stack.js +1 -1
- package/aws-servicecatalog/lib/product.js +1 -1
- package/aws-servicecatalog/lib/servicecatalog.generated.js +1 -1
- package/aws-servicecatalog/lib/tag-options.js +1 -1
- package/aws-servicecatalogappregistry/lib/servicecatalogappregistry.generated.js +1 -1
- package/aws-servicediscovery/lib/alias-target-instance.js +1 -1
- package/aws-servicediscovery/lib/cname-instance.js +1 -1
- package/aws-servicediscovery/lib/http-namespace.js +1 -1
- package/aws-servicediscovery/lib/instance.js +1 -1
- package/aws-servicediscovery/lib/ip-instance.js +1 -1
- package/aws-servicediscovery/lib/non-ip-instance.js +1 -1
- package/aws-servicediscovery/lib/private-dns-namespace.js +1 -1
- package/aws-servicediscovery/lib/public-dns-namespace.js +1 -1
- package/aws-servicediscovery/lib/service.js +1 -1
- package/aws-servicediscovery/lib/servicediscovery.generated.js +1 -1
- package/aws-ses/lib/configuration-set.js +1 -1
- package/aws-ses/lib/dedicated-ip-pool.js +1 -1
- package/aws-ses/lib/email-identity.js +1 -1
- package/aws-ses/lib/receipt-filter.js +1 -1
- package/aws-ses/lib/receipt-rule-set.js +1 -1
- package/aws-ses/lib/receipt-rule.js +1 -1
- package/aws-ses/lib/ses.generated.js +1 -1
- package/aws-ses-actions/lib/add-header.js +1 -1
- package/aws-ses-actions/lib/bounce.js +1 -1
- package/aws-ses-actions/lib/lambda.js +1 -1
- package/aws-ses-actions/lib/s3.js +1 -1
- package/aws-ses-actions/lib/sns.js +1 -1
- package/aws-ses-actions/lib/stop.js +1 -1
- package/aws-signer/lib/signer.generated.js +1 -1
- package/aws-signer/lib/signing-profile.js +1 -1
- package/aws-sns/lib/policy.js +1 -1
- package/aws-sns/lib/sns.generated.js +1 -1
- package/aws-sns/lib/subscription-filter.js +1 -1
- package/aws-sns/lib/subscription.js +1 -1
- package/aws-sns/lib/topic-base.js +1 -1
- package/aws-sns/lib/topic.js +1 -1
- package/aws-sns-subscriptions/lib/email.js +1 -1
- package/aws-sns-subscriptions/lib/lambda.js +1 -1
- package/aws-sns-subscriptions/lib/sms.js +1 -1
- package/aws-sns-subscriptions/lib/sqs.js +1 -1
- package/aws-sns-subscriptions/lib/url.js +1 -1
- package/aws-sqs/lib/policy.js +1 -1
- package/aws-sqs/lib/queue-base.js +1 -1
- package/aws-sqs/lib/queue.js +1 -1
- package/aws-sqs/lib/sqs.generated.js +1 -1
- package/aws-ssm/lib/parameter.js +1 -1
- package/aws-ssm/lib/ssm.generated.js +1 -1
- package/aws-ssmcontacts/lib/ssmcontacts.generated.js +1 -1
- package/aws-ssmincidents/lib/ssmincidents.generated.js +1 -1
- package/aws-sso/lib/sso.generated.js +1 -1
- package/aws-stepfunctions/lib/activity.js +1 -1
- package/aws-stepfunctions/lib/chain.js +1 -1
- package/aws-stepfunctions/lib/condition.js +1 -1
- package/aws-stepfunctions/lib/fields.js +1 -1
- package/aws-stepfunctions/lib/input.js +1 -1
- package/aws-stepfunctions/lib/state-graph.js +1 -1
- package/aws-stepfunctions/lib/state-machine-fragment.js +1 -1
- package/aws-stepfunctions/lib/state-machine.js +1 -1
- package/aws-stepfunctions/lib/state-transition-metrics.js +1 -1
- package/aws-stepfunctions/lib/states/choice.js +1 -1
- package/aws-stepfunctions/lib/states/custom-state.js +1 -1
- package/aws-stepfunctions/lib/states/fail.js +1 -1
- package/aws-stepfunctions/lib/states/map.js +1 -1
- package/aws-stepfunctions/lib/states/parallel.js +1 -1
- package/aws-stepfunctions/lib/states/pass.js +1 -1
- package/aws-stepfunctions/lib/states/state.js +1 -1
- package/aws-stepfunctions/lib/states/succeed.js +1 -1
- package/aws-stepfunctions/lib/states/task-base.js +1 -1
- package/aws-stepfunctions/lib/states/task.js +1 -1
- package/aws-stepfunctions/lib/states/wait.js +1 -1
- package/aws-stepfunctions/lib/stepfunctions.generated.js +1 -1
- package/aws-stepfunctions/lib/types.js +1 -1
- package/aws-stepfunctions-tasks/lib/apigateway/call-http-api.js +1 -1
- package/aws-stepfunctions-tasks/lib/apigateway/call-rest-api.js +1 -1
- package/aws-stepfunctions-tasks/lib/athena/get-query-execution.js +1 -1
- package/aws-stepfunctions-tasks/lib/athena/get-query-results.js +1 -1
- package/aws-stepfunctions-tasks/lib/athena/start-query-execution.js +1 -1
- package/aws-stepfunctions-tasks/lib/athena/stop-query-execution.js +1 -1
- package/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.js +1 -1
- package/aws-stepfunctions-tasks/lib/batch/run-batch-job.js +1 -1
- package/aws-stepfunctions-tasks/lib/batch/submit-job.js +1 -1
- package/aws-stepfunctions-tasks/lib/codebuild/start-build.js +1 -1
- package/aws-stepfunctions-tasks/lib/databrew/start-job-run.js +1 -1
- package/aws-stepfunctions-tasks/lib/dynamodb/delete-item.js +1 -1
- package/aws-stepfunctions-tasks/lib/dynamodb/get-item.js +1 -1
- package/aws-stepfunctions-tasks/lib/dynamodb/put-item.js +1 -1
- package/aws-stepfunctions-tasks/lib/dynamodb/shared-types.js +1 -1
- package/aws-stepfunctions-tasks/lib/dynamodb/update-item.js +1 -1
- package/aws-stepfunctions-tasks/lib/ecs/run-ecs-ec2-task.js +1 -1
- package/aws-stepfunctions-tasks/lib/ecs/run-ecs-fargate-task.js +1 -1
- package/aws-stepfunctions-tasks/lib/ecs/run-ecs-task-base.js +1 -1
- package/aws-stepfunctions-tasks/lib/ecs/run-task.js +1 -1
- package/aws-stepfunctions-tasks/lib/eks/call.js +1 -1
- package/aws-stepfunctions-tasks/lib/emr/emr-add-step.js +1 -1
- package/aws-stepfunctions-tasks/lib/emr/emr-cancel-step.js +1 -1
- package/aws-stepfunctions-tasks/lib/emr/emr-create-cluster.js +1 -1
- package/aws-stepfunctions-tasks/lib/emr/emr-modify-instance-fleet-by-name.js +1 -1
- package/aws-stepfunctions-tasks/lib/emr/emr-modify-instance-group-by-name.js +1 -1
- package/aws-stepfunctions-tasks/lib/emr/emr-set-cluster-termination-protection.js +1 -1
- package/aws-stepfunctions-tasks/lib/emr/emr-terminate-cluster.js +1 -1
- package/aws-stepfunctions-tasks/lib/emrcontainers/create-virtual-cluster.js +1 -1
- package/aws-stepfunctions-tasks/lib/emrcontainers/delete-virtual-cluster.js +1 -1
- package/aws-stepfunctions-tasks/lib/emrcontainers/start-job-run.js +1 -1
- package/aws-stepfunctions-tasks/lib/evaluate-expression.js +1 -1
- package/aws-stepfunctions-tasks/lib/eventbridge/put-events.js +1 -1
- package/aws-stepfunctions-tasks/lib/glue/run-glue-job-task.js +1 -1
- package/aws-stepfunctions-tasks/lib/glue/start-job-run.js +1 -1
- package/aws-stepfunctions-tasks/lib/invoke-activity.js +1 -1
- package/aws-stepfunctions-tasks/lib/lambda/invoke-function.js +1 -1
- package/aws-stepfunctions-tasks/lib/lambda/invoke.js +1 -1
- package/aws-stepfunctions-tasks/lib/lambda/run-lambda-task.js +1 -1
- package/aws-stepfunctions-tasks/lib/sagemaker/base-types.js +1 -1
- package/aws-stepfunctions-tasks/lib/sagemaker/create-endpoint-config.js +1 -1
- package/aws-stepfunctions-tasks/lib/sagemaker/create-endpoint.js +1 -1
- package/aws-stepfunctions-tasks/lib/sagemaker/create-model.js +1 -1
- package/aws-stepfunctions-tasks/lib/sagemaker/create-training-job.js +1 -1
- package/aws-stepfunctions-tasks/lib/sagemaker/create-transform-job.js +1 -1
- package/aws-stepfunctions-tasks/lib/sagemaker/update-endpoint.js +1 -1
- package/aws-stepfunctions-tasks/lib/sns/publish-to-topic.js +1 -1
- package/aws-stepfunctions-tasks/lib/sns/publish.js +1 -1
- package/aws-stepfunctions-tasks/lib/sqs/send-message.js +1 -1
- package/aws-stepfunctions-tasks/lib/sqs/send-to-queue.js +1 -1
- package/aws-stepfunctions-tasks/lib/start-execution.js +1 -1
- package/aws-stepfunctions-tasks/lib/stepfunctions/invoke-activity.js +1 -1
- package/aws-stepfunctions-tasks/lib/stepfunctions/start-execution.js +1 -1
- package/aws-supportapp/lib/supportapp.generated.js +1 -1
- package/aws-synthetics/lib/synthetics.generated.js +1 -1
- package/aws-timestream/lib/timestream.generated.js +1 -1
- package/aws-transfer/lib/transfer.generated.js +1 -1
- package/aws-voiceid/lib/voiceid.generated.js +1 -1
- package/aws-waf/lib/waf.generated.js +1 -1
- package/aws-wafregional/lib/wafregional.generated.js +1 -1
- package/aws-wafv2/lib/wafv2.generated.js +1 -1
- package/aws-wisdom/lib/wisdom.generated.js +1 -1
- package/aws-workspaces/lib/workspaces.generated.js +1 -1
- package/aws-xray/lib/xray.generated.js +1 -1
- package/cloud-assembly-schema/lib/manifest.js +1 -1
- package/cloudformation-include/lib/cfn-include.js +1 -1
- package/core/lib/annotations.js +1 -1
- package/core/lib/app.js +1 -1
- package/core/lib/arn.js +1 -1
- package/core/lib/aspect.js +1 -1
- package/core/lib/asset-staging.js +1 -1
- package/core/lib/bundling.js +1 -1
- package/core/lib/cfn-codedeploy-blue-green-hook.js +1 -1
- package/core/lib/cfn-condition.js +1 -1
- package/core/lib/cfn-dynamic-reference.js +1 -1
- package/core/lib/cfn-element.js +1 -1
- package/core/lib/cfn-fn.js +1 -1
- package/core/lib/cfn-hook.js +1 -1
- package/core/lib/cfn-include.js +1 -1
- package/core/lib/cfn-json.js +1 -1
- package/core/lib/cfn-mapping.js +1 -1
- package/core/lib/cfn-output.js +1 -1
- package/core/lib/cfn-parameter.js +1 -1
- package/core/lib/cfn-pseudo.js +1 -1
- package/core/lib/cfn-resource.js +1 -1
- package/core/lib/cfn-rule.js +1 -1
- package/core/lib/cloudformation.generated.js +1 -1
- package/core/lib/context-provider.js +1 -1
- package/core/lib/custom-resource-provider/custom-resource-provider.js +1 -1
- package/core/lib/custom-resource.js +1 -1
- package/core/lib/duration.js +1 -1
- package/core/lib/expiration.js +1 -1
- package/core/lib/feature-flags.js +1 -1
- package/core/lib/fs/ignore.js +1 -1
- package/core/lib/fs/index.js +1 -1
- package/core/lib/lazy.js +1 -1
- package/core/lib/names.js +1 -1
- package/core/lib/nested-stack.js +1 -1
- package/core/lib/physical-name.js +1 -1
- package/core/lib/private/intrinsic.js +1 -1
- package/core/lib/reference.js +1 -1
- package/core/lib/resolvable.js +2 -2
- package/core/lib/resource.js +1 -1
- package/core/lib/runtime.js +2 -2
- package/core/lib/secret-value.js +1 -1
- package/core/lib/size.js +1 -1
- package/core/lib/stack-synthesizers/asset-manifest-builder.js +1 -1
- package/core/lib/stack-synthesizers/bootstrapless-synthesizer.js +1 -1
- package/core/lib/stack-synthesizers/cli-credentials-synthesizer.js +1 -1
- package/core/lib/stack-synthesizers/default-synthesizer.js +1 -1
- package/core/lib/stack-synthesizers/legacy.js +1 -1
- package/core/lib/stack-synthesizers/nested.js +1 -1
- package/core/lib/stack-synthesizers/stack-synthesizer.js +1 -1
- package/core/lib/stack.js +1 -1
- package/core/lib/stage.js +1 -1
- package/core/lib/string-fragments.js +1 -1
- package/core/lib/tag-aspect.js +1 -1
- package/core/lib/tag-manager.js +1 -1
- package/core/lib/token.js +1 -1
- package/core/lib/tree.js +1 -1
- package/custom-resources/lib/aws-custom-resource/aws-custom-resource.js +1 -1
- package/custom-resources/lib/provider-framework/provider.js +1 -1
- package/cx-api/lib/artifacts/asset-manifest-artifact.js +1 -1
- package/cx-api/lib/artifacts/cloudformation-artifact.js +1 -1
- package/cx-api/lib/artifacts/nested-cloud-assembly-artifact.js +1 -1
- package/cx-api/lib/artifacts/tree-cloud-artifact.js +1 -1
- package/cx-api/lib/cloud-artifact.js +1 -1
- package/cx-api/lib/cloud-assembly.js +1 -1
- package/cx-api/lib/environment.js +1 -1
- package/cx-api/lib/placeholders.js +1 -1
- package/lambda-layer-awscli/lib/awscli-layer.js +1 -1
- package/lambda-layer-kubectl/lib/kubectl-layer.js +1 -1
- package/lambda-layer-node-proxy-agent/lib/node-proxy-agent-layer.js +1 -1
- package/package.json +253 -253
- package/pipelines/lib/blueprint/file-set.js +1 -1
- package/pipelines/lib/blueprint/manual-approval.js +1 -1
- package/pipelines/lib/blueprint/shell-step.js +1 -1
- package/pipelines/lib/blueprint/stack-deployment.js +1 -1
- package/pipelines/lib/blueprint/stage-deployment.js +1 -1
- package/pipelines/lib/blueprint/step.js +1 -1
- package/pipelines/lib/blueprint/wave.js +1 -1
- package/pipelines/lib/codepipeline/artifact-map.js +1 -1
- package/pipelines/lib/codepipeline/codebuild-step.js +1 -1
- package/pipelines/lib/codepipeline/codepipeline-source.js +1 -1
- package/pipelines/lib/codepipeline/codepipeline.js +1 -1
- package/pipelines/lib/codepipeline/confirm-permissions-broadening.js +1 -1
- package/pipelines/lib/docker-credentials.js +1 -1
- package/pipelines/lib/legacy/actions/deploy-cdk-stack-action.js +1 -1
- package/pipelines/lib/legacy/actions/publish-assets-action.js +1 -1
- package/pipelines/lib/legacy/actions/update-pipeline-action.js +1 -1
- package/pipelines/lib/legacy/pipeline.js +1 -1
- package/pipelines/lib/legacy/stage.js +1 -1
- package/pipelines/lib/legacy/synths/simple-synth-action.js +1 -1
- package/pipelines/lib/legacy/validation/shell-script-action.js +1 -1
- package/pipelines/lib/main/pipeline-base.js +1 -1
- package/region-info/lib/built-ins.generated.d.ts +1 -1
- package/region-info/lib/default.js +1 -1
- package/region-info/lib/fact.js +1 -1
- package/region-info/lib/region-info.js +1 -1
- package/triggers/lib/trigger-function.js +1 -1
- package/triggers/lib/trigger.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a,_b,_c,_d,_e,_f,_g,_h,_j,_k,_l;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnStageV2=exports.CfnRouteResponseV2=exports.CfnRouteV2=exports.CfnModelV2=exports.CfnIntegrationResponseV2=exports.CfnIntegrationV2=exports.CfnDomainNameV2=exports.CfnDeploymentV2=exports.CfnAuthorizerV2=exports.CfnApiMappingV2=exports.CfnApiV2=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cdk=require("../../core");function CfnApiV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiKeySelectionExpression",cdk.validateString)(properties.apiKeySelectionExpression)),errors.collect(cdk.propertyValidator("basePath",cdk.validateString)(properties.basePath)),errors.collect(cdk.propertyValidator("body",cdk.validateObject)(properties.body)),errors.collect(cdk.propertyValidator("bodyS3Location",CfnApiV2_BodyS3LocationPropertyValidator)(properties.bodyS3Location)),errors.collect(cdk.propertyValidator("corsConfiguration",CfnApiV2_CorsPropertyValidator)(properties.corsConfiguration)),errors.collect(cdk.propertyValidator("credentialsArn",cdk.validateString)(properties.credentialsArn)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("disableSchemaValidation",cdk.validateBoolean)(properties.disableSchemaValidation)),errors.collect(cdk.propertyValidator("failOnWarnings",cdk.validateBoolean)(properties.failOnWarnings)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("protocolType",cdk.validateString)(properties.protocolType)),errors.collect(cdk.propertyValidator("routeKey",cdk.validateString)(properties.routeKey)),errors.collect(cdk.propertyValidator("routeSelectionExpression",cdk.validateString)(properties.routeSelectionExpression)),errors.collect(cdk.propertyValidator("tags",cdk.validateObject)(properties.tags)),errors.collect(cdk.propertyValidator("target",cdk.validateString)(properties.target)),errors.collect(cdk.propertyValidator("version",cdk.validateString)(properties.version)),errors.wrap('supplied properties not correct for "CfnApiV2Props"')}function cfnApiV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnApiV2PropsValidator(properties).assertSuccess(),{ApiKeySelectionExpression:cdk.stringToCloudFormation(properties.apiKeySelectionExpression),BasePath:cdk.stringToCloudFormation(properties.basePath),Body:cdk.objectToCloudFormation(properties.body),BodyS3Location:cfnApiV2BodyS3LocationPropertyToCloudFormation(properties.bodyS3Location),CorsConfiguration:cfnApiV2CorsPropertyToCloudFormation(properties.corsConfiguration),CredentialsArn:cdk.stringToCloudFormation(properties.credentialsArn),Description:cdk.stringToCloudFormation(properties.description),DisableSchemaValidation:cdk.booleanToCloudFormation(properties.disableSchemaValidation),FailOnWarnings:cdk.booleanToCloudFormation(properties.failOnWarnings),Name:cdk.stringToCloudFormation(properties.name),ProtocolType:cdk.stringToCloudFormation(properties.protocolType),RouteKey:cdk.stringToCloudFormation(properties.routeKey),RouteSelectionExpression:cdk.stringToCloudFormation(properties.routeSelectionExpression),Tags:cdk.objectToCloudFormation(properties.tags),Target:cdk.stringToCloudFormation(properties.target),Version:cdk.stringToCloudFormation(properties.version)}):properties}class CfnApiV2 extends cdk.CfnResource{constructor(scope,id,props={}){super(scope,id,{type:CfnApiV2.CFN_RESOURCE_TYPE_NAME,properties:props}),this.apiKeySelectionExpression=props.apiKeySelectionExpression,this.basePath=props.basePath,this.body=props.body,this.bodyS3Location=props.bodyS3Location,this.corsConfiguration=props.corsConfiguration,this.credentialsArn=props.credentialsArn,this.description=props.description,this.disableSchemaValidation=props.disableSchemaValidation,this.failOnWarnings=props.failOnWarnings,this.name=props.name,this.protocolType=props.protocolType,this.routeKey=props.routeKey,this.routeSelectionExpression=props.routeSelectionExpression,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::ApiGatewayV2::Api",props.tags,{tagPropertyName:"tags"}),this.target=props.target,this.version=props.version}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnApiV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiKeySelectionExpression:this.apiKeySelectionExpression,basePath:this.basePath,body:this.body,bodyS3Location:this.bodyS3Location,corsConfiguration:this.corsConfiguration,credentialsArn:this.credentialsArn,description:this.description,disableSchemaValidation:this.disableSchemaValidation,failOnWarnings:this.failOnWarnings,name:this.name,protocolType:this.protocolType,routeKey:this.routeKey,routeSelectionExpression:this.routeSelectionExpression,tags:this.tags.renderTags(),target:this.target,version:this.version}}renderProperties(props){return cfnApiV2PropsToCloudFormation(props)}}exports.CfnApiV2=CfnApiV2,_a=JSII_RTTI_SYMBOL_1,CfnApiV2[_a]={fqn:"aws-cdk-lib.aws_apigateway.CfnApiV2",version:"2.52.0"},CfnApiV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Api";function CfnApiV2_BodyS3LocationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("bucket",cdk.validateString)(properties.bucket)),errors.collect(cdk.propertyValidator("etag",cdk.validateString)(properties.etag)),errors.collect(cdk.propertyValidator("key",cdk.validateString)(properties.key)),errors.collect(cdk.propertyValidator("version",cdk.validateString)(properties.version)),errors.wrap('supplied properties not correct for "BodyS3LocationProperty"')}function cfnApiV2BodyS3LocationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnApiV2_BodyS3LocationPropertyValidator(properties).assertSuccess(),{Bucket:cdk.stringToCloudFormation(properties.bucket),Etag:cdk.stringToCloudFormation(properties.etag),Key:cdk.stringToCloudFormation(properties.key),Version:cdk.stringToCloudFormation(properties.version)}):properties}function CfnApiV2_CorsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("allowCredentials",cdk.validateBoolean)(properties.allowCredentials)),errors.collect(cdk.propertyValidator("allowHeaders",cdk.listValidator(cdk.validateString))(properties.allowHeaders)),errors.collect(cdk.propertyValidator("allowMethods",cdk.listValidator(cdk.validateString))(properties.allowMethods)),errors.collect(cdk.propertyValidator("allowOrigins",cdk.listValidator(cdk.validateString))(properties.allowOrigins)),errors.collect(cdk.propertyValidator("exposeHeaders",cdk.listValidator(cdk.validateString))(properties.exposeHeaders)),errors.collect(cdk.propertyValidator("maxAge",cdk.validateNumber)(properties.maxAge)),errors.wrap('supplied properties not correct for "CorsProperty"')}function cfnApiV2CorsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnApiV2_CorsPropertyValidator(properties).assertSuccess(),{AllowCredentials:cdk.booleanToCloudFormation(properties.allowCredentials),AllowHeaders:cdk.listMapper(cdk.stringToCloudFormation)(properties.allowHeaders),AllowMethods:cdk.listMapper(cdk.stringToCloudFormation)(properties.allowMethods),AllowOrigins:cdk.listMapper(cdk.stringToCloudFormation)(properties.allowOrigins),ExposeHeaders:cdk.listMapper(cdk.stringToCloudFormation)(properties.exposeHeaders),MaxAge:cdk.numberToCloudFormation(properties.maxAge)}):properties}function CfnApiMappingV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("apiMappingKey",cdk.validateString)(properties.apiMappingKey)),errors.collect(cdk.propertyValidator("domainName",cdk.requiredValidator)(properties.domainName)),errors.collect(cdk.propertyValidator("domainName",cdk.validateString)(properties.domainName)),errors.collect(cdk.propertyValidator("stage",cdk.requiredValidator)(properties.stage)),errors.collect(cdk.propertyValidator("stage",cdk.validateString)(properties.stage)),errors.wrap('supplied properties not correct for "CfnApiMappingV2Props"')}function cfnApiMappingV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnApiMappingV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),DomainName:cdk.stringToCloudFormation(properties.domainName),Stage:cdk.stringToCloudFormation(properties.stage),ApiMappingKey:cdk.stringToCloudFormation(properties.apiMappingKey)}):properties}class CfnApiMappingV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnApiMappingV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"domainName",this),cdk.requireProperty(props,"stage",this),this.apiId=props.apiId,this.domainName=props.domainName,this.stage=props.stage,this.apiMappingKey=props.apiMappingKey}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnApiMappingV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,domainName:this.domainName,stage:this.stage,apiMappingKey:this.apiMappingKey}}renderProperties(props){return cfnApiMappingV2PropsToCloudFormation(props)}}exports.CfnApiMappingV2=CfnApiMappingV2,_b=JSII_RTTI_SYMBOL_1,CfnApiMappingV2[_b]={fqn:"aws-cdk-lib.aws_apigateway.CfnApiMappingV2",version:"2.52.0"},CfnApiMappingV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::ApiMapping";function CfnAuthorizerV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("authorizerCredentialsArn",cdk.validateString)(properties.authorizerCredentialsArn)),errors.collect(cdk.propertyValidator("authorizerResultTtlInSeconds",cdk.validateNumber)(properties.authorizerResultTtlInSeconds)),errors.collect(cdk.propertyValidator("authorizerType",cdk.requiredValidator)(properties.authorizerType)),errors.collect(cdk.propertyValidator("authorizerType",cdk.validateString)(properties.authorizerType)),errors.collect(cdk.propertyValidator("authorizerUri",cdk.validateString)(properties.authorizerUri)),errors.collect(cdk.propertyValidator("identitySource",cdk.requiredValidator)(properties.identitySource)),errors.collect(cdk.propertyValidator("identitySource",cdk.listValidator(cdk.validateString))(properties.identitySource)),errors.collect(cdk.propertyValidator("identityValidationExpression",cdk.validateString)(properties.identityValidationExpression)),errors.collect(cdk.propertyValidator("jwtConfiguration",CfnAuthorizerV2_JWTConfigurationPropertyValidator)(properties.jwtConfiguration)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.wrap('supplied properties not correct for "CfnAuthorizerV2Props"')}function cfnAuthorizerV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnAuthorizerV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),AuthorizerType:cdk.stringToCloudFormation(properties.authorizerType),IdentitySource:cdk.listMapper(cdk.stringToCloudFormation)(properties.identitySource),Name:cdk.stringToCloudFormation(properties.name),AuthorizerCredentialsArn:cdk.stringToCloudFormation(properties.authorizerCredentialsArn),AuthorizerResultTtlInSeconds:cdk.numberToCloudFormation(properties.authorizerResultTtlInSeconds),AuthorizerUri:cdk.stringToCloudFormation(properties.authorizerUri),IdentityValidationExpression:cdk.stringToCloudFormation(properties.identityValidationExpression),JwtConfiguration:cfnAuthorizerV2JWTConfigurationPropertyToCloudFormation(properties.jwtConfiguration)}):properties}class CfnAuthorizerV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnAuthorizerV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"authorizerType",this),cdk.requireProperty(props,"identitySource",this),cdk.requireProperty(props,"name",this),this.apiId=props.apiId,this.authorizerType=props.authorizerType,this.identitySource=props.identitySource,this.name=props.name,this.authorizerCredentialsArn=props.authorizerCredentialsArn,this.authorizerResultTtlInSeconds=props.authorizerResultTtlInSeconds,this.authorizerUri=props.authorizerUri,this.identityValidationExpression=props.identityValidationExpression,this.jwtConfiguration=props.jwtConfiguration}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnAuthorizerV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,authorizerType:this.authorizerType,identitySource:this.identitySource,name:this.name,authorizerCredentialsArn:this.authorizerCredentialsArn,authorizerResultTtlInSeconds:this.authorizerResultTtlInSeconds,authorizerUri:this.authorizerUri,identityValidationExpression:this.identityValidationExpression,jwtConfiguration:this.jwtConfiguration}}renderProperties(props){return cfnAuthorizerV2PropsToCloudFormation(props)}}exports.CfnAuthorizerV2=CfnAuthorizerV2,_c=JSII_RTTI_SYMBOL_1,CfnAuthorizerV2[_c]={fqn:"aws-cdk-lib.aws_apigateway.CfnAuthorizerV2",version:"2.52.0"},CfnAuthorizerV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Authorizer";function CfnAuthorizerV2_JWTConfigurationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("audience",cdk.listValidator(cdk.validateString))(properties.audience)),errors.collect(cdk.propertyValidator("issuer",cdk.validateString)(properties.issuer)),errors.wrap('supplied properties not correct for "JWTConfigurationProperty"')}function cfnAuthorizerV2JWTConfigurationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnAuthorizerV2_JWTConfigurationPropertyValidator(properties).assertSuccess(),{Audience:cdk.listMapper(cdk.stringToCloudFormation)(properties.audience),Issuer:cdk.stringToCloudFormation(properties.issuer)}):properties}function CfnDeploymentV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("stageName",cdk.validateString)(properties.stageName)),errors.wrap('supplied properties not correct for "CfnDeploymentV2Props"')}function cfnDeploymentV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDeploymentV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),Description:cdk.stringToCloudFormation(properties.description),StageName:cdk.stringToCloudFormation(properties.stageName)}):properties}class CfnDeploymentV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnDeploymentV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),this.apiId=props.apiId,this.description=props.description,this.stageName=props.stageName}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnDeploymentV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,description:this.description,stageName:this.stageName}}renderProperties(props){return cfnDeploymentV2PropsToCloudFormation(props)}}exports.CfnDeploymentV2=CfnDeploymentV2,_d=JSII_RTTI_SYMBOL_1,CfnDeploymentV2[_d]={fqn:"aws-cdk-lib.aws_apigateway.CfnDeploymentV2",version:"2.52.0"},CfnDeploymentV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Deployment";function CfnDomainNameV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("domainName",cdk.requiredValidator)(properties.domainName)),errors.collect(cdk.propertyValidator("domainName",cdk.validateString)(properties.domainName)),errors.collect(cdk.propertyValidator("domainNameConfigurations",cdk.listValidator(CfnDomainNameV2_DomainNameConfigurationPropertyValidator))(properties.domainNameConfigurations)),errors.collect(cdk.propertyValidator("tags",cdk.validateObject)(properties.tags)),errors.wrap('supplied properties not correct for "CfnDomainNameV2Props"')}function cfnDomainNameV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDomainNameV2PropsValidator(properties).assertSuccess(),{DomainName:cdk.stringToCloudFormation(properties.domainName),DomainNameConfigurations:cdk.listMapper(cfnDomainNameV2DomainNameConfigurationPropertyToCloudFormation)(properties.domainNameConfigurations),Tags:cdk.objectToCloudFormation(properties.tags)}):properties}class CfnDomainNameV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnDomainNameV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"domainName",this),this.attrRegionalDomainName=cdk.Token.asString(this.getAtt("RegionalDomainName")),this.attrRegionalHostedZoneId=cdk.Token.asString(this.getAtt("RegionalHostedZoneId")),this.domainName=props.domainName,this.domainNameConfigurations=props.domainNameConfigurations,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::ApiGatewayV2::DomainName",props.tags,{tagPropertyName:"tags"})}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnDomainNameV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{domainName:this.domainName,domainNameConfigurations:this.domainNameConfigurations,tags:this.tags.renderTags()}}renderProperties(props){return cfnDomainNameV2PropsToCloudFormation(props)}}exports.CfnDomainNameV2=CfnDomainNameV2,_e=JSII_RTTI_SYMBOL_1,CfnDomainNameV2[_e]={fqn:"aws-cdk-lib.aws_apigateway.CfnDomainNameV2",version:"2.52.0"},CfnDomainNameV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::DomainName";function CfnDomainNameV2_DomainNameConfigurationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("certificateArn",cdk.validateString)(properties.certificateArn)),errors.collect(cdk.propertyValidator("certificateName",cdk.validateString)(properties.certificateName)),errors.collect(cdk.propertyValidator("endpointType",cdk.validateString)(properties.endpointType)),errors.wrap('supplied properties not correct for "DomainNameConfigurationProperty"')}function cfnDomainNameV2DomainNameConfigurationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDomainNameV2_DomainNameConfigurationPropertyValidator(properties).assertSuccess(),{CertificateArn:cdk.stringToCloudFormation(properties.certificateArn),CertificateName:cdk.stringToCloudFormation(properties.certificateName),EndpointType:cdk.stringToCloudFormation(properties.endpointType)}):properties}function CfnIntegrationV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("connectionType",cdk.validateString)(properties.connectionType)),errors.collect(cdk.propertyValidator("contentHandlingStrategy",cdk.validateString)(properties.contentHandlingStrategy)),errors.collect(cdk.propertyValidator("credentialsArn",cdk.validateString)(properties.credentialsArn)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("integrationMethod",cdk.validateString)(properties.integrationMethod)),errors.collect(cdk.propertyValidator("integrationType",cdk.requiredValidator)(properties.integrationType)),errors.collect(cdk.propertyValidator("integrationType",cdk.validateString)(properties.integrationType)),errors.collect(cdk.propertyValidator("integrationUri",cdk.validateString)(properties.integrationUri)),errors.collect(cdk.propertyValidator("passthroughBehavior",cdk.validateString)(properties.passthroughBehavior)),errors.collect(cdk.propertyValidator("payloadFormatVersion",cdk.validateString)(properties.payloadFormatVersion)),errors.collect(cdk.propertyValidator("requestParameters",cdk.validateObject)(properties.requestParameters)),errors.collect(cdk.propertyValidator("requestTemplates",cdk.validateObject)(properties.requestTemplates)),errors.collect(cdk.propertyValidator("templateSelectionExpression",cdk.validateString)(properties.templateSelectionExpression)),errors.collect(cdk.propertyValidator("timeoutInMillis",cdk.validateNumber)(properties.timeoutInMillis)),errors.wrap('supplied properties not correct for "CfnIntegrationV2Props"')}function cfnIntegrationV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnIntegrationV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),IntegrationType:cdk.stringToCloudFormation(properties.integrationType),ConnectionType:cdk.stringToCloudFormation(properties.connectionType),ContentHandlingStrategy:cdk.stringToCloudFormation(properties.contentHandlingStrategy),CredentialsArn:cdk.stringToCloudFormation(properties.credentialsArn),Description:cdk.stringToCloudFormation(properties.description),IntegrationMethod:cdk.stringToCloudFormation(properties.integrationMethod),IntegrationUri:cdk.stringToCloudFormation(properties.integrationUri),PassthroughBehavior:cdk.stringToCloudFormation(properties.passthroughBehavior),PayloadFormatVersion:cdk.stringToCloudFormation(properties.payloadFormatVersion),RequestParameters:cdk.objectToCloudFormation(properties.requestParameters),RequestTemplates:cdk.objectToCloudFormation(properties.requestTemplates),TemplateSelectionExpression:cdk.stringToCloudFormation(properties.templateSelectionExpression),TimeoutInMillis:cdk.numberToCloudFormation(properties.timeoutInMillis)}):properties}class CfnIntegrationV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnIntegrationV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"integrationType",this),this.apiId=props.apiId,this.integrationType=props.integrationType,this.connectionType=props.connectionType,this.contentHandlingStrategy=props.contentHandlingStrategy,this.credentialsArn=props.credentialsArn,this.description=props.description,this.integrationMethod=props.integrationMethod,this.integrationUri=props.integrationUri,this.passthroughBehavior=props.passthroughBehavior,this.payloadFormatVersion=props.payloadFormatVersion,this.requestParameters=props.requestParameters,this.requestTemplates=props.requestTemplates,this.templateSelectionExpression=props.templateSelectionExpression,this.timeoutInMillis=props.timeoutInMillis}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnIntegrationV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,integrationType:this.integrationType,connectionType:this.connectionType,contentHandlingStrategy:this.contentHandlingStrategy,credentialsArn:this.credentialsArn,description:this.description,integrationMethod:this.integrationMethod,integrationUri:this.integrationUri,passthroughBehavior:this.passthroughBehavior,payloadFormatVersion:this.payloadFormatVersion,requestParameters:this.requestParameters,requestTemplates:this.requestTemplates,templateSelectionExpression:this.templateSelectionExpression,timeoutInMillis:this.timeoutInMillis}}renderProperties(props){return cfnIntegrationV2PropsToCloudFormation(props)}}exports.CfnIntegrationV2=CfnIntegrationV2,_f=JSII_RTTI_SYMBOL_1,CfnIntegrationV2[_f]={fqn:"aws-cdk-lib.aws_apigateway.CfnIntegrationV2",version:"2.52.0"},CfnIntegrationV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Integration";function CfnIntegrationResponseV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("contentHandlingStrategy",cdk.validateString)(properties.contentHandlingStrategy)),errors.collect(cdk.propertyValidator("integrationId",cdk.requiredValidator)(properties.integrationId)),errors.collect(cdk.propertyValidator("integrationId",cdk.validateString)(properties.integrationId)),errors.collect(cdk.propertyValidator("integrationResponseKey",cdk.requiredValidator)(properties.integrationResponseKey)),errors.collect(cdk.propertyValidator("integrationResponseKey",cdk.validateString)(properties.integrationResponseKey)),errors.collect(cdk.propertyValidator("responseParameters",cdk.validateObject)(properties.responseParameters)),errors.collect(cdk.propertyValidator("responseTemplates",cdk.validateObject)(properties.responseTemplates)),errors.collect(cdk.propertyValidator("templateSelectionExpression",cdk.validateString)(properties.templateSelectionExpression)),errors.wrap('supplied properties not correct for "CfnIntegrationResponseV2Props"')}function cfnIntegrationResponseV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnIntegrationResponseV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),IntegrationId:cdk.stringToCloudFormation(properties.integrationId),IntegrationResponseKey:cdk.stringToCloudFormation(properties.integrationResponseKey),ContentHandlingStrategy:cdk.stringToCloudFormation(properties.contentHandlingStrategy),ResponseParameters:cdk.objectToCloudFormation(properties.responseParameters),ResponseTemplates:cdk.objectToCloudFormation(properties.responseTemplates),TemplateSelectionExpression:cdk.stringToCloudFormation(properties.templateSelectionExpression)}):properties}class CfnIntegrationResponseV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnIntegrationResponseV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"integrationId",this),cdk.requireProperty(props,"integrationResponseKey",this),this.apiId=props.apiId,this.integrationId=props.integrationId,this.integrationResponseKey=props.integrationResponseKey,this.contentHandlingStrategy=props.contentHandlingStrategy,this.responseParameters=props.responseParameters,this.responseTemplates=props.responseTemplates,this.templateSelectionExpression=props.templateSelectionExpression}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnIntegrationResponseV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,integrationId:this.integrationId,integrationResponseKey:this.integrationResponseKey,contentHandlingStrategy:this.contentHandlingStrategy,responseParameters:this.responseParameters,responseTemplates:this.responseTemplates,templateSelectionExpression:this.templateSelectionExpression}}renderProperties(props){return cfnIntegrationResponseV2PropsToCloudFormation(props)}}exports.CfnIntegrationResponseV2=CfnIntegrationResponseV2,_g=JSII_RTTI_SYMBOL_1,CfnIntegrationResponseV2[_g]={fqn:"aws-cdk-lib.aws_apigateway.CfnIntegrationResponseV2",version:"2.52.0"},CfnIntegrationResponseV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::IntegrationResponse";function CfnModelV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("contentType",cdk.validateString)(properties.contentType)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("schema",cdk.requiredValidator)(properties.schema)),errors.collect(cdk.propertyValidator("schema",cdk.validateObject)(properties.schema)),errors.wrap('supplied properties not correct for "CfnModelV2Props"')}function cfnModelV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnModelV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),Name:cdk.stringToCloudFormation(properties.name),Schema:cdk.objectToCloudFormation(properties.schema),ContentType:cdk.stringToCloudFormation(properties.contentType),Description:cdk.stringToCloudFormation(properties.description)}):properties}class CfnModelV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnModelV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"name",this),cdk.requireProperty(props,"schema",this),this.apiId=props.apiId,this.name=props.name,this.schema=props.schema,this.contentType=props.contentType,this.description=props.description}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnModelV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,name:this.name,schema:this.schema,contentType:this.contentType,description:this.description}}renderProperties(props){return cfnModelV2PropsToCloudFormation(props)}}exports.CfnModelV2=CfnModelV2,_h=JSII_RTTI_SYMBOL_1,CfnModelV2[_h]={fqn:"aws-cdk-lib.aws_apigateway.CfnModelV2",version:"2.52.0"},CfnModelV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Model";function CfnRouteV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("apiKeyRequired",cdk.validateBoolean)(properties.apiKeyRequired)),errors.collect(cdk.propertyValidator("authorizationScopes",cdk.listValidator(cdk.validateString))(properties.authorizationScopes)),errors.collect(cdk.propertyValidator("authorizationType",cdk.validateString)(properties.authorizationType)),errors.collect(cdk.propertyValidator("authorizerId",cdk.validateString)(properties.authorizerId)),errors.collect(cdk.propertyValidator("modelSelectionExpression",cdk.validateString)(properties.modelSelectionExpression)),errors.collect(cdk.propertyValidator("operationName",cdk.validateString)(properties.operationName)),errors.collect(cdk.propertyValidator("requestModels",cdk.validateObject)(properties.requestModels)),errors.collect(cdk.propertyValidator("requestParameters",cdk.validateObject)(properties.requestParameters)),errors.collect(cdk.propertyValidator("routeKey",cdk.requiredValidator)(properties.routeKey)),errors.collect(cdk.propertyValidator("routeKey",cdk.validateString)(properties.routeKey)),errors.collect(cdk.propertyValidator("routeResponseSelectionExpression",cdk.validateString)(properties.routeResponseSelectionExpression)),errors.collect(cdk.propertyValidator("target",cdk.validateString)(properties.target)),errors.wrap('supplied properties not correct for "CfnRouteV2Props"')}function cfnRouteV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnRouteV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),RouteKey:cdk.stringToCloudFormation(properties.routeKey),ApiKeyRequired:cdk.booleanToCloudFormation(properties.apiKeyRequired),AuthorizationScopes:cdk.listMapper(cdk.stringToCloudFormation)(properties.authorizationScopes),AuthorizationType:cdk.stringToCloudFormation(properties.authorizationType),AuthorizerId:cdk.stringToCloudFormation(properties.authorizerId),ModelSelectionExpression:cdk.stringToCloudFormation(properties.modelSelectionExpression),OperationName:cdk.stringToCloudFormation(properties.operationName),RequestModels:cdk.objectToCloudFormation(properties.requestModels),RequestParameters:cdk.objectToCloudFormation(properties.requestParameters),RouteResponseSelectionExpression:cdk.stringToCloudFormation(properties.routeResponseSelectionExpression),Target:cdk.stringToCloudFormation(properties.target)}):properties}class CfnRouteV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnRouteV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"routeKey",this),this.apiId=props.apiId,this.routeKey=props.routeKey,this.apiKeyRequired=props.apiKeyRequired,this.authorizationScopes=props.authorizationScopes,this.authorizationType=props.authorizationType,this.authorizerId=props.authorizerId,this.modelSelectionExpression=props.modelSelectionExpression,this.operationName=props.operationName,this.requestModels=props.requestModels,this.requestParameters=props.requestParameters,this.routeResponseSelectionExpression=props.routeResponseSelectionExpression,this.target=props.target}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnRouteV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,routeKey:this.routeKey,apiKeyRequired:this.apiKeyRequired,authorizationScopes:this.authorizationScopes,authorizationType:this.authorizationType,authorizerId:this.authorizerId,modelSelectionExpression:this.modelSelectionExpression,operationName:this.operationName,requestModels:this.requestModels,requestParameters:this.requestParameters,routeResponseSelectionExpression:this.routeResponseSelectionExpression,target:this.target}}renderProperties(props){return cfnRouteV2PropsToCloudFormation(props)}}exports.CfnRouteV2=CfnRouteV2,_j=JSII_RTTI_SYMBOL_1,CfnRouteV2[_j]={fqn:"aws-cdk-lib.aws_apigateway.CfnRouteV2",version:"2.52.0"},CfnRouteV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Route";function CfnRouteV2_ParameterConstraintsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("required",cdk.requiredValidator)(properties.required)),errors.collect(cdk.propertyValidator("required",cdk.validateBoolean)(properties.required)),errors.wrap('supplied properties not correct for "ParameterConstraintsProperty"')}function cfnRouteV2ParameterConstraintsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnRouteV2_ParameterConstraintsPropertyValidator(properties).assertSuccess(),{Required:cdk.booleanToCloudFormation(properties.required)}):properties}function CfnRouteResponseV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("modelSelectionExpression",cdk.validateString)(properties.modelSelectionExpression)),errors.collect(cdk.propertyValidator("responseModels",cdk.validateObject)(properties.responseModels)),errors.collect(cdk.propertyValidator("responseParameters",cdk.validateObject)(properties.responseParameters)),errors.collect(cdk.propertyValidator("routeId",cdk.requiredValidator)(properties.routeId)),errors.collect(cdk.propertyValidator("routeId",cdk.validateString)(properties.routeId)),errors.collect(cdk.propertyValidator("routeResponseKey",cdk.requiredValidator)(properties.routeResponseKey)),errors.collect(cdk.propertyValidator("routeResponseKey",cdk.validateString)(properties.routeResponseKey)),errors.wrap('supplied properties not correct for "CfnRouteResponseV2Props"')}function cfnRouteResponseV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnRouteResponseV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),RouteId:cdk.stringToCloudFormation(properties.routeId),RouteResponseKey:cdk.stringToCloudFormation(properties.routeResponseKey),ModelSelectionExpression:cdk.stringToCloudFormation(properties.modelSelectionExpression),ResponseModels:cdk.objectToCloudFormation(properties.responseModels),ResponseParameters:cdk.objectToCloudFormation(properties.responseParameters)}):properties}class CfnRouteResponseV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnRouteResponseV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"routeId",this),cdk.requireProperty(props,"routeResponseKey",this),this.apiId=props.apiId,this.routeId=props.routeId,this.routeResponseKey=props.routeResponseKey,this.modelSelectionExpression=props.modelSelectionExpression,this.responseModels=props.responseModels,this.responseParameters=props.responseParameters}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnRouteResponseV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,routeId:this.routeId,routeResponseKey:this.routeResponseKey,modelSelectionExpression:this.modelSelectionExpression,responseModels:this.responseModels,responseParameters:this.responseParameters}}renderProperties(props){return cfnRouteResponseV2PropsToCloudFormation(props)}}exports.CfnRouteResponseV2=CfnRouteResponseV2,_k=JSII_RTTI_SYMBOL_1,CfnRouteResponseV2[_k]={fqn:"aws-cdk-lib.aws_apigateway.CfnRouteResponseV2",version:"2.52.0"},CfnRouteResponseV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::RouteResponse";function CfnRouteResponseV2_ParameterConstraintsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("required",cdk.requiredValidator)(properties.required)),errors.collect(cdk.propertyValidator("required",cdk.validateBoolean)(properties.required)),errors.wrap('supplied properties not correct for "ParameterConstraintsProperty"')}function cfnRouteResponseV2ParameterConstraintsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnRouteResponseV2_ParameterConstraintsPropertyValidator(properties).assertSuccess(),{Required:cdk.booleanToCloudFormation(properties.required)}):properties}function CfnStageV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("accessLogSettings",CfnStageV2_AccessLogSettingsPropertyValidator)(properties.accessLogSettings)),errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("autoDeploy",cdk.validateBoolean)(properties.autoDeploy)),errors.collect(cdk.propertyValidator("clientCertificateId",cdk.validateString)(properties.clientCertificateId)),errors.collect(cdk.propertyValidator("defaultRouteSettings",CfnStageV2_RouteSettingsPropertyValidator)(properties.defaultRouteSettings)),errors.collect(cdk.propertyValidator("deploymentId",cdk.validateString)(properties.deploymentId)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("routeSettings",cdk.validateObject)(properties.routeSettings)),errors.collect(cdk.propertyValidator("stageName",cdk.requiredValidator)(properties.stageName)),errors.collect(cdk.propertyValidator("stageName",cdk.validateString)(properties.stageName)),errors.collect(cdk.propertyValidator("stageVariables",cdk.validateObject)(properties.stageVariables)),errors.collect(cdk.propertyValidator("tags",cdk.validateObject)(properties.tags)),errors.wrap('supplied properties not correct for "CfnStageV2Props"')}function cfnStageV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnStageV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),StageName:cdk.stringToCloudFormation(properties.stageName),AccessLogSettings:cfnStageV2AccessLogSettingsPropertyToCloudFormation(properties.accessLogSettings),AutoDeploy:cdk.booleanToCloudFormation(properties.autoDeploy),ClientCertificateId:cdk.stringToCloudFormation(properties.clientCertificateId),DefaultRouteSettings:cfnStageV2RouteSettingsPropertyToCloudFormation(properties.defaultRouteSettings),DeploymentId:cdk.stringToCloudFormation(properties.deploymentId),Description:cdk.stringToCloudFormation(properties.description),RouteSettings:cdk.objectToCloudFormation(properties.routeSettings),StageVariables:cdk.objectToCloudFormation(properties.stageVariables),Tags:cdk.objectToCloudFormation(properties.tags)}):properties}class CfnStageV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnStageV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"stageName",this),this.apiId=props.apiId,this.stageName=props.stageName,this.accessLogSettings=props.accessLogSettings,this.autoDeploy=props.autoDeploy,this.clientCertificateId=props.clientCertificateId,this.defaultRouteSettings=props.defaultRouteSettings,this.deploymentId=props.deploymentId,this.description=props.description,this.routeSettings=props.routeSettings,this.stageVariables=props.stageVariables,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::ApiGatewayV2::Stage",props.tags,{tagPropertyName:"tags"})}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnStageV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,stageName:this.stageName,accessLogSettings:this.accessLogSettings,autoDeploy:this.autoDeploy,clientCertificateId:this.clientCertificateId,defaultRouteSettings:this.defaultRouteSettings,deploymentId:this.deploymentId,description:this.description,routeSettings:this.routeSettings,stageVariables:this.stageVariables,tags:this.tags.renderTags()}}renderProperties(props){return cfnStageV2PropsToCloudFormation(props)}}exports.CfnStageV2=CfnStageV2,_l=JSII_RTTI_SYMBOL_1,CfnStageV2[_l]={fqn:"aws-cdk-lib.aws_apigateway.CfnStageV2",version:"2.52.0"},CfnStageV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Stage";function CfnStageV2_AccessLogSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("destinationArn",cdk.validateString)(properties.destinationArn)),errors.collect(cdk.propertyValidator("format",cdk.validateString)(properties.format)),errors.wrap('supplied properties not correct for "AccessLogSettingsProperty"')}function cfnStageV2AccessLogSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnStageV2_AccessLogSettingsPropertyValidator(properties).assertSuccess(),{DestinationArn:cdk.stringToCloudFormation(properties.destinationArn),Format:cdk.stringToCloudFormation(properties.format)}):properties}function CfnStageV2_RouteSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("dataTraceEnabled",cdk.validateBoolean)(properties.dataTraceEnabled)),errors.collect(cdk.propertyValidator("detailedMetricsEnabled",cdk.validateBoolean)(properties.detailedMetricsEnabled)),errors.collect(cdk.propertyValidator("loggingLevel",cdk.validateString)(properties.loggingLevel)),errors.collect(cdk.propertyValidator("throttlingBurstLimit",cdk.validateNumber)(properties.throttlingBurstLimit)),errors.collect(cdk.propertyValidator("throttlingRateLimit",cdk.validateNumber)(properties.throttlingRateLimit)),errors.wrap('supplied properties not correct for "RouteSettingsProperty"')}function cfnStageV2RouteSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnStageV2_RouteSettingsPropertyValidator(properties).assertSuccess(),{DataTraceEnabled:cdk.booleanToCloudFormation(properties.dataTraceEnabled),DetailedMetricsEnabled:cdk.booleanToCloudFormation(properties.detailedMetricsEnabled),LoggingLevel:cdk.stringToCloudFormation(properties.loggingLevel),ThrottlingBurstLimit:cdk.numberToCloudFormation(properties.throttlingBurstLimit),ThrottlingRateLimit:cdk.numberToCloudFormation(properties.throttlingRateLimit)}):properties}
|
|
1
|
+
"use strict";var _a,_b,_c,_d,_e,_f,_g,_h,_j,_k,_l;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnStageV2=exports.CfnRouteResponseV2=exports.CfnRouteV2=exports.CfnModelV2=exports.CfnIntegrationResponseV2=exports.CfnIntegrationV2=exports.CfnDomainNameV2=exports.CfnDeploymentV2=exports.CfnAuthorizerV2=exports.CfnApiMappingV2=exports.CfnApiV2=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cdk=require("../../core");function CfnApiV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiKeySelectionExpression",cdk.validateString)(properties.apiKeySelectionExpression)),errors.collect(cdk.propertyValidator("basePath",cdk.validateString)(properties.basePath)),errors.collect(cdk.propertyValidator("body",cdk.validateObject)(properties.body)),errors.collect(cdk.propertyValidator("bodyS3Location",CfnApiV2_BodyS3LocationPropertyValidator)(properties.bodyS3Location)),errors.collect(cdk.propertyValidator("corsConfiguration",CfnApiV2_CorsPropertyValidator)(properties.corsConfiguration)),errors.collect(cdk.propertyValidator("credentialsArn",cdk.validateString)(properties.credentialsArn)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("disableSchemaValidation",cdk.validateBoolean)(properties.disableSchemaValidation)),errors.collect(cdk.propertyValidator("failOnWarnings",cdk.validateBoolean)(properties.failOnWarnings)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("protocolType",cdk.validateString)(properties.protocolType)),errors.collect(cdk.propertyValidator("routeKey",cdk.validateString)(properties.routeKey)),errors.collect(cdk.propertyValidator("routeSelectionExpression",cdk.validateString)(properties.routeSelectionExpression)),errors.collect(cdk.propertyValidator("tags",cdk.validateObject)(properties.tags)),errors.collect(cdk.propertyValidator("target",cdk.validateString)(properties.target)),errors.collect(cdk.propertyValidator("version",cdk.validateString)(properties.version)),errors.wrap('supplied properties not correct for "CfnApiV2Props"')}function cfnApiV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnApiV2PropsValidator(properties).assertSuccess(),{ApiKeySelectionExpression:cdk.stringToCloudFormation(properties.apiKeySelectionExpression),BasePath:cdk.stringToCloudFormation(properties.basePath),Body:cdk.objectToCloudFormation(properties.body),BodyS3Location:cfnApiV2BodyS3LocationPropertyToCloudFormation(properties.bodyS3Location),CorsConfiguration:cfnApiV2CorsPropertyToCloudFormation(properties.corsConfiguration),CredentialsArn:cdk.stringToCloudFormation(properties.credentialsArn),Description:cdk.stringToCloudFormation(properties.description),DisableSchemaValidation:cdk.booleanToCloudFormation(properties.disableSchemaValidation),FailOnWarnings:cdk.booleanToCloudFormation(properties.failOnWarnings),Name:cdk.stringToCloudFormation(properties.name),ProtocolType:cdk.stringToCloudFormation(properties.protocolType),RouteKey:cdk.stringToCloudFormation(properties.routeKey),RouteSelectionExpression:cdk.stringToCloudFormation(properties.routeSelectionExpression),Tags:cdk.objectToCloudFormation(properties.tags),Target:cdk.stringToCloudFormation(properties.target),Version:cdk.stringToCloudFormation(properties.version)}):properties}class CfnApiV2 extends cdk.CfnResource{constructor(scope,id,props={}){super(scope,id,{type:CfnApiV2.CFN_RESOURCE_TYPE_NAME,properties:props}),this.apiKeySelectionExpression=props.apiKeySelectionExpression,this.basePath=props.basePath,this.body=props.body,this.bodyS3Location=props.bodyS3Location,this.corsConfiguration=props.corsConfiguration,this.credentialsArn=props.credentialsArn,this.description=props.description,this.disableSchemaValidation=props.disableSchemaValidation,this.failOnWarnings=props.failOnWarnings,this.name=props.name,this.protocolType=props.protocolType,this.routeKey=props.routeKey,this.routeSelectionExpression=props.routeSelectionExpression,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::ApiGatewayV2::Api",props.tags,{tagPropertyName:"tags"}),this.target=props.target,this.version=props.version}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnApiV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiKeySelectionExpression:this.apiKeySelectionExpression,basePath:this.basePath,body:this.body,bodyS3Location:this.bodyS3Location,corsConfiguration:this.corsConfiguration,credentialsArn:this.credentialsArn,description:this.description,disableSchemaValidation:this.disableSchemaValidation,failOnWarnings:this.failOnWarnings,name:this.name,protocolType:this.protocolType,routeKey:this.routeKey,routeSelectionExpression:this.routeSelectionExpression,tags:this.tags.renderTags(),target:this.target,version:this.version}}renderProperties(props){return cfnApiV2PropsToCloudFormation(props)}}exports.CfnApiV2=CfnApiV2,_a=JSII_RTTI_SYMBOL_1,CfnApiV2[_a]={fqn:"aws-cdk-lib.aws_apigateway.CfnApiV2",version:"2.52.1"},CfnApiV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Api";function CfnApiV2_BodyS3LocationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("bucket",cdk.validateString)(properties.bucket)),errors.collect(cdk.propertyValidator("etag",cdk.validateString)(properties.etag)),errors.collect(cdk.propertyValidator("key",cdk.validateString)(properties.key)),errors.collect(cdk.propertyValidator("version",cdk.validateString)(properties.version)),errors.wrap('supplied properties not correct for "BodyS3LocationProperty"')}function cfnApiV2BodyS3LocationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnApiV2_BodyS3LocationPropertyValidator(properties).assertSuccess(),{Bucket:cdk.stringToCloudFormation(properties.bucket),Etag:cdk.stringToCloudFormation(properties.etag),Key:cdk.stringToCloudFormation(properties.key),Version:cdk.stringToCloudFormation(properties.version)}):properties}function CfnApiV2_CorsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("allowCredentials",cdk.validateBoolean)(properties.allowCredentials)),errors.collect(cdk.propertyValidator("allowHeaders",cdk.listValidator(cdk.validateString))(properties.allowHeaders)),errors.collect(cdk.propertyValidator("allowMethods",cdk.listValidator(cdk.validateString))(properties.allowMethods)),errors.collect(cdk.propertyValidator("allowOrigins",cdk.listValidator(cdk.validateString))(properties.allowOrigins)),errors.collect(cdk.propertyValidator("exposeHeaders",cdk.listValidator(cdk.validateString))(properties.exposeHeaders)),errors.collect(cdk.propertyValidator("maxAge",cdk.validateNumber)(properties.maxAge)),errors.wrap('supplied properties not correct for "CorsProperty"')}function cfnApiV2CorsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnApiV2_CorsPropertyValidator(properties).assertSuccess(),{AllowCredentials:cdk.booleanToCloudFormation(properties.allowCredentials),AllowHeaders:cdk.listMapper(cdk.stringToCloudFormation)(properties.allowHeaders),AllowMethods:cdk.listMapper(cdk.stringToCloudFormation)(properties.allowMethods),AllowOrigins:cdk.listMapper(cdk.stringToCloudFormation)(properties.allowOrigins),ExposeHeaders:cdk.listMapper(cdk.stringToCloudFormation)(properties.exposeHeaders),MaxAge:cdk.numberToCloudFormation(properties.maxAge)}):properties}function CfnApiMappingV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("apiMappingKey",cdk.validateString)(properties.apiMappingKey)),errors.collect(cdk.propertyValidator("domainName",cdk.requiredValidator)(properties.domainName)),errors.collect(cdk.propertyValidator("domainName",cdk.validateString)(properties.domainName)),errors.collect(cdk.propertyValidator("stage",cdk.requiredValidator)(properties.stage)),errors.collect(cdk.propertyValidator("stage",cdk.validateString)(properties.stage)),errors.wrap('supplied properties not correct for "CfnApiMappingV2Props"')}function cfnApiMappingV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnApiMappingV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),DomainName:cdk.stringToCloudFormation(properties.domainName),Stage:cdk.stringToCloudFormation(properties.stage),ApiMappingKey:cdk.stringToCloudFormation(properties.apiMappingKey)}):properties}class CfnApiMappingV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnApiMappingV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"domainName",this),cdk.requireProperty(props,"stage",this),this.apiId=props.apiId,this.domainName=props.domainName,this.stage=props.stage,this.apiMappingKey=props.apiMappingKey}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnApiMappingV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,domainName:this.domainName,stage:this.stage,apiMappingKey:this.apiMappingKey}}renderProperties(props){return cfnApiMappingV2PropsToCloudFormation(props)}}exports.CfnApiMappingV2=CfnApiMappingV2,_b=JSII_RTTI_SYMBOL_1,CfnApiMappingV2[_b]={fqn:"aws-cdk-lib.aws_apigateway.CfnApiMappingV2",version:"2.52.1"},CfnApiMappingV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::ApiMapping";function CfnAuthorizerV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("authorizerCredentialsArn",cdk.validateString)(properties.authorizerCredentialsArn)),errors.collect(cdk.propertyValidator("authorizerResultTtlInSeconds",cdk.validateNumber)(properties.authorizerResultTtlInSeconds)),errors.collect(cdk.propertyValidator("authorizerType",cdk.requiredValidator)(properties.authorizerType)),errors.collect(cdk.propertyValidator("authorizerType",cdk.validateString)(properties.authorizerType)),errors.collect(cdk.propertyValidator("authorizerUri",cdk.validateString)(properties.authorizerUri)),errors.collect(cdk.propertyValidator("identitySource",cdk.requiredValidator)(properties.identitySource)),errors.collect(cdk.propertyValidator("identitySource",cdk.listValidator(cdk.validateString))(properties.identitySource)),errors.collect(cdk.propertyValidator("identityValidationExpression",cdk.validateString)(properties.identityValidationExpression)),errors.collect(cdk.propertyValidator("jwtConfiguration",CfnAuthorizerV2_JWTConfigurationPropertyValidator)(properties.jwtConfiguration)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.wrap('supplied properties not correct for "CfnAuthorizerV2Props"')}function cfnAuthorizerV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnAuthorizerV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),AuthorizerType:cdk.stringToCloudFormation(properties.authorizerType),IdentitySource:cdk.listMapper(cdk.stringToCloudFormation)(properties.identitySource),Name:cdk.stringToCloudFormation(properties.name),AuthorizerCredentialsArn:cdk.stringToCloudFormation(properties.authorizerCredentialsArn),AuthorizerResultTtlInSeconds:cdk.numberToCloudFormation(properties.authorizerResultTtlInSeconds),AuthorizerUri:cdk.stringToCloudFormation(properties.authorizerUri),IdentityValidationExpression:cdk.stringToCloudFormation(properties.identityValidationExpression),JwtConfiguration:cfnAuthorizerV2JWTConfigurationPropertyToCloudFormation(properties.jwtConfiguration)}):properties}class CfnAuthorizerV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnAuthorizerV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"authorizerType",this),cdk.requireProperty(props,"identitySource",this),cdk.requireProperty(props,"name",this),this.apiId=props.apiId,this.authorizerType=props.authorizerType,this.identitySource=props.identitySource,this.name=props.name,this.authorizerCredentialsArn=props.authorizerCredentialsArn,this.authorizerResultTtlInSeconds=props.authorizerResultTtlInSeconds,this.authorizerUri=props.authorizerUri,this.identityValidationExpression=props.identityValidationExpression,this.jwtConfiguration=props.jwtConfiguration}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnAuthorizerV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,authorizerType:this.authorizerType,identitySource:this.identitySource,name:this.name,authorizerCredentialsArn:this.authorizerCredentialsArn,authorizerResultTtlInSeconds:this.authorizerResultTtlInSeconds,authorizerUri:this.authorizerUri,identityValidationExpression:this.identityValidationExpression,jwtConfiguration:this.jwtConfiguration}}renderProperties(props){return cfnAuthorizerV2PropsToCloudFormation(props)}}exports.CfnAuthorizerV2=CfnAuthorizerV2,_c=JSII_RTTI_SYMBOL_1,CfnAuthorizerV2[_c]={fqn:"aws-cdk-lib.aws_apigateway.CfnAuthorizerV2",version:"2.52.1"},CfnAuthorizerV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Authorizer";function CfnAuthorizerV2_JWTConfigurationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("audience",cdk.listValidator(cdk.validateString))(properties.audience)),errors.collect(cdk.propertyValidator("issuer",cdk.validateString)(properties.issuer)),errors.wrap('supplied properties not correct for "JWTConfigurationProperty"')}function cfnAuthorizerV2JWTConfigurationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnAuthorizerV2_JWTConfigurationPropertyValidator(properties).assertSuccess(),{Audience:cdk.listMapper(cdk.stringToCloudFormation)(properties.audience),Issuer:cdk.stringToCloudFormation(properties.issuer)}):properties}function CfnDeploymentV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("stageName",cdk.validateString)(properties.stageName)),errors.wrap('supplied properties not correct for "CfnDeploymentV2Props"')}function cfnDeploymentV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDeploymentV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),Description:cdk.stringToCloudFormation(properties.description),StageName:cdk.stringToCloudFormation(properties.stageName)}):properties}class CfnDeploymentV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnDeploymentV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),this.apiId=props.apiId,this.description=props.description,this.stageName=props.stageName}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnDeploymentV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,description:this.description,stageName:this.stageName}}renderProperties(props){return cfnDeploymentV2PropsToCloudFormation(props)}}exports.CfnDeploymentV2=CfnDeploymentV2,_d=JSII_RTTI_SYMBOL_1,CfnDeploymentV2[_d]={fqn:"aws-cdk-lib.aws_apigateway.CfnDeploymentV2",version:"2.52.1"},CfnDeploymentV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Deployment";function CfnDomainNameV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("domainName",cdk.requiredValidator)(properties.domainName)),errors.collect(cdk.propertyValidator("domainName",cdk.validateString)(properties.domainName)),errors.collect(cdk.propertyValidator("domainNameConfigurations",cdk.listValidator(CfnDomainNameV2_DomainNameConfigurationPropertyValidator))(properties.domainNameConfigurations)),errors.collect(cdk.propertyValidator("tags",cdk.validateObject)(properties.tags)),errors.wrap('supplied properties not correct for "CfnDomainNameV2Props"')}function cfnDomainNameV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDomainNameV2PropsValidator(properties).assertSuccess(),{DomainName:cdk.stringToCloudFormation(properties.domainName),DomainNameConfigurations:cdk.listMapper(cfnDomainNameV2DomainNameConfigurationPropertyToCloudFormation)(properties.domainNameConfigurations),Tags:cdk.objectToCloudFormation(properties.tags)}):properties}class CfnDomainNameV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnDomainNameV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"domainName",this),this.attrRegionalDomainName=cdk.Token.asString(this.getAtt("RegionalDomainName")),this.attrRegionalHostedZoneId=cdk.Token.asString(this.getAtt("RegionalHostedZoneId")),this.domainName=props.domainName,this.domainNameConfigurations=props.domainNameConfigurations,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::ApiGatewayV2::DomainName",props.tags,{tagPropertyName:"tags"})}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnDomainNameV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{domainName:this.domainName,domainNameConfigurations:this.domainNameConfigurations,tags:this.tags.renderTags()}}renderProperties(props){return cfnDomainNameV2PropsToCloudFormation(props)}}exports.CfnDomainNameV2=CfnDomainNameV2,_e=JSII_RTTI_SYMBOL_1,CfnDomainNameV2[_e]={fqn:"aws-cdk-lib.aws_apigateway.CfnDomainNameV2",version:"2.52.1"},CfnDomainNameV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::DomainName";function CfnDomainNameV2_DomainNameConfigurationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("certificateArn",cdk.validateString)(properties.certificateArn)),errors.collect(cdk.propertyValidator("certificateName",cdk.validateString)(properties.certificateName)),errors.collect(cdk.propertyValidator("endpointType",cdk.validateString)(properties.endpointType)),errors.wrap('supplied properties not correct for "DomainNameConfigurationProperty"')}function cfnDomainNameV2DomainNameConfigurationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDomainNameV2_DomainNameConfigurationPropertyValidator(properties).assertSuccess(),{CertificateArn:cdk.stringToCloudFormation(properties.certificateArn),CertificateName:cdk.stringToCloudFormation(properties.certificateName),EndpointType:cdk.stringToCloudFormation(properties.endpointType)}):properties}function CfnIntegrationV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("connectionType",cdk.validateString)(properties.connectionType)),errors.collect(cdk.propertyValidator("contentHandlingStrategy",cdk.validateString)(properties.contentHandlingStrategy)),errors.collect(cdk.propertyValidator("credentialsArn",cdk.validateString)(properties.credentialsArn)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("integrationMethod",cdk.validateString)(properties.integrationMethod)),errors.collect(cdk.propertyValidator("integrationType",cdk.requiredValidator)(properties.integrationType)),errors.collect(cdk.propertyValidator("integrationType",cdk.validateString)(properties.integrationType)),errors.collect(cdk.propertyValidator("integrationUri",cdk.validateString)(properties.integrationUri)),errors.collect(cdk.propertyValidator("passthroughBehavior",cdk.validateString)(properties.passthroughBehavior)),errors.collect(cdk.propertyValidator("payloadFormatVersion",cdk.validateString)(properties.payloadFormatVersion)),errors.collect(cdk.propertyValidator("requestParameters",cdk.validateObject)(properties.requestParameters)),errors.collect(cdk.propertyValidator("requestTemplates",cdk.validateObject)(properties.requestTemplates)),errors.collect(cdk.propertyValidator("templateSelectionExpression",cdk.validateString)(properties.templateSelectionExpression)),errors.collect(cdk.propertyValidator("timeoutInMillis",cdk.validateNumber)(properties.timeoutInMillis)),errors.wrap('supplied properties not correct for "CfnIntegrationV2Props"')}function cfnIntegrationV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnIntegrationV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),IntegrationType:cdk.stringToCloudFormation(properties.integrationType),ConnectionType:cdk.stringToCloudFormation(properties.connectionType),ContentHandlingStrategy:cdk.stringToCloudFormation(properties.contentHandlingStrategy),CredentialsArn:cdk.stringToCloudFormation(properties.credentialsArn),Description:cdk.stringToCloudFormation(properties.description),IntegrationMethod:cdk.stringToCloudFormation(properties.integrationMethod),IntegrationUri:cdk.stringToCloudFormation(properties.integrationUri),PassthroughBehavior:cdk.stringToCloudFormation(properties.passthroughBehavior),PayloadFormatVersion:cdk.stringToCloudFormation(properties.payloadFormatVersion),RequestParameters:cdk.objectToCloudFormation(properties.requestParameters),RequestTemplates:cdk.objectToCloudFormation(properties.requestTemplates),TemplateSelectionExpression:cdk.stringToCloudFormation(properties.templateSelectionExpression),TimeoutInMillis:cdk.numberToCloudFormation(properties.timeoutInMillis)}):properties}class CfnIntegrationV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnIntegrationV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"integrationType",this),this.apiId=props.apiId,this.integrationType=props.integrationType,this.connectionType=props.connectionType,this.contentHandlingStrategy=props.contentHandlingStrategy,this.credentialsArn=props.credentialsArn,this.description=props.description,this.integrationMethod=props.integrationMethod,this.integrationUri=props.integrationUri,this.passthroughBehavior=props.passthroughBehavior,this.payloadFormatVersion=props.payloadFormatVersion,this.requestParameters=props.requestParameters,this.requestTemplates=props.requestTemplates,this.templateSelectionExpression=props.templateSelectionExpression,this.timeoutInMillis=props.timeoutInMillis}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnIntegrationV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,integrationType:this.integrationType,connectionType:this.connectionType,contentHandlingStrategy:this.contentHandlingStrategy,credentialsArn:this.credentialsArn,description:this.description,integrationMethod:this.integrationMethod,integrationUri:this.integrationUri,passthroughBehavior:this.passthroughBehavior,payloadFormatVersion:this.payloadFormatVersion,requestParameters:this.requestParameters,requestTemplates:this.requestTemplates,templateSelectionExpression:this.templateSelectionExpression,timeoutInMillis:this.timeoutInMillis}}renderProperties(props){return cfnIntegrationV2PropsToCloudFormation(props)}}exports.CfnIntegrationV2=CfnIntegrationV2,_f=JSII_RTTI_SYMBOL_1,CfnIntegrationV2[_f]={fqn:"aws-cdk-lib.aws_apigateway.CfnIntegrationV2",version:"2.52.1"},CfnIntegrationV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Integration";function CfnIntegrationResponseV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("contentHandlingStrategy",cdk.validateString)(properties.contentHandlingStrategy)),errors.collect(cdk.propertyValidator("integrationId",cdk.requiredValidator)(properties.integrationId)),errors.collect(cdk.propertyValidator("integrationId",cdk.validateString)(properties.integrationId)),errors.collect(cdk.propertyValidator("integrationResponseKey",cdk.requiredValidator)(properties.integrationResponseKey)),errors.collect(cdk.propertyValidator("integrationResponseKey",cdk.validateString)(properties.integrationResponseKey)),errors.collect(cdk.propertyValidator("responseParameters",cdk.validateObject)(properties.responseParameters)),errors.collect(cdk.propertyValidator("responseTemplates",cdk.validateObject)(properties.responseTemplates)),errors.collect(cdk.propertyValidator("templateSelectionExpression",cdk.validateString)(properties.templateSelectionExpression)),errors.wrap('supplied properties not correct for "CfnIntegrationResponseV2Props"')}function cfnIntegrationResponseV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnIntegrationResponseV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),IntegrationId:cdk.stringToCloudFormation(properties.integrationId),IntegrationResponseKey:cdk.stringToCloudFormation(properties.integrationResponseKey),ContentHandlingStrategy:cdk.stringToCloudFormation(properties.contentHandlingStrategy),ResponseParameters:cdk.objectToCloudFormation(properties.responseParameters),ResponseTemplates:cdk.objectToCloudFormation(properties.responseTemplates),TemplateSelectionExpression:cdk.stringToCloudFormation(properties.templateSelectionExpression)}):properties}class CfnIntegrationResponseV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnIntegrationResponseV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"integrationId",this),cdk.requireProperty(props,"integrationResponseKey",this),this.apiId=props.apiId,this.integrationId=props.integrationId,this.integrationResponseKey=props.integrationResponseKey,this.contentHandlingStrategy=props.contentHandlingStrategy,this.responseParameters=props.responseParameters,this.responseTemplates=props.responseTemplates,this.templateSelectionExpression=props.templateSelectionExpression}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnIntegrationResponseV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,integrationId:this.integrationId,integrationResponseKey:this.integrationResponseKey,contentHandlingStrategy:this.contentHandlingStrategy,responseParameters:this.responseParameters,responseTemplates:this.responseTemplates,templateSelectionExpression:this.templateSelectionExpression}}renderProperties(props){return cfnIntegrationResponseV2PropsToCloudFormation(props)}}exports.CfnIntegrationResponseV2=CfnIntegrationResponseV2,_g=JSII_RTTI_SYMBOL_1,CfnIntegrationResponseV2[_g]={fqn:"aws-cdk-lib.aws_apigateway.CfnIntegrationResponseV2",version:"2.52.1"},CfnIntegrationResponseV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::IntegrationResponse";function CfnModelV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("contentType",cdk.validateString)(properties.contentType)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("schema",cdk.requiredValidator)(properties.schema)),errors.collect(cdk.propertyValidator("schema",cdk.validateObject)(properties.schema)),errors.wrap('supplied properties not correct for "CfnModelV2Props"')}function cfnModelV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnModelV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),Name:cdk.stringToCloudFormation(properties.name),Schema:cdk.objectToCloudFormation(properties.schema),ContentType:cdk.stringToCloudFormation(properties.contentType),Description:cdk.stringToCloudFormation(properties.description)}):properties}class CfnModelV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnModelV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"name",this),cdk.requireProperty(props,"schema",this),this.apiId=props.apiId,this.name=props.name,this.schema=props.schema,this.contentType=props.contentType,this.description=props.description}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnModelV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,name:this.name,schema:this.schema,contentType:this.contentType,description:this.description}}renderProperties(props){return cfnModelV2PropsToCloudFormation(props)}}exports.CfnModelV2=CfnModelV2,_h=JSII_RTTI_SYMBOL_1,CfnModelV2[_h]={fqn:"aws-cdk-lib.aws_apigateway.CfnModelV2",version:"2.52.1"},CfnModelV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Model";function CfnRouteV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("apiKeyRequired",cdk.validateBoolean)(properties.apiKeyRequired)),errors.collect(cdk.propertyValidator("authorizationScopes",cdk.listValidator(cdk.validateString))(properties.authorizationScopes)),errors.collect(cdk.propertyValidator("authorizationType",cdk.validateString)(properties.authorizationType)),errors.collect(cdk.propertyValidator("authorizerId",cdk.validateString)(properties.authorizerId)),errors.collect(cdk.propertyValidator("modelSelectionExpression",cdk.validateString)(properties.modelSelectionExpression)),errors.collect(cdk.propertyValidator("operationName",cdk.validateString)(properties.operationName)),errors.collect(cdk.propertyValidator("requestModels",cdk.validateObject)(properties.requestModels)),errors.collect(cdk.propertyValidator("requestParameters",cdk.validateObject)(properties.requestParameters)),errors.collect(cdk.propertyValidator("routeKey",cdk.requiredValidator)(properties.routeKey)),errors.collect(cdk.propertyValidator("routeKey",cdk.validateString)(properties.routeKey)),errors.collect(cdk.propertyValidator("routeResponseSelectionExpression",cdk.validateString)(properties.routeResponseSelectionExpression)),errors.collect(cdk.propertyValidator("target",cdk.validateString)(properties.target)),errors.wrap('supplied properties not correct for "CfnRouteV2Props"')}function cfnRouteV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnRouteV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),RouteKey:cdk.stringToCloudFormation(properties.routeKey),ApiKeyRequired:cdk.booleanToCloudFormation(properties.apiKeyRequired),AuthorizationScopes:cdk.listMapper(cdk.stringToCloudFormation)(properties.authorizationScopes),AuthorizationType:cdk.stringToCloudFormation(properties.authorizationType),AuthorizerId:cdk.stringToCloudFormation(properties.authorizerId),ModelSelectionExpression:cdk.stringToCloudFormation(properties.modelSelectionExpression),OperationName:cdk.stringToCloudFormation(properties.operationName),RequestModels:cdk.objectToCloudFormation(properties.requestModels),RequestParameters:cdk.objectToCloudFormation(properties.requestParameters),RouteResponseSelectionExpression:cdk.stringToCloudFormation(properties.routeResponseSelectionExpression),Target:cdk.stringToCloudFormation(properties.target)}):properties}class CfnRouteV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnRouteV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"routeKey",this),this.apiId=props.apiId,this.routeKey=props.routeKey,this.apiKeyRequired=props.apiKeyRequired,this.authorizationScopes=props.authorizationScopes,this.authorizationType=props.authorizationType,this.authorizerId=props.authorizerId,this.modelSelectionExpression=props.modelSelectionExpression,this.operationName=props.operationName,this.requestModels=props.requestModels,this.requestParameters=props.requestParameters,this.routeResponseSelectionExpression=props.routeResponseSelectionExpression,this.target=props.target}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnRouteV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,routeKey:this.routeKey,apiKeyRequired:this.apiKeyRequired,authorizationScopes:this.authorizationScopes,authorizationType:this.authorizationType,authorizerId:this.authorizerId,modelSelectionExpression:this.modelSelectionExpression,operationName:this.operationName,requestModels:this.requestModels,requestParameters:this.requestParameters,routeResponseSelectionExpression:this.routeResponseSelectionExpression,target:this.target}}renderProperties(props){return cfnRouteV2PropsToCloudFormation(props)}}exports.CfnRouteV2=CfnRouteV2,_j=JSII_RTTI_SYMBOL_1,CfnRouteV2[_j]={fqn:"aws-cdk-lib.aws_apigateway.CfnRouteV2",version:"2.52.1"},CfnRouteV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Route";function CfnRouteV2_ParameterConstraintsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("required",cdk.requiredValidator)(properties.required)),errors.collect(cdk.propertyValidator("required",cdk.validateBoolean)(properties.required)),errors.wrap('supplied properties not correct for "ParameterConstraintsProperty"')}function cfnRouteV2ParameterConstraintsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnRouteV2_ParameterConstraintsPropertyValidator(properties).assertSuccess(),{Required:cdk.booleanToCloudFormation(properties.required)}):properties}function CfnRouteResponseV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("modelSelectionExpression",cdk.validateString)(properties.modelSelectionExpression)),errors.collect(cdk.propertyValidator("responseModels",cdk.validateObject)(properties.responseModels)),errors.collect(cdk.propertyValidator("responseParameters",cdk.validateObject)(properties.responseParameters)),errors.collect(cdk.propertyValidator("routeId",cdk.requiredValidator)(properties.routeId)),errors.collect(cdk.propertyValidator("routeId",cdk.validateString)(properties.routeId)),errors.collect(cdk.propertyValidator("routeResponseKey",cdk.requiredValidator)(properties.routeResponseKey)),errors.collect(cdk.propertyValidator("routeResponseKey",cdk.validateString)(properties.routeResponseKey)),errors.wrap('supplied properties not correct for "CfnRouteResponseV2Props"')}function cfnRouteResponseV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnRouteResponseV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),RouteId:cdk.stringToCloudFormation(properties.routeId),RouteResponseKey:cdk.stringToCloudFormation(properties.routeResponseKey),ModelSelectionExpression:cdk.stringToCloudFormation(properties.modelSelectionExpression),ResponseModels:cdk.objectToCloudFormation(properties.responseModels),ResponseParameters:cdk.objectToCloudFormation(properties.responseParameters)}):properties}class CfnRouteResponseV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnRouteResponseV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"routeId",this),cdk.requireProperty(props,"routeResponseKey",this),this.apiId=props.apiId,this.routeId=props.routeId,this.routeResponseKey=props.routeResponseKey,this.modelSelectionExpression=props.modelSelectionExpression,this.responseModels=props.responseModels,this.responseParameters=props.responseParameters}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnRouteResponseV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,routeId:this.routeId,routeResponseKey:this.routeResponseKey,modelSelectionExpression:this.modelSelectionExpression,responseModels:this.responseModels,responseParameters:this.responseParameters}}renderProperties(props){return cfnRouteResponseV2PropsToCloudFormation(props)}}exports.CfnRouteResponseV2=CfnRouteResponseV2,_k=JSII_RTTI_SYMBOL_1,CfnRouteResponseV2[_k]={fqn:"aws-cdk-lib.aws_apigateway.CfnRouteResponseV2",version:"2.52.1"},CfnRouteResponseV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::RouteResponse";function CfnRouteResponseV2_ParameterConstraintsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("required",cdk.requiredValidator)(properties.required)),errors.collect(cdk.propertyValidator("required",cdk.validateBoolean)(properties.required)),errors.wrap('supplied properties not correct for "ParameterConstraintsProperty"')}function cfnRouteResponseV2ParameterConstraintsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnRouteResponseV2_ParameterConstraintsPropertyValidator(properties).assertSuccess(),{Required:cdk.booleanToCloudFormation(properties.required)}):properties}function CfnStageV2PropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("accessLogSettings",CfnStageV2_AccessLogSettingsPropertyValidator)(properties.accessLogSettings)),errors.collect(cdk.propertyValidator("apiId",cdk.requiredValidator)(properties.apiId)),errors.collect(cdk.propertyValidator("apiId",cdk.validateString)(properties.apiId)),errors.collect(cdk.propertyValidator("autoDeploy",cdk.validateBoolean)(properties.autoDeploy)),errors.collect(cdk.propertyValidator("clientCertificateId",cdk.validateString)(properties.clientCertificateId)),errors.collect(cdk.propertyValidator("defaultRouteSettings",CfnStageV2_RouteSettingsPropertyValidator)(properties.defaultRouteSettings)),errors.collect(cdk.propertyValidator("deploymentId",cdk.validateString)(properties.deploymentId)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("routeSettings",cdk.validateObject)(properties.routeSettings)),errors.collect(cdk.propertyValidator("stageName",cdk.requiredValidator)(properties.stageName)),errors.collect(cdk.propertyValidator("stageName",cdk.validateString)(properties.stageName)),errors.collect(cdk.propertyValidator("stageVariables",cdk.validateObject)(properties.stageVariables)),errors.collect(cdk.propertyValidator("tags",cdk.validateObject)(properties.tags)),errors.wrap('supplied properties not correct for "CfnStageV2Props"')}function cfnStageV2PropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnStageV2PropsValidator(properties).assertSuccess(),{ApiId:cdk.stringToCloudFormation(properties.apiId),StageName:cdk.stringToCloudFormation(properties.stageName),AccessLogSettings:cfnStageV2AccessLogSettingsPropertyToCloudFormation(properties.accessLogSettings),AutoDeploy:cdk.booleanToCloudFormation(properties.autoDeploy),ClientCertificateId:cdk.stringToCloudFormation(properties.clientCertificateId),DefaultRouteSettings:cfnStageV2RouteSettingsPropertyToCloudFormation(properties.defaultRouteSettings),DeploymentId:cdk.stringToCloudFormation(properties.deploymentId),Description:cdk.stringToCloudFormation(properties.description),RouteSettings:cdk.objectToCloudFormation(properties.routeSettings),StageVariables:cdk.objectToCloudFormation(properties.stageVariables),Tags:cdk.objectToCloudFormation(properties.tags)}):properties}class CfnStageV2 extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnStageV2.CFN_RESOURCE_TYPE_NAME,properties:props}),cdk.requireProperty(props,"apiId",this),cdk.requireProperty(props,"stageName",this),this.apiId=props.apiId,this.stageName=props.stageName,this.accessLogSettings=props.accessLogSettings,this.autoDeploy=props.autoDeploy,this.clientCertificateId=props.clientCertificateId,this.defaultRouteSettings=props.defaultRouteSettings,this.deploymentId=props.deploymentId,this.description=props.description,this.routeSettings=props.routeSettings,this.stageVariables=props.stageVariables,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::ApiGatewayV2::Stage",props.tags,{tagPropertyName:"tags"})}inspect(inspector){inspector.addAttribute("aws:cdk:cloudformation:type",CfnStageV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{apiId:this.apiId,stageName:this.stageName,accessLogSettings:this.accessLogSettings,autoDeploy:this.autoDeploy,clientCertificateId:this.clientCertificateId,defaultRouteSettings:this.defaultRouteSettings,deploymentId:this.deploymentId,description:this.description,routeSettings:this.routeSettings,stageVariables:this.stageVariables,tags:this.tags.renderTags()}}renderProperties(props){return cfnStageV2PropsToCloudFormation(props)}}exports.CfnStageV2=CfnStageV2,_l=JSII_RTTI_SYMBOL_1,CfnStageV2[_l]={fqn:"aws-cdk-lib.aws_apigateway.CfnStageV2",version:"2.52.1"},CfnStageV2.CFN_RESOURCE_TYPE_NAME="AWS::ApiGatewayV2::Stage";function CfnStageV2_AccessLogSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("destinationArn",cdk.validateString)(properties.destinationArn)),errors.collect(cdk.propertyValidator("format",cdk.validateString)(properties.format)),errors.wrap('supplied properties not correct for "AccessLogSettingsProperty"')}function cfnStageV2AccessLogSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnStageV2_AccessLogSettingsPropertyValidator(properties).assertSuccess(),{DestinationArn:cdk.stringToCloudFormation(properties.destinationArn),Format:cdk.stringToCloudFormation(properties.format)}):properties}function CfnStageV2_RouteSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return errors.collect(cdk.propertyValidator("dataTraceEnabled",cdk.validateBoolean)(properties.dataTraceEnabled)),errors.collect(cdk.propertyValidator("detailedMetricsEnabled",cdk.validateBoolean)(properties.detailedMetricsEnabled)),errors.collect(cdk.propertyValidator("loggingLevel",cdk.validateString)(properties.loggingLevel)),errors.collect(cdk.propertyValidator("throttlingBurstLimit",cdk.validateNumber)(properties.throttlingBurstLimit)),errors.collect(cdk.propertyValidator("throttlingRateLimit",cdk.validateNumber)(properties.throttlingRateLimit)),errors.wrap('supplied properties not correct for "RouteSettingsProperty"')}function cfnStageV2RouteSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnStageV2_RouteSettingsPropertyValidator(properties).assertSuccess(),{DataTraceEnabled:cdk.booleanToCloudFormation(properties.dataTraceEnabled),DetailedMetricsEnabled:cdk.booleanToCloudFormation(properties.detailedMetricsEnabled),LoggingLevel:cdk.stringToCloudFormation(properties.loggingLevel),ThrottlingBurstLimit:cdk.numberToCloudFormation(properties.throttlingBurstLimit),ThrottlingRateLimit:cdk.numberToCloudFormation(properties.throttlingRateLimit)}):properties}
|
|
2
2
|
//# sourceMappingURL=apigatewayv2.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Authorizer=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),method_1=require("./method"),AUTHORIZER_SYMBOL=Symbol.for("@aws-cdk/aws-apigateway.Authorizer");class Authorizer extends core_1.Resource{constructor(scope,id,props){super(scope,id,props),this.authorizationType=method_1.AuthorizationType.CUSTOM;try{jsiiDeprecationWarnings.aws_cdk_lib_ResourceProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Authorizer),error}Object.defineProperty(this,AUTHORIZER_SYMBOL,{value:!0})}static isAuthorizer(x){return x!==null&&typeof x=="object"&&AUTHORIZER_SYMBOL in x}}exports.Authorizer=Authorizer,_a=JSII_RTTI_SYMBOL_1,Authorizer[_a]={fqn:"aws-cdk-lib.aws_apigateway.Authorizer",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Authorizer=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),method_1=require("./method"),AUTHORIZER_SYMBOL=Symbol.for("@aws-cdk/aws-apigateway.Authorizer");class Authorizer extends core_1.Resource{constructor(scope,id,props){super(scope,id,props),this.authorizationType=method_1.AuthorizationType.CUSTOM;try{jsiiDeprecationWarnings.aws_cdk_lib_ResourceProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Authorizer),error}Object.defineProperty(this,AUTHORIZER_SYMBOL,{value:!0})}static isAuthorizer(x){return x!==null&&typeof x=="object"&&AUTHORIZER_SYMBOL in x}}exports.Authorizer=Authorizer,_a=JSII_RTTI_SYMBOL_1,Authorizer[_a]={fqn:"aws-cdk-lib.aws_apigateway.Authorizer",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=authorizer.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CognitoUserPoolsAuthorizer=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../../core"),apigateway_generated_1=require("../apigateway.generated"),authorizer_1=require("../authorizer"),method_1=require("../method");class CognitoUserPoolsAuthorizer extends authorizer_1.Authorizer{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_CognitoUserPoolsAuthorizerProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CognitoUserPoolsAuthorizer),error}const restApiId=this.lazyRestApiId(),resource=new apigateway_generated_1.CfnAuthorizer(this,"Resource",{name:props.authorizerName??core_1.Names.uniqueId(this),restApiId,type:"COGNITO_USER_POOLS",providerArns:props.cognitoUserPools.map(userPool=>userPool.userPoolArn),authorizerResultTtlInSeconds:props.resultsCacheTtl?.toSeconds(),identitySource:props.identitySource||"method.request.header.Authorization"});this.authorizerId=resource.ref,this.authorizerArn=core_1.Stack.of(this).formatArn({service:"execute-api",resource:restApiId,resourceName:`authorizers/${this.authorizerId}`}),this.authorizationType=method_1.AuthorizationType.COGNITO}_attachToApi(restApi){if(this.restApiId&&this.restApiId!==restApi.restApiId)throw new Error("Cannot attach authorizer to two different rest APIs");this.restApiId=restApi.restApiId}lazyRestApiId(){return core_1.Lazy.string({produce:()=>{if(!this.restApiId)throw new Error(`Authorizer (${this.node.path}) must be attached to a RestApi`);return this.restApiId}})}}exports.CognitoUserPoolsAuthorizer=CognitoUserPoolsAuthorizer,_a=JSII_RTTI_SYMBOL_1,CognitoUserPoolsAuthorizer[_a]={fqn:"aws-cdk-lib.aws_apigateway.CognitoUserPoolsAuthorizer",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CognitoUserPoolsAuthorizer=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../../core"),apigateway_generated_1=require("../apigateway.generated"),authorizer_1=require("../authorizer"),method_1=require("../method");class CognitoUserPoolsAuthorizer extends authorizer_1.Authorizer{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_CognitoUserPoolsAuthorizerProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CognitoUserPoolsAuthorizer),error}const restApiId=this.lazyRestApiId(),resource=new apigateway_generated_1.CfnAuthorizer(this,"Resource",{name:props.authorizerName??core_1.Names.uniqueId(this),restApiId,type:"COGNITO_USER_POOLS",providerArns:props.cognitoUserPools.map(userPool=>userPool.userPoolArn),authorizerResultTtlInSeconds:props.resultsCacheTtl?.toSeconds(),identitySource:props.identitySource||"method.request.header.Authorization"});this.authorizerId=resource.ref,this.authorizerArn=core_1.Stack.of(this).formatArn({service:"execute-api",resource:restApiId,resourceName:`authorizers/${this.authorizerId}`}),this.authorizationType=method_1.AuthorizationType.COGNITO}_attachToApi(restApi){if(this.restApiId&&this.restApiId!==restApi.restApiId)throw new Error("Cannot attach authorizer to two different rest APIs");this.restApiId=restApi.restApiId}lazyRestApiId(){return core_1.Lazy.string({produce:()=>{if(!this.restApiId)throw new Error(`Authorizer (${this.node.path}) must be attached to a RestApi`);return this.restApiId}})}}exports.CognitoUserPoolsAuthorizer=CognitoUserPoolsAuthorizer,_a=JSII_RTTI_SYMBOL_1,CognitoUserPoolsAuthorizer[_a]={fqn:"aws-cdk-lib.aws_apigateway.CognitoUserPoolsAuthorizer",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=cognito.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IdentitySource=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class IdentitySource{static header(headerName){return IdentitySource.toString(headerName,"method.request.header")}static queryString(queryString){return IdentitySource.toString(queryString,"method.request.querystring")}static stageVariable(stageVariable){return IdentitySource.toString(stageVariable,"stageVariables")}static context(context){return IdentitySource.toString(context,"context")}static toString(source,type){if(!source.trim())throw new Error("IdentitySources must be a non-empty string.");return`${type}.${source}`}}exports.IdentitySource=IdentitySource,_a=JSII_RTTI_SYMBOL_1,IdentitySource[_a]={fqn:"aws-cdk-lib.aws_apigateway.IdentitySource",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IdentitySource=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class IdentitySource{static header(headerName){return IdentitySource.toString(headerName,"method.request.header")}static queryString(queryString){return IdentitySource.toString(queryString,"method.request.querystring")}static stageVariable(stageVariable){return IdentitySource.toString(stageVariable,"stageVariables")}static context(context){return IdentitySource.toString(context,"context")}static toString(source,type){if(!source.trim())throw new Error("IdentitySources must be a non-empty string.");return`${type}.${source}`}}exports.IdentitySource=IdentitySource,_a=JSII_RTTI_SYMBOL_1,IdentitySource[_a]={fqn:"aws-cdk-lib.aws_apigateway.IdentitySource",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=identity-source.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a,_b;Object.defineProperty(exports,"__esModule",{value:!0}),exports.RequestAuthorizer=exports.TokenAuthorizer=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),iam=require("../../../aws-iam"),core_1=require("../../../core"),apigateway_generated_1=require("../apigateway.generated"),authorizer_1=require("../authorizer");class LambdaAuthorizer extends authorizer_1.Authorizer{constructor(scope,id,props){if(super(scope,id),this.handler=props.handler,this.role=props.assumeRole,props.resultsCacheTtl&&props.resultsCacheTtl?.toSeconds()>3600)throw new Error("Lambda authorizer property 'resultsCacheTtl' must not be greater than 3600 seconds (1 hour)")}_attachToApi(restApi){if(this.restApiId&&this.restApiId!==restApi.restApiId)throw new Error("Cannot attach authorizer to two different rest APIs");this.restApiId=restApi.restApiId}setupPermissions(){this.role?this.role instanceof iam.Role&&this.role.attachInlinePolicy(new iam.Policy(this,"authorizerInvokePolicy",{statements:[new iam.PolicyStatement({resources:this.handler.resourceArnsForGrantInvoke,actions:["lambda:InvokeFunction"]})]})):this.handler.addPermission(`${core_1.Names.uniqueId(this)}:Permissions`,{principal:new iam.ServicePrincipal("apigateway.amazonaws.com"),sourceArn:this.authorizerArn})}lazyRestApiId(){return core_1.Lazy.string({produce:()=>{if(!this.restApiId)throw new Error(`Authorizer (${this.node.path}) must be attached to a RestApi`);return this.restApiId}})}}class TokenAuthorizer extends LambdaAuthorizer{constructor(scope,id,props){super(scope,id,props);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_TokenAuthorizerProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,TokenAuthorizer),error}const restApiId=this.lazyRestApiId(),resource=new apigateway_generated_1.CfnAuthorizer(this,"Resource",{name:props.authorizerName??core_1.Names.uniqueId(this),restApiId,type:"TOKEN",authorizerUri:lambdaAuthorizerArn(props.handler),authorizerCredentials:props.assumeRole?.roleArn,authorizerResultTtlInSeconds:props.resultsCacheTtl?.toSeconds(),identitySource:props.identitySource||"method.request.header.Authorization",identityValidationExpression:props.validationRegex});this.authorizerId=resource.ref,this.authorizerArn=core_1.Stack.of(this).formatArn({service:"execute-api",resource:restApiId,resourceName:`authorizers/${this.authorizerId}`}),this.setupPermissions()}}exports.TokenAuthorizer=TokenAuthorizer,_a=JSII_RTTI_SYMBOL_1,TokenAuthorizer[_a]={fqn:"aws-cdk-lib.aws_apigateway.TokenAuthorizer",version:"2.52.
|
|
1
|
+
"use strict";var _a,_b;Object.defineProperty(exports,"__esModule",{value:!0}),exports.RequestAuthorizer=exports.TokenAuthorizer=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),iam=require("../../../aws-iam"),core_1=require("../../../core"),apigateway_generated_1=require("../apigateway.generated"),authorizer_1=require("../authorizer");class LambdaAuthorizer extends authorizer_1.Authorizer{constructor(scope,id,props){if(super(scope,id),this.handler=props.handler,this.role=props.assumeRole,props.resultsCacheTtl&&props.resultsCacheTtl?.toSeconds()>3600)throw new Error("Lambda authorizer property 'resultsCacheTtl' must not be greater than 3600 seconds (1 hour)")}_attachToApi(restApi){if(this.restApiId&&this.restApiId!==restApi.restApiId)throw new Error("Cannot attach authorizer to two different rest APIs");this.restApiId=restApi.restApiId}setupPermissions(){this.role?this.role instanceof iam.Role&&this.role.attachInlinePolicy(new iam.Policy(this,"authorizerInvokePolicy",{statements:[new iam.PolicyStatement({resources:this.handler.resourceArnsForGrantInvoke,actions:["lambda:InvokeFunction"]})]})):this.handler.addPermission(`${core_1.Names.uniqueId(this)}:Permissions`,{principal:new iam.ServicePrincipal("apigateway.amazonaws.com"),sourceArn:this.authorizerArn})}lazyRestApiId(){return core_1.Lazy.string({produce:()=>{if(!this.restApiId)throw new Error(`Authorizer (${this.node.path}) must be attached to a RestApi`);return this.restApiId}})}}class TokenAuthorizer extends LambdaAuthorizer{constructor(scope,id,props){super(scope,id,props);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_TokenAuthorizerProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,TokenAuthorizer),error}const restApiId=this.lazyRestApiId(),resource=new apigateway_generated_1.CfnAuthorizer(this,"Resource",{name:props.authorizerName??core_1.Names.uniqueId(this),restApiId,type:"TOKEN",authorizerUri:lambdaAuthorizerArn(props.handler),authorizerCredentials:props.assumeRole?.roleArn,authorizerResultTtlInSeconds:props.resultsCacheTtl?.toSeconds(),identitySource:props.identitySource||"method.request.header.Authorization",identityValidationExpression:props.validationRegex});this.authorizerId=resource.ref,this.authorizerArn=core_1.Stack.of(this).formatArn({service:"execute-api",resource:restApiId,resourceName:`authorizers/${this.authorizerId}`}),this.setupPermissions()}}exports.TokenAuthorizer=TokenAuthorizer,_a=JSII_RTTI_SYMBOL_1,TokenAuthorizer[_a]={fqn:"aws-cdk-lib.aws_apigateway.TokenAuthorizer",version:"2.52.1"};class RequestAuthorizer extends LambdaAuthorizer{constructor(scope,id,props){super(scope,id,props);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_RequestAuthorizerProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,RequestAuthorizer),error}if((props.resultsCacheTtl===void 0||props.resultsCacheTtl.toSeconds()!==0)&&props.identitySources.length===0)throw new Error("At least one Identity Source is required for a REQUEST-based Lambda authorizer if caching is enabled.");const restApiId=this.lazyRestApiId(),resource=new apigateway_generated_1.CfnAuthorizer(this,"Resource",{name:props.authorizerName??core_1.Names.uniqueId(this),restApiId,type:"REQUEST",authorizerUri:lambdaAuthorizerArn(props.handler),authorizerCredentials:props.assumeRole?.roleArn,authorizerResultTtlInSeconds:props.resultsCacheTtl?.toSeconds(),identitySource:props.identitySources.map(is=>is.toString()).join(",")});this.authorizerId=resource.ref,this.authorizerArn=core_1.Stack.of(this).formatArn({service:"execute-api",resource:restApiId,resourceName:`authorizers/${this.authorizerId}`}),this.setupPermissions()}}exports.RequestAuthorizer=RequestAuthorizer,_b=JSII_RTTI_SYMBOL_1,RequestAuthorizer[_b]={fqn:"aws-cdk-lib.aws_apigateway.RequestAuthorizer",version:"2.52.1"};function lambdaAuthorizerArn(handler){const{region,partition}=core_1.Arn.split(handler.functionArn,core_1.ArnFormat.COLON_RESOURCE_NAME);return`arn:${partition}:apigateway:${region}:lambda:path/2015-03-31/functions/${handler.functionArn}/invocations`}
|
|
2
2
|
//# sourceMappingURL=lambda.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.BasePathMapping=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),restapi_1=require("./restapi");class BasePathMapping extends core_1.Resource{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_BasePathMappingProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,BasePathMapping),error}if(props.basePath&&!core_1.Token.isUnresolved(props.basePath)&&!props.basePath.match(/^[a-zA-Z0-9$_.+!*'()-]+$/))throw new Error(`A base path may only contain letters, numbers, and one of "$-_.+!*'()", received: ${props.basePath}`);const attachToStage=props.attachToStage??!0,stage=props.stage??(props.restApi instanceof restapi_1.RestApiBase&&attachToStage?props.restApi.deploymentStage:void 0);new apigateway_generated_1.CfnBasePathMapping(this,"Resource",{basePath:props.basePath,domainName:props.domainName.domainName,restApiId:props.restApi.restApiId,stage:stage?.stageName})}}exports.BasePathMapping=BasePathMapping,_a=JSII_RTTI_SYMBOL_1,BasePathMapping[_a]={fqn:"aws-cdk-lib.aws_apigateway.BasePathMapping",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.BasePathMapping=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),restapi_1=require("./restapi");class BasePathMapping extends core_1.Resource{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_BasePathMappingProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,BasePathMapping),error}if(props.basePath&&!core_1.Token.isUnresolved(props.basePath)&&!props.basePath.match(/^[a-zA-Z0-9$_.+!*'()-]+$/))throw new Error(`A base path may only contain letters, numbers, and one of "$-_.+!*'()", received: ${props.basePath}`);const attachToStage=props.attachToStage??!0,stage=props.stage??(props.restApi instanceof restapi_1.RestApiBase&&attachToStage?props.restApi.deploymentStage:void 0);new apigateway_generated_1.CfnBasePathMapping(this,"Resource",{basePath:props.basePath,domainName:props.domainName.domainName,restApiId:props.restApi.restApiId,stage:stage?.stageName})}}exports.BasePathMapping=BasePathMapping,_a=JSII_RTTI_SYMBOL_1,BasePathMapping[_a]={fqn:"aws-cdk-lib.aws_apigateway.BasePathMapping",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=base-path-mapping.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Cors=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),util_1=require("./util");class Cors{constructor(){}}exports.Cors=Cors,_a=JSII_RTTI_SYMBOL_1,Cors[_a]={fqn:"aws-cdk-lib.aws_apigateway.Cors",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Cors=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),util_1=require("./util");class Cors{constructor(){}}exports.Cors=Cors,_a=JSII_RTTI_SYMBOL_1,Cors[_a]={fqn:"aws-cdk-lib.aws_apigateway.Cors",version:"2.52.1"},Cors.ALL_METHODS=util_1.ALL_METHODS,Cors.ALL_ORIGINS=["*"],Cors.DEFAULT_HEADERS=["Content-Type","X-Amz-Date","Authorization","X-Api-Key","X-Amz-Security-Token","X-Amz-User-Agent"];
|
|
2
2
|
//# sourceMappingURL=cors.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Deployment=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),helpers_internal_1=require("../../core/lib/helpers-internal"),apigateway_generated_1=require("./apigateway.generated"),restapi_1=require("./restapi");class Deployment extends core_1.Resource{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_DeploymentProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Deployment),error}this.resource=new LatestDeploymentResource(this,"Resource",{description:props.description,restApi:props.api}),props.retainDeployments&&this.resource.applyRemovalPolicy(core_1.RemovalPolicy.RETAIN),this.api=props.api,this.deploymentId=core_1.Lazy.string({produce:()=>this.resource.ref}),props.api instanceof restapi_1.RestApiBase&&props.api._attachDeployment(this)}addToLogicalId(data){this.resource.addToLogicalId(data)}_addMethodDependency(method){this.node.addDependency(method.node.defaultChild)}}exports.Deployment=Deployment,_a=JSII_RTTI_SYMBOL_1,Deployment[_a]={fqn:"aws-cdk-lib.aws_apigateway.Deployment",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Deployment=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),helpers_internal_1=require("../../core/lib/helpers-internal"),apigateway_generated_1=require("./apigateway.generated"),restapi_1=require("./restapi");class Deployment extends core_1.Resource{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_DeploymentProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Deployment),error}this.resource=new LatestDeploymentResource(this,"Resource",{description:props.description,restApi:props.api}),props.retainDeployments&&this.resource.applyRemovalPolicy(core_1.RemovalPolicy.RETAIN),this.api=props.api,this.deploymentId=core_1.Lazy.string({produce:()=>this.resource.ref}),props.api instanceof restapi_1.RestApiBase&&props.api._attachDeployment(this)}addToLogicalId(data){this.resource.addToLogicalId(data)}_addMethodDependency(method){this.node.addDependency(method.node.defaultChild)}}exports.Deployment=Deployment,_a=JSII_RTTI_SYMBOL_1,Deployment[_a]={fqn:"aws-cdk-lib.aws_apigateway.Deployment",version:"2.52.1"};class LatestDeploymentResource extends apigateway_generated_1.CfnDeployment{constructor(scope,id,props){super(scope,id,{description:props.description,restApiId:props.restApi.restApiId}),this.hashComponents=new Array,this.api=props.restApi,this.originalLogicalId=this.stack.getLogicalId(this),this.overrideLogicalId(core_1.Lazy.uncachedString({produce:()=>this.calculateLogicalId()}))}addToLogicalId(data){if(this.node.locked)throw new Error("Cannot modify the logical ID when the construct is locked");this.hashComponents.push(data)}calculateLogicalId(){const hash=[...this.hashComponents];if(this.api instanceof restapi_1.RestApi||this.api instanceof restapi_1.SpecRestApi){const cfnRestApiCF=this.api.node.defaultChild._toCloudFormation();hash.push(this.stack.resolve(cfnRestApiCF))}let lid=this.originalLogicalId;return hash.length>0&&(lid+=helpers_internal_1.md5hash(hash.map(x=>this.stack.resolve(x)).map(c=>JSON.stringify(c)).join(""))),lid}}
|
|
2
2
|
//# sourceMappingURL=deployment.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.DomainName=exports.SecurityPolicy=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),apigwv2=require("../../aws-apigatewayv2"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),base_path_mapping_1=require("./base-path-mapping"),restapi_1=require("./restapi");var SecurityPolicy;(function(SecurityPolicy2){SecurityPolicy2.TLS_1_0="TLS_1_0",SecurityPolicy2.TLS_1_2="TLS_1_2"})(SecurityPolicy=exports.SecurityPolicy||(exports.SecurityPolicy={}));class DomainName extends core_1.Resource{constructor(scope,id,props){super(scope,id),this.basePaths=new Set;try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_DomainNameProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,DomainName),error}this.endpointType=props.endpointType||restapi_1.EndpointType.REGIONAL;const edge=this.endpointType===restapi_1.EndpointType.EDGE;if(this.securityPolicy=props.securityPolicy,!core_1.Token.isUnresolved(props.domainName)&&/[A-Z]/.test(props.domainName))throw new Error(`Domain name does not support uppercase letters. Got: ${props.domainName}`);const mtlsConfig=this.configureMTLS(props.mtls),resource=new apigateway_generated_1.CfnDomainName(this,"Resource",{domainName:props.domainName,certificateArn:edge?props.certificate.certificateArn:void 0,regionalCertificateArn:edge?void 0:props.certificate.certificateArn,endpointConfiguration:{types:[this.endpointType]},mutualTlsAuthentication:mtlsConfig,securityPolicy:props.securityPolicy});this.domainName=resource.ref,this.domainNameAliasDomainName=edge?resource.attrDistributionDomainName:resource.attrRegionalDomainName,this.domainNameAliasHostedZoneId=edge?resource.attrDistributionHostedZoneId:resource.attrRegionalHostedZoneId;const multiLevel=this.validateBasePath(props.basePath);props.mapping&&!multiLevel?this.addBasePathMapping(props.mapping,{basePath:props.basePath}):props.mapping&&multiLevel&&this.addApiMapping(props.mapping.deploymentStage,{basePath:props.basePath})}static fromDomainNameAttributes(scope,id,attrs){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_DomainNameAttributes(attrs)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.fromDomainNameAttributes),error}class Import extends core_1.Resource{constructor(){super(...arguments),this.domainName=attrs.domainName,this.domainNameAliasDomainName=attrs.domainNameAliasTarget,this.domainNameAliasHostedZoneId=attrs.domainNameAliasHostedZoneId}}return new Import(scope,id)}validateBasePath(path){if(this.isMultiLevel(path)){if(this.endpointType===restapi_1.EndpointType.EDGE)throw new Error("multi-level basePath is only supported when endpointType is EndpointType.REGIONAL");if(this.securityPolicy&&this.securityPolicy!==SecurityPolicy.TLS_1_2)throw new Error("securityPolicy must be set to TLS_1_2 if multi-level basePath is provided");return!0}return!1}isMultiLevel(path){return(path?.split("/").filter(x=>!!x)??[]).length>=2}addBasePathMapping(targetApi,options={}){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IRestApi(targetApi),jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_BasePathMappingOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addBasePathMapping),error}if(this.basePaths.has(options.basePath))throw new Error(`DomainName ${this.node.id} already has a mapping for path ${options.basePath}`);if(this.isMultiLevel(options.basePath))throw new Error('BasePathMapping does not support multi-level paths. Use "addApiMapping instead.');this.basePaths.add(options.basePath);const id=`Map:${options.basePath||"/"}=>${core_1.Names.nodeUniqueId(targetApi.node)}`;return new base_path_mapping_1.BasePathMapping(this,id,{domainName:this,restApi:targetApi,...options})}addApiMapping(targetStage,options={}){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(targetStage),jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_ApiMappingOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addApiMapping),error}if(this.basePaths.has(options.basePath))throw new Error(`DomainName ${this.node.id} already has a mapping for path ${options.basePath}`);this.validateBasePath(options.basePath),this.basePaths.add(options.basePath);const id=`Map:${options.basePath??"none"}=>${core_1.Names.nodeUniqueId(targetStage.node)}`;new apigwv2.CfnApiMapping(this,id,{apiId:targetStage.restApi.restApiId,stage:targetStage.stageName,domainName:this.domainName,apiMappingKey:options.basePath})}configureMTLS(mtlsConfig){if(!!mtlsConfig)return{truststoreUri:mtlsConfig.bucket.s3UrlForObject(mtlsConfig.key),truststoreVersion:mtlsConfig.version}}}exports.DomainName=DomainName,_a=JSII_RTTI_SYMBOL_1,DomainName[_a]={fqn:"aws-cdk-lib.aws_apigateway.DomainName",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.DomainName=exports.SecurityPolicy=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),apigwv2=require("../../aws-apigatewayv2"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),base_path_mapping_1=require("./base-path-mapping"),restapi_1=require("./restapi");var SecurityPolicy;(function(SecurityPolicy2){SecurityPolicy2.TLS_1_0="TLS_1_0",SecurityPolicy2.TLS_1_2="TLS_1_2"})(SecurityPolicy=exports.SecurityPolicy||(exports.SecurityPolicy={}));class DomainName extends core_1.Resource{constructor(scope,id,props){super(scope,id),this.basePaths=new Set;try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_DomainNameProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,DomainName),error}this.endpointType=props.endpointType||restapi_1.EndpointType.REGIONAL;const edge=this.endpointType===restapi_1.EndpointType.EDGE;if(this.securityPolicy=props.securityPolicy,!core_1.Token.isUnresolved(props.domainName)&&/[A-Z]/.test(props.domainName))throw new Error(`Domain name does not support uppercase letters. Got: ${props.domainName}`);const mtlsConfig=this.configureMTLS(props.mtls),resource=new apigateway_generated_1.CfnDomainName(this,"Resource",{domainName:props.domainName,certificateArn:edge?props.certificate.certificateArn:void 0,regionalCertificateArn:edge?void 0:props.certificate.certificateArn,endpointConfiguration:{types:[this.endpointType]},mutualTlsAuthentication:mtlsConfig,securityPolicy:props.securityPolicy});this.domainName=resource.ref,this.domainNameAliasDomainName=edge?resource.attrDistributionDomainName:resource.attrRegionalDomainName,this.domainNameAliasHostedZoneId=edge?resource.attrDistributionHostedZoneId:resource.attrRegionalHostedZoneId;const multiLevel=this.validateBasePath(props.basePath);props.mapping&&!multiLevel?this.addBasePathMapping(props.mapping,{basePath:props.basePath}):props.mapping&&multiLevel&&this.addApiMapping(props.mapping.deploymentStage,{basePath:props.basePath})}static fromDomainNameAttributes(scope,id,attrs){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_DomainNameAttributes(attrs)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.fromDomainNameAttributes),error}class Import extends core_1.Resource{constructor(){super(...arguments),this.domainName=attrs.domainName,this.domainNameAliasDomainName=attrs.domainNameAliasTarget,this.domainNameAliasHostedZoneId=attrs.domainNameAliasHostedZoneId}}return new Import(scope,id)}validateBasePath(path){if(this.isMultiLevel(path)){if(this.endpointType===restapi_1.EndpointType.EDGE)throw new Error("multi-level basePath is only supported when endpointType is EndpointType.REGIONAL");if(this.securityPolicy&&this.securityPolicy!==SecurityPolicy.TLS_1_2)throw new Error("securityPolicy must be set to TLS_1_2 if multi-level basePath is provided");return!0}return!1}isMultiLevel(path){return(path?.split("/").filter(x=>!!x)??[]).length>=2}addBasePathMapping(targetApi,options={}){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IRestApi(targetApi),jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_BasePathMappingOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addBasePathMapping),error}if(this.basePaths.has(options.basePath))throw new Error(`DomainName ${this.node.id} already has a mapping for path ${options.basePath}`);if(this.isMultiLevel(options.basePath))throw new Error('BasePathMapping does not support multi-level paths. Use "addApiMapping instead.');this.basePaths.add(options.basePath);const id=`Map:${options.basePath||"/"}=>${core_1.Names.nodeUniqueId(targetApi.node)}`;return new base_path_mapping_1.BasePathMapping(this,id,{domainName:this,restApi:targetApi,...options})}addApiMapping(targetStage,options={}){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(targetStage),jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_ApiMappingOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addApiMapping),error}if(this.basePaths.has(options.basePath))throw new Error(`DomainName ${this.node.id} already has a mapping for path ${options.basePath}`);this.validateBasePath(options.basePath),this.basePaths.add(options.basePath);const id=`Map:${options.basePath??"none"}=>${core_1.Names.nodeUniqueId(targetStage.node)}`;new apigwv2.CfnApiMapping(this,id,{apiId:targetStage.restApi.restApiId,stage:targetStage.stageName,domainName:this.domainName,apiMappingKey:options.basePath})}configureMTLS(mtlsConfig){if(!!mtlsConfig)return{truststoreUri:mtlsConfig.bucket.s3UrlForObject(mtlsConfig.key),truststoreVersion:mtlsConfig.version}}}exports.DomainName=DomainName,_a=JSII_RTTI_SYMBOL_1,DomainName[_a]={fqn:"aws-cdk-lib.aws_apigateway.DomainName",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=domain-name.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a,_b;Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResponseType=exports.GatewayResponse=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),util_1=require("./util");class GatewayResponse extends core_1.Resource{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_GatewayResponseProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,GatewayResponse),error}const gatewayResponseProps={restApiId:props.restApi.restApiId,responseType:props.type.responseType,responseParameters:this.buildResponseParameters(props.responseHeaders),responseTemplates:props.templates,statusCode:props.statusCode},resource=new apigateway_generated_1.CfnGatewayResponse(this,"Resource",gatewayResponseProps),deployment=props.restApi.latestDeployment;deployment&&(deployment.node.addDependency(resource),deployment.addToLogicalId({gatewayResponse:{...gatewayResponseProps}})),this.node.defaultChild=resource}buildResponseParameters(responseHeaders){if(!responseHeaders)return;const responseParameters={};for(const[header,value]of Object.entries(responseHeaders))responseParameters[`gatewayresponse.header.${header}`]=util_1.normalizeResponseParameterValue(value);return responseParameters}}exports.GatewayResponse=GatewayResponse,_a=JSII_RTTI_SYMBOL_1,GatewayResponse[_a]={fqn:"aws-cdk-lib.aws_apigateway.GatewayResponse",version:"2.52.
|
|
1
|
+
"use strict";var _a,_b;Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResponseType=exports.GatewayResponse=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),util_1=require("./util");class GatewayResponse extends core_1.Resource{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_GatewayResponseProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,GatewayResponse),error}const gatewayResponseProps={restApiId:props.restApi.restApiId,responseType:props.type.responseType,responseParameters:this.buildResponseParameters(props.responseHeaders),responseTemplates:props.templates,statusCode:props.statusCode},resource=new apigateway_generated_1.CfnGatewayResponse(this,"Resource",gatewayResponseProps),deployment=props.restApi.latestDeployment;deployment&&(deployment.node.addDependency(resource),deployment.addToLogicalId({gatewayResponse:{...gatewayResponseProps}})),this.node.defaultChild=resource}buildResponseParameters(responseHeaders){if(!responseHeaders)return;const responseParameters={};for(const[header,value]of Object.entries(responseHeaders))responseParameters[`gatewayresponse.header.${header}`]=util_1.normalizeResponseParameterValue(value);return responseParameters}}exports.GatewayResponse=GatewayResponse,_a=JSII_RTTI_SYMBOL_1,GatewayResponse[_a]={fqn:"aws-cdk-lib.aws_apigateway.GatewayResponse",version:"2.52.1"};class ResponseType{constructor(type){this.responseType=type}static of(type){return new ResponseType(type.toUpperCase())}}exports.ResponseType=ResponseType,_b=JSII_RTTI_SYMBOL_1,ResponseType[_b]={fqn:"aws-cdk-lib.aws_apigateway.ResponseType",version:"2.52.1"},ResponseType.ACCESS_DENIED=new ResponseType("ACCESS_DENIED"),ResponseType.API_CONFIGURATION_ERROR=new ResponseType("API_CONFIGURATION_ERROR"),ResponseType.AUTHORIZER_FAILURE=new ResponseType("AUTHORIZER_FAILURE"),ResponseType.AUTHORIZER_CONFIGURATION_ERROR=new ResponseType("AUTHORIZER_CONFIGURATION_ERROR"),ResponseType.BAD_REQUEST_PARAMETERS=new ResponseType("BAD_REQUEST_PARAMETERS"),ResponseType.BAD_REQUEST_BODY=new ResponseType("BAD_REQUEST_BODY"),ResponseType.DEFAULT_4XX=new ResponseType("DEFAULT_4XX"),ResponseType.DEFAULT_5XX=new ResponseType("DEFAULT_5XX"),ResponseType.EXPIRED_TOKEN=new ResponseType("EXPIRED_TOKEN"),ResponseType.INVALID_SIGNATURE=new ResponseType("INVALID_SIGNATURE"),ResponseType.INTEGRATION_FAILURE=new ResponseType("INTEGRATION_FAILURE"),ResponseType.INTEGRATION_TIMEOUT=new ResponseType("INTEGRATION_TIMEOUT"),ResponseType.INVALID_API_KEY=new ResponseType("INVALID_API_KEY"),ResponseType.MISSING_AUTHENTICATION_TOKEN=new ResponseType("MISSING_AUTHENTICATION_TOKEN"),ResponseType.QUOTA_EXCEEDED=new ResponseType("QUOTA_EXCEEDED"),ResponseType.REQUEST_TOO_LARGE=new ResponseType("REQUEST_TOO_LARGE"),ResponseType.RESOURCE_NOT_FOUND=new ResponseType("RESOURCE_NOT_FOUND"),ResponseType.THROTTLED=new ResponseType("THROTTLED"),ResponseType.UNAUTHORIZED=new ResponseType("UNAUTHORIZED"),ResponseType.UNSUPPORTED_MEDIA_TYPE=new ResponseType("UNSUPPORTED_MEDIA_TYPE"),ResponseType.WAF_FILTERED=new ResponseType("WAF_FILTERED");
|
|
2
2
|
//# sourceMappingURL=gateway-response.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConnectionType=exports.PassthroughBehavior=exports.IntegrationType=exports.ContentHandling=exports.Integration=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),vpc_link_1=require("./vpc-link");class Integration{constructor(props){this.props=props;try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IntegrationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Integration),error}const options=this.props.options||{};if(options.credentialsPassthrough!==void 0&&options.credentialsRole!==void 0)throw new Error("'credentialsPassthrough' and 'credentialsRole' are mutually exclusive");if(options.connectionType===ConnectionType.VPC_LINK&&options.vpcLink===void 0)throw new Error("'connectionType' of VPC_LINK requires 'vpcLink' prop to be set");if(options.connectionType===ConnectionType.INTERNET&&options.vpcLink!==void 0)throw new Error("cannot set 'vpcLink' where 'connectionType' is INTERNET");if(options.timeout&&!options.timeout.isUnresolved()&&(options.timeout.toMilliseconds()<50||options.timeout.toMilliseconds()>29e3))throw new Error("Integration timeout must be between 50 milliseconds and 29 seconds.")}bind(_method){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_Method(_method)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}let uri=this.props.uri;const options=this.props.options;return options?.connectionType===ConnectionType.VPC_LINK&&uri===void 0&&(uri=core_1.Lazy.string({produce:()=>{const vpcLink=options.vpcLink;if(vpcLink instanceof vpc_link_1.VpcLink){const targets=vpcLink._targetDnsNames;if(targets.length>1)throw new Error("'uri' is required when there are more than one NLBs in the VPC Link");return`http://${targets[0]}`}else throw new Error("'uri' is required when the 'connectionType' is VPC_LINK")}})),{options:{...options,connectionType:options?.vpcLink?ConnectionType.VPC_LINK:options?.connectionType},type:this.props.type,uri,integrationHttpMethod:this.props.integrationHttpMethod}}}exports.Integration=Integration,_a=JSII_RTTI_SYMBOL_1,Integration[_a]={fqn:"aws-cdk-lib.aws_apigateway.Integration",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConnectionType=exports.PassthroughBehavior=exports.IntegrationType=exports.ContentHandling=exports.Integration=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),vpc_link_1=require("./vpc-link");class Integration{constructor(props){this.props=props;try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IntegrationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Integration),error}const options=this.props.options||{};if(options.credentialsPassthrough!==void 0&&options.credentialsRole!==void 0)throw new Error("'credentialsPassthrough' and 'credentialsRole' are mutually exclusive");if(options.connectionType===ConnectionType.VPC_LINK&&options.vpcLink===void 0)throw new Error("'connectionType' of VPC_LINK requires 'vpcLink' prop to be set");if(options.connectionType===ConnectionType.INTERNET&&options.vpcLink!==void 0)throw new Error("cannot set 'vpcLink' where 'connectionType' is INTERNET");if(options.timeout&&!options.timeout.isUnresolved()&&(options.timeout.toMilliseconds()<50||options.timeout.toMilliseconds()>29e3))throw new Error("Integration timeout must be between 50 milliseconds and 29 seconds.")}bind(_method){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_Method(_method)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}let uri=this.props.uri;const options=this.props.options;return options?.connectionType===ConnectionType.VPC_LINK&&uri===void 0&&(uri=core_1.Lazy.string({produce:()=>{const vpcLink=options.vpcLink;if(vpcLink instanceof vpc_link_1.VpcLink){const targets=vpcLink._targetDnsNames;if(targets.length>1)throw new Error("'uri' is required when there are more than one NLBs in the VPC Link");return`http://${targets[0]}`}else throw new Error("'uri' is required when the 'connectionType' is VPC_LINK")}})),{options:{...options,connectionType:options?.vpcLink?ConnectionType.VPC_LINK:options?.connectionType},type:this.props.type,uri,integrationHttpMethod:this.props.integrationHttpMethod}}}exports.Integration=Integration,_a=JSII_RTTI_SYMBOL_1,Integration[_a]={fqn:"aws-cdk-lib.aws_apigateway.Integration",version:"2.52.1"};var ContentHandling;(function(ContentHandling2){ContentHandling2.CONVERT_TO_BINARY="CONVERT_TO_BINARY",ContentHandling2.CONVERT_TO_TEXT="CONVERT_TO_TEXT"})(ContentHandling=exports.ContentHandling||(exports.ContentHandling={}));var IntegrationType;(function(IntegrationType2){IntegrationType2.AWS="AWS",IntegrationType2.AWS_PROXY="AWS_PROXY",IntegrationType2.HTTP="HTTP",IntegrationType2.HTTP_PROXY="HTTP_PROXY",IntegrationType2.MOCK="MOCK"})(IntegrationType=exports.IntegrationType||(exports.IntegrationType={}));var PassthroughBehavior;(function(PassthroughBehavior2){PassthroughBehavior2.WHEN_NO_MATCH="WHEN_NO_MATCH",PassthroughBehavior2.NEVER="NEVER",PassthroughBehavior2.WHEN_NO_TEMPLATES="WHEN_NO_TEMPLATES"})(PassthroughBehavior=exports.PassthroughBehavior||(exports.PassthroughBehavior={}));var ConnectionType;(function(ConnectionType2){ConnectionType2.INTERNET="INTERNET",ConnectionType2.VPC_LINK="VPC_LINK"})(ConnectionType=exports.ConnectionType||(exports.ConnectionType={}));
|
|
2
2
|
//# sourceMappingURL=integration.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.AwsIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cdk=require("../../../core"),core_1=require("../../../core"),integration_1=require("../integration"),util_1=require("../util");class AwsIntegration extends integration_1.Integration{constructor(props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_AwsIntegrationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AwsIntegration),error}const backend=props.subdomain?`${props.subdomain}.${props.service}`:props.service,type=props.proxy?integration_1.IntegrationType.AWS_PROXY:integration_1.IntegrationType.AWS,{apiType,apiValue}=util_1.parseAwsApiCall(props.path,props.action,props.actionParameters);super({type,integrationHttpMethod:props.integrationHttpMethod||"POST",uri:cdk.Lazy.string({produce:()=>{if(!this.scope)throw new Error("AwsIntegration must be used in API");return cdk.Stack.of(this.scope).formatArn({service:"apigateway",account:backend,resource:apiType,arnFormat:core_1.ArnFormat.SLASH_RESOURCE_NAME,resourceName:apiValue,region:props.region})}}),options:props.options})}bind(method){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_Method(method)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}const bindResult=super.bind(method);return this.scope=method,bindResult}}exports.AwsIntegration=AwsIntegration,_a=JSII_RTTI_SYMBOL_1,AwsIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.AwsIntegration",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.AwsIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cdk=require("../../../core"),core_1=require("../../../core"),integration_1=require("../integration"),util_1=require("../util");class AwsIntegration extends integration_1.Integration{constructor(props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_AwsIntegrationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AwsIntegration),error}const backend=props.subdomain?`${props.subdomain}.${props.service}`:props.service,type=props.proxy?integration_1.IntegrationType.AWS_PROXY:integration_1.IntegrationType.AWS,{apiType,apiValue}=util_1.parseAwsApiCall(props.path,props.action,props.actionParameters);super({type,integrationHttpMethod:props.integrationHttpMethod||"POST",uri:cdk.Lazy.string({produce:()=>{if(!this.scope)throw new Error("AwsIntegration must be used in API");return cdk.Stack.of(this.scope).formatArn({service:"apigateway",account:backend,resource:apiType,arnFormat:core_1.ArnFormat.SLASH_RESOURCE_NAME,resourceName:apiValue,region:props.region})}}),options:props.options})}bind(method){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_Method(method)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}const bindResult=super.bind(method);return this.scope=method,bindResult}}exports.AwsIntegration=AwsIntegration,_a=JSII_RTTI_SYMBOL_1,AwsIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.AwsIntegration",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=aws.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.HttpIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),integration_1=require("../integration");class HttpIntegration extends integration_1.Integration{constructor(url,props={}){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_HttpIntegrationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,HttpIntegration),error}const proxy=props.proxy??!0,method=props.httpMethod||"GET";super({type:proxy?integration_1.IntegrationType.HTTP_PROXY:integration_1.IntegrationType.HTTP,integrationHttpMethod:method,uri:url,options:props.options})}}exports.HttpIntegration=HttpIntegration,_a=JSII_RTTI_SYMBOL_1,HttpIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.HttpIntegration",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.HttpIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),integration_1=require("../integration");class HttpIntegration extends integration_1.Integration{constructor(url,props={}){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_HttpIntegrationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,HttpIntegration),error}const proxy=props.proxy??!0,method=props.httpMethod||"GET";super({type:proxy?integration_1.IntegrationType.HTTP_PROXY:integration_1.IntegrationType.HTTP,integrationHttpMethod:method,uri:url,options:props.options})}}exports.HttpIntegration=HttpIntegration,_a=JSII_RTTI_SYMBOL_1,HttpIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.HttpIntegration",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=http.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.LambdaIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),iam=require("../../../aws-iam"),lambda=require("../../../aws-lambda"),core_1=require("../../../core"),aws_1=require("./aws");class LambdaIntegration extends aws_1.AwsIntegration{constructor(handler,options={}){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lambda_IFunction(handler),jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_LambdaIntegrationOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,LambdaIntegration),error}const proxy=options.proxy??!0;super({proxy,service:"lambda",path:`2015-03-31/functions/${handler.functionArn}/invocations`,options}),this.handler=handler,this.enableTest=options.allowTestInvoke??!0}bind(method){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_Method(method)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}const bindResult=super.bind(method),principal=new iam.ServicePrincipal("apigateway.amazonaws.com"),desc=`${core_1.Names.nodeUniqueId(method.api.node)}.${method.httpMethod}.${method.resource.path.replace(/\//g,".")}`;this.handler.addPermission(`ApiPermission.${desc}`,{principal,scope:method,sourceArn:core_1.Lazy.string({produce:()=>method.methodArn})}),this.enableTest&&this.handler.addPermission(`ApiPermission.Test.${desc}`,{principal,scope:method,sourceArn:method.testMethodArn});let functionName;this.handler instanceof lambda.Function?functionName=this.handler.node.defaultChild.functionName:functionName=this.handler.functionName;let deploymentToken;return core_1.Token.isUnresolved(functionName)||(deploymentToken=JSON.stringify({functionName})),{...bindResult,deploymentToken}}}exports.LambdaIntegration=LambdaIntegration,_a=JSII_RTTI_SYMBOL_1,LambdaIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.LambdaIntegration",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.LambdaIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),iam=require("../../../aws-iam"),lambda=require("../../../aws-lambda"),core_1=require("../../../core"),aws_1=require("./aws");class LambdaIntegration extends aws_1.AwsIntegration{constructor(handler,options={}){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lambda_IFunction(handler),jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_LambdaIntegrationOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,LambdaIntegration),error}const proxy=options.proxy??!0;super({proxy,service:"lambda",path:`2015-03-31/functions/${handler.functionArn}/invocations`,options}),this.handler=handler,this.enableTest=options.allowTestInvoke??!0}bind(method){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_Method(method)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}const bindResult=super.bind(method),principal=new iam.ServicePrincipal("apigateway.amazonaws.com"),desc=`${core_1.Names.nodeUniqueId(method.api.node)}.${method.httpMethod}.${method.resource.path.replace(/\//g,".")}`;this.handler.addPermission(`ApiPermission.${desc}`,{principal,scope:method,sourceArn:core_1.Lazy.string({produce:()=>method.methodArn})}),this.enableTest&&this.handler.addPermission(`ApiPermission.Test.${desc}`,{principal,scope:method,sourceArn:method.testMethodArn});let functionName;this.handler instanceof lambda.Function?functionName=this.handler.node.defaultChild.functionName:functionName=this.handler.functionName;let deploymentToken;return core_1.Token.isUnresolved(functionName)||(deploymentToken=JSON.stringify({functionName})),{...bindResult,deploymentToken}}}exports.LambdaIntegration=LambdaIntegration,_a=JSII_RTTI_SYMBOL_1,LambdaIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.LambdaIntegration",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=lambda.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.MockIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),integration_1=require("../integration");class MockIntegration extends integration_1.Integration{constructor(options){super({type:integration_1.IntegrationType.MOCK,options});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IntegrationOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,MockIntegration),error}}}exports.MockIntegration=MockIntegration,_a=JSII_RTTI_SYMBOL_1,MockIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.MockIntegration",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.MockIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),integration_1=require("../integration");class MockIntegration extends integration_1.Integration{constructor(options){super({type:integration_1.IntegrationType.MOCK,options});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IntegrationOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,MockIntegration),error}}}exports.MockIntegration=MockIntegration,_a=JSII_RTTI_SYMBOL_1,MockIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.MockIntegration",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=mock.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.StepFunctionsIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),fs=require("fs"),path=require("path"),iam=require("../../../aws-iam"),sfn=require("../../../aws-stepfunctions"),core_1=require("../../../core"),integration_1=require("../integration"),model_1=require("../model"),aws_1=require("./aws");class StepFunctionsIntegration{static startExecution(stateMachine,options){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_stepfunctions_IStateMachine(stateMachine),jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_StepFunctionsExecutionIntegrationOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.startExecution),error}return new StepFunctionsExecutionIntegration(stateMachine,options)}}exports.StepFunctionsIntegration=StepFunctionsIntegration,_a=JSII_RTTI_SYMBOL_1,StepFunctionsIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.StepFunctionsIntegration",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.StepFunctionsIntegration=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),fs=require("fs"),path=require("path"),iam=require("../../../aws-iam"),sfn=require("../../../aws-stepfunctions"),core_1=require("../../../core"),integration_1=require("../integration"),model_1=require("../model"),aws_1=require("./aws");class StepFunctionsIntegration{static startExecution(stateMachine,options){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_stepfunctions_IStateMachine(stateMachine),jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_StepFunctionsExecutionIntegrationOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.startExecution),error}return new StepFunctionsExecutionIntegration(stateMachine,options)}}exports.StepFunctionsIntegration=StepFunctionsIntegration,_a=JSII_RTTI_SYMBOL_1,StepFunctionsIntegration[_a]={fqn:"aws-cdk-lib.aws_apigateway.StepFunctionsIntegration",version:"2.52.1"};class StepFunctionsExecutionIntegration extends aws_1.AwsIntegration{constructor(stateMachine,options={}){super({service:"states",action:"StartSyncExecution",options:{credentialsRole:options.credentialsRole,integrationResponses:integrationResponse(),passthroughBehavior:integration_1.PassthroughBehavior.NEVER,requestTemplates:requestTemplates(stateMachine,options),...options}}),this.stateMachine=stateMachine}bind(method){const bindResult=super.bind(method),credentialsRole=bindResult.options?.credentialsRole??new iam.Role(method,"StartSyncExecutionRole",{assumedBy:new iam.ServicePrincipal("apigateway.amazonaws.com")});this.stateMachine.grantStartSyncExecution(credentialsRole);let stateMachineName;if(this.stateMachine instanceof sfn.StateMachine){if(this.stateMachine.stateMachineType!==sfn.StateMachineType.EXPRESS)throw new Error('State Machine must be of type "EXPRESS". Please use StateMachineType.EXPRESS as the stateMachineType');stateMachineName=this.stateMachine.node.defaultChild.stateMachineName}else stateMachineName=`StateMachine-${this.stateMachine.stack.node.addr}`;let deploymentToken;stateMachineName!==void 0&&!core_1.Token.isUnresolved(stateMachineName)&&(deploymentToken=JSON.stringify({stateMachineName}));for(const methodResponse of METHOD_RESPONSES)method.addMethodResponse(methodResponse);return{...bindResult,options:{...bindResult.options,credentialsRole},deploymentToken}}}function integrationResponse(){const errorResponse=[{selectionPattern:"4\\d{2}",statusCode:"400",responseTemplates:{"application/json":`{
|
|
2
2
|
"error": "Bad request!"
|
|
3
3
|
}`}},{selectionPattern:"5\\d{2}",statusCode:"500",responseTemplates:{"application/json":`"error": $input.path('$.error')`}}];return[{statusCode:"200",responseTemplates:{"application/json":["#set($inputRoot = $input.path('$'))",`#if($input.path('$.status').toString().equals("FAILED"))`,"#set($context.responseOverride.status = 500)","{",`"error": "$input.path('$.error')",`,`"cause": "$input.path('$.cause')"`,"}","#else","$input.path('$.output')","#end"].join(`
|
|
4
4
|
`)}},...errorResponse]}function requestTemplates(stateMachine,options){return{"application/json":templateString(stateMachine,options)}}function templateString(stateMachine,options){let templateStr,requestContextStr="";const includeHeader=options.headers??!1,includeQueryString=options.querystring??!0,includePath=options.path??!0,includeAuthorizer=options.authorizer??!1;return options.requestContext&&Object.keys(options.requestContext).length>0&&(requestContextStr=requestContext(options.requestContext)),templateStr=fs.readFileSync(path.join(__dirname,"stepfunctions.vtl"),{encoding:"utf-8"}),templateStr=templateStr.replace("%STATEMACHINE%",stateMachine.stateMachineArn),templateStr=templateStr.replace("%INCLUDE_HEADERS%",String(includeHeader)),templateStr=templateStr.replace("%INCLUDE_QUERYSTRING%",String(includeQueryString)),templateStr=templateStr.replace("%INCLUDE_PATH%",String(includePath)),templateStr=templateStr.replace("%INCLUDE_AUTHORIZER%",String(includeAuthorizer)),templateStr=templateStr.replace("%REQUESTCONTEXT%",requestContextStr),templateStr}function requestContext(requestContextObj){const context={accountId:requestContextObj?.accountId?"$context.identity.accountId":void 0,apiId:requestContextObj?.apiId?"$context.apiId":void 0,apiKey:requestContextObj?.apiKey?"$context.identity.apiKey":void 0,authorizerPrincipalId:requestContextObj?.authorizerPrincipalId?"$context.authorizer.principalId":void 0,caller:requestContextObj?.caller?"$context.identity.caller":void 0,cognitoAuthenticationProvider:requestContextObj?.cognitoAuthenticationProvider?"$context.identity.cognitoAuthenticationProvider":void 0,cognitoAuthenticationType:requestContextObj?.cognitoAuthenticationType?"$context.identity.cognitoAuthenticationType":void 0,cognitoIdentityId:requestContextObj?.cognitoIdentityId?"$context.identity.cognitoIdentityId":void 0,cognitoIdentityPoolId:requestContextObj?.cognitoIdentityPoolId?"$context.identity.cognitoIdentityPoolId":void 0,httpMethod:requestContextObj?.httpMethod?"$context.httpMethod":void 0,stage:requestContextObj?.stage?"$context.stage":void 0,sourceIp:requestContextObj?.sourceIp?"$context.identity.sourceIp":void 0,user:requestContextObj?.user?"$context.identity.user":void 0,userAgent:requestContextObj?.userAgent?"$context.identity.userAgent":void 0,userArn:requestContextObj?.userArn?"$context.identity.userArn":void 0,requestId:requestContextObj?.requestId?"$context.requestId":void 0,resourceId:requestContextObj?.resourceId?"$context.resourceId":void 0,resourcePath:requestContextObj?.resourcePath?"$context.resourcePath":void 0},contextAsString=JSON.stringify(context),doublequotes='"',replaceWith="@@";return contextAsString.split(doublequotes).join(replaceWith)}const METHOD_RESPONSES=[{statusCode:"200",responseModels:{"application/json":model_1.Model.EMPTY_MODEL}},{statusCode:"400",responseModels:{"application/json":model_1.Model.ERROR_MODEL}},{statusCode:"500",responseModels:{"application/json":model_1.Model.ERROR_MODEL}}];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.LambdaRestApi=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),integrations_1=require("./integrations"),restapi_1=require("./restapi");class LambdaRestApi extends restapi_1.RestApi{constructor(scope,id,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_LambdaRestApiProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,LambdaRestApi),error}if(props.options?.defaultIntegration||props.defaultIntegration)throw new Error('Cannot specify "defaultIntegration" since Lambda integration is automatically defined');super(scope,id,{defaultIntegration:new integrations_1.LambdaIntegration(props.handler,props.integrationOptions),...props.options,...props}),props.proxy!==!1&&(this.root.addProxy(),this.root.addResource=addResourceThrows,this.root.addMethod=addMethodThrows,this.root.addProxy=addProxyThrows)}}exports.LambdaRestApi=LambdaRestApi,_a=JSII_RTTI_SYMBOL_1,LambdaRestApi[_a]={fqn:"aws-cdk-lib.aws_apigateway.LambdaRestApi",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.LambdaRestApi=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),integrations_1=require("./integrations"),restapi_1=require("./restapi");class LambdaRestApi extends restapi_1.RestApi{constructor(scope,id,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_LambdaRestApiProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,LambdaRestApi),error}if(props.options?.defaultIntegration||props.defaultIntegration)throw new Error('Cannot specify "defaultIntegration" since Lambda integration is automatically defined');super(scope,id,{defaultIntegration:new integrations_1.LambdaIntegration(props.handler,props.integrationOptions),...props.options,...props}),props.proxy!==!1&&(this.root.addProxy(),this.root.addResource=addResourceThrows,this.root.addMethod=addMethodThrows,this.root.addProxy=addProxyThrows)}}exports.LambdaRestApi=LambdaRestApi,_a=JSII_RTTI_SYMBOL_1,LambdaRestApi[_a]={fqn:"aws-cdk-lib.aws_apigateway.LambdaRestApi",version:"2.52.1"};function addResourceThrows(){throw new Error("Cannot call 'addResource' on a proxying LambdaRestApi; set 'proxy' to false")}function addMethodThrows(){throw new Error("Cannot call 'addMethod' on a proxying LambdaRestApi; set 'proxy' to false")}function addProxyThrows(){throw new Error("Cannot call 'addProxy' on a proxying LambdaRestApi; set 'proxy' to false")}
|
|
2
2
|
//# sourceMappingURL=lambda-api.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.AuthorizationType=exports.Method=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cloudwatch=require("../../aws-cloudwatch"),core_1=require("../../core"),apigateway_canned_metrics_generated_1=require("./apigateway-canned-metrics.generated"),apigateway_generated_1=require("./apigateway.generated"),authorizer_1=require("./authorizer"),mock_1=require("./integrations/mock"),restapi_1=require("./restapi"),util_1=require("./util");class Method extends core_1.Resource{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_MethodProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Method),error}this.resource=props.resource,this.api=props.resource.api,this.httpMethod=props.httpMethod.toUpperCase(),util_1.validateHttpMethod(this.httpMethod);const options=props.options||{},defaultMethodOptions=props.resource.defaultMethodOptions||{},authorizer=options.authorizer||defaultMethodOptions.authorizer,authorizerId=authorizer?.authorizerId?authorizer.authorizerId:void 0,authorizationTypeOption=options.authorizationType||defaultMethodOptions.authorizationType,authorizationType=authorizer?.authorizationType||authorizationTypeOption||AuthorizationType.NONE;if(authorizer?.authorizationType&&authorizationTypeOption&&authorizer?.authorizationType!==authorizationTypeOption)throw new Error(`${this.resource}/${this.httpMethod} - Authorization type is set to ${authorizationTypeOption} which is different from what is required by the authorizer [${authorizer.authorizationType}]`);authorizer_1.Authorizer.isAuthorizer(authorizer)&&authorizer._attachToApi(this.api),this.methodResponses=options.methodResponses??[];const bindResult=(props.integration??this.resource.defaultIntegration??new mock_1.MockIntegration).bind(this),methodProps={resourceId:props.resource.resourceId,restApiId:this.api.restApiId,httpMethod:this.httpMethod,operationName:options.operationName||defaultMethodOptions.operationName,apiKeyRequired:options.apiKeyRequired||defaultMethodOptions.apiKeyRequired,authorizationType,authorizerId,requestParameters:options.requestParameters||defaultMethodOptions.requestParameters,integration:this.renderIntegration(bindResult),methodResponses:core_1.Lazy.any({produce:()=>this.renderMethodResponses(this.methodResponses)},{omitEmptyArray:!0}),requestModels:this.renderRequestModels(options.requestModels),requestValidatorId:this.requestValidatorId(options),authorizationScopes:options.authorizationScopes??defaultMethodOptions.authorizationScopes},resource=new apigateway_generated_1.CfnMethod(this,"Resource",methodProps);this.methodId=resource.ref,restapi_1.RestApiBase._isRestApiBase(props.resource.api)&&props.resource.api._attachMethod(this);const deployment=props.resource.api.latestDeployment;deployment&&(deployment.node.addDependency(resource),deployment.addToLogicalId({method:{...methodProps,integrationToken:bindResult?.deploymentToken}}))}get restApi(){return this.resource.restApi}get methodArn(){const stage=this.api.deploymentStage?.stageName;return this.api.arnForExecuteApi(this.httpMethod,pathForArn(this.resource.path),stage)}get testMethodArn(){return this.api.arnForExecuteApi(this.httpMethod,pathForArn(this.resource.path),"test-invoke-stage")}addMethodResponse(methodResponse){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_MethodResponse(methodResponse)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addMethodResponse),error}this.methodResponses.push(methodResponse)}renderIntegration(bindResult){const options=bindResult.options??{};let credentials;return options.credentialsRole?credentials=options.credentialsRole.roleArn:options.credentialsPassthrough&&(credentials=core_1.Stack.of(this).formatArn({service:"iam",region:"",account:"*",resource:"user",arnFormat:core_1.ArnFormat.SLASH_RESOURCE_NAME,resourceName:"*"})),{type:bindResult.type,uri:bindResult.uri,cacheKeyParameters:options.cacheKeyParameters,cacheNamespace:options.cacheNamespace,contentHandling:options.contentHandling,integrationHttpMethod:bindResult.integrationHttpMethod,requestParameters:options.requestParameters,requestTemplates:options.requestTemplates,passthroughBehavior:options.passthroughBehavior,integrationResponses:options.integrationResponses,connectionType:options.connectionType,connectionId:options.vpcLink?options.vpcLink.vpcLinkId:void 0,credentials,timeoutInMillis:options.timeout?.toMilliseconds()}}renderMethodResponses(methodResponses){if(!!methodResponses)return methodResponses.map(mr=>{let responseModels;if(mr.responseModels){responseModels={};for(const contentType in mr.responseModels)mr.responseModels.hasOwnProperty(contentType)&&(responseModels[contentType]=mr.responseModels[contentType].modelId)}return{statusCode:mr.statusCode,responseParameters:mr.responseParameters,responseModels}})}renderRequestModels(requestModels){if(!requestModels)return;const models={};for(const contentType in requestModels)requestModels.hasOwnProperty(contentType)&&(models[contentType]=requestModels[contentType].modelId);return models}requestValidatorId(options){if(options.requestValidator&&options.requestValidatorOptions)throw new Error("Only one of 'requestValidator' or 'requestValidatorOptions' must be specified.");return options.requestValidatorOptions?this.api.addRequestValidator("validator",options.requestValidatorOptions).requestValidatorId:options.requestValidator?.requestValidatorId}metric(metricName,stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metric),error}return new cloudwatch.Metric({namespace:"AWS/ApiGateway",metricName,dimensionsMap:{ApiName:this.api.restApiName,Method:this.httpMethod,Resource:this.resource.path,Stage:stage.stageName},...props}).attachTo(this)}metricClientError(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricClientError),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics._4XxErrorSum,stage,props)}metricServerError(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricServerError),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics._5XxErrorSum,stage,props)}metricCacheHitCount(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricCacheHitCount),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.cacheHitCountSum,stage,props)}metricCacheMissCount(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricCacheMissCount),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.cacheMissCountSum,stage,props)}metricCount(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricCount),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.countSum,stage,{statistic:"SampleCount",...props})}metricIntegrationLatency(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricIntegrationLatency),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.integrationLatencyAverage,stage,props)}metricLatency(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricLatency),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.latencyAverage,stage,props)}cannedMetric(fn,stage,props){return new cloudwatch.Metric({...fn({ApiName:this.api.restApiName,Method:this.httpMethod,Resource:this.resource.path,Stage:stage.stageName}),...props}).attachTo(this)}}exports.Method=Method,_a=JSII_RTTI_SYMBOL_1,Method[_a]={fqn:"aws-cdk-lib.aws_apigateway.Method",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.AuthorizationType=exports.Method=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cloudwatch=require("../../aws-cloudwatch"),core_1=require("../../core"),apigateway_canned_metrics_generated_1=require("./apigateway-canned-metrics.generated"),apigateway_generated_1=require("./apigateway.generated"),authorizer_1=require("./authorizer"),mock_1=require("./integrations/mock"),restapi_1=require("./restapi"),util_1=require("./util");class Method extends core_1.Resource{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_MethodProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Method),error}this.resource=props.resource,this.api=props.resource.api,this.httpMethod=props.httpMethod.toUpperCase(),util_1.validateHttpMethod(this.httpMethod);const options=props.options||{},defaultMethodOptions=props.resource.defaultMethodOptions||{},authorizer=options.authorizer||defaultMethodOptions.authorizer,authorizerId=authorizer?.authorizerId?authorizer.authorizerId:void 0,authorizationTypeOption=options.authorizationType||defaultMethodOptions.authorizationType,authorizationType=authorizer?.authorizationType||authorizationTypeOption||AuthorizationType.NONE;if(authorizer?.authorizationType&&authorizationTypeOption&&authorizer?.authorizationType!==authorizationTypeOption)throw new Error(`${this.resource}/${this.httpMethod} - Authorization type is set to ${authorizationTypeOption} which is different from what is required by the authorizer [${authorizer.authorizationType}]`);authorizer_1.Authorizer.isAuthorizer(authorizer)&&authorizer._attachToApi(this.api),this.methodResponses=options.methodResponses??[];const bindResult=(props.integration??this.resource.defaultIntegration??new mock_1.MockIntegration).bind(this),methodProps={resourceId:props.resource.resourceId,restApiId:this.api.restApiId,httpMethod:this.httpMethod,operationName:options.operationName||defaultMethodOptions.operationName,apiKeyRequired:options.apiKeyRequired||defaultMethodOptions.apiKeyRequired,authorizationType,authorizerId,requestParameters:options.requestParameters||defaultMethodOptions.requestParameters,integration:this.renderIntegration(bindResult),methodResponses:core_1.Lazy.any({produce:()=>this.renderMethodResponses(this.methodResponses)},{omitEmptyArray:!0}),requestModels:this.renderRequestModels(options.requestModels),requestValidatorId:this.requestValidatorId(options),authorizationScopes:options.authorizationScopes??defaultMethodOptions.authorizationScopes},resource=new apigateway_generated_1.CfnMethod(this,"Resource",methodProps);this.methodId=resource.ref,restapi_1.RestApiBase._isRestApiBase(props.resource.api)&&props.resource.api._attachMethod(this);const deployment=props.resource.api.latestDeployment;deployment&&(deployment.node.addDependency(resource),deployment.addToLogicalId({method:{...methodProps,integrationToken:bindResult?.deploymentToken}}))}get restApi(){return this.resource.restApi}get methodArn(){const stage=this.api.deploymentStage?.stageName;return this.api.arnForExecuteApi(this.httpMethod,pathForArn(this.resource.path),stage)}get testMethodArn(){return this.api.arnForExecuteApi(this.httpMethod,pathForArn(this.resource.path),"test-invoke-stage")}addMethodResponse(methodResponse){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_MethodResponse(methodResponse)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addMethodResponse),error}this.methodResponses.push(methodResponse)}renderIntegration(bindResult){const options=bindResult.options??{};let credentials;return options.credentialsRole?credentials=options.credentialsRole.roleArn:options.credentialsPassthrough&&(credentials=core_1.Stack.of(this).formatArn({service:"iam",region:"",account:"*",resource:"user",arnFormat:core_1.ArnFormat.SLASH_RESOURCE_NAME,resourceName:"*"})),{type:bindResult.type,uri:bindResult.uri,cacheKeyParameters:options.cacheKeyParameters,cacheNamespace:options.cacheNamespace,contentHandling:options.contentHandling,integrationHttpMethod:bindResult.integrationHttpMethod,requestParameters:options.requestParameters,requestTemplates:options.requestTemplates,passthroughBehavior:options.passthroughBehavior,integrationResponses:options.integrationResponses,connectionType:options.connectionType,connectionId:options.vpcLink?options.vpcLink.vpcLinkId:void 0,credentials,timeoutInMillis:options.timeout?.toMilliseconds()}}renderMethodResponses(methodResponses){if(!!methodResponses)return methodResponses.map(mr=>{let responseModels;if(mr.responseModels){responseModels={};for(const contentType in mr.responseModels)mr.responseModels.hasOwnProperty(contentType)&&(responseModels[contentType]=mr.responseModels[contentType].modelId)}return{statusCode:mr.statusCode,responseParameters:mr.responseParameters,responseModels}})}renderRequestModels(requestModels){if(!requestModels)return;const models={};for(const contentType in requestModels)requestModels.hasOwnProperty(contentType)&&(models[contentType]=requestModels[contentType].modelId);return models}requestValidatorId(options){if(options.requestValidator&&options.requestValidatorOptions)throw new Error("Only one of 'requestValidator' or 'requestValidatorOptions' must be specified.");return options.requestValidatorOptions?this.api.addRequestValidator("validator",options.requestValidatorOptions).requestValidatorId:options.requestValidator?.requestValidatorId}metric(metricName,stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metric),error}return new cloudwatch.Metric({namespace:"AWS/ApiGateway",metricName,dimensionsMap:{ApiName:this.api.restApiName,Method:this.httpMethod,Resource:this.resource.path,Stage:stage.stageName},...props}).attachTo(this)}metricClientError(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricClientError),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics._4XxErrorSum,stage,props)}metricServerError(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricServerError),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics._5XxErrorSum,stage,props)}metricCacheHitCount(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricCacheHitCount),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.cacheHitCountSum,stage,props)}metricCacheMissCount(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricCacheMissCount),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.cacheMissCountSum,stage,props)}metricCount(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricCount),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.countSum,stage,{statistic:"SampleCount",...props})}metricIntegrationLatency(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricIntegrationLatency),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.integrationLatencyAverage,stage,props)}metricLatency(stage,props){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_IStage(stage),jsiiDeprecationWarnings.aws_cdk_lib_aws_cloudwatch_MetricOptions(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.metricLatency),error}return this.cannedMetric(apigateway_canned_metrics_generated_1.ApiGatewayMetrics.latencyAverage,stage,props)}cannedMetric(fn,stage,props){return new cloudwatch.Metric({...fn({ApiName:this.api.restApiName,Method:this.httpMethod,Resource:this.resource.path,Stage:stage.stageName}),...props}).attachTo(this)}}exports.Method=Method,_a=JSII_RTTI_SYMBOL_1,Method[_a]={fqn:"aws-cdk-lib.aws_apigateway.Method",version:"2.52.1"};var AuthorizationType;(function(AuthorizationType2){AuthorizationType2.NONE="NONE",AuthorizationType2.IAM="AWS_IAM",AuthorizationType2.CUSTOM="CUSTOM",AuthorizationType2.COGNITO="COGNITO_USER_POOLS"})(AuthorizationType=exports.AuthorizationType||(exports.AuthorizationType={}));function pathForArn(path){return path.replace(/\{[^\}]*\}/g,"*")}
|
|
2
2
|
//# sourceMappingURL=method.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a,_b,_c;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Model=exports.ErrorModel=exports.EmptyModel=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),restapi_1=require("./restapi"),util=require("./util");class EmptyModel{constructor(){this.modelId="Empty"}}exports.EmptyModel=EmptyModel,_a=JSII_RTTI_SYMBOL_1,EmptyModel[_a]={fqn:"aws-cdk-lib.aws_apigateway.EmptyModel",version:"2.52.
|
|
1
|
+
"use strict";var _a,_b,_c;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Model=exports.ErrorModel=exports.EmptyModel=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),restapi_1=require("./restapi"),util=require("./util");class EmptyModel{constructor(){this.modelId="Empty"}}exports.EmptyModel=EmptyModel,_a=JSII_RTTI_SYMBOL_1,EmptyModel[_a]={fqn:"aws-cdk-lib.aws_apigateway.EmptyModel",version:"2.52.1"};class ErrorModel{constructor(){this.modelId="Error"}}exports.ErrorModel=ErrorModel,_b=JSII_RTTI_SYMBOL_1,ErrorModel[_b]={fqn:"aws-cdk-lib.aws_apigateway.ErrorModel",version:"2.52.1"};class Model extends core_1.Resource{constructor(scope,id,props){super(scope,id,{physicalName:props.modelName});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_ModelProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Model),error}const modelProps={name:this.physicalName,restApiId:props.restApi.restApiId,contentType:props.contentType??"application/json",description:props.description,schema:util.JsonSchemaMapper.toCfnJsonSchema(props.schema)},resource=new apigateway_generated_1.CfnModel(this,"Resource",modelProps);this.modelId=this.getResourceNameAttribute(resource.ref);const deployment=props.restApi instanceof restapi_1.RestApi?props.restApi.latestDeployment:void 0;deployment&&(deployment.node.addDependency(resource),deployment.addToLogicalId({model:modelProps}))}static fromModelName(scope,id,modelName){class Import extends core_1.Resource{constructor(){super(...arguments),this.modelId=modelName}}return new Import(scope,id)}}exports.Model=Model,_c=JSII_RTTI_SYMBOL_1,Model[_c]={fqn:"aws-cdk-lib.aws_apigateway.Model",version:"2.52.1"},Model.ERROR_MODEL=new ErrorModel,Model.EMPTY_MODEL=new EmptyModel;
|
|
2
2
|
//# sourceMappingURL=model.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.RequestValidator=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),restapi_1=require("./restapi");class RequestValidator extends core_1.Resource{constructor(scope,id,props){super(scope,id,{physicalName:props.requestValidatorName});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_RequestValidatorProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,RequestValidator),error}const validatorProps={name:this.physicalName,restApiId:props.restApi.restApiId,validateRequestBody:props.validateRequestBody,validateRequestParameters:props.validateRequestParameters},resource=new apigateway_generated_1.CfnRequestValidator(this,"Resource",validatorProps);this.requestValidatorId=resource.ref;const deployment=props.restApi instanceof restapi_1.RestApi?props.restApi.latestDeployment:void 0;deployment&&(deployment.node.addDependency(resource),deployment.addToLogicalId({validator:validatorProps}))}static fromRequestValidatorId(scope,id,requestValidatorId){class Import extends core_1.Resource{constructor(){super(...arguments),this.requestValidatorId=requestValidatorId}}return new Import(scope,id)}}exports.RequestValidator=RequestValidator,_a=JSII_RTTI_SYMBOL_1,RequestValidator[_a]={fqn:"aws-cdk-lib.aws_apigateway.RequestValidator",version:"2.52.
|
|
1
|
+
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.RequestValidator=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),apigateway_generated_1=require("./apigateway.generated"),restapi_1=require("./restapi");class RequestValidator extends core_1.Resource{constructor(scope,id,props){super(scope,id,{physicalName:props.requestValidatorName});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_apigateway_RequestValidatorProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,RequestValidator),error}const validatorProps={name:this.physicalName,restApiId:props.restApi.restApiId,validateRequestBody:props.validateRequestBody,validateRequestParameters:props.validateRequestParameters},resource=new apigateway_generated_1.CfnRequestValidator(this,"Resource",validatorProps);this.requestValidatorId=resource.ref;const deployment=props.restApi instanceof restapi_1.RestApi?props.restApi.latestDeployment:void 0;deployment&&(deployment.node.addDependency(resource),deployment.addToLogicalId({validator:validatorProps}))}static fromRequestValidatorId(scope,id,requestValidatorId){class Import extends core_1.Resource{constructor(){super(...arguments),this.requestValidatorId=requestValidatorId}}return new Import(scope,id)}}exports.RequestValidator=RequestValidator,_a=JSII_RTTI_SYMBOL_1,RequestValidator[_a]={fqn:"aws-cdk-lib.aws_apigateway.RequestValidator",version:"2.52.1"};
|
|
2
2
|
//# sourceMappingURL=requestvalidator.js.map
|