aws-cdk-lib 2.51.0 → 2.51.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;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnResourcePolicy=exports.CfnBotVersion=exports.CfnBotAlias=exports.CfnBot=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cdk=require("../../core"),cfn_parse=require("../../core/lib/helpers-internal");function CfnBotPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("autoBuildBotLocales",cdk.validateBoolean)(properties.autoBuildBotLocales)),errors.collect(cdk.propertyValidator("botFileS3Location",CfnBot_S3LocationPropertyValidator)(properties.botFileS3Location)),errors.collect(cdk.propertyValidator("botLocales",cdk.listValidator(CfnBot_BotLocalePropertyValidator))(properties.botLocales)),errors.collect(cdk.propertyValidator("botTags",cdk.listValidator(cdk.validateCfnTag))(properties.botTags)),errors.collect(cdk.propertyValidator("dataPrivacy",cdk.requiredValidator)(properties.dataPrivacy)),errors.collect(cdk.propertyValidator("dataPrivacy",cdk.validateObject)(properties.dataPrivacy)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("idleSessionTtlInSeconds",cdk.requiredValidator)(properties.idleSessionTtlInSeconds)),errors.collect(cdk.propertyValidator("idleSessionTtlInSeconds",cdk.validateNumber)(properties.idleSessionTtlInSeconds)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("roleArn",cdk.requiredValidator)(properties.roleArn)),errors.collect(cdk.propertyValidator("roleArn",cdk.validateString)(properties.roleArn)),errors.collect(cdk.propertyValidator("testBotAliasSettings",CfnBot_TestBotAliasSettingsPropertyValidator)(properties.testBotAliasSettings)),errors.collect(cdk.propertyValidator("testBotAliasTags",cdk.listValidator(cdk.validateCfnTag))(properties.testBotAliasTags)),errors.wrap('supplied properties not correct for "CfnBotProps"')}function cfnBotPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotPropsValidator(properties).assertSuccess(),{DataPrivacy:cdk.objectToCloudFormation(properties.dataPrivacy),IdleSessionTTLInSeconds:cdk.numberToCloudFormation(properties.idleSessionTtlInSeconds),Name:cdk.stringToCloudFormation(properties.name),RoleArn:cdk.stringToCloudFormation(properties.roleArn),AutoBuildBotLocales:cdk.booleanToCloudFormation(properties.autoBuildBotLocales),BotFileS3Location:cfnBotS3LocationPropertyToCloudFormation(properties.botFileS3Location),BotLocales:cdk.listMapper(cfnBotBotLocalePropertyToCloudFormation)(properties.botLocales),BotTags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.botTags),Description:cdk.stringToCloudFormation(properties.description),TestBotAliasSettings:cfnBotTestBotAliasSettingsPropertyToCloudFormation(properties.testBotAliasSettings),TestBotAliasTags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.testBotAliasTags)}):properties}function CfnBotPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("dataPrivacy","DataPrivacy",cfn_parse.FromCloudFormation.getAny(properties.DataPrivacy)),ret.addPropertyResult("idleSessionTtlInSeconds","IdleSessionTTLInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.IdleSessionTTLInSeconds)),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("roleArn","RoleArn",cfn_parse.FromCloudFormation.getString(properties.RoleArn)),ret.addPropertyResult("autoBuildBotLocales","AutoBuildBotLocales",properties.AutoBuildBotLocales!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AutoBuildBotLocales):void 0),ret.addPropertyResult("botFileS3Location","BotFileS3Location",properties.BotFileS3Location!=null?CfnBotS3LocationPropertyFromCloudFormation(properties.BotFileS3Location):void 0),ret.addPropertyResult("botLocales","BotLocales",properties.BotLocales!=null?cfn_parse.FromCloudFormation.getArray(CfnBotBotLocalePropertyFromCloudFormation)(properties.BotLocales):void 0),ret.addPropertyResult("botTags","BotTags",properties.BotTags!=null?cfn_parse.FromCloudFormation.getArray(cfn_parse.FromCloudFormation.getCfnTag)(properties.BotTags):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("testBotAliasSettings","TestBotAliasSettings",properties.TestBotAliasSettings!=null?CfnBotTestBotAliasSettingsPropertyFromCloudFormation(properties.TestBotAliasSettings):void 0),ret.addPropertyResult("testBotAliasTags","TestBotAliasTags",properties.TestBotAliasTags!=null?cfn_parse.FromCloudFormation.getArray(cfn_parse.FromCloudFormation.getCfnTag)(properties.TestBotAliasTags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnBot extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnBot.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lex_CfnBotProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnBot),error}cdk.requireProperty(props,"dataPrivacy",this),cdk.requireProperty(props,"idleSessionTtlInSeconds",this),cdk.requireProperty(props,"name",this),cdk.requireProperty(props,"roleArn",this),this.attrArn=cdk.Token.asString(this.getAtt("Arn")),this.attrId=cdk.Token.asString(this.getAtt("Id")),this.dataPrivacy=props.dataPrivacy,this.idleSessionTtlInSeconds=props.idleSessionTtlInSeconds,this.name=props.name,this.roleArn=props.roleArn,this.autoBuildBotLocales=props.autoBuildBotLocales,this.botFileS3Location=props.botFileS3Location,this.botLocales=props.botLocales,this.botTags=props.botTags,this.description=props.description,this.testBotAliasSettings=props.testBotAliasSettings,this.testBotAliasTags=props.testBotAliasTags}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnBotPropsFromCloudFormation(resourceProperties),ret=new CfnBot(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnBot.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{dataPrivacy:this.dataPrivacy,idleSessionTtlInSeconds:this.idleSessionTtlInSeconds,name:this.name,roleArn:this.roleArn,autoBuildBotLocales:this.autoBuildBotLocales,botFileS3Location:this.botFileS3Location,botLocales:this.botLocales,botTags:this.botTags,description:this.description,testBotAliasSettings:this.testBotAliasSettings,testBotAliasTags:this.testBotAliasTags}}renderProperties(props){return cfnBotPropsToCloudFormation(props)}}exports.CfnBot=CfnBot,_a=JSII_RTTI_SYMBOL_1,CfnBot[_a]={fqn:"aws-cdk-lib.aws_lex.CfnBot",version:"2.51.0"},CfnBot.CFN_RESOURCE_TYPE_NAME="AWS::Lex::Bot";function CfnBot_AdvancedRecognitionSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("audioRecognitionStrategy",cdk.validateString)(properties.audioRecognitionStrategy)),errors.wrap('supplied properties not correct for "AdvancedRecognitionSettingProperty"')}function cfnBotAdvancedRecognitionSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AdvancedRecognitionSettingPropertyValidator(properties).assertSuccess(),{AudioRecognitionStrategy:cdk.stringToCloudFormation(properties.audioRecognitionStrategy)}):properties}function CfnBotAdvancedRecognitionSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("audioRecognitionStrategy","AudioRecognitionStrategy",properties.AudioRecognitionStrategy!=null?cfn_parse.FromCloudFormation.getString(properties.AudioRecognitionStrategy):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AllowedInputTypesPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowAudioInput",cdk.requiredValidator)(properties.allowAudioInput)),errors.collect(cdk.propertyValidator("allowAudioInput",cdk.validateBoolean)(properties.allowAudioInput)),errors.collect(cdk.propertyValidator("allowDtmfInput",cdk.requiredValidator)(properties.allowDtmfInput)),errors.collect(cdk.propertyValidator("allowDtmfInput",cdk.validateBoolean)(properties.allowDtmfInput)),errors.wrap('supplied properties not correct for "AllowedInputTypesProperty"')}function cfnBotAllowedInputTypesPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AllowedInputTypesPropertyValidator(properties).assertSuccess(),{AllowAudioInput:cdk.booleanToCloudFormation(properties.allowAudioInput),AllowDTMFInput:cdk.booleanToCloudFormation(properties.allowDtmfInput)}):properties}function CfnBotAllowedInputTypesPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowAudioInput","AllowAudioInput",cfn_parse.FromCloudFormation.getBoolean(properties.AllowAudioInput)),ret.addPropertyResult("allowDtmfInput","AllowDTMFInput",cfn_parse.FromCloudFormation.getBoolean(properties.AllowDTMFInput)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AudioAndDTMFInputSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("audioSpecification",CfnBot_AudioSpecificationPropertyValidator)(properties.audioSpecification)),errors.collect(cdk.propertyValidator("dtmfSpecification",CfnBot_DTMFSpecificationPropertyValidator)(properties.dtmfSpecification)),errors.collect(cdk.propertyValidator("startTimeoutMs",cdk.requiredValidator)(properties.startTimeoutMs)),errors.collect(cdk.propertyValidator("startTimeoutMs",cdk.validateNumber)(properties.startTimeoutMs)),errors.wrap('supplied properties not correct for "AudioAndDTMFInputSpecificationProperty"')}function cfnBotAudioAndDTMFInputSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AudioAndDTMFInputSpecificationPropertyValidator(properties).assertSuccess(),{AudioSpecification:cfnBotAudioSpecificationPropertyToCloudFormation(properties.audioSpecification),DTMFSpecification:cfnBotDTMFSpecificationPropertyToCloudFormation(properties.dtmfSpecification),StartTimeoutMs:cdk.numberToCloudFormation(properties.startTimeoutMs)}):properties}function CfnBotAudioAndDTMFInputSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("audioSpecification","AudioSpecification",properties.AudioSpecification!=null?CfnBotAudioSpecificationPropertyFromCloudFormation(properties.AudioSpecification):void 0),ret.addPropertyResult("dtmfSpecification","DTMFSpecification",properties.DTMFSpecification!=null?CfnBotDTMFSpecificationPropertyFromCloudFormation(properties.DTMFSpecification):void 0),ret.addPropertyResult("startTimeoutMs","StartTimeoutMs",cfn_parse.FromCloudFormation.getNumber(properties.StartTimeoutMs)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AudioLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("s3Bucket",cdk.requiredValidator)(properties.s3Bucket)),errors.collect(cdk.propertyValidator("s3Bucket",CfnBot_S3BucketLogDestinationPropertyValidator)(properties.s3Bucket)),errors.wrap('supplied properties not correct for "AudioLogDestinationProperty"')}function cfnBotAudioLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AudioLogDestinationPropertyValidator(properties).assertSuccess(),{S3Bucket:cfnBotS3BucketLogDestinationPropertyToCloudFormation(properties.s3Bucket)}):properties}function CfnBotAudioLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("s3Bucket","S3Bucket",CfnBotS3BucketLogDestinationPropertyFromCloudFormation(properties.S3Bucket)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AudioLogSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("destination",cdk.requiredValidator)(properties.destination)),errors.collect(cdk.propertyValidator("destination",CfnBot_AudioLogDestinationPropertyValidator)(properties.destination)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "AudioLogSettingProperty"')}function cfnBotAudioLogSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AudioLogSettingPropertyValidator(properties).assertSuccess(),{Destination:cfnBotAudioLogDestinationPropertyToCloudFormation(properties.destination),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotAudioLogSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("destination","Destination",CfnBotAudioLogDestinationPropertyFromCloudFormation(properties.Destination)),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AudioSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("endTimeoutMs",cdk.requiredValidator)(properties.endTimeoutMs)),errors.collect(cdk.propertyValidator("endTimeoutMs",cdk.validateNumber)(properties.endTimeoutMs)),errors.collect(cdk.propertyValidator("maxLengthMs",cdk.requiredValidator)(properties.maxLengthMs)),errors.collect(cdk.propertyValidator("maxLengthMs",cdk.validateNumber)(properties.maxLengthMs)),errors.wrap('supplied properties not correct for "AudioSpecificationProperty"')}function cfnBotAudioSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AudioSpecificationPropertyValidator(properties).assertSuccess(),{EndTimeoutMs:cdk.numberToCloudFormation(properties.endTimeoutMs),MaxLengthMs:cdk.numberToCloudFormation(properties.maxLengthMs)}):properties}function CfnBotAudioSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("endTimeoutMs","EndTimeoutMs",cfn_parse.FromCloudFormation.getNumber(properties.EndTimeoutMs)),ret.addPropertyResult("maxLengthMs","MaxLengthMs",cfn_parse.FromCloudFormation.getNumber(properties.MaxLengthMs)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_BotAliasLocaleSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("codeHookSpecification",CfnBot_CodeHookSpecificationPropertyValidator)(properties.codeHookSpecification)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "BotAliasLocaleSettingsProperty"')}function cfnBotBotAliasLocaleSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_BotAliasLocaleSettingsPropertyValidator(properties).assertSuccess(),{CodeHookSpecification:cfnBotCodeHookSpecificationPropertyToCloudFormation(properties.codeHookSpecification),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotBotAliasLocaleSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("codeHookSpecification","CodeHookSpecification",properties.CodeHookSpecification!=null?CfnBotCodeHookSpecificationPropertyFromCloudFormation(properties.CodeHookSpecification):void 0),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_BotAliasLocaleSettingsItemPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botAliasLocaleSetting",cdk.requiredValidator)(properties.botAliasLocaleSetting)),errors.collect(cdk.propertyValidator("botAliasLocaleSetting",CfnBot_BotAliasLocaleSettingsPropertyValidator)(properties.botAliasLocaleSetting)),errors.collect(cdk.propertyValidator("localeId",cdk.requiredValidator)(properties.localeId)),errors.collect(cdk.propertyValidator("localeId",cdk.validateString)(properties.localeId)),errors.wrap('supplied properties not correct for "BotAliasLocaleSettingsItemProperty"')}function cfnBotBotAliasLocaleSettingsItemPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_BotAliasLocaleSettingsItemPropertyValidator(properties).assertSuccess(),{BotAliasLocaleSetting:cfnBotBotAliasLocaleSettingsPropertyToCloudFormation(properties.botAliasLocaleSetting),LocaleId:cdk.stringToCloudFormation(properties.localeId)}):properties}function CfnBotBotAliasLocaleSettingsItemPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botAliasLocaleSetting","BotAliasLocaleSetting",CfnBotBotAliasLocaleSettingsPropertyFromCloudFormation(properties.BotAliasLocaleSetting)),ret.addPropertyResult("localeId","LocaleId",cfn_parse.FromCloudFormation.getString(properties.LocaleId)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_BotLocalePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("customVocabulary",CfnBot_CustomVocabularyPropertyValidator)(properties.customVocabulary)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("intents",cdk.listValidator(CfnBot_IntentPropertyValidator))(properties.intents)),errors.collect(cdk.propertyValidator("localeId",cdk.requiredValidator)(properties.localeId)),errors.collect(cdk.propertyValidator("localeId",cdk.validateString)(properties.localeId)),errors.collect(cdk.propertyValidator("nluConfidenceThreshold",cdk.requiredValidator)(properties.nluConfidenceThreshold)),errors.collect(cdk.propertyValidator("nluConfidenceThreshold",cdk.validateNumber)(properties.nluConfidenceThreshold)),errors.collect(cdk.propertyValidator("slotTypes",cdk.listValidator(CfnBot_SlotTypePropertyValidator))(properties.slotTypes)),errors.collect(cdk.propertyValidator("voiceSettings",CfnBot_VoiceSettingsPropertyValidator)(properties.voiceSettings)),errors.wrap('supplied properties not correct for "BotLocaleProperty"')}function cfnBotBotLocalePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_BotLocalePropertyValidator(properties).assertSuccess(),{CustomVocabulary:cfnBotCustomVocabularyPropertyToCloudFormation(properties.customVocabulary),Description:cdk.stringToCloudFormation(properties.description),Intents:cdk.listMapper(cfnBotIntentPropertyToCloudFormation)(properties.intents),LocaleId:cdk.stringToCloudFormation(properties.localeId),NluConfidenceThreshold:cdk.numberToCloudFormation(properties.nluConfidenceThreshold),SlotTypes:cdk.listMapper(cfnBotSlotTypePropertyToCloudFormation)(properties.slotTypes),VoiceSettings:cfnBotVoiceSettingsPropertyToCloudFormation(properties.voiceSettings)}):properties}function CfnBotBotLocalePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("customVocabulary","CustomVocabulary",properties.CustomVocabulary!=null?CfnBotCustomVocabularyPropertyFromCloudFormation(properties.CustomVocabulary):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("intents","Intents",properties.Intents!=null?cfn_parse.FromCloudFormation.getArray(CfnBotIntentPropertyFromCloudFormation)(properties.Intents):void 0),ret.addPropertyResult("localeId","LocaleId",cfn_parse.FromCloudFormation.getString(properties.LocaleId)),ret.addPropertyResult("nluConfidenceThreshold","NluConfidenceThreshold",cfn_parse.FromCloudFormation.getNumber(properties.NluConfidenceThreshold)),ret.addPropertyResult("slotTypes","SlotTypes",properties.SlotTypes!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSlotTypePropertyFromCloudFormation)(properties.SlotTypes):void 0),ret.addPropertyResult("voiceSettings","VoiceSettings",properties.VoiceSettings!=null?CfnBotVoiceSettingsPropertyFromCloudFormation(properties.VoiceSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ButtonPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("text",cdk.requiredValidator)(properties.text)),errors.collect(cdk.propertyValidator("text",cdk.validateString)(properties.text)),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "ButtonProperty"')}function cfnBotButtonPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ButtonPropertyValidator(properties).assertSuccess(),{Text:cdk.stringToCloudFormation(properties.text),Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotButtonPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("text","Text",cfn_parse.FromCloudFormation.getString(properties.Text)),ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CloudWatchLogGroupLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("cloudWatchLogGroupArn",cdk.requiredValidator)(properties.cloudWatchLogGroupArn)),errors.collect(cdk.propertyValidator("cloudWatchLogGroupArn",cdk.validateString)(properties.cloudWatchLogGroupArn)),errors.collect(cdk.propertyValidator("logPrefix",cdk.requiredValidator)(properties.logPrefix)),errors.collect(cdk.propertyValidator("logPrefix",cdk.validateString)(properties.logPrefix)),errors.wrap('supplied properties not correct for "CloudWatchLogGroupLogDestinationProperty"')}function cfnBotCloudWatchLogGroupLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CloudWatchLogGroupLogDestinationPropertyValidator(properties).assertSuccess(),{CloudWatchLogGroupArn:cdk.stringToCloudFormation(properties.cloudWatchLogGroupArn),LogPrefix:cdk.stringToCloudFormation(properties.logPrefix)}):properties}function CfnBotCloudWatchLogGroupLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("cloudWatchLogGroupArn","CloudWatchLogGroupArn",cfn_parse.FromCloudFormation.getString(properties.CloudWatchLogGroupArn)),ret.addPropertyResult("logPrefix","LogPrefix",cfn_parse.FromCloudFormation.getString(properties.LogPrefix)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CodeHookSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("lambdaCodeHook",cdk.requiredValidator)(properties.lambdaCodeHook)),errors.collect(cdk.propertyValidator("lambdaCodeHook",CfnBot_LambdaCodeHookPropertyValidator)(properties.lambdaCodeHook)),errors.wrap('supplied properties not correct for "CodeHookSpecificationProperty"')}function cfnBotCodeHookSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CodeHookSpecificationPropertyValidator(properties).assertSuccess(),{LambdaCodeHook:cfnBotLambdaCodeHookPropertyToCloudFormation(properties.lambdaCodeHook)}):properties}function CfnBotCodeHookSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("lambdaCodeHook","LambdaCodeHook",CfnBotLambdaCodeHookPropertyFromCloudFormation(properties.LambdaCodeHook)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ConversationLogSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("audioLogSettings",cdk.listValidator(CfnBot_AudioLogSettingPropertyValidator))(properties.audioLogSettings)),errors.collect(cdk.propertyValidator("textLogSettings",cdk.listValidator(CfnBot_TextLogSettingPropertyValidator))(properties.textLogSettings)),errors.wrap('supplied properties not correct for "ConversationLogSettingsProperty"')}function cfnBotConversationLogSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ConversationLogSettingsPropertyValidator(properties).assertSuccess(),{AudioLogSettings:cdk.listMapper(cfnBotAudioLogSettingPropertyToCloudFormation)(properties.audioLogSettings),TextLogSettings:cdk.listMapper(cfnBotTextLogSettingPropertyToCloudFormation)(properties.textLogSettings)}):properties}function CfnBotConversationLogSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("audioLogSettings","AudioLogSettings",properties.AudioLogSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotAudioLogSettingPropertyFromCloudFormation)(properties.AudioLogSettings):void 0),ret.addPropertyResult("textLogSettings","TextLogSettings",properties.TextLogSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotTextLogSettingPropertyFromCloudFormation)(properties.TextLogSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CustomPayloadPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "CustomPayloadProperty"')}function cfnBotCustomPayloadPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CustomPayloadPropertyValidator(properties).assertSuccess(),{Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotCustomPayloadPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CustomVocabularyPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("customVocabularyItems",cdk.requiredValidator)(properties.customVocabularyItems)),errors.collect(cdk.propertyValidator("customVocabularyItems",cdk.listValidator(CfnBot_CustomVocabularyItemPropertyValidator))(properties.customVocabularyItems)),errors.wrap('supplied properties not correct for "CustomVocabularyProperty"')}function cfnBotCustomVocabularyPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CustomVocabularyPropertyValidator(properties).assertSuccess(),{CustomVocabularyItems:cdk.listMapper(cfnBotCustomVocabularyItemPropertyToCloudFormation)(properties.customVocabularyItems)}):properties}function CfnBotCustomVocabularyPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("customVocabularyItems","CustomVocabularyItems",cfn_parse.FromCloudFormation.getArray(CfnBotCustomVocabularyItemPropertyFromCloudFormation)(properties.CustomVocabularyItems)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CustomVocabularyItemPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("phrase",cdk.requiredValidator)(properties.phrase)),errors.collect(cdk.propertyValidator("phrase",cdk.validateString)(properties.phrase)),errors.collect(cdk.propertyValidator("weight",cdk.validateNumber)(properties.weight)),errors.wrap('supplied properties not correct for "CustomVocabularyItemProperty"')}function cfnBotCustomVocabularyItemPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CustomVocabularyItemPropertyValidator(properties).assertSuccess(),{Phrase:cdk.stringToCloudFormation(properties.phrase),Weight:cdk.numberToCloudFormation(properties.weight)}):properties}function CfnBotCustomVocabularyItemPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("phrase","Phrase",cfn_parse.FromCloudFormation.getString(properties.Phrase)),ret.addPropertyResult("weight","Weight",properties.Weight!=null?cfn_parse.FromCloudFormation.getNumber(properties.Weight):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_DTMFSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("deletionCharacter",cdk.requiredValidator)(properties.deletionCharacter)),errors.collect(cdk.propertyValidator("deletionCharacter",cdk.validateString)(properties.deletionCharacter)),errors.collect(cdk.propertyValidator("endCharacter",cdk.requiredValidator)(properties.endCharacter)),errors.collect(cdk.propertyValidator("endCharacter",cdk.validateString)(properties.endCharacter)),errors.collect(cdk.propertyValidator("endTimeoutMs",cdk.requiredValidator)(properties.endTimeoutMs)),errors.collect(cdk.propertyValidator("endTimeoutMs",cdk.validateNumber)(properties.endTimeoutMs)),errors.collect(cdk.propertyValidator("maxLength",cdk.requiredValidator)(properties.maxLength)),errors.collect(cdk.propertyValidator("maxLength",cdk.validateNumber)(properties.maxLength)),errors.wrap('supplied properties not correct for "DTMFSpecificationProperty"')}function cfnBotDTMFSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_DTMFSpecificationPropertyValidator(properties).assertSuccess(),{DeletionCharacter:cdk.stringToCloudFormation(properties.deletionCharacter),EndCharacter:cdk.stringToCloudFormation(properties.endCharacter),EndTimeoutMs:cdk.numberToCloudFormation(properties.endTimeoutMs),MaxLength:cdk.numberToCloudFormation(properties.maxLength)}):properties}function CfnBotDTMFSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("deletionCharacter","DeletionCharacter",cfn_parse.FromCloudFormation.getString(properties.DeletionCharacter)),ret.addPropertyResult("endCharacter","EndCharacter",cfn_parse.FromCloudFormation.getString(properties.EndCharacter)),ret.addPropertyResult("endTimeoutMs","EndTimeoutMs",cfn_parse.FromCloudFormation.getNumber(properties.EndTimeoutMs)),ret.addPropertyResult("maxLength","MaxLength",cfn_parse.FromCloudFormation.getNumber(properties.MaxLength)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_DialogCodeHookSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "DialogCodeHookSettingProperty"')}function cfnBotDialogCodeHookSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_DialogCodeHookSettingPropertyValidator(properties).assertSuccess(),{Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotDialogCodeHookSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ExternalSourceSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("grammarSlotTypeSetting",CfnBot_GrammarSlotTypeSettingPropertyValidator)(properties.grammarSlotTypeSetting)),errors.wrap('supplied properties not correct for "ExternalSourceSettingProperty"')}function cfnBotExternalSourceSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ExternalSourceSettingPropertyValidator(properties).assertSuccess(),{GrammarSlotTypeSetting:cfnBotGrammarSlotTypeSettingPropertyToCloudFormation(properties.grammarSlotTypeSetting)}):properties}function CfnBotExternalSourceSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("grammarSlotTypeSetting","GrammarSlotTypeSetting",properties.GrammarSlotTypeSetting!=null?CfnBotGrammarSlotTypeSettingPropertyFromCloudFormation(properties.GrammarSlotTypeSetting):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_FulfillmentCodeHookSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.collect(cdk.propertyValidator("fulfillmentUpdatesSpecification",CfnBot_FulfillmentUpdatesSpecificationPropertyValidator)(properties.fulfillmentUpdatesSpecification)),errors.collect(cdk.propertyValidator("postFulfillmentStatusSpecification",CfnBot_PostFulfillmentStatusSpecificationPropertyValidator)(properties.postFulfillmentStatusSpecification)),errors.wrap('supplied properties not correct for "FulfillmentCodeHookSettingProperty"')}function cfnBotFulfillmentCodeHookSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_FulfillmentCodeHookSettingPropertyValidator(properties).assertSuccess(),{Enabled:cdk.booleanToCloudFormation(properties.enabled),FulfillmentUpdatesSpecification:cfnBotFulfillmentUpdatesSpecificationPropertyToCloudFormation(properties.fulfillmentUpdatesSpecification),PostFulfillmentStatusSpecification:cfnBotPostFulfillmentStatusSpecificationPropertyToCloudFormation(properties.postFulfillmentStatusSpecification)}):properties}function CfnBotFulfillmentCodeHookSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addPropertyResult("fulfillmentUpdatesSpecification","FulfillmentUpdatesSpecification",properties.FulfillmentUpdatesSpecification!=null?CfnBotFulfillmentUpdatesSpecificationPropertyFromCloudFormation(properties.FulfillmentUpdatesSpecification):void 0),ret.addPropertyResult("postFulfillmentStatusSpecification","PostFulfillmentStatusSpecification",properties.PostFulfillmentStatusSpecification!=null?CfnBotPostFulfillmentStatusSpecificationPropertyFromCloudFormation(properties.PostFulfillmentStatusSpecification):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_FulfillmentStartResponseSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("delayInSeconds",cdk.requiredValidator)(properties.delayInSeconds)),errors.collect(cdk.propertyValidator("delayInSeconds",cdk.validateNumber)(properties.delayInSeconds)),errors.collect(cdk.propertyValidator("messageGroups",cdk.requiredValidator)(properties.messageGroups)),errors.collect(cdk.propertyValidator("messageGroups",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroups)),errors.wrap('supplied properties not correct for "FulfillmentStartResponseSpecificationProperty"')}function cfnBotFulfillmentStartResponseSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_FulfillmentStartResponseSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),DelayInSeconds:cdk.numberToCloudFormation(properties.delayInSeconds),MessageGroups:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroups)}):properties}function CfnBotFulfillmentStartResponseSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("delayInSeconds","DelayInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.DelayInSeconds)),ret.addPropertyResult("messageGroups","MessageGroups",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroups)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_FulfillmentUpdateResponseSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("frequencyInSeconds",cdk.requiredValidator)(properties.frequencyInSeconds)),errors.collect(cdk.propertyValidator("frequencyInSeconds",cdk.validateNumber)(properties.frequencyInSeconds)),errors.collect(cdk.propertyValidator("messageGroups",cdk.requiredValidator)(properties.messageGroups)),errors.collect(cdk.propertyValidator("messageGroups",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroups)),errors.wrap('supplied properties not correct for "FulfillmentUpdateResponseSpecificationProperty"')}function cfnBotFulfillmentUpdateResponseSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_FulfillmentUpdateResponseSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),FrequencyInSeconds:cdk.numberToCloudFormation(properties.frequencyInSeconds),MessageGroups:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroups)}):properties}function CfnBotFulfillmentUpdateResponseSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("frequencyInSeconds","FrequencyInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.FrequencyInSeconds)),ret.addPropertyResult("messageGroups","MessageGroups",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroups)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_FulfillmentUpdatesSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("active",cdk.requiredValidator)(properties.active)),errors.collect(cdk.propertyValidator("active",cdk.validateBoolean)(properties.active)),errors.collect(cdk.propertyValidator("startResponse",CfnBot_FulfillmentStartResponseSpecificationPropertyValidator)(properties.startResponse)),errors.collect(cdk.propertyValidator("timeoutInSeconds",cdk.validateNumber)(properties.timeoutInSeconds)),errors.collect(cdk.propertyValidator("updateResponse",CfnBot_FulfillmentUpdateResponseSpecificationPropertyValidator)(properties.updateResponse)),errors.wrap('supplied properties not correct for "FulfillmentUpdatesSpecificationProperty"')}function cfnBotFulfillmentUpdatesSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_FulfillmentUpdatesSpecificationPropertyValidator(properties).assertSuccess(),{Active:cdk.booleanToCloudFormation(properties.active),StartResponse:cfnBotFulfillmentStartResponseSpecificationPropertyToCloudFormation(properties.startResponse),TimeoutInSeconds:cdk.numberToCloudFormation(properties.timeoutInSeconds),UpdateResponse:cfnBotFulfillmentUpdateResponseSpecificationPropertyToCloudFormation(properties.updateResponse)}):properties}function CfnBotFulfillmentUpdatesSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("active","Active",cfn_parse.FromCloudFormation.getBoolean(properties.Active)),ret.addPropertyResult("startResponse","StartResponse",properties.StartResponse!=null?CfnBotFulfillmentStartResponseSpecificationPropertyFromCloudFormation(properties.StartResponse):void 0),ret.addPropertyResult("timeoutInSeconds","TimeoutInSeconds",properties.TimeoutInSeconds!=null?cfn_parse.FromCloudFormation.getNumber(properties.TimeoutInSeconds):void 0),ret.addPropertyResult("updateResponse","UpdateResponse",properties.UpdateResponse!=null?CfnBotFulfillmentUpdateResponseSpecificationPropertyFromCloudFormation(properties.UpdateResponse):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_GrammarSlotTypeSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("source",CfnBot_GrammarSlotTypeSourcePropertyValidator)(properties.source)),errors.wrap('supplied properties not correct for "GrammarSlotTypeSettingProperty"')}function cfnBotGrammarSlotTypeSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_GrammarSlotTypeSettingPropertyValidator(properties).assertSuccess(),{Source:cfnBotGrammarSlotTypeSourcePropertyToCloudFormation(properties.source)}):properties}function CfnBotGrammarSlotTypeSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("source","Source",properties.Source!=null?CfnBotGrammarSlotTypeSourcePropertyFromCloudFormation(properties.Source):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_GrammarSlotTypeSourcePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("kmsKeyArn",cdk.validateString)(properties.kmsKeyArn)),errors.collect(cdk.propertyValidator("s3BucketName",cdk.requiredValidator)(properties.s3BucketName)),errors.collect(cdk.propertyValidator("s3BucketName",cdk.validateString)(properties.s3BucketName)),errors.collect(cdk.propertyValidator("s3ObjectKey",cdk.requiredValidator)(properties.s3ObjectKey)),errors.collect(cdk.propertyValidator("s3ObjectKey",cdk.validateString)(properties.s3ObjectKey)),errors.wrap('supplied properties not correct for "GrammarSlotTypeSourceProperty"')}function cfnBotGrammarSlotTypeSourcePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_GrammarSlotTypeSourcePropertyValidator(properties).assertSuccess(),{KmsKeyArn:cdk.stringToCloudFormation(properties.kmsKeyArn),S3BucketName:cdk.stringToCloudFormation(properties.s3BucketName),S3ObjectKey:cdk.stringToCloudFormation(properties.s3ObjectKey)}):properties}function CfnBotGrammarSlotTypeSourcePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("kmsKeyArn","KmsKeyArn",properties.KmsKeyArn!=null?cfn_parse.FromCloudFormation.getString(properties.KmsKeyArn):void 0),ret.addPropertyResult("s3BucketName","S3BucketName",cfn_parse.FromCloudFormation.getString(properties.S3BucketName)),ret.addPropertyResult("s3ObjectKey","S3ObjectKey",cfn_parse.FromCloudFormation.getString(properties.S3ObjectKey)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ImageResponseCardPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("buttons",cdk.listValidator(CfnBot_ButtonPropertyValidator))(properties.buttons)),errors.collect(cdk.propertyValidator("imageUrl",cdk.validateString)(properties.imageUrl)),errors.collect(cdk.propertyValidator("subtitle",cdk.validateString)(properties.subtitle)),errors.collect(cdk.propertyValidator("title",cdk.requiredValidator)(properties.title)),errors.collect(cdk.propertyValidator("title",cdk.validateString)(properties.title)),errors.wrap('supplied properties not correct for "ImageResponseCardProperty"')}function cfnBotImageResponseCardPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ImageResponseCardPropertyValidator(properties).assertSuccess(),{Buttons:cdk.listMapper(cfnBotButtonPropertyToCloudFormation)(properties.buttons),ImageUrl:cdk.stringToCloudFormation(properties.imageUrl),Subtitle:cdk.stringToCloudFormation(properties.subtitle),Title:cdk.stringToCloudFormation(properties.title)}):properties}function CfnBotImageResponseCardPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("buttons","Buttons",properties.Buttons!=null?cfn_parse.FromCloudFormation.getArray(CfnBotButtonPropertyFromCloudFormation)(properties.Buttons):void 0),ret.addPropertyResult("imageUrl","ImageUrl",properties.ImageUrl!=null?cfn_parse.FromCloudFormation.getString(properties.ImageUrl):void 0),ret.addPropertyResult("subtitle","Subtitle",properties.Subtitle!=null?cfn_parse.FromCloudFormation.getString(properties.Subtitle):void 0),ret.addPropertyResult("title","Title",cfn_parse.FromCloudFormation.getString(properties.Title)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_InputContextPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),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 "InputContextProperty"')}function cfnBotInputContextPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_InputContextPropertyValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name)}):properties}function CfnBotInputContextPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_IntentPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("dialogCodeHook",CfnBot_DialogCodeHookSettingPropertyValidator)(properties.dialogCodeHook)),errors.collect(cdk.propertyValidator("fulfillmentCodeHook",CfnBot_FulfillmentCodeHookSettingPropertyValidator)(properties.fulfillmentCodeHook)),errors.collect(cdk.propertyValidator("inputContexts",cdk.listValidator(CfnBot_InputContextPropertyValidator))(properties.inputContexts)),errors.collect(cdk.propertyValidator("intentClosingSetting",CfnBot_IntentClosingSettingPropertyValidator)(properties.intentClosingSetting)),errors.collect(cdk.propertyValidator("intentConfirmationSetting",CfnBot_IntentConfirmationSettingPropertyValidator)(properties.intentConfirmationSetting)),errors.collect(cdk.propertyValidator("kendraConfiguration",CfnBot_KendraConfigurationPropertyValidator)(properties.kendraConfiguration)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("outputContexts",cdk.listValidator(CfnBot_OutputContextPropertyValidator))(properties.outputContexts)),errors.collect(cdk.propertyValidator("parentIntentSignature",cdk.validateString)(properties.parentIntentSignature)),errors.collect(cdk.propertyValidator("sampleUtterances",cdk.listValidator(CfnBot_SampleUtterancePropertyValidator))(properties.sampleUtterances)),errors.collect(cdk.propertyValidator("slotPriorities",cdk.listValidator(CfnBot_SlotPriorityPropertyValidator))(properties.slotPriorities)),errors.collect(cdk.propertyValidator("slots",cdk.listValidator(CfnBot_SlotPropertyValidator))(properties.slots)),errors.wrap('supplied properties not correct for "IntentProperty"')}function cfnBotIntentPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_IntentPropertyValidator(properties).assertSuccess(),{Description:cdk.stringToCloudFormation(properties.description),DialogCodeHook:cfnBotDialogCodeHookSettingPropertyToCloudFormation(properties.dialogCodeHook),FulfillmentCodeHook:cfnBotFulfillmentCodeHookSettingPropertyToCloudFormation(properties.fulfillmentCodeHook),InputContexts:cdk.listMapper(cfnBotInputContextPropertyToCloudFormation)(properties.inputContexts),IntentClosingSetting:cfnBotIntentClosingSettingPropertyToCloudFormation(properties.intentClosingSetting),IntentConfirmationSetting:cfnBotIntentConfirmationSettingPropertyToCloudFormation(properties.intentConfirmationSetting),KendraConfiguration:cfnBotKendraConfigurationPropertyToCloudFormation(properties.kendraConfiguration),Name:cdk.stringToCloudFormation(properties.name),OutputContexts:cdk.listMapper(cfnBotOutputContextPropertyToCloudFormation)(properties.outputContexts),ParentIntentSignature:cdk.stringToCloudFormation(properties.parentIntentSignature),SampleUtterances:cdk.listMapper(cfnBotSampleUtterancePropertyToCloudFormation)(properties.sampleUtterances),SlotPriorities:cdk.listMapper(cfnBotSlotPriorityPropertyToCloudFormation)(properties.slotPriorities),Slots:cdk.listMapper(cfnBotSlotPropertyToCloudFormation)(properties.slots)}):properties}function CfnBotIntentPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("dialogCodeHook","DialogCodeHook",properties.DialogCodeHook!=null?CfnBotDialogCodeHookSettingPropertyFromCloudFormation(properties.DialogCodeHook):void 0),ret.addPropertyResult("fulfillmentCodeHook","FulfillmentCodeHook",properties.FulfillmentCodeHook!=null?CfnBotFulfillmentCodeHookSettingPropertyFromCloudFormation(properties.FulfillmentCodeHook):void 0),ret.addPropertyResult("inputContexts","InputContexts",properties.InputContexts!=null?cfn_parse.FromCloudFormation.getArray(CfnBotInputContextPropertyFromCloudFormation)(properties.InputContexts):void 0),ret.addPropertyResult("intentClosingSetting","IntentClosingSetting",properties.IntentClosingSetting!=null?CfnBotIntentClosingSettingPropertyFromCloudFormation(properties.IntentClosingSetting):void 0),ret.addPropertyResult("intentConfirmationSetting","IntentConfirmationSetting",properties.IntentConfirmationSetting!=null?CfnBotIntentConfirmationSettingPropertyFromCloudFormation(properties.IntentConfirmationSetting):void 0),ret.addPropertyResult("kendraConfiguration","KendraConfiguration",properties.KendraConfiguration!=null?CfnBotKendraConfigurationPropertyFromCloudFormation(properties.KendraConfiguration):void 0),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("outputContexts","OutputContexts",properties.OutputContexts!=null?cfn_parse.FromCloudFormation.getArray(CfnBotOutputContextPropertyFromCloudFormation)(properties.OutputContexts):void 0),ret.addPropertyResult("parentIntentSignature","ParentIntentSignature",properties.ParentIntentSignature!=null?cfn_parse.FromCloudFormation.getString(properties.ParentIntentSignature):void 0),ret.addPropertyResult("sampleUtterances","SampleUtterances",properties.SampleUtterances!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSampleUtterancePropertyFromCloudFormation)(properties.SampleUtterances):void 0),ret.addPropertyResult("slotPriorities","SlotPriorities",properties.SlotPriorities!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSlotPriorityPropertyFromCloudFormation)(properties.SlotPriorities):void 0),ret.addPropertyResult("slots","Slots",properties.Slots!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSlotPropertyFromCloudFormation)(properties.Slots):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_IntentClosingSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("closingResponse",cdk.requiredValidator)(properties.closingResponse)),errors.collect(cdk.propertyValidator("closingResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.closingResponse)),errors.collect(cdk.propertyValidator("isActive",cdk.validateBoolean)(properties.isActive)),errors.wrap('supplied properties not correct for "IntentClosingSettingProperty"')}function cfnBotIntentClosingSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_IntentClosingSettingPropertyValidator(properties).assertSuccess(),{ClosingResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.closingResponse),IsActive:cdk.booleanToCloudFormation(properties.isActive)}):properties}function CfnBotIntentClosingSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("closingResponse","ClosingResponse",CfnBotResponseSpecificationPropertyFromCloudFormation(properties.ClosingResponse)),ret.addPropertyResult("isActive","IsActive",properties.IsActive!=null?cfn_parse.FromCloudFormation.getBoolean(properties.IsActive):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_IntentConfirmationSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("declinationResponse",cdk.requiredValidator)(properties.declinationResponse)),errors.collect(cdk.propertyValidator("declinationResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.declinationResponse)),errors.collect(cdk.propertyValidator("isActive",cdk.validateBoolean)(properties.isActive)),errors.collect(cdk.propertyValidator("promptSpecification",cdk.requiredValidator)(properties.promptSpecification)),errors.collect(cdk.propertyValidator("promptSpecification",CfnBot_PromptSpecificationPropertyValidator)(properties.promptSpecification)),errors.wrap('supplied properties not correct for "IntentConfirmationSettingProperty"')}function cfnBotIntentConfirmationSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_IntentConfirmationSettingPropertyValidator(properties).assertSuccess(),{DeclinationResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.declinationResponse),IsActive:cdk.booleanToCloudFormation(properties.isActive),PromptSpecification:cfnBotPromptSpecificationPropertyToCloudFormation(properties.promptSpecification)}):properties}function CfnBotIntentConfirmationSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("declinationResponse","DeclinationResponse",CfnBotResponseSpecificationPropertyFromCloudFormation(properties.DeclinationResponse)),ret.addPropertyResult("isActive","IsActive",properties.IsActive!=null?cfn_parse.FromCloudFormation.getBoolean(properties.IsActive):void 0),ret.addPropertyResult("promptSpecification","PromptSpecification",CfnBotPromptSpecificationPropertyFromCloudFormation(properties.PromptSpecification)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_KendraConfigurationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("kendraIndex",cdk.requiredValidator)(properties.kendraIndex)),errors.collect(cdk.propertyValidator("kendraIndex",cdk.validateString)(properties.kendraIndex)),errors.collect(cdk.propertyValidator("queryFilterString",cdk.validateString)(properties.queryFilterString)),errors.collect(cdk.propertyValidator("queryFilterStringEnabled",cdk.validateBoolean)(properties.queryFilterStringEnabled)),errors.wrap('supplied properties not correct for "KendraConfigurationProperty"')}function cfnBotKendraConfigurationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_KendraConfigurationPropertyValidator(properties).assertSuccess(),{KendraIndex:cdk.stringToCloudFormation(properties.kendraIndex),QueryFilterString:cdk.stringToCloudFormation(properties.queryFilterString),QueryFilterStringEnabled:cdk.booleanToCloudFormation(properties.queryFilterStringEnabled)}):properties}function CfnBotKendraConfigurationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("kendraIndex","KendraIndex",cfn_parse.FromCloudFormation.getString(properties.KendraIndex)),ret.addPropertyResult("queryFilterString","QueryFilterString",properties.QueryFilterString!=null?cfn_parse.FromCloudFormation.getString(properties.QueryFilterString):void 0),ret.addPropertyResult("queryFilterStringEnabled","QueryFilterStringEnabled",properties.QueryFilterStringEnabled!=null?cfn_parse.FromCloudFormation.getBoolean(properties.QueryFilterStringEnabled):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_LambdaCodeHookPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("codeHookInterfaceVersion",cdk.requiredValidator)(properties.codeHookInterfaceVersion)),errors.collect(cdk.propertyValidator("codeHookInterfaceVersion",cdk.validateString)(properties.codeHookInterfaceVersion)),errors.collect(cdk.propertyValidator("lambdaArn",cdk.requiredValidator)(properties.lambdaArn)),errors.collect(cdk.propertyValidator("lambdaArn",cdk.validateString)(properties.lambdaArn)),errors.wrap('supplied properties not correct for "LambdaCodeHookProperty"')}function cfnBotLambdaCodeHookPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_LambdaCodeHookPropertyValidator(properties).assertSuccess(),{CodeHookInterfaceVersion:cdk.stringToCloudFormation(properties.codeHookInterfaceVersion),LambdaArn:cdk.stringToCloudFormation(properties.lambdaArn)}):properties}function CfnBotLambdaCodeHookPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("codeHookInterfaceVersion","CodeHookInterfaceVersion",cfn_parse.FromCloudFormation.getString(properties.CodeHookInterfaceVersion)),ret.addPropertyResult("lambdaArn","LambdaArn",cfn_parse.FromCloudFormation.getString(properties.LambdaArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_MessagePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("customPayload",CfnBot_CustomPayloadPropertyValidator)(properties.customPayload)),errors.collect(cdk.propertyValidator("imageResponseCard",CfnBot_ImageResponseCardPropertyValidator)(properties.imageResponseCard)),errors.collect(cdk.propertyValidator("plainTextMessage",CfnBot_PlainTextMessagePropertyValidator)(properties.plainTextMessage)),errors.collect(cdk.propertyValidator("ssmlMessage",CfnBot_SSMLMessagePropertyValidator)(properties.ssmlMessage)),errors.wrap('supplied properties not correct for "MessageProperty"')}function cfnBotMessagePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_MessagePropertyValidator(properties).assertSuccess(),{CustomPayload:cfnBotCustomPayloadPropertyToCloudFormation(properties.customPayload),ImageResponseCard:cfnBotImageResponseCardPropertyToCloudFormation(properties.imageResponseCard),PlainTextMessage:cfnBotPlainTextMessagePropertyToCloudFormation(properties.plainTextMessage),SSMLMessage:cfnBotSSMLMessagePropertyToCloudFormation(properties.ssmlMessage)}):properties}function CfnBotMessagePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("customPayload","CustomPayload",properties.CustomPayload!=null?CfnBotCustomPayloadPropertyFromCloudFormation(properties.CustomPayload):void 0),ret.addPropertyResult("imageResponseCard","ImageResponseCard",properties.ImageResponseCard!=null?CfnBotImageResponseCardPropertyFromCloudFormation(properties.ImageResponseCard):void 0),ret.addPropertyResult("plainTextMessage","PlainTextMessage",properties.PlainTextMessage!=null?CfnBotPlainTextMessagePropertyFromCloudFormation(properties.PlainTextMessage):void 0),ret.addPropertyResult("ssmlMessage","SSMLMessage",properties.SSMLMessage!=null?CfnBotSSMLMessagePropertyFromCloudFormation(properties.SSMLMessage):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_MessageGroupPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("message",cdk.requiredValidator)(properties.message)),errors.collect(cdk.propertyValidator("message",CfnBot_MessagePropertyValidator)(properties.message)),errors.collect(cdk.propertyValidator("variations",cdk.listValidator(CfnBot_MessagePropertyValidator))(properties.variations)),errors.wrap('supplied properties not correct for "MessageGroupProperty"')}function cfnBotMessageGroupPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_MessageGroupPropertyValidator(properties).assertSuccess(),{Message:cfnBotMessagePropertyToCloudFormation(properties.message),Variations:cdk.listMapper(cfnBotMessagePropertyToCloudFormation)(properties.variations)}):properties}function CfnBotMessageGroupPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("message","Message",CfnBotMessagePropertyFromCloudFormation(properties.Message)),ret.addPropertyResult("variations","Variations",properties.Variations!=null?cfn_parse.FromCloudFormation.getArray(CfnBotMessagePropertyFromCloudFormation)(properties.Variations):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_MultipleValuesSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowMultipleValues",cdk.validateBoolean)(properties.allowMultipleValues)),errors.wrap('supplied properties not correct for "MultipleValuesSettingProperty"')}function cfnBotMultipleValuesSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_MultipleValuesSettingPropertyValidator(properties).assertSuccess(),{AllowMultipleValues:cdk.booleanToCloudFormation(properties.allowMultipleValues)}):properties}function CfnBotMultipleValuesSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowMultipleValues","AllowMultipleValues",properties.AllowMultipleValues!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowMultipleValues):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ObfuscationSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("obfuscationSettingType",cdk.requiredValidator)(properties.obfuscationSettingType)),errors.collect(cdk.propertyValidator("obfuscationSettingType",cdk.validateString)(properties.obfuscationSettingType)),errors.wrap('supplied properties not correct for "ObfuscationSettingProperty"')}function cfnBotObfuscationSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ObfuscationSettingPropertyValidator(properties).assertSuccess(),{ObfuscationSettingType:cdk.stringToCloudFormation(properties.obfuscationSettingType)}):properties}function CfnBotObfuscationSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("obfuscationSettingType","ObfuscationSettingType",cfn_parse.FromCloudFormation.getString(properties.ObfuscationSettingType)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_OutputContextPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("timeToLiveInSeconds",cdk.requiredValidator)(properties.timeToLiveInSeconds)),errors.collect(cdk.propertyValidator("timeToLiveInSeconds",cdk.validateNumber)(properties.timeToLiveInSeconds)),errors.collect(cdk.propertyValidator("turnsToLive",cdk.requiredValidator)(properties.turnsToLive)),errors.collect(cdk.propertyValidator("turnsToLive",cdk.validateNumber)(properties.turnsToLive)),errors.wrap('supplied properties not correct for "OutputContextProperty"')}function cfnBotOutputContextPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_OutputContextPropertyValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name),TimeToLiveInSeconds:cdk.numberToCloudFormation(properties.timeToLiveInSeconds),TurnsToLive:cdk.numberToCloudFormation(properties.turnsToLive)}):properties}function CfnBotOutputContextPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("timeToLiveInSeconds","TimeToLiveInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.TimeToLiveInSeconds)),ret.addPropertyResult("turnsToLive","TurnsToLive",cfn_parse.FromCloudFormation.getNumber(properties.TurnsToLive)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_PlainTextMessagePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "PlainTextMessageProperty"')}function cfnBotPlainTextMessagePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_PlainTextMessagePropertyValidator(properties).assertSuccess(),{Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotPlainTextMessagePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_PostFulfillmentStatusSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("failureResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.failureResponse)),errors.collect(cdk.propertyValidator("successResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.successResponse)),errors.collect(cdk.propertyValidator("timeoutResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.timeoutResponse)),errors.wrap('supplied properties not correct for "PostFulfillmentStatusSpecificationProperty"')}function cfnBotPostFulfillmentStatusSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_PostFulfillmentStatusSpecificationPropertyValidator(properties).assertSuccess(),{FailureResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.failureResponse),SuccessResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.successResponse),TimeoutResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.timeoutResponse)}):properties}function CfnBotPostFulfillmentStatusSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("failureResponse","FailureResponse",properties.FailureResponse!=null?CfnBotResponseSpecificationPropertyFromCloudFormation(properties.FailureResponse):void 0),ret.addPropertyResult("successResponse","SuccessResponse",properties.SuccessResponse!=null?CfnBotResponseSpecificationPropertyFromCloudFormation(properties.SuccessResponse):void 0),ret.addPropertyResult("timeoutResponse","TimeoutResponse",properties.TimeoutResponse!=null?CfnBotResponseSpecificationPropertyFromCloudFormation(properties.TimeoutResponse):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_PromptAttemptSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("allowedInputTypes",cdk.requiredValidator)(properties.allowedInputTypes)),errors.collect(cdk.propertyValidator("allowedInputTypes",CfnBot_AllowedInputTypesPropertyValidator)(properties.allowedInputTypes)),errors.collect(cdk.propertyValidator("audioAndDtmfInputSpecification",CfnBot_AudioAndDTMFInputSpecificationPropertyValidator)(properties.audioAndDtmfInputSpecification)),errors.collect(cdk.propertyValidator("textInputSpecification",CfnBot_TextInputSpecificationPropertyValidator)(properties.textInputSpecification)),errors.wrap('supplied properties not correct for "PromptAttemptSpecificationProperty"')}function cfnBotPromptAttemptSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_PromptAttemptSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),AllowedInputTypes:cfnBotAllowedInputTypesPropertyToCloudFormation(properties.allowedInputTypes),AudioAndDTMFInputSpecification:cfnBotAudioAndDTMFInputSpecificationPropertyToCloudFormation(properties.audioAndDtmfInputSpecification),TextInputSpecification:cfnBotTextInputSpecificationPropertyToCloudFormation(properties.textInputSpecification)}):properties}function CfnBotPromptAttemptSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("allowedInputTypes","AllowedInputTypes",CfnBotAllowedInputTypesPropertyFromCloudFormation(properties.AllowedInputTypes)),ret.addPropertyResult("audioAndDtmfInputSpecification","AudioAndDTMFInputSpecification",properties.AudioAndDTMFInputSpecification!=null?CfnBotAudioAndDTMFInputSpecificationPropertyFromCloudFormation(properties.AudioAndDTMFInputSpecification):void 0),ret.addPropertyResult("textInputSpecification","TextInputSpecification",properties.TextInputSpecification!=null?CfnBotTextInputSpecificationPropertyFromCloudFormation(properties.TextInputSpecification):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_PromptSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("maxRetries",cdk.requiredValidator)(properties.maxRetries)),errors.collect(cdk.propertyValidator("maxRetries",cdk.validateNumber)(properties.maxRetries)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.requiredValidator)(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("messageSelectionStrategy",cdk.validateString)(properties.messageSelectionStrategy)),errors.collect(cdk.propertyValidator("promptAttemptsSpecification",cdk.hashValidator(CfnBot_PromptAttemptSpecificationPropertyValidator))(properties.promptAttemptsSpecification)),errors.wrap('supplied properties not correct for "PromptSpecificationProperty"')}function cfnBotPromptSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_PromptSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),MaxRetries:cdk.numberToCloudFormation(properties.maxRetries),MessageGroupsList:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroupsList),MessageSelectionStrategy:cdk.stringToCloudFormation(properties.messageSelectionStrategy),PromptAttemptsSpecification:cdk.hashMapper(cfnBotPromptAttemptSpecificationPropertyToCloudFormation)(properties.promptAttemptsSpecification)}):properties}function CfnBotPromptSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("maxRetries","MaxRetries",cfn_parse.FromCloudFormation.getNumber(properties.MaxRetries)),ret.addPropertyResult("messageGroupsList","MessageGroupsList",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroupsList)),ret.addPropertyResult("messageSelectionStrategy","MessageSelectionStrategy",properties.MessageSelectionStrategy!=null?cfn_parse.FromCloudFormation.getString(properties.MessageSelectionStrategy):void 0),ret.addPropertyResult("promptAttemptsSpecification","PromptAttemptsSpecification",properties.PromptAttemptsSpecification!=null?cfn_parse.FromCloudFormation.getMap(CfnBotPromptAttemptSpecificationPropertyFromCloudFormation)(properties.PromptAttemptsSpecification):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ResponseSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.requiredValidator)(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroupsList)),errors.wrap('supplied properties not correct for "ResponseSpecificationProperty"')}function cfnBotResponseSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ResponseSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),MessageGroupsList:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroupsList)}):properties}function CfnBotResponseSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("messageGroupsList","MessageGroupsList",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroupsList)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_S3BucketLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("kmsKeyArn",cdk.validateString)(properties.kmsKeyArn)),errors.collect(cdk.propertyValidator("logPrefix",cdk.requiredValidator)(properties.logPrefix)),errors.collect(cdk.propertyValidator("logPrefix",cdk.validateString)(properties.logPrefix)),errors.collect(cdk.propertyValidator("s3BucketArn",cdk.requiredValidator)(properties.s3BucketArn)),errors.collect(cdk.propertyValidator("s3BucketArn",cdk.validateString)(properties.s3BucketArn)),errors.wrap('supplied properties not correct for "S3BucketLogDestinationProperty"')}function cfnBotS3BucketLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_S3BucketLogDestinationPropertyValidator(properties).assertSuccess(),{KmsKeyArn:cdk.stringToCloudFormation(properties.kmsKeyArn),LogPrefix:cdk.stringToCloudFormation(properties.logPrefix),S3BucketArn:cdk.stringToCloudFormation(properties.s3BucketArn)}):properties}function CfnBotS3BucketLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("kmsKeyArn","KmsKeyArn",properties.KmsKeyArn!=null?cfn_parse.FromCloudFormation.getString(properties.KmsKeyArn):void 0),ret.addPropertyResult("logPrefix","LogPrefix",cfn_parse.FromCloudFormation.getString(properties.LogPrefix)),ret.addPropertyResult("s3BucketArn","S3BucketArn",cfn_parse.FromCloudFormation.getString(properties.S3BucketArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_S3LocationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("s3Bucket",cdk.requiredValidator)(properties.s3Bucket)),errors.collect(cdk.propertyValidator("s3Bucket",cdk.validateString)(properties.s3Bucket)),errors.collect(cdk.propertyValidator("s3ObjectKey",cdk.requiredValidator)(properties.s3ObjectKey)),errors.collect(cdk.propertyValidator("s3ObjectKey",cdk.validateString)(properties.s3ObjectKey)),errors.collect(cdk.propertyValidator("s3ObjectVersion",cdk.validateString)(properties.s3ObjectVersion)),errors.wrap('supplied properties not correct for "S3LocationProperty"')}function cfnBotS3LocationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_S3LocationPropertyValidator(properties).assertSuccess(),{S3Bucket:cdk.stringToCloudFormation(properties.s3Bucket),S3ObjectKey:cdk.stringToCloudFormation(properties.s3ObjectKey),S3ObjectVersion:cdk.stringToCloudFormation(properties.s3ObjectVersion)}):properties}function CfnBotS3LocationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("s3Bucket","S3Bucket",cfn_parse.FromCloudFormation.getString(properties.S3Bucket)),ret.addPropertyResult("s3ObjectKey","S3ObjectKey",cfn_parse.FromCloudFormation.getString(properties.S3ObjectKey)),ret.addPropertyResult("s3ObjectVersion","S3ObjectVersion",properties.S3ObjectVersion!=null?cfn_parse.FromCloudFormation.getString(properties.S3ObjectVersion):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SSMLMessagePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "SSMLMessageProperty"')}function cfnBotSSMLMessagePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SSMLMessagePropertyValidator(properties).assertSuccess(),{Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotSSMLMessagePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SampleUtterancePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("utterance",cdk.requiredValidator)(properties.utterance)),errors.collect(cdk.propertyValidator("utterance",cdk.validateString)(properties.utterance)),errors.wrap('supplied properties not correct for "SampleUtteranceProperty"')}function cfnBotSampleUtterancePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SampleUtterancePropertyValidator(properties).assertSuccess(),{Utterance:cdk.stringToCloudFormation(properties.utterance)}):properties}function CfnBotSampleUtterancePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("utterance","Utterance",cfn_parse.FromCloudFormation.getString(properties.Utterance)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SampleValuePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "SampleValueProperty"')}function cfnBotSampleValuePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SampleValuePropertyValidator(properties).assertSuccess(),{Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotSampleValuePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("multipleValuesSetting",CfnBot_MultipleValuesSettingPropertyValidator)(properties.multipleValuesSetting)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("obfuscationSetting",CfnBot_ObfuscationSettingPropertyValidator)(properties.obfuscationSetting)),errors.collect(cdk.propertyValidator("slotTypeName",cdk.requiredValidator)(properties.slotTypeName)),errors.collect(cdk.propertyValidator("slotTypeName",cdk.validateString)(properties.slotTypeName)),errors.collect(cdk.propertyValidator("valueElicitationSetting",cdk.requiredValidator)(properties.valueElicitationSetting)),errors.collect(cdk.propertyValidator("valueElicitationSetting",CfnBot_SlotValueElicitationSettingPropertyValidator)(properties.valueElicitationSetting)),errors.wrap('supplied properties not correct for "SlotProperty"')}function cfnBotSlotPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotPropertyValidator(properties).assertSuccess(),{Description:cdk.stringToCloudFormation(properties.description),MultipleValuesSetting:cfnBotMultipleValuesSettingPropertyToCloudFormation(properties.multipleValuesSetting),Name:cdk.stringToCloudFormation(properties.name),ObfuscationSetting:cfnBotObfuscationSettingPropertyToCloudFormation(properties.obfuscationSetting),SlotTypeName:cdk.stringToCloudFormation(properties.slotTypeName),ValueElicitationSetting:cfnBotSlotValueElicitationSettingPropertyToCloudFormation(properties.valueElicitationSetting)}):properties}function CfnBotSlotPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("multipleValuesSetting","MultipleValuesSetting",properties.MultipleValuesSetting!=null?CfnBotMultipleValuesSettingPropertyFromCloudFormation(properties.MultipleValuesSetting):void 0),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("obfuscationSetting","ObfuscationSetting",properties.ObfuscationSetting!=null?CfnBotObfuscationSettingPropertyFromCloudFormation(properties.ObfuscationSetting):void 0),ret.addPropertyResult("slotTypeName","SlotTypeName",cfn_parse.FromCloudFormation.getString(properties.SlotTypeName)),ret.addPropertyResult("valueElicitationSetting","ValueElicitationSetting",CfnBotSlotValueElicitationSettingPropertyFromCloudFormation(properties.ValueElicitationSetting)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotDefaultValuePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("defaultValue",cdk.requiredValidator)(properties.defaultValue)),errors.collect(cdk.propertyValidator("defaultValue",cdk.validateString)(properties.defaultValue)),errors.wrap('supplied properties not correct for "SlotDefaultValueProperty"')}function cfnBotSlotDefaultValuePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotDefaultValuePropertyValidator(properties).assertSuccess(),{DefaultValue:cdk.stringToCloudFormation(properties.defaultValue)}):properties}function CfnBotSlotDefaultValuePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("defaultValue","DefaultValue",cfn_parse.FromCloudFormation.getString(properties.DefaultValue)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotDefaultValueSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("defaultValueList",cdk.requiredValidator)(properties.defaultValueList)),errors.collect(cdk.propertyValidator("defaultValueList",cdk.listValidator(CfnBot_SlotDefaultValuePropertyValidator))(properties.defaultValueList)),errors.wrap('supplied properties not correct for "SlotDefaultValueSpecificationProperty"')}function cfnBotSlotDefaultValueSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotDefaultValueSpecificationPropertyValidator(properties).assertSuccess(),{DefaultValueList:cdk.listMapper(cfnBotSlotDefaultValuePropertyToCloudFormation)(properties.defaultValueList)}):properties}function CfnBotSlotDefaultValueSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("defaultValueList","DefaultValueList",cfn_parse.FromCloudFormation.getArray(CfnBotSlotDefaultValuePropertyFromCloudFormation)(properties.DefaultValueList)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotPriorityPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("priority",cdk.requiredValidator)(properties.priority)),errors.collect(cdk.propertyValidator("priority",cdk.validateNumber)(properties.priority)),errors.collect(cdk.propertyValidator("slotName",cdk.requiredValidator)(properties.slotName)),errors.collect(cdk.propertyValidator("slotName",cdk.validateString)(properties.slotName)),errors.wrap('supplied properties not correct for "SlotPriorityProperty"')}function cfnBotSlotPriorityPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotPriorityPropertyValidator(properties).assertSuccess(),{Priority:cdk.numberToCloudFormation(properties.priority),SlotName:cdk.stringToCloudFormation(properties.slotName)}):properties}function CfnBotSlotPriorityPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("priority","Priority",cfn_parse.FromCloudFormation.getNumber(properties.Priority)),ret.addPropertyResult("slotName","SlotName",cfn_parse.FromCloudFormation.getString(properties.SlotName)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotTypePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("externalSourceSetting",CfnBot_ExternalSourceSettingPropertyValidator)(properties.externalSourceSetting)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("parentSlotTypeSignature",cdk.validateString)(properties.parentSlotTypeSignature)),errors.collect(cdk.propertyValidator("slotTypeValues",cdk.listValidator(CfnBot_SlotTypeValuePropertyValidator))(properties.slotTypeValues)),errors.collect(cdk.propertyValidator("valueSelectionSetting",CfnBot_SlotValueSelectionSettingPropertyValidator)(properties.valueSelectionSetting)),errors.wrap('supplied properties not correct for "SlotTypeProperty"')}function cfnBotSlotTypePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotTypePropertyValidator(properties).assertSuccess(),{Description:cdk.stringToCloudFormation(properties.description),ExternalSourceSetting:cfnBotExternalSourceSettingPropertyToCloudFormation(properties.externalSourceSetting),Name:cdk.stringToCloudFormation(properties.name),ParentSlotTypeSignature:cdk.stringToCloudFormation(properties.parentSlotTypeSignature),SlotTypeValues:cdk.listMapper(cfnBotSlotTypeValuePropertyToCloudFormation)(properties.slotTypeValues),ValueSelectionSetting:cfnBotSlotValueSelectionSettingPropertyToCloudFormation(properties.valueSelectionSetting)}):properties}function CfnBotSlotTypePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("externalSourceSetting","ExternalSourceSetting",properties.ExternalSourceSetting!=null?CfnBotExternalSourceSettingPropertyFromCloudFormation(properties.ExternalSourceSetting):void 0),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("parentSlotTypeSignature","ParentSlotTypeSignature",properties.ParentSlotTypeSignature!=null?cfn_parse.FromCloudFormation.getString(properties.ParentSlotTypeSignature):void 0),ret.addPropertyResult("slotTypeValues","SlotTypeValues",properties.SlotTypeValues!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSlotTypeValuePropertyFromCloudFormation)(properties.SlotTypeValues):void 0),ret.addPropertyResult("valueSelectionSetting","ValueSelectionSetting",properties.ValueSelectionSetting!=null?CfnBotSlotValueSelectionSettingPropertyFromCloudFormation(properties.ValueSelectionSetting):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotTypeValuePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("sampleValue",cdk.requiredValidator)(properties.sampleValue)),errors.collect(cdk.propertyValidator("sampleValue",CfnBot_SampleValuePropertyValidator)(properties.sampleValue)),errors.collect(cdk.propertyValidator("synonyms",cdk.listValidator(CfnBot_SampleValuePropertyValidator))(properties.synonyms)),errors.wrap('supplied properties not correct for "SlotTypeValueProperty"')}function cfnBotSlotTypeValuePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotTypeValuePropertyValidator(properties).assertSuccess(),{SampleValue:cfnBotSampleValuePropertyToCloudFormation(properties.sampleValue),Synonyms:cdk.listMapper(cfnBotSampleValuePropertyToCloudFormation)(properties.synonyms)}):properties}function CfnBotSlotTypeValuePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("sampleValue","SampleValue",CfnBotSampleValuePropertyFromCloudFormation(properties.SampleValue)),ret.addPropertyResult("synonyms","Synonyms",properties.Synonyms!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSampleValuePropertyFromCloudFormation)(properties.Synonyms):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotValueElicitationSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("defaultValueSpecification",CfnBot_SlotDefaultValueSpecificationPropertyValidator)(properties.defaultValueSpecification)),errors.collect(cdk.propertyValidator("promptSpecification",CfnBot_PromptSpecificationPropertyValidator)(properties.promptSpecification)),errors.collect(cdk.propertyValidator("sampleUtterances",cdk.listValidator(CfnBot_SampleUtterancePropertyValidator))(properties.sampleUtterances)),errors.collect(cdk.propertyValidator("slotConstraint",cdk.requiredValidator)(properties.slotConstraint)),errors.collect(cdk.propertyValidator("slotConstraint",cdk.validateString)(properties.slotConstraint)),errors.collect(cdk.propertyValidator("waitAndContinueSpecification",CfnBot_WaitAndContinueSpecificationPropertyValidator)(properties.waitAndContinueSpecification)),errors.wrap('supplied properties not correct for "SlotValueElicitationSettingProperty"')}function cfnBotSlotValueElicitationSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotValueElicitationSettingPropertyValidator(properties).assertSuccess(),{DefaultValueSpecification:cfnBotSlotDefaultValueSpecificationPropertyToCloudFormation(properties.defaultValueSpecification),PromptSpecification:cfnBotPromptSpecificationPropertyToCloudFormation(properties.promptSpecification),SampleUtterances:cdk.listMapper(cfnBotSampleUtterancePropertyToCloudFormation)(properties.sampleUtterances),SlotConstraint:cdk.stringToCloudFormation(properties.slotConstraint),WaitAndContinueSpecification:cfnBotWaitAndContinueSpecificationPropertyToCloudFormation(properties.waitAndContinueSpecification)}):properties}function CfnBotSlotValueElicitationSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("defaultValueSpecification","DefaultValueSpecification",properties.DefaultValueSpecification!=null?CfnBotSlotDefaultValueSpecificationPropertyFromCloudFormation(properties.DefaultValueSpecification):void 0),ret.addPropertyResult("promptSpecification","PromptSpecification",properties.PromptSpecification!=null?CfnBotPromptSpecificationPropertyFromCloudFormation(properties.PromptSpecification):void 0),ret.addPropertyResult("sampleUtterances","SampleUtterances",properties.SampleUtterances!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSampleUtterancePropertyFromCloudFormation)(properties.SampleUtterances):void 0),ret.addPropertyResult("slotConstraint","SlotConstraint",cfn_parse.FromCloudFormation.getString(properties.SlotConstraint)),ret.addPropertyResult("waitAndContinueSpecification","WaitAndContinueSpecification",properties.WaitAndContinueSpecification!=null?CfnBotWaitAndContinueSpecificationPropertyFromCloudFormation(properties.WaitAndContinueSpecification):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotValueRegexFilterPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("pattern",cdk.requiredValidator)(properties.pattern)),errors.collect(cdk.propertyValidator("pattern",cdk.validateString)(properties.pattern)),errors.wrap('supplied properties not correct for "SlotValueRegexFilterProperty"')}function cfnBotSlotValueRegexFilterPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotValueRegexFilterPropertyValidator(properties).assertSuccess(),{Pattern:cdk.stringToCloudFormation(properties.pattern)}):properties}function CfnBotSlotValueRegexFilterPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("pattern","Pattern",cfn_parse.FromCloudFormation.getString(properties.Pattern)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotValueSelectionSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("advancedRecognitionSetting",CfnBot_AdvancedRecognitionSettingPropertyValidator)(properties.advancedRecognitionSetting)),errors.collect(cdk.propertyValidator("regexFilter",CfnBot_SlotValueRegexFilterPropertyValidator)(properties.regexFilter)),errors.collect(cdk.propertyValidator("resolutionStrategy",cdk.requiredValidator)(properties.resolutionStrategy)),errors.collect(cdk.propertyValidator("resolutionStrategy",cdk.validateString)(properties.resolutionStrategy)),errors.wrap('supplied properties not correct for "SlotValueSelectionSettingProperty"')}function cfnBotSlotValueSelectionSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotValueSelectionSettingPropertyValidator(properties).assertSuccess(),{AdvancedRecognitionSetting:cfnBotAdvancedRecognitionSettingPropertyToCloudFormation(properties.advancedRecognitionSetting),RegexFilter:cfnBotSlotValueRegexFilterPropertyToCloudFormation(properties.regexFilter),ResolutionStrategy:cdk.stringToCloudFormation(properties.resolutionStrategy)}):properties}function CfnBotSlotValueSelectionSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("advancedRecognitionSetting","AdvancedRecognitionSetting",properties.AdvancedRecognitionSetting!=null?CfnBotAdvancedRecognitionSettingPropertyFromCloudFormation(properties.AdvancedRecognitionSetting):void 0),ret.addPropertyResult("regexFilter","RegexFilter",properties.RegexFilter!=null?CfnBotSlotValueRegexFilterPropertyFromCloudFormation(properties.RegexFilter):void 0),ret.addPropertyResult("resolutionStrategy","ResolutionStrategy",cfn_parse.FromCloudFormation.getString(properties.ResolutionStrategy)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_StillWaitingResponseSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("frequencyInSeconds",cdk.requiredValidator)(properties.frequencyInSeconds)),errors.collect(cdk.propertyValidator("frequencyInSeconds",cdk.validateNumber)(properties.frequencyInSeconds)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.requiredValidator)(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("timeoutInSeconds",cdk.requiredValidator)(properties.timeoutInSeconds)),errors.collect(cdk.propertyValidator("timeoutInSeconds",cdk.validateNumber)(properties.timeoutInSeconds)),errors.wrap('supplied properties not correct for "StillWaitingResponseSpecificationProperty"')}function cfnBotStillWaitingResponseSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_StillWaitingResponseSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),FrequencyInSeconds:cdk.numberToCloudFormation(properties.frequencyInSeconds),MessageGroupsList:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroupsList),TimeoutInSeconds:cdk.numberToCloudFormation(properties.timeoutInSeconds)}):properties}function CfnBotStillWaitingResponseSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("frequencyInSeconds","FrequencyInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.FrequencyInSeconds)),ret.addPropertyResult("messageGroupsList","MessageGroupsList",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroupsList)),ret.addPropertyResult("timeoutInSeconds","TimeoutInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.TimeoutInSeconds)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_TestBotAliasSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botAliasLocaleSettings",cdk.listValidator(CfnBot_BotAliasLocaleSettingsItemPropertyValidator))(properties.botAliasLocaleSettings)),errors.collect(cdk.propertyValidator("conversationLogSettings",CfnBot_ConversationLogSettingsPropertyValidator)(properties.conversationLogSettings)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("sentimentAnalysisSettings",cdk.validateObject)(properties.sentimentAnalysisSettings)),errors.wrap('supplied properties not correct for "TestBotAliasSettingsProperty"')}function cfnBotTestBotAliasSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_TestBotAliasSettingsPropertyValidator(properties).assertSuccess(),{BotAliasLocaleSettings:cdk.listMapper(cfnBotBotAliasLocaleSettingsItemPropertyToCloudFormation)(properties.botAliasLocaleSettings),ConversationLogSettings:cfnBotConversationLogSettingsPropertyToCloudFormation(properties.conversationLogSettings),Description:cdk.stringToCloudFormation(properties.description),SentimentAnalysisSettings:cdk.objectToCloudFormation(properties.sentimentAnalysisSettings)}):properties}function CfnBotTestBotAliasSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botAliasLocaleSettings","BotAliasLocaleSettings",properties.BotAliasLocaleSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotBotAliasLocaleSettingsItemPropertyFromCloudFormation)(properties.BotAliasLocaleSettings):void 0),ret.addPropertyResult("conversationLogSettings","ConversationLogSettings",properties.ConversationLogSettings!=null?CfnBotConversationLogSettingsPropertyFromCloudFormation(properties.ConversationLogSettings):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("sentimentAnalysisSettings","SentimentAnalysisSettings",properties.SentimentAnalysisSettings!=null?cfn_parse.FromCloudFormation.getAny(properties.SentimentAnalysisSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_TextInputSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("startTimeoutMs",cdk.requiredValidator)(properties.startTimeoutMs)),errors.collect(cdk.propertyValidator("startTimeoutMs",cdk.validateNumber)(properties.startTimeoutMs)),errors.wrap('supplied properties not correct for "TextInputSpecificationProperty"')}function cfnBotTextInputSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_TextInputSpecificationPropertyValidator(properties).assertSuccess(),{StartTimeoutMs:cdk.numberToCloudFormation(properties.startTimeoutMs)}):properties}function CfnBotTextInputSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("startTimeoutMs","StartTimeoutMs",cfn_parse.FromCloudFormation.getNumber(properties.StartTimeoutMs)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_TextLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("cloudWatch",cdk.requiredValidator)(properties.cloudWatch)),errors.collect(cdk.propertyValidator("cloudWatch",CfnBot_CloudWatchLogGroupLogDestinationPropertyValidator)(properties.cloudWatch)),errors.wrap('supplied properties not correct for "TextLogDestinationProperty"')}function cfnBotTextLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_TextLogDestinationPropertyValidator(properties).assertSuccess(),{CloudWatch:cfnBotCloudWatchLogGroupLogDestinationPropertyToCloudFormation(properties.cloudWatch)}):properties}function CfnBotTextLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("cloudWatch","CloudWatch",CfnBotCloudWatchLogGroupLogDestinationPropertyFromCloudFormation(properties.CloudWatch)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_TextLogSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("destination",cdk.requiredValidator)(properties.destination)),errors.collect(cdk.propertyValidator("destination",CfnBot_TextLogDestinationPropertyValidator)(properties.destination)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "TextLogSettingProperty"')}function cfnBotTextLogSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_TextLogSettingPropertyValidator(properties).assertSuccess(),{Destination:cfnBotTextLogDestinationPropertyToCloudFormation(properties.destination),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotTextLogSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("destination","Destination",CfnBotTextLogDestinationPropertyFromCloudFormation(properties.Destination)),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_VoiceSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("engine",cdk.validateString)(properties.engine)),errors.collect(cdk.propertyValidator("voiceId",cdk.requiredValidator)(properties.voiceId)),errors.collect(cdk.propertyValidator("voiceId",cdk.validateString)(properties.voiceId)),errors.wrap('supplied properties not correct for "VoiceSettingsProperty"')}function cfnBotVoiceSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_VoiceSettingsPropertyValidator(properties).assertSuccess(),{Engine:cdk.stringToCloudFormation(properties.engine),VoiceId:cdk.stringToCloudFormation(properties.voiceId)}):properties}function CfnBotVoiceSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("engine","Engine",properties.Engine!=null?cfn_parse.FromCloudFormation.getString(properties.Engine):void 0),ret.addPropertyResult("voiceId","VoiceId",cfn_parse.FromCloudFormation.getString(properties.VoiceId)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_WaitAndContinueSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("continueResponse",cdk.requiredValidator)(properties.continueResponse)),errors.collect(cdk.propertyValidator("continueResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.continueResponse)),errors.collect(cdk.propertyValidator("isActive",cdk.validateBoolean)(properties.isActive)),errors.collect(cdk.propertyValidator("stillWaitingResponse",CfnBot_StillWaitingResponseSpecificationPropertyValidator)(properties.stillWaitingResponse)),errors.collect(cdk.propertyValidator("waitingResponse",cdk.requiredValidator)(properties.waitingResponse)),errors.collect(cdk.propertyValidator("waitingResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.waitingResponse)),errors.wrap('supplied properties not correct for "WaitAndContinueSpecificationProperty"')}function cfnBotWaitAndContinueSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_WaitAndContinueSpecificationPropertyValidator(properties).assertSuccess(),{ContinueResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.continueResponse),IsActive:cdk.booleanToCloudFormation(properties.isActive),StillWaitingResponse:cfnBotStillWaitingResponseSpecificationPropertyToCloudFormation(properties.stillWaitingResponse),WaitingResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.waitingResponse)}):properties}function CfnBotWaitAndContinueSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("continueResponse","ContinueResponse",CfnBotResponseSpecificationPropertyFromCloudFormation(properties.ContinueResponse)),ret.addPropertyResult("isActive","IsActive",properties.IsActive!=null?cfn_parse.FromCloudFormation.getBoolean(properties.IsActive):void 0),ret.addPropertyResult("stillWaitingResponse","StillWaitingResponse",properties.StillWaitingResponse!=null?CfnBotStillWaitingResponseSpecificationPropertyFromCloudFormation(properties.StillWaitingResponse):void 0),ret.addPropertyResult("waitingResponse","WaitingResponse",CfnBotResponseSpecificationPropertyFromCloudFormation(properties.WaitingResponse)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAliasPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botAliasLocaleSettings",cdk.listValidator(CfnBotAlias_BotAliasLocaleSettingsItemPropertyValidator))(properties.botAliasLocaleSettings)),errors.collect(cdk.propertyValidator("botAliasName",cdk.requiredValidator)(properties.botAliasName)),errors.collect(cdk.propertyValidator("botAliasName",cdk.validateString)(properties.botAliasName)),errors.collect(cdk.propertyValidator("botAliasTags",cdk.listValidator(cdk.validateCfnTag))(properties.botAliasTags)),errors.collect(cdk.propertyValidator("botId",cdk.requiredValidator)(properties.botId)),errors.collect(cdk.propertyValidator("botId",cdk.validateString)(properties.botId)),errors.collect(cdk.propertyValidator("botVersion",cdk.validateString)(properties.botVersion)),errors.collect(cdk.propertyValidator("conversationLogSettings",CfnBotAlias_ConversationLogSettingsPropertyValidator)(properties.conversationLogSettings)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("sentimentAnalysisSettings",cdk.validateObject)(properties.sentimentAnalysisSettings)),errors.wrap('supplied properties not correct for "CfnBotAliasProps"')}function cfnBotAliasPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAliasPropsValidator(properties).assertSuccess(),{BotAliasName:cdk.stringToCloudFormation(properties.botAliasName),BotId:cdk.stringToCloudFormation(properties.botId),BotAliasLocaleSettings:cdk.listMapper(cfnBotAliasBotAliasLocaleSettingsItemPropertyToCloudFormation)(properties.botAliasLocaleSettings),BotAliasTags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.botAliasTags),BotVersion:cdk.stringToCloudFormation(properties.botVersion),ConversationLogSettings:cfnBotAliasConversationLogSettingsPropertyToCloudFormation(properties.conversationLogSettings),Description:cdk.stringToCloudFormation(properties.description),SentimentAnalysisSettings:cdk.objectToCloudFormation(properties.sentimentAnalysisSettings)}):properties}function CfnBotAliasPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botAliasName","BotAliasName",cfn_parse.FromCloudFormation.getString(properties.BotAliasName)),ret.addPropertyResult("botId","BotId",cfn_parse.FromCloudFormation.getString(properties.BotId)),ret.addPropertyResult("botAliasLocaleSettings","BotAliasLocaleSettings",properties.BotAliasLocaleSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotAliasBotAliasLocaleSettingsItemPropertyFromCloudFormation)(properties.BotAliasLocaleSettings):void 0),ret.addPropertyResult("botAliasTags","BotAliasTags",properties.BotAliasTags!=null?cfn_parse.FromCloudFormation.getArray(cfn_parse.FromCloudFormation.getCfnTag)(properties.BotAliasTags):void 0),ret.addPropertyResult("botVersion","BotVersion",properties.BotVersion!=null?cfn_parse.FromCloudFormation.getString(properties.BotVersion):void 0),ret.addPropertyResult("conversationLogSettings","ConversationLogSettings",properties.ConversationLogSettings!=null?CfnBotAliasConversationLogSettingsPropertyFromCloudFormation(properties.ConversationLogSettings):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("sentimentAnalysisSettings","SentimentAnalysisSettings",properties.SentimentAnalysisSettings!=null?cfn_parse.FromCloudFormation.getAny(properties.SentimentAnalysisSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnBotAlias extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnBotAlias.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lex_CfnBotAliasProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnBotAlias),error}cdk.requireProperty(props,"botAliasName",this),cdk.requireProperty(props,"botId",this),this.attrArn=cdk.Token.asString(this.getAtt("Arn")),this.attrBotAliasId=cdk.Token.asString(this.getAtt("BotAliasId")),this.attrBotAliasStatus=cdk.Token.asString(this.getAtt("BotAliasStatus")),this.botAliasName=props.botAliasName,this.botId=props.botId,this.botAliasLocaleSettings=props.botAliasLocaleSettings,this.botAliasTags=props.botAliasTags,this.botVersion=props.botVersion,this.conversationLogSettings=props.conversationLogSettings,this.description=props.description,this.sentimentAnalysisSettings=props.sentimentAnalysisSettings}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnBotAliasPropsFromCloudFormation(resourceProperties),ret=new CfnBotAlias(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnBotAlias.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{botAliasName:this.botAliasName,botId:this.botId,botAliasLocaleSettings:this.botAliasLocaleSettings,botAliasTags:this.botAliasTags,botVersion:this.botVersion,conversationLogSettings:this.conversationLogSettings,description:this.description,sentimentAnalysisSettings:this.sentimentAnalysisSettings}}renderProperties(props){return cfnBotAliasPropsToCloudFormation(props)}}exports.CfnBotAlias=CfnBotAlias,_b=JSII_RTTI_SYMBOL_1,CfnBotAlias[_b]={fqn:"aws-cdk-lib.aws_lex.CfnBotAlias",version:"2.51.0"},CfnBotAlias.CFN_RESOURCE_TYPE_NAME="AWS::Lex::BotAlias";function CfnBotAlias_AudioLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("s3Bucket",cdk.requiredValidator)(properties.s3Bucket)),errors.collect(cdk.propertyValidator("s3Bucket",CfnBotAlias_S3BucketLogDestinationPropertyValidator)(properties.s3Bucket)),errors.wrap('supplied properties not correct for "AudioLogDestinationProperty"')}function cfnBotAliasAudioLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_AudioLogDestinationPropertyValidator(properties).assertSuccess(),{S3Bucket:cfnBotAliasS3BucketLogDestinationPropertyToCloudFormation(properties.s3Bucket)}):properties}function CfnBotAliasAudioLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("s3Bucket","S3Bucket",CfnBotAliasS3BucketLogDestinationPropertyFromCloudFormation(properties.S3Bucket)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_AudioLogSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("destination",cdk.requiredValidator)(properties.destination)),errors.collect(cdk.propertyValidator("destination",CfnBotAlias_AudioLogDestinationPropertyValidator)(properties.destination)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "AudioLogSettingProperty"')}function cfnBotAliasAudioLogSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_AudioLogSettingPropertyValidator(properties).assertSuccess(),{Destination:cfnBotAliasAudioLogDestinationPropertyToCloudFormation(properties.destination),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotAliasAudioLogSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("destination","Destination",CfnBotAliasAudioLogDestinationPropertyFromCloudFormation(properties.Destination)),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_BotAliasLocaleSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("codeHookSpecification",CfnBotAlias_CodeHookSpecificationPropertyValidator)(properties.codeHookSpecification)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "BotAliasLocaleSettingsProperty"')}function cfnBotAliasBotAliasLocaleSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_BotAliasLocaleSettingsPropertyValidator(properties).assertSuccess(),{CodeHookSpecification:cfnBotAliasCodeHookSpecificationPropertyToCloudFormation(properties.codeHookSpecification),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotAliasBotAliasLocaleSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("codeHookSpecification","CodeHookSpecification",properties.CodeHookSpecification!=null?CfnBotAliasCodeHookSpecificationPropertyFromCloudFormation(properties.CodeHookSpecification):void 0),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_BotAliasLocaleSettingsItemPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botAliasLocaleSetting",cdk.requiredValidator)(properties.botAliasLocaleSetting)),errors.collect(cdk.propertyValidator("botAliasLocaleSetting",CfnBotAlias_BotAliasLocaleSettingsPropertyValidator)(properties.botAliasLocaleSetting)),errors.collect(cdk.propertyValidator("localeId",cdk.requiredValidator)(properties.localeId)),errors.collect(cdk.propertyValidator("localeId",cdk.validateString)(properties.localeId)),errors.wrap('supplied properties not correct for "BotAliasLocaleSettingsItemProperty"')}function cfnBotAliasBotAliasLocaleSettingsItemPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_BotAliasLocaleSettingsItemPropertyValidator(properties).assertSuccess(),{BotAliasLocaleSetting:cfnBotAliasBotAliasLocaleSettingsPropertyToCloudFormation(properties.botAliasLocaleSetting),LocaleId:cdk.stringToCloudFormation(properties.localeId)}):properties}function CfnBotAliasBotAliasLocaleSettingsItemPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botAliasLocaleSetting","BotAliasLocaleSetting",CfnBotAliasBotAliasLocaleSettingsPropertyFromCloudFormation(properties.BotAliasLocaleSetting)),ret.addPropertyResult("localeId","LocaleId",cfn_parse.FromCloudFormation.getString(properties.LocaleId)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_CloudWatchLogGroupLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("cloudWatchLogGroupArn",cdk.requiredValidator)(properties.cloudWatchLogGroupArn)),errors.collect(cdk.propertyValidator("cloudWatchLogGroupArn",cdk.validateString)(properties.cloudWatchLogGroupArn)),errors.collect(cdk.propertyValidator("logPrefix",cdk.requiredValidator)(properties.logPrefix)),errors.collect(cdk.propertyValidator("logPrefix",cdk.validateString)(properties.logPrefix)),errors.wrap('supplied properties not correct for "CloudWatchLogGroupLogDestinationProperty"')}function cfnBotAliasCloudWatchLogGroupLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_CloudWatchLogGroupLogDestinationPropertyValidator(properties).assertSuccess(),{CloudWatchLogGroupArn:cdk.stringToCloudFormation(properties.cloudWatchLogGroupArn),LogPrefix:cdk.stringToCloudFormation(properties.logPrefix)}):properties}function CfnBotAliasCloudWatchLogGroupLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("cloudWatchLogGroupArn","CloudWatchLogGroupArn",cfn_parse.FromCloudFormation.getString(properties.CloudWatchLogGroupArn)),ret.addPropertyResult("logPrefix","LogPrefix",cfn_parse.FromCloudFormation.getString(properties.LogPrefix)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_CodeHookSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("lambdaCodeHook",cdk.requiredValidator)(properties.lambdaCodeHook)),errors.collect(cdk.propertyValidator("lambdaCodeHook",CfnBotAlias_LambdaCodeHookPropertyValidator)(properties.lambdaCodeHook)),errors.wrap('supplied properties not correct for "CodeHookSpecificationProperty"')}function cfnBotAliasCodeHookSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_CodeHookSpecificationPropertyValidator(properties).assertSuccess(),{LambdaCodeHook:cfnBotAliasLambdaCodeHookPropertyToCloudFormation(properties.lambdaCodeHook)}):properties}function CfnBotAliasCodeHookSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("lambdaCodeHook","LambdaCodeHook",CfnBotAliasLambdaCodeHookPropertyFromCloudFormation(properties.LambdaCodeHook)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_ConversationLogSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("audioLogSettings",cdk.listValidator(CfnBotAlias_AudioLogSettingPropertyValidator))(properties.audioLogSettings)),errors.collect(cdk.propertyValidator("textLogSettings",cdk.listValidator(CfnBotAlias_TextLogSettingPropertyValidator))(properties.textLogSettings)),errors.wrap('supplied properties not correct for "ConversationLogSettingsProperty"')}function cfnBotAliasConversationLogSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_ConversationLogSettingsPropertyValidator(properties).assertSuccess(),{AudioLogSettings:cdk.listMapper(cfnBotAliasAudioLogSettingPropertyToCloudFormation)(properties.audioLogSettings),TextLogSettings:cdk.listMapper(cfnBotAliasTextLogSettingPropertyToCloudFormation)(properties.textLogSettings)}):properties}function CfnBotAliasConversationLogSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("audioLogSettings","AudioLogSettings",properties.AudioLogSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotAliasAudioLogSettingPropertyFromCloudFormation)(properties.AudioLogSettings):void 0),ret.addPropertyResult("textLogSettings","TextLogSettings",properties.TextLogSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotAliasTextLogSettingPropertyFromCloudFormation)(properties.TextLogSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_LambdaCodeHookPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("codeHookInterfaceVersion",cdk.requiredValidator)(properties.codeHookInterfaceVersion)),errors.collect(cdk.propertyValidator("codeHookInterfaceVersion",cdk.validateString)(properties.codeHookInterfaceVersion)),errors.collect(cdk.propertyValidator("lambdaArn",cdk.requiredValidator)(properties.lambdaArn)),errors.collect(cdk.propertyValidator("lambdaArn",cdk.validateString)(properties.lambdaArn)),errors.wrap('supplied properties not correct for "LambdaCodeHookProperty"')}function cfnBotAliasLambdaCodeHookPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_LambdaCodeHookPropertyValidator(properties).assertSuccess(),{CodeHookInterfaceVersion:cdk.stringToCloudFormation(properties.codeHookInterfaceVersion),LambdaArn:cdk.stringToCloudFormation(properties.lambdaArn)}):properties}function CfnBotAliasLambdaCodeHookPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("codeHookInterfaceVersion","CodeHookInterfaceVersion",cfn_parse.FromCloudFormation.getString(properties.CodeHookInterfaceVersion)),ret.addPropertyResult("lambdaArn","LambdaArn",cfn_parse.FromCloudFormation.getString(properties.LambdaArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_S3BucketLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("kmsKeyArn",cdk.validateString)(properties.kmsKeyArn)),errors.collect(cdk.propertyValidator("logPrefix",cdk.requiredValidator)(properties.logPrefix)),errors.collect(cdk.propertyValidator("logPrefix",cdk.validateString)(properties.logPrefix)),errors.collect(cdk.propertyValidator("s3BucketArn",cdk.requiredValidator)(properties.s3BucketArn)),errors.collect(cdk.propertyValidator("s3BucketArn",cdk.validateString)(properties.s3BucketArn)),errors.wrap('supplied properties not correct for "S3BucketLogDestinationProperty"')}function cfnBotAliasS3BucketLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_S3BucketLogDestinationPropertyValidator(properties).assertSuccess(),{KmsKeyArn:cdk.stringToCloudFormation(properties.kmsKeyArn),LogPrefix:cdk.stringToCloudFormation(properties.logPrefix),S3BucketArn:cdk.stringToCloudFormation(properties.s3BucketArn)}):properties}function CfnBotAliasS3BucketLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("kmsKeyArn","KmsKeyArn",properties.KmsKeyArn!=null?cfn_parse.FromCloudFormation.getString(properties.KmsKeyArn):void 0),ret.addPropertyResult("logPrefix","LogPrefix",cfn_parse.FromCloudFormation.getString(properties.LogPrefix)),ret.addPropertyResult("s3BucketArn","S3BucketArn",cfn_parse.FromCloudFormation.getString(properties.S3BucketArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_TextLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("cloudWatch",cdk.requiredValidator)(properties.cloudWatch)),errors.collect(cdk.propertyValidator("cloudWatch",CfnBotAlias_CloudWatchLogGroupLogDestinationPropertyValidator)(properties.cloudWatch)),errors.wrap('supplied properties not correct for "TextLogDestinationProperty"')}function cfnBotAliasTextLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_TextLogDestinationPropertyValidator(properties).assertSuccess(),{CloudWatch:cfnBotAliasCloudWatchLogGroupLogDestinationPropertyToCloudFormation(properties.cloudWatch)}):properties}function CfnBotAliasTextLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("cloudWatch","CloudWatch",CfnBotAliasCloudWatchLogGroupLogDestinationPropertyFromCloudFormation(properties.CloudWatch)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_TextLogSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("destination",cdk.requiredValidator)(properties.destination)),errors.collect(cdk.propertyValidator("destination",CfnBotAlias_TextLogDestinationPropertyValidator)(properties.destination)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "TextLogSettingProperty"')}function cfnBotAliasTextLogSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_TextLogSettingPropertyValidator(properties).assertSuccess(),{Destination:cfnBotAliasTextLogDestinationPropertyToCloudFormation(properties.destination),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotAliasTextLogSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("destination","Destination",CfnBotAliasTextLogDestinationPropertyFromCloudFormation(properties.Destination)),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotVersionPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botId",cdk.requiredValidator)(properties.botId)),errors.collect(cdk.propertyValidator("botId",cdk.validateString)(properties.botId)),errors.collect(cdk.propertyValidator("botVersionLocaleSpecification",cdk.requiredValidator)(properties.botVersionLocaleSpecification)),errors.collect(cdk.propertyValidator("botVersionLocaleSpecification",cdk.listValidator(CfnBotVersion_BotVersionLocaleSpecificationPropertyValidator))(properties.botVersionLocaleSpecification)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.wrap('supplied properties not correct for "CfnBotVersionProps"')}function cfnBotVersionPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotVersionPropsValidator(properties).assertSuccess(),{BotId:cdk.stringToCloudFormation(properties.botId),BotVersionLocaleSpecification:cdk.listMapper(cfnBotVersionBotVersionLocaleSpecificationPropertyToCloudFormation)(properties.botVersionLocaleSpecification),Description:cdk.stringToCloudFormation(properties.description)}):properties}function CfnBotVersionPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botId","BotId",cfn_parse.FromCloudFormation.getString(properties.BotId)),ret.addPropertyResult("botVersionLocaleSpecification","BotVersionLocaleSpecification",cfn_parse.FromCloudFormation.getArray(CfnBotVersionBotVersionLocaleSpecificationPropertyFromCloudFormation)(properties.BotVersionLocaleSpecification)),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnBotVersion extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnBotVersion.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lex_CfnBotVersionProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnBotVersion),error}cdk.requireProperty(props,"botId",this),cdk.requireProperty(props,"botVersionLocaleSpecification",this),this.attrBotVersion=cdk.Token.asString(this.getAtt("BotVersion")),this.botId=props.botId,this.botVersionLocaleSpecification=props.botVersionLocaleSpecification,this.description=props.description}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnBotVersionPropsFromCloudFormation(resourceProperties),ret=new CfnBotVersion(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnBotVersion.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{botId:this.botId,botVersionLocaleSpecification:this.botVersionLocaleSpecification,description:this.description}}renderProperties(props){return cfnBotVersionPropsToCloudFormation(props)}}exports.CfnBotVersion=CfnBotVersion,_c=JSII_RTTI_SYMBOL_1,CfnBotVersion[_c]={fqn:"aws-cdk-lib.aws_lex.CfnBotVersion",version:"2.51.0"},CfnBotVersion.CFN_RESOURCE_TYPE_NAME="AWS::Lex::BotVersion";function CfnBotVersion_BotVersionLocaleDetailsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("sourceBotVersion",cdk.requiredValidator)(properties.sourceBotVersion)),errors.collect(cdk.propertyValidator("sourceBotVersion",cdk.validateString)(properties.sourceBotVersion)),errors.wrap('supplied properties not correct for "BotVersionLocaleDetailsProperty"')}function cfnBotVersionBotVersionLocaleDetailsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotVersion_BotVersionLocaleDetailsPropertyValidator(properties).assertSuccess(),{SourceBotVersion:cdk.stringToCloudFormation(properties.sourceBotVersion)}):properties}function CfnBotVersionBotVersionLocaleDetailsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("sourceBotVersion","SourceBotVersion",cfn_parse.FromCloudFormation.getString(properties.SourceBotVersion)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotVersion_BotVersionLocaleSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botVersionLocaleDetails",cdk.requiredValidator)(properties.botVersionLocaleDetails)),errors.collect(cdk.propertyValidator("botVersionLocaleDetails",CfnBotVersion_BotVersionLocaleDetailsPropertyValidator)(properties.botVersionLocaleDetails)),errors.collect(cdk.propertyValidator("localeId",cdk.requiredValidator)(properties.localeId)),errors.collect(cdk.propertyValidator("localeId",cdk.validateString)(properties.localeId)),errors.wrap('supplied properties not correct for "BotVersionLocaleSpecificationProperty"')}function cfnBotVersionBotVersionLocaleSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotVersion_BotVersionLocaleSpecificationPropertyValidator(properties).assertSuccess(),{BotVersionLocaleDetails:cfnBotVersionBotVersionLocaleDetailsPropertyToCloudFormation(properties.botVersionLocaleDetails),LocaleId:cdk.stringToCloudFormation(properties.localeId)}):properties}function CfnBotVersionBotVersionLocaleSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botVersionLocaleDetails","BotVersionLocaleDetails",CfnBotVersionBotVersionLocaleDetailsPropertyFromCloudFormation(properties.BotVersionLocaleDetails)),ret.addPropertyResult("localeId","LocaleId",cfn_parse.FromCloudFormation.getString(properties.LocaleId)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnResourcePolicyPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("policy",cdk.requiredValidator)(properties.policy)),errors.collect(cdk.propertyValidator("policy",cdk.validateObject)(properties.policy)),errors.collect(cdk.propertyValidator("resourceArn",cdk.requiredValidator)(properties.resourceArn)),errors.collect(cdk.propertyValidator("resourceArn",cdk.validateString)(properties.resourceArn)),errors.wrap('supplied properties not correct for "CfnResourcePolicyProps"')}function cfnResourcePolicyPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnResourcePolicyPropsValidator(properties).assertSuccess(),{Policy:cdk.objectToCloudFormation(properties.policy),ResourceArn:cdk.stringToCloudFormation(properties.resourceArn)}):properties}function CfnResourcePolicyPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("policy","Policy",cfn_parse.FromCloudFormation.getAny(properties.Policy)),ret.addPropertyResult("resourceArn","ResourceArn",cfn_parse.FromCloudFormation.getString(properties.ResourceArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnResourcePolicy extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnResourcePolicy.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lex_CfnResourcePolicyProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnResourcePolicy),error}cdk.requireProperty(props,"policy",this),cdk.requireProperty(props,"resourceArn",this),this.attrId=cdk.Token.asString(this.getAtt("Id")),this.attrRevisionId=cdk.Token.asString(this.getAtt("RevisionId")),this.policy=props.policy,this.resourceArn=props.resourceArn}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnResourcePolicyPropsFromCloudFormation(resourceProperties),ret=new CfnResourcePolicy(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnResourcePolicy.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{policy:this.policy,resourceArn:this.resourceArn}}renderProperties(props){return cfnResourcePolicyPropsToCloudFormation(props)}}exports.CfnResourcePolicy=CfnResourcePolicy,_d=JSII_RTTI_SYMBOL_1,CfnResourcePolicy[_d]={fqn:"aws-cdk-lib.aws_lex.CfnResourcePolicy",version:"2.51.0"},CfnResourcePolicy.CFN_RESOURCE_TYPE_NAME="AWS::Lex::ResourcePolicy";
|
|
1
|
+
"use strict";var _a,_b,_c,_d;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnResourcePolicy=exports.CfnBotVersion=exports.CfnBotAlias=exports.CfnBot=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cdk=require("../../core"),cfn_parse=require("../../core/lib/helpers-internal");function CfnBotPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("autoBuildBotLocales",cdk.validateBoolean)(properties.autoBuildBotLocales)),errors.collect(cdk.propertyValidator("botFileS3Location",CfnBot_S3LocationPropertyValidator)(properties.botFileS3Location)),errors.collect(cdk.propertyValidator("botLocales",cdk.listValidator(CfnBot_BotLocalePropertyValidator))(properties.botLocales)),errors.collect(cdk.propertyValidator("botTags",cdk.listValidator(cdk.validateCfnTag))(properties.botTags)),errors.collect(cdk.propertyValidator("dataPrivacy",cdk.requiredValidator)(properties.dataPrivacy)),errors.collect(cdk.propertyValidator("dataPrivacy",cdk.validateObject)(properties.dataPrivacy)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("idleSessionTtlInSeconds",cdk.requiredValidator)(properties.idleSessionTtlInSeconds)),errors.collect(cdk.propertyValidator("idleSessionTtlInSeconds",cdk.validateNumber)(properties.idleSessionTtlInSeconds)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("roleArn",cdk.requiredValidator)(properties.roleArn)),errors.collect(cdk.propertyValidator("roleArn",cdk.validateString)(properties.roleArn)),errors.collect(cdk.propertyValidator("testBotAliasSettings",CfnBot_TestBotAliasSettingsPropertyValidator)(properties.testBotAliasSettings)),errors.collect(cdk.propertyValidator("testBotAliasTags",cdk.listValidator(cdk.validateCfnTag))(properties.testBotAliasTags)),errors.wrap('supplied properties not correct for "CfnBotProps"')}function cfnBotPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotPropsValidator(properties).assertSuccess(),{DataPrivacy:cdk.objectToCloudFormation(properties.dataPrivacy),IdleSessionTTLInSeconds:cdk.numberToCloudFormation(properties.idleSessionTtlInSeconds),Name:cdk.stringToCloudFormation(properties.name),RoleArn:cdk.stringToCloudFormation(properties.roleArn),AutoBuildBotLocales:cdk.booleanToCloudFormation(properties.autoBuildBotLocales),BotFileS3Location:cfnBotS3LocationPropertyToCloudFormation(properties.botFileS3Location),BotLocales:cdk.listMapper(cfnBotBotLocalePropertyToCloudFormation)(properties.botLocales),BotTags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.botTags),Description:cdk.stringToCloudFormation(properties.description),TestBotAliasSettings:cfnBotTestBotAliasSettingsPropertyToCloudFormation(properties.testBotAliasSettings),TestBotAliasTags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.testBotAliasTags)}):properties}function CfnBotPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("dataPrivacy","DataPrivacy",cfn_parse.FromCloudFormation.getAny(properties.DataPrivacy)),ret.addPropertyResult("idleSessionTtlInSeconds","IdleSessionTTLInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.IdleSessionTTLInSeconds)),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("roleArn","RoleArn",cfn_parse.FromCloudFormation.getString(properties.RoleArn)),ret.addPropertyResult("autoBuildBotLocales","AutoBuildBotLocales",properties.AutoBuildBotLocales!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AutoBuildBotLocales):void 0),ret.addPropertyResult("botFileS3Location","BotFileS3Location",properties.BotFileS3Location!=null?CfnBotS3LocationPropertyFromCloudFormation(properties.BotFileS3Location):void 0),ret.addPropertyResult("botLocales","BotLocales",properties.BotLocales!=null?cfn_parse.FromCloudFormation.getArray(CfnBotBotLocalePropertyFromCloudFormation)(properties.BotLocales):void 0),ret.addPropertyResult("botTags","BotTags",properties.BotTags!=null?cfn_parse.FromCloudFormation.getArray(cfn_parse.FromCloudFormation.getCfnTag)(properties.BotTags):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("testBotAliasSettings","TestBotAliasSettings",properties.TestBotAliasSettings!=null?CfnBotTestBotAliasSettingsPropertyFromCloudFormation(properties.TestBotAliasSettings):void 0),ret.addPropertyResult("testBotAliasTags","TestBotAliasTags",properties.TestBotAliasTags!=null?cfn_parse.FromCloudFormation.getArray(cfn_parse.FromCloudFormation.getCfnTag)(properties.TestBotAliasTags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnBot extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnBot.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lex_CfnBotProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnBot),error}cdk.requireProperty(props,"dataPrivacy",this),cdk.requireProperty(props,"idleSessionTtlInSeconds",this),cdk.requireProperty(props,"name",this),cdk.requireProperty(props,"roleArn",this),this.attrArn=cdk.Token.asString(this.getAtt("Arn")),this.attrId=cdk.Token.asString(this.getAtt("Id")),this.dataPrivacy=props.dataPrivacy,this.idleSessionTtlInSeconds=props.idleSessionTtlInSeconds,this.name=props.name,this.roleArn=props.roleArn,this.autoBuildBotLocales=props.autoBuildBotLocales,this.botFileS3Location=props.botFileS3Location,this.botLocales=props.botLocales,this.botTags=props.botTags,this.description=props.description,this.testBotAliasSettings=props.testBotAliasSettings,this.testBotAliasTags=props.testBotAliasTags}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnBotPropsFromCloudFormation(resourceProperties),ret=new CfnBot(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnBot.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{dataPrivacy:this.dataPrivacy,idleSessionTtlInSeconds:this.idleSessionTtlInSeconds,name:this.name,roleArn:this.roleArn,autoBuildBotLocales:this.autoBuildBotLocales,botFileS3Location:this.botFileS3Location,botLocales:this.botLocales,botTags:this.botTags,description:this.description,testBotAliasSettings:this.testBotAliasSettings,testBotAliasTags:this.testBotAliasTags}}renderProperties(props){return cfnBotPropsToCloudFormation(props)}}exports.CfnBot=CfnBot,_a=JSII_RTTI_SYMBOL_1,CfnBot[_a]={fqn:"aws-cdk-lib.aws_lex.CfnBot",version:"2.51.1"},CfnBot.CFN_RESOURCE_TYPE_NAME="AWS::Lex::Bot";function CfnBot_AdvancedRecognitionSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("audioRecognitionStrategy",cdk.validateString)(properties.audioRecognitionStrategy)),errors.wrap('supplied properties not correct for "AdvancedRecognitionSettingProperty"')}function cfnBotAdvancedRecognitionSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AdvancedRecognitionSettingPropertyValidator(properties).assertSuccess(),{AudioRecognitionStrategy:cdk.stringToCloudFormation(properties.audioRecognitionStrategy)}):properties}function CfnBotAdvancedRecognitionSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("audioRecognitionStrategy","AudioRecognitionStrategy",properties.AudioRecognitionStrategy!=null?cfn_parse.FromCloudFormation.getString(properties.AudioRecognitionStrategy):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AllowedInputTypesPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowAudioInput",cdk.requiredValidator)(properties.allowAudioInput)),errors.collect(cdk.propertyValidator("allowAudioInput",cdk.validateBoolean)(properties.allowAudioInput)),errors.collect(cdk.propertyValidator("allowDtmfInput",cdk.requiredValidator)(properties.allowDtmfInput)),errors.collect(cdk.propertyValidator("allowDtmfInput",cdk.validateBoolean)(properties.allowDtmfInput)),errors.wrap('supplied properties not correct for "AllowedInputTypesProperty"')}function cfnBotAllowedInputTypesPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AllowedInputTypesPropertyValidator(properties).assertSuccess(),{AllowAudioInput:cdk.booleanToCloudFormation(properties.allowAudioInput),AllowDTMFInput:cdk.booleanToCloudFormation(properties.allowDtmfInput)}):properties}function CfnBotAllowedInputTypesPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowAudioInput","AllowAudioInput",cfn_parse.FromCloudFormation.getBoolean(properties.AllowAudioInput)),ret.addPropertyResult("allowDtmfInput","AllowDTMFInput",cfn_parse.FromCloudFormation.getBoolean(properties.AllowDTMFInput)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AudioAndDTMFInputSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("audioSpecification",CfnBot_AudioSpecificationPropertyValidator)(properties.audioSpecification)),errors.collect(cdk.propertyValidator("dtmfSpecification",CfnBot_DTMFSpecificationPropertyValidator)(properties.dtmfSpecification)),errors.collect(cdk.propertyValidator("startTimeoutMs",cdk.requiredValidator)(properties.startTimeoutMs)),errors.collect(cdk.propertyValidator("startTimeoutMs",cdk.validateNumber)(properties.startTimeoutMs)),errors.wrap('supplied properties not correct for "AudioAndDTMFInputSpecificationProperty"')}function cfnBotAudioAndDTMFInputSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AudioAndDTMFInputSpecificationPropertyValidator(properties).assertSuccess(),{AudioSpecification:cfnBotAudioSpecificationPropertyToCloudFormation(properties.audioSpecification),DTMFSpecification:cfnBotDTMFSpecificationPropertyToCloudFormation(properties.dtmfSpecification),StartTimeoutMs:cdk.numberToCloudFormation(properties.startTimeoutMs)}):properties}function CfnBotAudioAndDTMFInputSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("audioSpecification","AudioSpecification",properties.AudioSpecification!=null?CfnBotAudioSpecificationPropertyFromCloudFormation(properties.AudioSpecification):void 0),ret.addPropertyResult("dtmfSpecification","DTMFSpecification",properties.DTMFSpecification!=null?CfnBotDTMFSpecificationPropertyFromCloudFormation(properties.DTMFSpecification):void 0),ret.addPropertyResult("startTimeoutMs","StartTimeoutMs",cfn_parse.FromCloudFormation.getNumber(properties.StartTimeoutMs)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AudioLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("s3Bucket",cdk.requiredValidator)(properties.s3Bucket)),errors.collect(cdk.propertyValidator("s3Bucket",CfnBot_S3BucketLogDestinationPropertyValidator)(properties.s3Bucket)),errors.wrap('supplied properties not correct for "AudioLogDestinationProperty"')}function cfnBotAudioLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AudioLogDestinationPropertyValidator(properties).assertSuccess(),{S3Bucket:cfnBotS3BucketLogDestinationPropertyToCloudFormation(properties.s3Bucket)}):properties}function CfnBotAudioLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("s3Bucket","S3Bucket",CfnBotS3BucketLogDestinationPropertyFromCloudFormation(properties.S3Bucket)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AudioLogSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("destination",cdk.requiredValidator)(properties.destination)),errors.collect(cdk.propertyValidator("destination",CfnBot_AudioLogDestinationPropertyValidator)(properties.destination)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "AudioLogSettingProperty"')}function cfnBotAudioLogSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AudioLogSettingPropertyValidator(properties).assertSuccess(),{Destination:cfnBotAudioLogDestinationPropertyToCloudFormation(properties.destination),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotAudioLogSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("destination","Destination",CfnBotAudioLogDestinationPropertyFromCloudFormation(properties.Destination)),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_AudioSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("endTimeoutMs",cdk.requiredValidator)(properties.endTimeoutMs)),errors.collect(cdk.propertyValidator("endTimeoutMs",cdk.validateNumber)(properties.endTimeoutMs)),errors.collect(cdk.propertyValidator("maxLengthMs",cdk.requiredValidator)(properties.maxLengthMs)),errors.collect(cdk.propertyValidator("maxLengthMs",cdk.validateNumber)(properties.maxLengthMs)),errors.wrap('supplied properties not correct for "AudioSpecificationProperty"')}function cfnBotAudioSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_AudioSpecificationPropertyValidator(properties).assertSuccess(),{EndTimeoutMs:cdk.numberToCloudFormation(properties.endTimeoutMs),MaxLengthMs:cdk.numberToCloudFormation(properties.maxLengthMs)}):properties}function CfnBotAudioSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("endTimeoutMs","EndTimeoutMs",cfn_parse.FromCloudFormation.getNumber(properties.EndTimeoutMs)),ret.addPropertyResult("maxLengthMs","MaxLengthMs",cfn_parse.FromCloudFormation.getNumber(properties.MaxLengthMs)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_BotAliasLocaleSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("codeHookSpecification",CfnBot_CodeHookSpecificationPropertyValidator)(properties.codeHookSpecification)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "BotAliasLocaleSettingsProperty"')}function cfnBotBotAliasLocaleSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_BotAliasLocaleSettingsPropertyValidator(properties).assertSuccess(),{CodeHookSpecification:cfnBotCodeHookSpecificationPropertyToCloudFormation(properties.codeHookSpecification),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotBotAliasLocaleSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("codeHookSpecification","CodeHookSpecification",properties.CodeHookSpecification!=null?CfnBotCodeHookSpecificationPropertyFromCloudFormation(properties.CodeHookSpecification):void 0),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_BotAliasLocaleSettingsItemPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botAliasLocaleSetting",cdk.requiredValidator)(properties.botAliasLocaleSetting)),errors.collect(cdk.propertyValidator("botAliasLocaleSetting",CfnBot_BotAliasLocaleSettingsPropertyValidator)(properties.botAliasLocaleSetting)),errors.collect(cdk.propertyValidator("localeId",cdk.requiredValidator)(properties.localeId)),errors.collect(cdk.propertyValidator("localeId",cdk.validateString)(properties.localeId)),errors.wrap('supplied properties not correct for "BotAliasLocaleSettingsItemProperty"')}function cfnBotBotAliasLocaleSettingsItemPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_BotAliasLocaleSettingsItemPropertyValidator(properties).assertSuccess(),{BotAliasLocaleSetting:cfnBotBotAliasLocaleSettingsPropertyToCloudFormation(properties.botAliasLocaleSetting),LocaleId:cdk.stringToCloudFormation(properties.localeId)}):properties}function CfnBotBotAliasLocaleSettingsItemPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botAliasLocaleSetting","BotAliasLocaleSetting",CfnBotBotAliasLocaleSettingsPropertyFromCloudFormation(properties.BotAliasLocaleSetting)),ret.addPropertyResult("localeId","LocaleId",cfn_parse.FromCloudFormation.getString(properties.LocaleId)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_BotLocalePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("customVocabulary",CfnBot_CustomVocabularyPropertyValidator)(properties.customVocabulary)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("intents",cdk.listValidator(CfnBot_IntentPropertyValidator))(properties.intents)),errors.collect(cdk.propertyValidator("localeId",cdk.requiredValidator)(properties.localeId)),errors.collect(cdk.propertyValidator("localeId",cdk.validateString)(properties.localeId)),errors.collect(cdk.propertyValidator("nluConfidenceThreshold",cdk.requiredValidator)(properties.nluConfidenceThreshold)),errors.collect(cdk.propertyValidator("nluConfidenceThreshold",cdk.validateNumber)(properties.nluConfidenceThreshold)),errors.collect(cdk.propertyValidator("slotTypes",cdk.listValidator(CfnBot_SlotTypePropertyValidator))(properties.slotTypes)),errors.collect(cdk.propertyValidator("voiceSettings",CfnBot_VoiceSettingsPropertyValidator)(properties.voiceSettings)),errors.wrap('supplied properties not correct for "BotLocaleProperty"')}function cfnBotBotLocalePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_BotLocalePropertyValidator(properties).assertSuccess(),{CustomVocabulary:cfnBotCustomVocabularyPropertyToCloudFormation(properties.customVocabulary),Description:cdk.stringToCloudFormation(properties.description),Intents:cdk.listMapper(cfnBotIntentPropertyToCloudFormation)(properties.intents),LocaleId:cdk.stringToCloudFormation(properties.localeId),NluConfidenceThreshold:cdk.numberToCloudFormation(properties.nluConfidenceThreshold),SlotTypes:cdk.listMapper(cfnBotSlotTypePropertyToCloudFormation)(properties.slotTypes),VoiceSettings:cfnBotVoiceSettingsPropertyToCloudFormation(properties.voiceSettings)}):properties}function CfnBotBotLocalePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("customVocabulary","CustomVocabulary",properties.CustomVocabulary!=null?CfnBotCustomVocabularyPropertyFromCloudFormation(properties.CustomVocabulary):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("intents","Intents",properties.Intents!=null?cfn_parse.FromCloudFormation.getArray(CfnBotIntentPropertyFromCloudFormation)(properties.Intents):void 0),ret.addPropertyResult("localeId","LocaleId",cfn_parse.FromCloudFormation.getString(properties.LocaleId)),ret.addPropertyResult("nluConfidenceThreshold","NluConfidenceThreshold",cfn_parse.FromCloudFormation.getNumber(properties.NluConfidenceThreshold)),ret.addPropertyResult("slotTypes","SlotTypes",properties.SlotTypes!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSlotTypePropertyFromCloudFormation)(properties.SlotTypes):void 0),ret.addPropertyResult("voiceSettings","VoiceSettings",properties.VoiceSettings!=null?CfnBotVoiceSettingsPropertyFromCloudFormation(properties.VoiceSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ButtonPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("text",cdk.requiredValidator)(properties.text)),errors.collect(cdk.propertyValidator("text",cdk.validateString)(properties.text)),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "ButtonProperty"')}function cfnBotButtonPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ButtonPropertyValidator(properties).assertSuccess(),{Text:cdk.stringToCloudFormation(properties.text),Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotButtonPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("text","Text",cfn_parse.FromCloudFormation.getString(properties.Text)),ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CloudWatchLogGroupLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("cloudWatchLogGroupArn",cdk.requiredValidator)(properties.cloudWatchLogGroupArn)),errors.collect(cdk.propertyValidator("cloudWatchLogGroupArn",cdk.validateString)(properties.cloudWatchLogGroupArn)),errors.collect(cdk.propertyValidator("logPrefix",cdk.requiredValidator)(properties.logPrefix)),errors.collect(cdk.propertyValidator("logPrefix",cdk.validateString)(properties.logPrefix)),errors.wrap('supplied properties not correct for "CloudWatchLogGroupLogDestinationProperty"')}function cfnBotCloudWatchLogGroupLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CloudWatchLogGroupLogDestinationPropertyValidator(properties).assertSuccess(),{CloudWatchLogGroupArn:cdk.stringToCloudFormation(properties.cloudWatchLogGroupArn),LogPrefix:cdk.stringToCloudFormation(properties.logPrefix)}):properties}function CfnBotCloudWatchLogGroupLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("cloudWatchLogGroupArn","CloudWatchLogGroupArn",cfn_parse.FromCloudFormation.getString(properties.CloudWatchLogGroupArn)),ret.addPropertyResult("logPrefix","LogPrefix",cfn_parse.FromCloudFormation.getString(properties.LogPrefix)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CodeHookSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("lambdaCodeHook",cdk.requiredValidator)(properties.lambdaCodeHook)),errors.collect(cdk.propertyValidator("lambdaCodeHook",CfnBot_LambdaCodeHookPropertyValidator)(properties.lambdaCodeHook)),errors.wrap('supplied properties not correct for "CodeHookSpecificationProperty"')}function cfnBotCodeHookSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CodeHookSpecificationPropertyValidator(properties).assertSuccess(),{LambdaCodeHook:cfnBotLambdaCodeHookPropertyToCloudFormation(properties.lambdaCodeHook)}):properties}function CfnBotCodeHookSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("lambdaCodeHook","LambdaCodeHook",CfnBotLambdaCodeHookPropertyFromCloudFormation(properties.LambdaCodeHook)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ConversationLogSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("audioLogSettings",cdk.listValidator(CfnBot_AudioLogSettingPropertyValidator))(properties.audioLogSettings)),errors.collect(cdk.propertyValidator("textLogSettings",cdk.listValidator(CfnBot_TextLogSettingPropertyValidator))(properties.textLogSettings)),errors.wrap('supplied properties not correct for "ConversationLogSettingsProperty"')}function cfnBotConversationLogSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ConversationLogSettingsPropertyValidator(properties).assertSuccess(),{AudioLogSettings:cdk.listMapper(cfnBotAudioLogSettingPropertyToCloudFormation)(properties.audioLogSettings),TextLogSettings:cdk.listMapper(cfnBotTextLogSettingPropertyToCloudFormation)(properties.textLogSettings)}):properties}function CfnBotConversationLogSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("audioLogSettings","AudioLogSettings",properties.AudioLogSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotAudioLogSettingPropertyFromCloudFormation)(properties.AudioLogSettings):void 0),ret.addPropertyResult("textLogSettings","TextLogSettings",properties.TextLogSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotTextLogSettingPropertyFromCloudFormation)(properties.TextLogSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CustomPayloadPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "CustomPayloadProperty"')}function cfnBotCustomPayloadPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CustomPayloadPropertyValidator(properties).assertSuccess(),{Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotCustomPayloadPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CustomVocabularyPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("customVocabularyItems",cdk.requiredValidator)(properties.customVocabularyItems)),errors.collect(cdk.propertyValidator("customVocabularyItems",cdk.listValidator(CfnBot_CustomVocabularyItemPropertyValidator))(properties.customVocabularyItems)),errors.wrap('supplied properties not correct for "CustomVocabularyProperty"')}function cfnBotCustomVocabularyPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CustomVocabularyPropertyValidator(properties).assertSuccess(),{CustomVocabularyItems:cdk.listMapper(cfnBotCustomVocabularyItemPropertyToCloudFormation)(properties.customVocabularyItems)}):properties}function CfnBotCustomVocabularyPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("customVocabularyItems","CustomVocabularyItems",cfn_parse.FromCloudFormation.getArray(CfnBotCustomVocabularyItemPropertyFromCloudFormation)(properties.CustomVocabularyItems)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_CustomVocabularyItemPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("phrase",cdk.requiredValidator)(properties.phrase)),errors.collect(cdk.propertyValidator("phrase",cdk.validateString)(properties.phrase)),errors.collect(cdk.propertyValidator("weight",cdk.validateNumber)(properties.weight)),errors.wrap('supplied properties not correct for "CustomVocabularyItemProperty"')}function cfnBotCustomVocabularyItemPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_CustomVocabularyItemPropertyValidator(properties).assertSuccess(),{Phrase:cdk.stringToCloudFormation(properties.phrase),Weight:cdk.numberToCloudFormation(properties.weight)}):properties}function CfnBotCustomVocabularyItemPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("phrase","Phrase",cfn_parse.FromCloudFormation.getString(properties.Phrase)),ret.addPropertyResult("weight","Weight",properties.Weight!=null?cfn_parse.FromCloudFormation.getNumber(properties.Weight):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_DTMFSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("deletionCharacter",cdk.requiredValidator)(properties.deletionCharacter)),errors.collect(cdk.propertyValidator("deletionCharacter",cdk.validateString)(properties.deletionCharacter)),errors.collect(cdk.propertyValidator("endCharacter",cdk.requiredValidator)(properties.endCharacter)),errors.collect(cdk.propertyValidator("endCharacter",cdk.validateString)(properties.endCharacter)),errors.collect(cdk.propertyValidator("endTimeoutMs",cdk.requiredValidator)(properties.endTimeoutMs)),errors.collect(cdk.propertyValidator("endTimeoutMs",cdk.validateNumber)(properties.endTimeoutMs)),errors.collect(cdk.propertyValidator("maxLength",cdk.requiredValidator)(properties.maxLength)),errors.collect(cdk.propertyValidator("maxLength",cdk.validateNumber)(properties.maxLength)),errors.wrap('supplied properties not correct for "DTMFSpecificationProperty"')}function cfnBotDTMFSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_DTMFSpecificationPropertyValidator(properties).assertSuccess(),{DeletionCharacter:cdk.stringToCloudFormation(properties.deletionCharacter),EndCharacter:cdk.stringToCloudFormation(properties.endCharacter),EndTimeoutMs:cdk.numberToCloudFormation(properties.endTimeoutMs),MaxLength:cdk.numberToCloudFormation(properties.maxLength)}):properties}function CfnBotDTMFSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("deletionCharacter","DeletionCharacter",cfn_parse.FromCloudFormation.getString(properties.DeletionCharacter)),ret.addPropertyResult("endCharacter","EndCharacter",cfn_parse.FromCloudFormation.getString(properties.EndCharacter)),ret.addPropertyResult("endTimeoutMs","EndTimeoutMs",cfn_parse.FromCloudFormation.getNumber(properties.EndTimeoutMs)),ret.addPropertyResult("maxLength","MaxLength",cfn_parse.FromCloudFormation.getNumber(properties.MaxLength)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_DialogCodeHookSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "DialogCodeHookSettingProperty"')}function cfnBotDialogCodeHookSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_DialogCodeHookSettingPropertyValidator(properties).assertSuccess(),{Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotDialogCodeHookSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ExternalSourceSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("grammarSlotTypeSetting",CfnBot_GrammarSlotTypeSettingPropertyValidator)(properties.grammarSlotTypeSetting)),errors.wrap('supplied properties not correct for "ExternalSourceSettingProperty"')}function cfnBotExternalSourceSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ExternalSourceSettingPropertyValidator(properties).assertSuccess(),{GrammarSlotTypeSetting:cfnBotGrammarSlotTypeSettingPropertyToCloudFormation(properties.grammarSlotTypeSetting)}):properties}function CfnBotExternalSourceSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("grammarSlotTypeSetting","GrammarSlotTypeSetting",properties.GrammarSlotTypeSetting!=null?CfnBotGrammarSlotTypeSettingPropertyFromCloudFormation(properties.GrammarSlotTypeSetting):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_FulfillmentCodeHookSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.collect(cdk.propertyValidator("fulfillmentUpdatesSpecification",CfnBot_FulfillmentUpdatesSpecificationPropertyValidator)(properties.fulfillmentUpdatesSpecification)),errors.collect(cdk.propertyValidator("postFulfillmentStatusSpecification",CfnBot_PostFulfillmentStatusSpecificationPropertyValidator)(properties.postFulfillmentStatusSpecification)),errors.wrap('supplied properties not correct for "FulfillmentCodeHookSettingProperty"')}function cfnBotFulfillmentCodeHookSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_FulfillmentCodeHookSettingPropertyValidator(properties).assertSuccess(),{Enabled:cdk.booleanToCloudFormation(properties.enabled),FulfillmentUpdatesSpecification:cfnBotFulfillmentUpdatesSpecificationPropertyToCloudFormation(properties.fulfillmentUpdatesSpecification),PostFulfillmentStatusSpecification:cfnBotPostFulfillmentStatusSpecificationPropertyToCloudFormation(properties.postFulfillmentStatusSpecification)}):properties}function CfnBotFulfillmentCodeHookSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addPropertyResult("fulfillmentUpdatesSpecification","FulfillmentUpdatesSpecification",properties.FulfillmentUpdatesSpecification!=null?CfnBotFulfillmentUpdatesSpecificationPropertyFromCloudFormation(properties.FulfillmentUpdatesSpecification):void 0),ret.addPropertyResult("postFulfillmentStatusSpecification","PostFulfillmentStatusSpecification",properties.PostFulfillmentStatusSpecification!=null?CfnBotPostFulfillmentStatusSpecificationPropertyFromCloudFormation(properties.PostFulfillmentStatusSpecification):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_FulfillmentStartResponseSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("delayInSeconds",cdk.requiredValidator)(properties.delayInSeconds)),errors.collect(cdk.propertyValidator("delayInSeconds",cdk.validateNumber)(properties.delayInSeconds)),errors.collect(cdk.propertyValidator("messageGroups",cdk.requiredValidator)(properties.messageGroups)),errors.collect(cdk.propertyValidator("messageGroups",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroups)),errors.wrap('supplied properties not correct for "FulfillmentStartResponseSpecificationProperty"')}function cfnBotFulfillmentStartResponseSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_FulfillmentStartResponseSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),DelayInSeconds:cdk.numberToCloudFormation(properties.delayInSeconds),MessageGroups:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroups)}):properties}function CfnBotFulfillmentStartResponseSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("delayInSeconds","DelayInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.DelayInSeconds)),ret.addPropertyResult("messageGroups","MessageGroups",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroups)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_FulfillmentUpdateResponseSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("frequencyInSeconds",cdk.requiredValidator)(properties.frequencyInSeconds)),errors.collect(cdk.propertyValidator("frequencyInSeconds",cdk.validateNumber)(properties.frequencyInSeconds)),errors.collect(cdk.propertyValidator("messageGroups",cdk.requiredValidator)(properties.messageGroups)),errors.collect(cdk.propertyValidator("messageGroups",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroups)),errors.wrap('supplied properties not correct for "FulfillmentUpdateResponseSpecificationProperty"')}function cfnBotFulfillmentUpdateResponseSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_FulfillmentUpdateResponseSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),FrequencyInSeconds:cdk.numberToCloudFormation(properties.frequencyInSeconds),MessageGroups:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroups)}):properties}function CfnBotFulfillmentUpdateResponseSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("frequencyInSeconds","FrequencyInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.FrequencyInSeconds)),ret.addPropertyResult("messageGroups","MessageGroups",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroups)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_FulfillmentUpdatesSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("active",cdk.requiredValidator)(properties.active)),errors.collect(cdk.propertyValidator("active",cdk.validateBoolean)(properties.active)),errors.collect(cdk.propertyValidator("startResponse",CfnBot_FulfillmentStartResponseSpecificationPropertyValidator)(properties.startResponse)),errors.collect(cdk.propertyValidator("timeoutInSeconds",cdk.validateNumber)(properties.timeoutInSeconds)),errors.collect(cdk.propertyValidator("updateResponse",CfnBot_FulfillmentUpdateResponseSpecificationPropertyValidator)(properties.updateResponse)),errors.wrap('supplied properties not correct for "FulfillmentUpdatesSpecificationProperty"')}function cfnBotFulfillmentUpdatesSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_FulfillmentUpdatesSpecificationPropertyValidator(properties).assertSuccess(),{Active:cdk.booleanToCloudFormation(properties.active),StartResponse:cfnBotFulfillmentStartResponseSpecificationPropertyToCloudFormation(properties.startResponse),TimeoutInSeconds:cdk.numberToCloudFormation(properties.timeoutInSeconds),UpdateResponse:cfnBotFulfillmentUpdateResponseSpecificationPropertyToCloudFormation(properties.updateResponse)}):properties}function CfnBotFulfillmentUpdatesSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("active","Active",cfn_parse.FromCloudFormation.getBoolean(properties.Active)),ret.addPropertyResult("startResponse","StartResponse",properties.StartResponse!=null?CfnBotFulfillmentStartResponseSpecificationPropertyFromCloudFormation(properties.StartResponse):void 0),ret.addPropertyResult("timeoutInSeconds","TimeoutInSeconds",properties.TimeoutInSeconds!=null?cfn_parse.FromCloudFormation.getNumber(properties.TimeoutInSeconds):void 0),ret.addPropertyResult("updateResponse","UpdateResponse",properties.UpdateResponse!=null?CfnBotFulfillmentUpdateResponseSpecificationPropertyFromCloudFormation(properties.UpdateResponse):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_GrammarSlotTypeSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("source",CfnBot_GrammarSlotTypeSourcePropertyValidator)(properties.source)),errors.wrap('supplied properties not correct for "GrammarSlotTypeSettingProperty"')}function cfnBotGrammarSlotTypeSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_GrammarSlotTypeSettingPropertyValidator(properties).assertSuccess(),{Source:cfnBotGrammarSlotTypeSourcePropertyToCloudFormation(properties.source)}):properties}function CfnBotGrammarSlotTypeSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("source","Source",properties.Source!=null?CfnBotGrammarSlotTypeSourcePropertyFromCloudFormation(properties.Source):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_GrammarSlotTypeSourcePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("kmsKeyArn",cdk.validateString)(properties.kmsKeyArn)),errors.collect(cdk.propertyValidator("s3BucketName",cdk.requiredValidator)(properties.s3BucketName)),errors.collect(cdk.propertyValidator("s3BucketName",cdk.validateString)(properties.s3BucketName)),errors.collect(cdk.propertyValidator("s3ObjectKey",cdk.requiredValidator)(properties.s3ObjectKey)),errors.collect(cdk.propertyValidator("s3ObjectKey",cdk.validateString)(properties.s3ObjectKey)),errors.wrap('supplied properties not correct for "GrammarSlotTypeSourceProperty"')}function cfnBotGrammarSlotTypeSourcePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_GrammarSlotTypeSourcePropertyValidator(properties).assertSuccess(),{KmsKeyArn:cdk.stringToCloudFormation(properties.kmsKeyArn),S3BucketName:cdk.stringToCloudFormation(properties.s3BucketName),S3ObjectKey:cdk.stringToCloudFormation(properties.s3ObjectKey)}):properties}function CfnBotGrammarSlotTypeSourcePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("kmsKeyArn","KmsKeyArn",properties.KmsKeyArn!=null?cfn_parse.FromCloudFormation.getString(properties.KmsKeyArn):void 0),ret.addPropertyResult("s3BucketName","S3BucketName",cfn_parse.FromCloudFormation.getString(properties.S3BucketName)),ret.addPropertyResult("s3ObjectKey","S3ObjectKey",cfn_parse.FromCloudFormation.getString(properties.S3ObjectKey)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ImageResponseCardPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("buttons",cdk.listValidator(CfnBot_ButtonPropertyValidator))(properties.buttons)),errors.collect(cdk.propertyValidator("imageUrl",cdk.validateString)(properties.imageUrl)),errors.collect(cdk.propertyValidator("subtitle",cdk.validateString)(properties.subtitle)),errors.collect(cdk.propertyValidator("title",cdk.requiredValidator)(properties.title)),errors.collect(cdk.propertyValidator("title",cdk.validateString)(properties.title)),errors.wrap('supplied properties not correct for "ImageResponseCardProperty"')}function cfnBotImageResponseCardPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ImageResponseCardPropertyValidator(properties).assertSuccess(),{Buttons:cdk.listMapper(cfnBotButtonPropertyToCloudFormation)(properties.buttons),ImageUrl:cdk.stringToCloudFormation(properties.imageUrl),Subtitle:cdk.stringToCloudFormation(properties.subtitle),Title:cdk.stringToCloudFormation(properties.title)}):properties}function CfnBotImageResponseCardPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("buttons","Buttons",properties.Buttons!=null?cfn_parse.FromCloudFormation.getArray(CfnBotButtonPropertyFromCloudFormation)(properties.Buttons):void 0),ret.addPropertyResult("imageUrl","ImageUrl",properties.ImageUrl!=null?cfn_parse.FromCloudFormation.getString(properties.ImageUrl):void 0),ret.addPropertyResult("subtitle","Subtitle",properties.Subtitle!=null?cfn_parse.FromCloudFormation.getString(properties.Subtitle):void 0),ret.addPropertyResult("title","Title",cfn_parse.FromCloudFormation.getString(properties.Title)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_InputContextPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),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 "InputContextProperty"')}function cfnBotInputContextPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_InputContextPropertyValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name)}):properties}function CfnBotInputContextPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_IntentPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("dialogCodeHook",CfnBot_DialogCodeHookSettingPropertyValidator)(properties.dialogCodeHook)),errors.collect(cdk.propertyValidator("fulfillmentCodeHook",CfnBot_FulfillmentCodeHookSettingPropertyValidator)(properties.fulfillmentCodeHook)),errors.collect(cdk.propertyValidator("inputContexts",cdk.listValidator(CfnBot_InputContextPropertyValidator))(properties.inputContexts)),errors.collect(cdk.propertyValidator("intentClosingSetting",CfnBot_IntentClosingSettingPropertyValidator)(properties.intentClosingSetting)),errors.collect(cdk.propertyValidator("intentConfirmationSetting",CfnBot_IntentConfirmationSettingPropertyValidator)(properties.intentConfirmationSetting)),errors.collect(cdk.propertyValidator("kendraConfiguration",CfnBot_KendraConfigurationPropertyValidator)(properties.kendraConfiguration)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("outputContexts",cdk.listValidator(CfnBot_OutputContextPropertyValidator))(properties.outputContexts)),errors.collect(cdk.propertyValidator("parentIntentSignature",cdk.validateString)(properties.parentIntentSignature)),errors.collect(cdk.propertyValidator("sampleUtterances",cdk.listValidator(CfnBot_SampleUtterancePropertyValidator))(properties.sampleUtterances)),errors.collect(cdk.propertyValidator("slotPriorities",cdk.listValidator(CfnBot_SlotPriorityPropertyValidator))(properties.slotPriorities)),errors.collect(cdk.propertyValidator("slots",cdk.listValidator(CfnBot_SlotPropertyValidator))(properties.slots)),errors.wrap('supplied properties not correct for "IntentProperty"')}function cfnBotIntentPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_IntentPropertyValidator(properties).assertSuccess(),{Description:cdk.stringToCloudFormation(properties.description),DialogCodeHook:cfnBotDialogCodeHookSettingPropertyToCloudFormation(properties.dialogCodeHook),FulfillmentCodeHook:cfnBotFulfillmentCodeHookSettingPropertyToCloudFormation(properties.fulfillmentCodeHook),InputContexts:cdk.listMapper(cfnBotInputContextPropertyToCloudFormation)(properties.inputContexts),IntentClosingSetting:cfnBotIntentClosingSettingPropertyToCloudFormation(properties.intentClosingSetting),IntentConfirmationSetting:cfnBotIntentConfirmationSettingPropertyToCloudFormation(properties.intentConfirmationSetting),KendraConfiguration:cfnBotKendraConfigurationPropertyToCloudFormation(properties.kendraConfiguration),Name:cdk.stringToCloudFormation(properties.name),OutputContexts:cdk.listMapper(cfnBotOutputContextPropertyToCloudFormation)(properties.outputContexts),ParentIntentSignature:cdk.stringToCloudFormation(properties.parentIntentSignature),SampleUtterances:cdk.listMapper(cfnBotSampleUtterancePropertyToCloudFormation)(properties.sampleUtterances),SlotPriorities:cdk.listMapper(cfnBotSlotPriorityPropertyToCloudFormation)(properties.slotPriorities),Slots:cdk.listMapper(cfnBotSlotPropertyToCloudFormation)(properties.slots)}):properties}function CfnBotIntentPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("dialogCodeHook","DialogCodeHook",properties.DialogCodeHook!=null?CfnBotDialogCodeHookSettingPropertyFromCloudFormation(properties.DialogCodeHook):void 0),ret.addPropertyResult("fulfillmentCodeHook","FulfillmentCodeHook",properties.FulfillmentCodeHook!=null?CfnBotFulfillmentCodeHookSettingPropertyFromCloudFormation(properties.FulfillmentCodeHook):void 0),ret.addPropertyResult("inputContexts","InputContexts",properties.InputContexts!=null?cfn_parse.FromCloudFormation.getArray(CfnBotInputContextPropertyFromCloudFormation)(properties.InputContexts):void 0),ret.addPropertyResult("intentClosingSetting","IntentClosingSetting",properties.IntentClosingSetting!=null?CfnBotIntentClosingSettingPropertyFromCloudFormation(properties.IntentClosingSetting):void 0),ret.addPropertyResult("intentConfirmationSetting","IntentConfirmationSetting",properties.IntentConfirmationSetting!=null?CfnBotIntentConfirmationSettingPropertyFromCloudFormation(properties.IntentConfirmationSetting):void 0),ret.addPropertyResult("kendraConfiguration","KendraConfiguration",properties.KendraConfiguration!=null?CfnBotKendraConfigurationPropertyFromCloudFormation(properties.KendraConfiguration):void 0),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("outputContexts","OutputContexts",properties.OutputContexts!=null?cfn_parse.FromCloudFormation.getArray(CfnBotOutputContextPropertyFromCloudFormation)(properties.OutputContexts):void 0),ret.addPropertyResult("parentIntentSignature","ParentIntentSignature",properties.ParentIntentSignature!=null?cfn_parse.FromCloudFormation.getString(properties.ParentIntentSignature):void 0),ret.addPropertyResult("sampleUtterances","SampleUtterances",properties.SampleUtterances!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSampleUtterancePropertyFromCloudFormation)(properties.SampleUtterances):void 0),ret.addPropertyResult("slotPriorities","SlotPriorities",properties.SlotPriorities!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSlotPriorityPropertyFromCloudFormation)(properties.SlotPriorities):void 0),ret.addPropertyResult("slots","Slots",properties.Slots!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSlotPropertyFromCloudFormation)(properties.Slots):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_IntentClosingSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("closingResponse",cdk.requiredValidator)(properties.closingResponse)),errors.collect(cdk.propertyValidator("closingResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.closingResponse)),errors.collect(cdk.propertyValidator("isActive",cdk.validateBoolean)(properties.isActive)),errors.wrap('supplied properties not correct for "IntentClosingSettingProperty"')}function cfnBotIntentClosingSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_IntentClosingSettingPropertyValidator(properties).assertSuccess(),{ClosingResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.closingResponse),IsActive:cdk.booleanToCloudFormation(properties.isActive)}):properties}function CfnBotIntentClosingSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("closingResponse","ClosingResponse",CfnBotResponseSpecificationPropertyFromCloudFormation(properties.ClosingResponse)),ret.addPropertyResult("isActive","IsActive",properties.IsActive!=null?cfn_parse.FromCloudFormation.getBoolean(properties.IsActive):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_IntentConfirmationSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("declinationResponse",cdk.requiredValidator)(properties.declinationResponse)),errors.collect(cdk.propertyValidator("declinationResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.declinationResponse)),errors.collect(cdk.propertyValidator("isActive",cdk.validateBoolean)(properties.isActive)),errors.collect(cdk.propertyValidator("promptSpecification",cdk.requiredValidator)(properties.promptSpecification)),errors.collect(cdk.propertyValidator("promptSpecification",CfnBot_PromptSpecificationPropertyValidator)(properties.promptSpecification)),errors.wrap('supplied properties not correct for "IntentConfirmationSettingProperty"')}function cfnBotIntentConfirmationSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_IntentConfirmationSettingPropertyValidator(properties).assertSuccess(),{DeclinationResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.declinationResponse),IsActive:cdk.booleanToCloudFormation(properties.isActive),PromptSpecification:cfnBotPromptSpecificationPropertyToCloudFormation(properties.promptSpecification)}):properties}function CfnBotIntentConfirmationSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("declinationResponse","DeclinationResponse",CfnBotResponseSpecificationPropertyFromCloudFormation(properties.DeclinationResponse)),ret.addPropertyResult("isActive","IsActive",properties.IsActive!=null?cfn_parse.FromCloudFormation.getBoolean(properties.IsActive):void 0),ret.addPropertyResult("promptSpecification","PromptSpecification",CfnBotPromptSpecificationPropertyFromCloudFormation(properties.PromptSpecification)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_KendraConfigurationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("kendraIndex",cdk.requiredValidator)(properties.kendraIndex)),errors.collect(cdk.propertyValidator("kendraIndex",cdk.validateString)(properties.kendraIndex)),errors.collect(cdk.propertyValidator("queryFilterString",cdk.validateString)(properties.queryFilterString)),errors.collect(cdk.propertyValidator("queryFilterStringEnabled",cdk.validateBoolean)(properties.queryFilterStringEnabled)),errors.wrap('supplied properties not correct for "KendraConfigurationProperty"')}function cfnBotKendraConfigurationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_KendraConfigurationPropertyValidator(properties).assertSuccess(),{KendraIndex:cdk.stringToCloudFormation(properties.kendraIndex),QueryFilterString:cdk.stringToCloudFormation(properties.queryFilterString),QueryFilterStringEnabled:cdk.booleanToCloudFormation(properties.queryFilterStringEnabled)}):properties}function CfnBotKendraConfigurationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("kendraIndex","KendraIndex",cfn_parse.FromCloudFormation.getString(properties.KendraIndex)),ret.addPropertyResult("queryFilterString","QueryFilterString",properties.QueryFilterString!=null?cfn_parse.FromCloudFormation.getString(properties.QueryFilterString):void 0),ret.addPropertyResult("queryFilterStringEnabled","QueryFilterStringEnabled",properties.QueryFilterStringEnabled!=null?cfn_parse.FromCloudFormation.getBoolean(properties.QueryFilterStringEnabled):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_LambdaCodeHookPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("codeHookInterfaceVersion",cdk.requiredValidator)(properties.codeHookInterfaceVersion)),errors.collect(cdk.propertyValidator("codeHookInterfaceVersion",cdk.validateString)(properties.codeHookInterfaceVersion)),errors.collect(cdk.propertyValidator("lambdaArn",cdk.requiredValidator)(properties.lambdaArn)),errors.collect(cdk.propertyValidator("lambdaArn",cdk.validateString)(properties.lambdaArn)),errors.wrap('supplied properties not correct for "LambdaCodeHookProperty"')}function cfnBotLambdaCodeHookPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_LambdaCodeHookPropertyValidator(properties).assertSuccess(),{CodeHookInterfaceVersion:cdk.stringToCloudFormation(properties.codeHookInterfaceVersion),LambdaArn:cdk.stringToCloudFormation(properties.lambdaArn)}):properties}function CfnBotLambdaCodeHookPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("codeHookInterfaceVersion","CodeHookInterfaceVersion",cfn_parse.FromCloudFormation.getString(properties.CodeHookInterfaceVersion)),ret.addPropertyResult("lambdaArn","LambdaArn",cfn_parse.FromCloudFormation.getString(properties.LambdaArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_MessagePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("customPayload",CfnBot_CustomPayloadPropertyValidator)(properties.customPayload)),errors.collect(cdk.propertyValidator("imageResponseCard",CfnBot_ImageResponseCardPropertyValidator)(properties.imageResponseCard)),errors.collect(cdk.propertyValidator("plainTextMessage",CfnBot_PlainTextMessagePropertyValidator)(properties.plainTextMessage)),errors.collect(cdk.propertyValidator("ssmlMessage",CfnBot_SSMLMessagePropertyValidator)(properties.ssmlMessage)),errors.wrap('supplied properties not correct for "MessageProperty"')}function cfnBotMessagePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_MessagePropertyValidator(properties).assertSuccess(),{CustomPayload:cfnBotCustomPayloadPropertyToCloudFormation(properties.customPayload),ImageResponseCard:cfnBotImageResponseCardPropertyToCloudFormation(properties.imageResponseCard),PlainTextMessage:cfnBotPlainTextMessagePropertyToCloudFormation(properties.plainTextMessage),SSMLMessage:cfnBotSSMLMessagePropertyToCloudFormation(properties.ssmlMessage)}):properties}function CfnBotMessagePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("customPayload","CustomPayload",properties.CustomPayload!=null?CfnBotCustomPayloadPropertyFromCloudFormation(properties.CustomPayload):void 0),ret.addPropertyResult("imageResponseCard","ImageResponseCard",properties.ImageResponseCard!=null?CfnBotImageResponseCardPropertyFromCloudFormation(properties.ImageResponseCard):void 0),ret.addPropertyResult("plainTextMessage","PlainTextMessage",properties.PlainTextMessage!=null?CfnBotPlainTextMessagePropertyFromCloudFormation(properties.PlainTextMessage):void 0),ret.addPropertyResult("ssmlMessage","SSMLMessage",properties.SSMLMessage!=null?CfnBotSSMLMessagePropertyFromCloudFormation(properties.SSMLMessage):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_MessageGroupPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("message",cdk.requiredValidator)(properties.message)),errors.collect(cdk.propertyValidator("message",CfnBot_MessagePropertyValidator)(properties.message)),errors.collect(cdk.propertyValidator("variations",cdk.listValidator(CfnBot_MessagePropertyValidator))(properties.variations)),errors.wrap('supplied properties not correct for "MessageGroupProperty"')}function cfnBotMessageGroupPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_MessageGroupPropertyValidator(properties).assertSuccess(),{Message:cfnBotMessagePropertyToCloudFormation(properties.message),Variations:cdk.listMapper(cfnBotMessagePropertyToCloudFormation)(properties.variations)}):properties}function CfnBotMessageGroupPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("message","Message",CfnBotMessagePropertyFromCloudFormation(properties.Message)),ret.addPropertyResult("variations","Variations",properties.Variations!=null?cfn_parse.FromCloudFormation.getArray(CfnBotMessagePropertyFromCloudFormation)(properties.Variations):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_MultipleValuesSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowMultipleValues",cdk.validateBoolean)(properties.allowMultipleValues)),errors.wrap('supplied properties not correct for "MultipleValuesSettingProperty"')}function cfnBotMultipleValuesSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_MultipleValuesSettingPropertyValidator(properties).assertSuccess(),{AllowMultipleValues:cdk.booleanToCloudFormation(properties.allowMultipleValues)}):properties}function CfnBotMultipleValuesSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowMultipleValues","AllowMultipleValues",properties.AllowMultipleValues!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowMultipleValues):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ObfuscationSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("obfuscationSettingType",cdk.requiredValidator)(properties.obfuscationSettingType)),errors.collect(cdk.propertyValidator("obfuscationSettingType",cdk.validateString)(properties.obfuscationSettingType)),errors.wrap('supplied properties not correct for "ObfuscationSettingProperty"')}function cfnBotObfuscationSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ObfuscationSettingPropertyValidator(properties).assertSuccess(),{ObfuscationSettingType:cdk.stringToCloudFormation(properties.obfuscationSettingType)}):properties}function CfnBotObfuscationSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("obfuscationSettingType","ObfuscationSettingType",cfn_parse.FromCloudFormation.getString(properties.ObfuscationSettingType)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_OutputContextPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("timeToLiveInSeconds",cdk.requiredValidator)(properties.timeToLiveInSeconds)),errors.collect(cdk.propertyValidator("timeToLiveInSeconds",cdk.validateNumber)(properties.timeToLiveInSeconds)),errors.collect(cdk.propertyValidator("turnsToLive",cdk.requiredValidator)(properties.turnsToLive)),errors.collect(cdk.propertyValidator("turnsToLive",cdk.validateNumber)(properties.turnsToLive)),errors.wrap('supplied properties not correct for "OutputContextProperty"')}function cfnBotOutputContextPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_OutputContextPropertyValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name),TimeToLiveInSeconds:cdk.numberToCloudFormation(properties.timeToLiveInSeconds),TurnsToLive:cdk.numberToCloudFormation(properties.turnsToLive)}):properties}function CfnBotOutputContextPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("timeToLiveInSeconds","TimeToLiveInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.TimeToLiveInSeconds)),ret.addPropertyResult("turnsToLive","TurnsToLive",cfn_parse.FromCloudFormation.getNumber(properties.TurnsToLive)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_PlainTextMessagePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "PlainTextMessageProperty"')}function cfnBotPlainTextMessagePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_PlainTextMessagePropertyValidator(properties).assertSuccess(),{Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotPlainTextMessagePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_PostFulfillmentStatusSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("failureResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.failureResponse)),errors.collect(cdk.propertyValidator("successResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.successResponse)),errors.collect(cdk.propertyValidator("timeoutResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.timeoutResponse)),errors.wrap('supplied properties not correct for "PostFulfillmentStatusSpecificationProperty"')}function cfnBotPostFulfillmentStatusSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_PostFulfillmentStatusSpecificationPropertyValidator(properties).assertSuccess(),{FailureResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.failureResponse),SuccessResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.successResponse),TimeoutResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.timeoutResponse)}):properties}function CfnBotPostFulfillmentStatusSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("failureResponse","FailureResponse",properties.FailureResponse!=null?CfnBotResponseSpecificationPropertyFromCloudFormation(properties.FailureResponse):void 0),ret.addPropertyResult("successResponse","SuccessResponse",properties.SuccessResponse!=null?CfnBotResponseSpecificationPropertyFromCloudFormation(properties.SuccessResponse):void 0),ret.addPropertyResult("timeoutResponse","TimeoutResponse",properties.TimeoutResponse!=null?CfnBotResponseSpecificationPropertyFromCloudFormation(properties.TimeoutResponse):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_PromptAttemptSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("allowedInputTypes",cdk.requiredValidator)(properties.allowedInputTypes)),errors.collect(cdk.propertyValidator("allowedInputTypes",CfnBot_AllowedInputTypesPropertyValidator)(properties.allowedInputTypes)),errors.collect(cdk.propertyValidator("audioAndDtmfInputSpecification",CfnBot_AudioAndDTMFInputSpecificationPropertyValidator)(properties.audioAndDtmfInputSpecification)),errors.collect(cdk.propertyValidator("textInputSpecification",CfnBot_TextInputSpecificationPropertyValidator)(properties.textInputSpecification)),errors.wrap('supplied properties not correct for "PromptAttemptSpecificationProperty"')}function cfnBotPromptAttemptSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_PromptAttemptSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),AllowedInputTypes:cfnBotAllowedInputTypesPropertyToCloudFormation(properties.allowedInputTypes),AudioAndDTMFInputSpecification:cfnBotAudioAndDTMFInputSpecificationPropertyToCloudFormation(properties.audioAndDtmfInputSpecification),TextInputSpecification:cfnBotTextInputSpecificationPropertyToCloudFormation(properties.textInputSpecification)}):properties}function CfnBotPromptAttemptSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("allowedInputTypes","AllowedInputTypes",CfnBotAllowedInputTypesPropertyFromCloudFormation(properties.AllowedInputTypes)),ret.addPropertyResult("audioAndDtmfInputSpecification","AudioAndDTMFInputSpecification",properties.AudioAndDTMFInputSpecification!=null?CfnBotAudioAndDTMFInputSpecificationPropertyFromCloudFormation(properties.AudioAndDTMFInputSpecification):void 0),ret.addPropertyResult("textInputSpecification","TextInputSpecification",properties.TextInputSpecification!=null?CfnBotTextInputSpecificationPropertyFromCloudFormation(properties.TextInputSpecification):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_PromptSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("maxRetries",cdk.requiredValidator)(properties.maxRetries)),errors.collect(cdk.propertyValidator("maxRetries",cdk.validateNumber)(properties.maxRetries)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.requiredValidator)(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("messageSelectionStrategy",cdk.validateString)(properties.messageSelectionStrategy)),errors.collect(cdk.propertyValidator("promptAttemptsSpecification",cdk.hashValidator(CfnBot_PromptAttemptSpecificationPropertyValidator))(properties.promptAttemptsSpecification)),errors.wrap('supplied properties not correct for "PromptSpecificationProperty"')}function cfnBotPromptSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_PromptSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),MaxRetries:cdk.numberToCloudFormation(properties.maxRetries),MessageGroupsList:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroupsList),MessageSelectionStrategy:cdk.stringToCloudFormation(properties.messageSelectionStrategy),PromptAttemptsSpecification:cdk.hashMapper(cfnBotPromptAttemptSpecificationPropertyToCloudFormation)(properties.promptAttemptsSpecification)}):properties}function CfnBotPromptSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("maxRetries","MaxRetries",cfn_parse.FromCloudFormation.getNumber(properties.MaxRetries)),ret.addPropertyResult("messageGroupsList","MessageGroupsList",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroupsList)),ret.addPropertyResult("messageSelectionStrategy","MessageSelectionStrategy",properties.MessageSelectionStrategy!=null?cfn_parse.FromCloudFormation.getString(properties.MessageSelectionStrategy):void 0),ret.addPropertyResult("promptAttemptsSpecification","PromptAttemptsSpecification",properties.PromptAttemptsSpecification!=null?cfn_parse.FromCloudFormation.getMap(CfnBotPromptAttemptSpecificationPropertyFromCloudFormation)(properties.PromptAttemptsSpecification):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_ResponseSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.requiredValidator)(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroupsList)),errors.wrap('supplied properties not correct for "ResponseSpecificationProperty"')}function cfnBotResponseSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_ResponseSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),MessageGroupsList:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroupsList)}):properties}function CfnBotResponseSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("messageGroupsList","MessageGroupsList",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroupsList)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_S3BucketLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("kmsKeyArn",cdk.validateString)(properties.kmsKeyArn)),errors.collect(cdk.propertyValidator("logPrefix",cdk.requiredValidator)(properties.logPrefix)),errors.collect(cdk.propertyValidator("logPrefix",cdk.validateString)(properties.logPrefix)),errors.collect(cdk.propertyValidator("s3BucketArn",cdk.requiredValidator)(properties.s3BucketArn)),errors.collect(cdk.propertyValidator("s3BucketArn",cdk.validateString)(properties.s3BucketArn)),errors.wrap('supplied properties not correct for "S3BucketLogDestinationProperty"')}function cfnBotS3BucketLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_S3BucketLogDestinationPropertyValidator(properties).assertSuccess(),{KmsKeyArn:cdk.stringToCloudFormation(properties.kmsKeyArn),LogPrefix:cdk.stringToCloudFormation(properties.logPrefix),S3BucketArn:cdk.stringToCloudFormation(properties.s3BucketArn)}):properties}function CfnBotS3BucketLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("kmsKeyArn","KmsKeyArn",properties.KmsKeyArn!=null?cfn_parse.FromCloudFormation.getString(properties.KmsKeyArn):void 0),ret.addPropertyResult("logPrefix","LogPrefix",cfn_parse.FromCloudFormation.getString(properties.LogPrefix)),ret.addPropertyResult("s3BucketArn","S3BucketArn",cfn_parse.FromCloudFormation.getString(properties.S3BucketArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_S3LocationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("s3Bucket",cdk.requiredValidator)(properties.s3Bucket)),errors.collect(cdk.propertyValidator("s3Bucket",cdk.validateString)(properties.s3Bucket)),errors.collect(cdk.propertyValidator("s3ObjectKey",cdk.requiredValidator)(properties.s3ObjectKey)),errors.collect(cdk.propertyValidator("s3ObjectKey",cdk.validateString)(properties.s3ObjectKey)),errors.collect(cdk.propertyValidator("s3ObjectVersion",cdk.validateString)(properties.s3ObjectVersion)),errors.wrap('supplied properties not correct for "S3LocationProperty"')}function cfnBotS3LocationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_S3LocationPropertyValidator(properties).assertSuccess(),{S3Bucket:cdk.stringToCloudFormation(properties.s3Bucket),S3ObjectKey:cdk.stringToCloudFormation(properties.s3ObjectKey),S3ObjectVersion:cdk.stringToCloudFormation(properties.s3ObjectVersion)}):properties}function CfnBotS3LocationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("s3Bucket","S3Bucket",cfn_parse.FromCloudFormation.getString(properties.S3Bucket)),ret.addPropertyResult("s3ObjectKey","S3ObjectKey",cfn_parse.FromCloudFormation.getString(properties.S3ObjectKey)),ret.addPropertyResult("s3ObjectVersion","S3ObjectVersion",properties.S3ObjectVersion!=null?cfn_parse.FromCloudFormation.getString(properties.S3ObjectVersion):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SSMLMessagePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "SSMLMessageProperty"')}function cfnBotSSMLMessagePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SSMLMessagePropertyValidator(properties).assertSuccess(),{Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotSSMLMessagePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SampleUtterancePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("utterance",cdk.requiredValidator)(properties.utterance)),errors.collect(cdk.propertyValidator("utterance",cdk.validateString)(properties.utterance)),errors.wrap('supplied properties not correct for "SampleUtteranceProperty"')}function cfnBotSampleUtterancePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SampleUtterancePropertyValidator(properties).assertSuccess(),{Utterance:cdk.stringToCloudFormation(properties.utterance)}):properties}function CfnBotSampleUtterancePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("utterance","Utterance",cfn_parse.FromCloudFormation.getString(properties.Utterance)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SampleValuePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("value",cdk.requiredValidator)(properties.value)),errors.collect(cdk.propertyValidator("value",cdk.validateString)(properties.value)),errors.wrap('supplied properties not correct for "SampleValueProperty"')}function cfnBotSampleValuePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SampleValuePropertyValidator(properties).assertSuccess(),{Value:cdk.stringToCloudFormation(properties.value)}):properties}function CfnBotSampleValuePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("value","Value",cfn_parse.FromCloudFormation.getString(properties.Value)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("multipleValuesSetting",CfnBot_MultipleValuesSettingPropertyValidator)(properties.multipleValuesSetting)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("obfuscationSetting",CfnBot_ObfuscationSettingPropertyValidator)(properties.obfuscationSetting)),errors.collect(cdk.propertyValidator("slotTypeName",cdk.requiredValidator)(properties.slotTypeName)),errors.collect(cdk.propertyValidator("slotTypeName",cdk.validateString)(properties.slotTypeName)),errors.collect(cdk.propertyValidator("valueElicitationSetting",cdk.requiredValidator)(properties.valueElicitationSetting)),errors.collect(cdk.propertyValidator("valueElicitationSetting",CfnBot_SlotValueElicitationSettingPropertyValidator)(properties.valueElicitationSetting)),errors.wrap('supplied properties not correct for "SlotProperty"')}function cfnBotSlotPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotPropertyValidator(properties).assertSuccess(),{Description:cdk.stringToCloudFormation(properties.description),MultipleValuesSetting:cfnBotMultipleValuesSettingPropertyToCloudFormation(properties.multipleValuesSetting),Name:cdk.stringToCloudFormation(properties.name),ObfuscationSetting:cfnBotObfuscationSettingPropertyToCloudFormation(properties.obfuscationSetting),SlotTypeName:cdk.stringToCloudFormation(properties.slotTypeName),ValueElicitationSetting:cfnBotSlotValueElicitationSettingPropertyToCloudFormation(properties.valueElicitationSetting)}):properties}function CfnBotSlotPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("multipleValuesSetting","MultipleValuesSetting",properties.MultipleValuesSetting!=null?CfnBotMultipleValuesSettingPropertyFromCloudFormation(properties.MultipleValuesSetting):void 0),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("obfuscationSetting","ObfuscationSetting",properties.ObfuscationSetting!=null?CfnBotObfuscationSettingPropertyFromCloudFormation(properties.ObfuscationSetting):void 0),ret.addPropertyResult("slotTypeName","SlotTypeName",cfn_parse.FromCloudFormation.getString(properties.SlotTypeName)),ret.addPropertyResult("valueElicitationSetting","ValueElicitationSetting",CfnBotSlotValueElicitationSettingPropertyFromCloudFormation(properties.ValueElicitationSetting)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotDefaultValuePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("defaultValue",cdk.requiredValidator)(properties.defaultValue)),errors.collect(cdk.propertyValidator("defaultValue",cdk.validateString)(properties.defaultValue)),errors.wrap('supplied properties not correct for "SlotDefaultValueProperty"')}function cfnBotSlotDefaultValuePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotDefaultValuePropertyValidator(properties).assertSuccess(),{DefaultValue:cdk.stringToCloudFormation(properties.defaultValue)}):properties}function CfnBotSlotDefaultValuePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("defaultValue","DefaultValue",cfn_parse.FromCloudFormation.getString(properties.DefaultValue)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotDefaultValueSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("defaultValueList",cdk.requiredValidator)(properties.defaultValueList)),errors.collect(cdk.propertyValidator("defaultValueList",cdk.listValidator(CfnBot_SlotDefaultValuePropertyValidator))(properties.defaultValueList)),errors.wrap('supplied properties not correct for "SlotDefaultValueSpecificationProperty"')}function cfnBotSlotDefaultValueSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotDefaultValueSpecificationPropertyValidator(properties).assertSuccess(),{DefaultValueList:cdk.listMapper(cfnBotSlotDefaultValuePropertyToCloudFormation)(properties.defaultValueList)}):properties}function CfnBotSlotDefaultValueSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("defaultValueList","DefaultValueList",cfn_parse.FromCloudFormation.getArray(CfnBotSlotDefaultValuePropertyFromCloudFormation)(properties.DefaultValueList)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotPriorityPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("priority",cdk.requiredValidator)(properties.priority)),errors.collect(cdk.propertyValidator("priority",cdk.validateNumber)(properties.priority)),errors.collect(cdk.propertyValidator("slotName",cdk.requiredValidator)(properties.slotName)),errors.collect(cdk.propertyValidator("slotName",cdk.validateString)(properties.slotName)),errors.wrap('supplied properties not correct for "SlotPriorityProperty"')}function cfnBotSlotPriorityPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotPriorityPropertyValidator(properties).assertSuccess(),{Priority:cdk.numberToCloudFormation(properties.priority),SlotName:cdk.stringToCloudFormation(properties.slotName)}):properties}function CfnBotSlotPriorityPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("priority","Priority",cfn_parse.FromCloudFormation.getNumber(properties.Priority)),ret.addPropertyResult("slotName","SlotName",cfn_parse.FromCloudFormation.getString(properties.SlotName)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotTypePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("externalSourceSetting",CfnBot_ExternalSourceSettingPropertyValidator)(properties.externalSourceSetting)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("parentSlotTypeSignature",cdk.validateString)(properties.parentSlotTypeSignature)),errors.collect(cdk.propertyValidator("slotTypeValues",cdk.listValidator(CfnBot_SlotTypeValuePropertyValidator))(properties.slotTypeValues)),errors.collect(cdk.propertyValidator("valueSelectionSetting",CfnBot_SlotValueSelectionSettingPropertyValidator)(properties.valueSelectionSetting)),errors.wrap('supplied properties not correct for "SlotTypeProperty"')}function cfnBotSlotTypePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotTypePropertyValidator(properties).assertSuccess(),{Description:cdk.stringToCloudFormation(properties.description),ExternalSourceSetting:cfnBotExternalSourceSettingPropertyToCloudFormation(properties.externalSourceSetting),Name:cdk.stringToCloudFormation(properties.name),ParentSlotTypeSignature:cdk.stringToCloudFormation(properties.parentSlotTypeSignature),SlotTypeValues:cdk.listMapper(cfnBotSlotTypeValuePropertyToCloudFormation)(properties.slotTypeValues),ValueSelectionSetting:cfnBotSlotValueSelectionSettingPropertyToCloudFormation(properties.valueSelectionSetting)}):properties}function CfnBotSlotTypePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("externalSourceSetting","ExternalSourceSetting",properties.ExternalSourceSetting!=null?CfnBotExternalSourceSettingPropertyFromCloudFormation(properties.ExternalSourceSetting):void 0),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("parentSlotTypeSignature","ParentSlotTypeSignature",properties.ParentSlotTypeSignature!=null?cfn_parse.FromCloudFormation.getString(properties.ParentSlotTypeSignature):void 0),ret.addPropertyResult("slotTypeValues","SlotTypeValues",properties.SlotTypeValues!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSlotTypeValuePropertyFromCloudFormation)(properties.SlotTypeValues):void 0),ret.addPropertyResult("valueSelectionSetting","ValueSelectionSetting",properties.ValueSelectionSetting!=null?CfnBotSlotValueSelectionSettingPropertyFromCloudFormation(properties.ValueSelectionSetting):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotTypeValuePropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("sampleValue",cdk.requiredValidator)(properties.sampleValue)),errors.collect(cdk.propertyValidator("sampleValue",CfnBot_SampleValuePropertyValidator)(properties.sampleValue)),errors.collect(cdk.propertyValidator("synonyms",cdk.listValidator(CfnBot_SampleValuePropertyValidator))(properties.synonyms)),errors.wrap('supplied properties not correct for "SlotTypeValueProperty"')}function cfnBotSlotTypeValuePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotTypeValuePropertyValidator(properties).assertSuccess(),{SampleValue:cfnBotSampleValuePropertyToCloudFormation(properties.sampleValue),Synonyms:cdk.listMapper(cfnBotSampleValuePropertyToCloudFormation)(properties.synonyms)}):properties}function CfnBotSlotTypeValuePropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("sampleValue","SampleValue",CfnBotSampleValuePropertyFromCloudFormation(properties.SampleValue)),ret.addPropertyResult("synonyms","Synonyms",properties.Synonyms!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSampleValuePropertyFromCloudFormation)(properties.Synonyms):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotValueElicitationSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("defaultValueSpecification",CfnBot_SlotDefaultValueSpecificationPropertyValidator)(properties.defaultValueSpecification)),errors.collect(cdk.propertyValidator("promptSpecification",CfnBot_PromptSpecificationPropertyValidator)(properties.promptSpecification)),errors.collect(cdk.propertyValidator("sampleUtterances",cdk.listValidator(CfnBot_SampleUtterancePropertyValidator))(properties.sampleUtterances)),errors.collect(cdk.propertyValidator("slotConstraint",cdk.requiredValidator)(properties.slotConstraint)),errors.collect(cdk.propertyValidator("slotConstraint",cdk.validateString)(properties.slotConstraint)),errors.collect(cdk.propertyValidator("waitAndContinueSpecification",CfnBot_WaitAndContinueSpecificationPropertyValidator)(properties.waitAndContinueSpecification)),errors.wrap('supplied properties not correct for "SlotValueElicitationSettingProperty"')}function cfnBotSlotValueElicitationSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotValueElicitationSettingPropertyValidator(properties).assertSuccess(),{DefaultValueSpecification:cfnBotSlotDefaultValueSpecificationPropertyToCloudFormation(properties.defaultValueSpecification),PromptSpecification:cfnBotPromptSpecificationPropertyToCloudFormation(properties.promptSpecification),SampleUtterances:cdk.listMapper(cfnBotSampleUtterancePropertyToCloudFormation)(properties.sampleUtterances),SlotConstraint:cdk.stringToCloudFormation(properties.slotConstraint),WaitAndContinueSpecification:cfnBotWaitAndContinueSpecificationPropertyToCloudFormation(properties.waitAndContinueSpecification)}):properties}function CfnBotSlotValueElicitationSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("defaultValueSpecification","DefaultValueSpecification",properties.DefaultValueSpecification!=null?CfnBotSlotDefaultValueSpecificationPropertyFromCloudFormation(properties.DefaultValueSpecification):void 0),ret.addPropertyResult("promptSpecification","PromptSpecification",properties.PromptSpecification!=null?CfnBotPromptSpecificationPropertyFromCloudFormation(properties.PromptSpecification):void 0),ret.addPropertyResult("sampleUtterances","SampleUtterances",properties.SampleUtterances!=null?cfn_parse.FromCloudFormation.getArray(CfnBotSampleUtterancePropertyFromCloudFormation)(properties.SampleUtterances):void 0),ret.addPropertyResult("slotConstraint","SlotConstraint",cfn_parse.FromCloudFormation.getString(properties.SlotConstraint)),ret.addPropertyResult("waitAndContinueSpecification","WaitAndContinueSpecification",properties.WaitAndContinueSpecification!=null?CfnBotWaitAndContinueSpecificationPropertyFromCloudFormation(properties.WaitAndContinueSpecification):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotValueRegexFilterPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("pattern",cdk.requiredValidator)(properties.pattern)),errors.collect(cdk.propertyValidator("pattern",cdk.validateString)(properties.pattern)),errors.wrap('supplied properties not correct for "SlotValueRegexFilterProperty"')}function cfnBotSlotValueRegexFilterPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotValueRegexFilterPropertyValidator(properties).assertSuccess(),{Pattern:cdk.stringToCloudFormation(properties.pattern)}):properties}function CfnBotSlotValueRegexFilterPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("pattern","Pattern",cfn_parse.FromCloudFormation.getString(properties.Pattern)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_SlotValueSelectionSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("advancedRecognitionSetting",CfnBot_AdvancedRecognitionSettingPropertyValidator)(properties.advancedRecognitionSetting)),errors.collect(cdk.propertyValidator("regexFilter",CfnBot_SlotValueRegexFilterPropertyValidator)(properties.regexFilter)),errors.collect(cdk.propertyValidator("resolutionStrategy",cdk.requiredValidator)(properties.resolutionStrategy)),errors.collect(cdk.propertyValidator("resolutionStrategy",cdk.validateString)(properties.resolutionStrategy)),errors.wrap('supplied properties not correct for "SlotValueSelectionSettingProperty"')}function cfnBotSlotValueSelectionSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_SlotValueSelectionSettingPropertyValidator(properties).assertSuccess(),{AdvancedRecognitionSetting:cfnBotAdvancedRecognitionSettingPropertyToCloudFormation(properties.advancedRecognitionSetting),RegexFilter:cfnBotSlotValueRegexFilterPropertyToCloudFormation(properties.regexFilter),ResolutionStrategy:cdk.stringToCloudFormation(properties.resolutionStrategy)}):properties}function CfnBotSlotValueSelectionSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("advancedRecognitionSetting","AdvancedRecognitionSetting",properties.AdvancedRecognitionSetting!=null?CfnBotAdvancedRecognitionSettingPropertyFromCloudFormation(properties.AdvancedRecognitionSetting):void 0),ret.addPropertyResult("regexFilter","RegexFilter",properties.RegexFilter!=null?CfnBotSlotValueRegexFilterPropertyFromCloudFormation(properties.RegexFilter):void 0),ret.addPropertyResult("resolutionStrategy","ResolutionStrategy",cfn_parse.FromCloudFormation.getString(properties.ResolutionStrategy)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_StillWaitingResponseSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("allowInterrupt",cdk.validateBoolean)(properties.allowInterrupt)),errors.collect(cdk.propertyValidator("frequencyInSeconds",cdk.requiredValidator)(properties.frequencyInSeconds)),errors.collect(cdk.propertyValidator("frequencyInSeconds",cdk.validateNumber)(properties.frequencyInSeconds)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.requiredValidator)(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("messageGroupsList",cdk.listValidator(CfnBot_MessageGroupPropertyValidator))(properties.messageGroupsList)),errors.collect(cdk.propertyValidator("timeoutInSeconds",cdk.requiredValidator)(properties.timeoutInSeconds)),errors.collect(cdk.propertyValidator("timeoutInSeconds",cdk.validateNumber)(properties.timeoutInSeconds)),errors.wrap('supplied properties not correct for "StillWaitingResponseSpecificationProperty"')}function cfnBotStillWaitingResponseSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_StillWaitingResponseSpecificationPropertyValidator(properties).assertSuccess(),{AllowInterrupt:cdk.booleanToCloudFormation(properties.allowInterrupt),FrequencyInSeconds:cdk.numberToCloudFormation(properties.frequencyInSeconds),MessageGroupsList:cdk.listMapper(cfnBotMessageGroupPropertyToCloudFormation)(properties.messageGroupsList),TimeoutInSeconds:cdk.numberToCloudFormation(properties.timeoutInSeconds)}):properties}function CfnBotStillWaitingResponseSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("allowInterrupt","AllowInterrupt",properties.AllowInterrupt!=null?cfn_parse.FromCloudFormation.getBoolean(properties.AllowInterrupt):void 0),ret.addPropertyResult("frequencyInSeconds","FrequencyInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.FrequencyInSeconds)),ret.addPropertyResult("messageGroupsList","MessageGroupsList",cfn_parse.FromCloudFormation.getArray(CfnBotMessageGroupPropertyFromCloudFormation)(properties.MessageGroupsList)),ret.addPropertyResult("timeoutInSeconds","TimeoutInSeconds",cfn_parse.FromCloudFormation.getNumber(properties.TimeoutInSeconds)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_TestBotAliasSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botAliasLocaleSettings",cdk.listValidator(CfnBot_BotAliasLocaleSettingsItemPropertyValidator))(properties.botAliasLocaleSettings)),errors.collect(cdk.propertyValidator("conversationLogSettings",CfnBot_ConversationLogSettingsPropertyValidator)(properties.conversationLogSettings)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("sentimentAnalysisSettings",cdk.validateObject)(properties.sentimentAnalysisSettings)),errors.wrap('supplied properties not correct for "TestBotAliasSettingsProperty"')}function cfnBotTestBotAliasSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_TestBotAliasSettingsPropertyValidator(properties).assertSuccess(),{BotAliasLocaleSettings:cdk.listMapper(cfnBotBotAliasLocaleSettingsItemPropertyToCloudFormation)(properties.botAliasLocaleSettings),ConversationLogSettings:cfnBotConversationLogSettingsPropertyToCloudFormation(properties.conversationLogSettings),Description:cdk.stringToCloudFormation(properties.description),SentimentAnalysisSettings:cdk.objectToCloudFormation(properties.sentimentAnalysisSettings)}):properties}function CfnBotTestBotAliasSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botAliasLocaleSettings","BotAliasLocaleSettings",properties.BotAliasLocaleSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotBotAliasLocaleSettingsItemPropertyFromCloudFormation)(properties.BotAliasLocaleSettings):void 0),ret.addPropertyResult("conversationLogSettings","ConversationLogSettings",properties.ConversationLogSettings!=null?CfnBotConversationLogSettingsPropertyFromCloudFormation(properties.ConversationLogSettings):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("sentimentAnalysisSettings","SentimentAnalysisSettings",properties.SentimentAnalysisSettings!=null?cfn_parse.FromCloudFormation.getAny(properties.SentimentAnalysisSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_TextInputSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("startTimeoutMs",cdk.requiredValidator)(properties.startTimeoutMs)),errors.collect(cdk.propertyValidator("startTimeoutMs",cdk.validateNumber)(properties.startTimeoutMs)),errors.wrap('supplied properties not correct for "TextInputSpecificationProperty"')}function cfnBotTextInputSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_TextInputSpecificationPropertyValidator(properties).assertSuccess(),{StartTimeoutMs:cdk.numberToCloudFormation(properties.startTimeoutMs)}):properties}function CfnBotTextInputSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("startTimeoutMs","StartTimeoutMs",cfn_parse.FromCloudFormation.getNumber(properties.StartTimeoutMs)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_TextLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("cloudWatch",cdk.requiredValidator)(properties.cloudWatch)),errors.collect(cdk.propertyValidator("cloudWatch",CfnBot_CloudWatchLogGroupLogDestinationPropertyValidator)(properties.cloudWatch)),errors.wrap('supplied properties not correct for "TextLogDestinationProperty"')}function cfnBotTextLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_TextLogDestinationPropertyValidator(properties).assertSuccess(),{CloudWatch:cfnBotCloudWatchLogGroupLogDestinationPropertyToCloudFormation(properties.cloudWatch)}):properties}function CfnBotTextLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("cloudWatch","CloudWatch",CfnBotCloudWatchLogGroupLogDestinationPropertyFromCloudFormation(properties.CloudWatch)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_TextLogSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("destination",cdk.requiredValidator)(properties.destination)),errors.collect(cdk.propertyValidator("destination",CfnBot_TextLogDestinationPropertyValidator)(properties.destination)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "TextLogSettingProperty"')}function cfnBotTextLogSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_TextLogSettingPropertyValidator(properties).assertSuccess(),{Destination:cfnBotTextLogDestinationPropertyToCloudFormation(properties.destination),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotTextLogSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("destination","Destination",CfnBotTextLogDestinationPropertyFromCloudFormation(properties.Destination)),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_VoiceSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("engine",cdk.validateString)(properties.engine)),errors.collect(cdk.propertyValidator("voiceId",cdk.requiredValidator)(properties.voiceId)),errors.collect(cdk.propertyValidator("voiceId",cdk.validateString)(properties.voiceId)),errors.wrap('supplied properties not correct for "VoiceSettingsProperty"')}function cfnBotVoiceSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_VoiceSettingsPropertyValidator(properties).assertSuccess(),{Engine:cdk.stringToCloudFormation(properties.engine),VoiceId:cdk.stringToCloudFormation(properties.voiceId)}):properties}function CfnBotVoiceSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("engine","Engine",properties.Engine!=null?cfn_parse.FromCloudFormation.getString(properties.Engine):void 0),ret.addPropertyResult("voiceId","VoiceId",cfn_parse.FromCloudFormation.getString(properties.VoiceId)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBot_WaitAndContinueSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("continueResponse",cdk.requiredValidator)(properties.continueResponse)),errors.collect(cdk.propertyValidator("continueResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.continueResponse)),errors.collect(cdk.propertyValidator("isActive",cdk.validateBoolean)(properties.isActive)),errors.collect(cdk.propertyValidator("stillWaitingResponse",CfnBot_StillWaitingResponseSpecificationPropertyValidator)(properties.stillWaitingResponse)),errors.collect(cdk.propertyValidator("waitingResponse",cdk.requiredValidator)(properties.waitingResponse)),errors.collect(cdk.propertyValidator("waitingResponse",CfnBot_ResponseSpecificationPropertyValidator)(properties.waitingResponse)),errors.wrap('supplied properties not correct for "WaitAndContinueSpecificationProperty"')}function cfnBotWaitAndContinueSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBot_WaitAndContinueSpecificationPropertyValidator(properties).assertSuccess(),{ContinueResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.continueResponse),IsActive:cdk.booleanToCloudFormation(properties.isActive),StillWaitingResponse:cfnBotStillWaitingResponseSpecificationPropertyToCloudFormation(properties.stillWaitingResponse),WaitingResponse:cfnBotResponseSpecificationPropertyToCloudFormation(properties.waitingResponse)}):properties}function CfnBotWaitAndContinueSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("continueResponse","ContinueResponse",CfnBotResponseSpecificationPropertyFromCloudFormation(properties.ContinueResponse)),ret.addPropertyResult("isActive","IsActive",properties.IsActive!=null?cfn_parse.FromCloudFormation.getBoolean(properties.IsActive):void 0),ret.addPropertyResult("stillWaitingResponse","StillWaitingResponse",properties.StillWaitingResponse!=null?CfnBotStillWaitingResponseSpecificationPropertyFromCloudFormation(properties.StillWaitingResponse):void 0),ret.addPropertyResult("waitingResponse","WaitingResponse",CfnBotResponseSpecificationPropertyFromCloudFormation(properties.WaitingResponse)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAliasPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botAliasLocaleSettings",cdk.listValidator(CfnBotAlias_BotAliasLocaleSettingsItemPropertyValidator))(properties.botAliasLocaleSettings)),errors.collect(cdk.propertyValidator("botAliasName",cdk.requiredValidator)(properties.botAliasName)),errors.collect(cdk.propertyValidator("botAliasName",cdk.validateString)(properties.botAliasName)),errors.collect(cdk.propertyValidator("botAliasTags",cdk.listValidator(cdk.validateCfnTag))(properties.botAliasTags)),errors.collect(cdk.propertyValidator("botId",cdk.requiredValidator)(properties.botId)),errors.collect(cdk.propertyValidator("botId",cdk.validateString)(properties.botId)),errors.collect(cdk.propertyValidator("botVersion",cdk.validateString)(properties.botVersion)),errors.collect(cdk.propertyValidator("conversationLogSettings",CfnBotAlias_ConversationLogSettingsPropertyValidator)(properties.conversationLogSettings)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("sentimentAnalysisSettings",cdk.validateObject)(properties.sentimentAnalysisSettings)),errors.wrap('supplied properties not correct for "CfnBotAliasProps"')}function cfnBotAliasPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAliasPropsValidator(properties).assertSuccess(),{BotAliasName:cdk.stringToCloudFormation(properties.botAliasName),BotId:cdk.stringToCloudFormation(properties.botId),BotAliasLocaleSettings:cdk.listMapper(cfnBotAliasBotAliasLocaleSettingsItemPropertyToCloudFormation)(properties.botAliasLocaleSettings),BotAliasTags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.botAliasTags),BotVersion:cdk.stringToCloudFormation(properties.botVersion),ConversationLogSettings:cfnBotAliasConversationLogSettingsPropertyToCloudFormation(properties.conversationLogSettings),Description:cdk.stringToCloudFormation(properties.description),SentimentAnalysisSettings:cdk.objectToCloudFormation(properties.sentimentAnalysisSettings)}):properties}function CfnBotAliasPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botAliasName","BotAliasName",cfn_parse.FromCloudFormation.getString(properties.BotAliasName)),ret.addPropertyResult("botId","BotId",cfn_parse.FromCloudFormation.getString(properties.BotId)),ret.addPropertyResult("botAliasLocaleSettings","BotAliasLocaleSettings",properties.BotAliasLocaleSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotAliasBotAliasLocaleSettingsItemPropertyFromCloudFormation)(properties.BotAliasLocaleSettings):void 0),ret.addPropertyResult("botAliasTags","BotAliasTags",properties.BotAliasTags!=null?cfn_parse.FromCloudFormation.getArray(cfn_parse.FromCloudFormation.getCfnTag)(properties.BotAliasTags):void 0),ret.addPropertyResult("botVersion","BotVersion",properties.BotVersion!=null?cfn_parse.FromCloudFormation.getString(properties.BotVersion):void 0),ret.addPropertyResult("conversationLogSettings","ConversationLogSettings",properties.ConversationLogSettings!=null?CfnBotAliasConversationLogSettingsPropertyFromCloudFormation(properties.ConversationLogSettings):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("sentimentAnalysisSettings","SentimentAnalysisSettings",properties.SentimentAnalysisSettings!=null?cfn_parse.FromCloudFormation.getAny(properties.SentimentAnalysisSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnBotAlias extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnBotAlias.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lex_CfnBotAliasProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnBotAlias),error}cdk.requireProperty(props,"botAliasName",this),cdk.requireProperty(props,"botId",this),this.attrArn=cdk.Token.asString(this.getAtt("Arn")),this.attrBotAliasId=cdk.Token.asString(this.getAtt("BotAliasId")),this.attrBotAliasStatus=cdk.Token.asString(this.getAtt("BotAliasStatus")),this.botAliasName=props.botAliasName,this.botId=props.botId,this.botAliasLocaleSettings=props.botAliasLocaleSettings,this.botAliasTags=props.botAliasTags,this.botVersion=props.botVersion,this.conversationLogSettings=props.conversationLogSettings,this.description=props.description,this.sentimentAnalysisSettings=props.sentimentAnalysisSettings}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnBotAliasPropsFromCloudFormation(resourceProperties),ret=new CfnBotAlias(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnBotAlias.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{botAliasName:this.botAliasName,botId:this.botId,botAliasLocaleSettings:this.botAliasLocaleSettings,botAliasTags:this.botAliasTags,botVersion:this.botVersion,conversationLogSettings:this.conversationLogSettings,description:this.description,sentimentAnalysisSettings:this.sentimentAnalysisSettings}}renderProperties(props){return cfnBotAliasPropsToCloudFormation(props)}}exports.CfnBotAlias=CfnBotAlias,_b=JSII_RTTI_SYMBOL_1,CfnBotAlias[_b]={fqn:"aws-cdk-lib.aws_lex.CfnBotAlias",version:"2.51.1"},CfnBotAlias.CFN_RESOURCE_TYPE_NAME="AWS::Lex::BotAlias";function CfnBotAlias_AudioLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("s3Bucket",cdk.requiredValidator)(properties.s3Bucket)),errors.collect(cdk.propertyValidator("s3Bucket",CfnBotAlias_S3BucketLogDestinationPropertyValidator)(properties.s3Bucket)),errors.wrap('supplied properties not correct for "AudioLogDestinationProperty"')}function cfnBotAliasAudioLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_AudioLogDestinationPropertyValidator(properties).assertSuccess(),{S3Bucket:cfnBotAliasS3BucketLogDestinationPropertyToCloudFormation(properties.s3Bucket)}):properties}function CfnBotAliasAudioLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("s3Bucket","S3Bucket",CfnBotAliasS3BucketLogDestinationPropertyFromCloudFormation(properties.S3Bucket)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_AudioLogSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("destination",cdk.requiredValidator)(properties.destination)),errors.collect(cdk.propertyValidator("destination",CfnBotAlias_AudioLogDestinationPropertyValidator)(properties.destination)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "AudioLogSettingProperty"')}function cfnBotAliasAudioLogSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_AudioLogSettingPropertyValidator(properties).assertSuccess(),{Destination:cfnBotAliasAudioLogDestinationPropertyToCloudFormation(properties.destination),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotAliasAudioLogSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("destination","Destination",CfnBotAliasAudioLogDestinationPropertyFromCloudFormation(properties.Destination)),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_BotAliasLocaleSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("codeHookSpecification",CfnBotAlias_CodeHookSpecificationPropertyValidator)(properties.codeHookSpecification)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "BotAliasLocaleSettingsProperty"')}function cfnBotAliasBotAliasLocaleSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_BotAliasLocaleSettingsPropertyValidator(properties).assertSuccess(),{CodeHookSpecification:cfnBotAliasCodeHookSpecificationPropertyToCloudFormation(properties.codeHookSpecification),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotAliasBotAliasLocaleSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("codeHookSpecification","CodeHookSpecification",properties.CodeHookSpecification!=null?CfnBotAliasCodeHookSpecificationPropertyFromCloudFormation(properties.CodeHookSpecification):void 0),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_BotAliasLocaleSettingsItemPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botAliasLocaleSetting",cdk.requiredValidator)(properties.botAliasLocaleSetting)),errors.collect(cdk.propertyValidator("botAliasLocaleSetting",CfnBotAlias_BotAliasLocaleSettingsPropertyValidator)(properties.botAliasLocaleSetting)),errors.collect(cdk.propertyValidator("localeId",cdk.requiredValidator)(properties.localeId)),errors.collect(cdk.propertyValidator("localeId",cdk.validateString)(properties.localeId)),errors.wrap('supplied properties not correct for "BotAliasLocaleSettingsItemProperty"')}function cfnBotAliasBotAliasLocaleSettingsItemPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_BotAliasLocaleSettingsItemPropertyValidator(properties).assertSuccess(),{BotAliasLocaleSetting:cfnBotAliasBotAliasLocaleSettingsPropertyToCloudFormation(properties.botAliasLocaleSetting),LocaleId:cdk.stringToCloudFormation(properties.localeId)}):properties}function CfnBotAliasBotAliasLocaleSettingsItemPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botAliasLocaleSetting","BotAliasLocaleSetting",CfnBotAliasBotAliasLocaleSettingsPropertyFromCloudFormation(properties.BotAliasLocaleSetting)),ret.addPropertyResult("localeId","LocaleId",cfn_parse.FromCloudFormation.getString(properties.LocaleId)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_CloudWatchLogGroupLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("cloudWatchLogGroupArn",cdk.requiredValidator)(properties.cloudWatchLogGroupArn)),errors.collect(cdk.propertyValidator("cloudWatchLogGroupArn",cdk.validateString)(properties.cloudWatchLogGroupArn)),errors.collect(cdk.propertyValidator("logPrefix",cdk.requiredValidator)(properties.logPrefix)),errors.collect(cdk.propertyValidator("logPrefix",cdk.validateString)(properties.logPrefix)),errors.wrap('supplied properties not correct for "CloudWatchLogGroupLogDestinationProperty"')}function cfnBotAliasCloudWatchLogGroupLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_CloudWatchLogGroupLogDestinationPropertyValidator(properties).assertSuccess(),{CloudWatchLogGroupArn:cdk.stringToCloudFormation(properties.cloudWatchLogGroupArn),LogPrefix:cdk.stringToCloudFormation(properties.logPrefix)}):properties}function CfnBotAliasCloudWatchLogGroupLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("cloudWatchLogGroupArn","CloudWatchLogGroupArn",cfn_parse.FromCloudFormation.getString(properties.CloudWatchLogGroupArn)),ret.addPropertyResult("logPrefix","LogPrefix",cfn_parse.FromCloudFormation.getString(properties.LogPrefix)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_CodeHookSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("lambdaCodeHook",cdk.requiredValidator)(properties.lambdaCodeHook)),errors.collect(cdk.propertyValidator("lambdaCodeHook",CfnBotAlias_LambdaCodeHookPropertyValidator)(properties.lambdaCodeHook)),errors.wrap('supplied properties not correct for "CodeHookSpecificationProperty"')}function cfnBotAliasCodeHookSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_CodeHookSpecificationPropertyValidator(properties).assertSuccess(),{LambdaCodeHook:cfnBotAliasLambdaCodeHookPropertyToCloudFormation(properties.lambdaCodeHook)}):properties}function CfnBotAliasCodeHookSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("lambdaCodeHook","LambdaCodeHook",CfnBotAliasLambdaCodeHookPropertyFromCloudFormation(properties.LambdaCodeHook)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_ConversationLogSettingsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("audioLogSettings",cdk.listValidator(CfnBotAlias_AudioLogSettingPropertyValidator))(properties.audioLogSettings)),errors.collect(cdk.propertyValidator("textLogSettings",cdk.listValidator(CfnBotAlias_TextLogSettingPropertyValidator))(properties.textLogSettings)),errors.wrap('supplied properties not correct for "ConversationLogSettingsProperty"')}function cfnBotAliasConversationLogSettingsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_ConversationLogSettingsPropertyValidator(properties).assertSuccess(),{AudioLogSettings:cdk.listMapper(cfnBotAliasAudioLogSettingPropertyToCloudFormation)(properties.audioLogSettings),TextLogSettings:cdk.listMapper(cfnBotAliasTextLogSettingPropertyToCloudFormation)(properties.textLogSettings)}):properties}function CfnBotAliasConversationLogSettingsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("audioLogSettings","AudioLogSettings",properties.AudioLogSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotAliasAudioLogSettingPropertyFromCloudFormation)(properties.AudioLogSettings):void 0),ret.addPropertyResult("textLogSettings","TextLogSettings",properties.TextLogSettings!=null?cfn_parse.FromCloudFormation.getArray(CfnBotAliasTextLogSettingPropertyFromCloudFormation)(properties.TextLogSettings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_LambdaCodeHookPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("codeHookInterfaceVersion",cdk.requiredValidator)(properties.codeHookInterfaceVersion)),errors.collect(cdk.propertyValidator("codeHookInterfaceVersion",cdk.validateString)(properties.codeHookInterfaceVersion)),errors.collect(cdk.propertyValidator("lambdaArn",cdk.requiredValidator)(properties.lambdaArn)),errors.collect(cdk.propertyValidator("lambdaArn",cdk.validateString)(properties.lambdaArn)),errors.wrap('supplied properties not correct for "LambdaCodeHookProperty"')}function cfnBotAliasLambdaCodeHookPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_LambdaCodeHookPropertyValidator(properties).assertSuccess(),{CodeHookInterfaceVersion:cdk.stringToCloudFormation(properties.codeHookInterfaceVersion),LambdaArn:cdk.stringToCloudFormation(properties.lambdaArn)}):properties}function CfnBotAliasLambdaCodeHookPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("codeHookInterfaceVersion","CodeHookInterfaceVersion",cfn_parse.FromCloudFormation.getString(properties.CodeHookInterfaceVersion)),ret.addPropertyResult("lambdaArn","LambdaArn",cfn_parse.FromCloudFormation.getString(properties.LambdaArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_S3BucketLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("kmsKeyArn",cdk.validateString)(properties.kmsKeyArn)),errors.collect(cdk.propertyValidator("logPrefix",cdk.requiredValidator)(properties.logPrefix)),errors.collect(cdk.propertyValidator("logPrefix",cdk.validateString)(properties.logPrefix)),errors.collect(cdk.propertyValidator("s3BucketArn",cdk.requiredValidator)(properties.s3BucketArn)),errors.collect(cdk.propertyValidator("s3BucketArn",cdk.validateString)(properties.s3BucketArn)),errors.wrap('supplied properties not correct for "S3BucketLogDestinationProperty"')}function cfnBotAliasS3BucketLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_S3BucketLogDestinationPropertyValidator(properties).assertSuccess(),{KmsKeyArn:cdk.stringToCloudFormation(properties.kmsKeyArn),LogPrefix:cdk.stringToCloudFormation(properties.logPrefix),S3BucketArn:cdk.stringToCloudFormation(properties.s3BucketArn)}):properties}function CfnBotAliasS3BucketLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("kmsKeyArn","KmsKeyArn",properties.KmsKeyArn!=null?cfn_parse.FromCloudFormation.getString(properties.KmsKeyArn):void 0),ret.addPropertyResult("logPrefix","LogPrefix",cfn_parse.FromCloudFormation.getString(properties.LogPrefix)),ret.addPropertyResult("s3BucketArn","S3BucketArn",cfn_parse.FromCloudFormation.getString(properties.S3BucketArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_TextLogDestinationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("cloudWatch",cdk.requiredValidator)(properties.cloudWatch)),errors.collect(cdk.propertyValidator("cloudWatch",CfnBotAlias_CloudWatchLogGroupLogDestinationPropertyValidator)(properties.cloudWatch)),errors.wrap('supplied properties not correct for "TextLogDestinationProperty"')}function cfnBotAliasTextLogDestinationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_TextLogDestinationPropertyValidator(properties).assertSuccess(),{CloudWatch:cfnBotAliasCloudWatchLogGroupLogDestinationPropertyToCloudFormation(properties.cloudWatch)}):properties}function CfnBotAliasTextLogDestinationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("cloudWatch","CloudWatch",CfnBotAliasCloudWatchLogGroupLogDestinationPropertyFromCloudFormation(properties.CloudWatch)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotAlias_TextLogSettingPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("destination",cdk.requiredValidator)(properties.destination)),errors.collect(cdk.propertyValidator("destination",CfnBotAlias_TextLogDestinationPropertyValidator)(properties.destination)),errors.collect(cdk.propertyValidator("enabled",cdk.requiredValidator)(properties.enabled)),errors.collect(cdk.propertyValidator("enabled",cdk.validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "TextLogSettingProperty"')}function cfnBotAliasTextLogSettingPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotAlias_TextLogSettingPropertyValidator(properties).assertSuccess(),{Destination:cfnBotAliasTextLogDestinationPropertyToCloudFormation(properties.destination),Enabled:cdk.booleanToCloudFormation(properties.enabled)}):properties}function CfnBotAliasTextLogSettingPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("destination","Destination",CfnBotAliasTextLogDestinationPropertyFromCloudFormation(properties.Destination)),ret.addPropertyResult("enabled","Enabled",cfn_parse.FromCloudFormation.getBoolean(properties.Enabled)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotVersionPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botId",cdk.requiredValidator)(properties.botId)),errors.collect(cdk.propertyValidator("botId",cdk.validateString)(properties.botId)),errors.collect(cdk.propertyValidator("botVersionLocaleSpecification",cdk.requiredValidator)(properties.botVersionLocaleSpecification)),errors.collect(cdk.propertyValidator("botVersionLocaleSpecification",cdk.listValidator(CfnBotVersion_BotVersionLocaleSpecificationPropertyValidator))(properties.botVersionLocaleSpecification)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.wrap('supplied properties not correct for "CfnBotVersionProps"')}function cfnBotVersionPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotVersionPropsValidator(properties).assertSuccess(),{BotId:cdk.stringToCloudFormation(properties.botId),BotVersionLocaleSpecification:cdk.listMapper(cfnBotVersionBotVersionLocaleSpecificationPropertyToCloudFormation)(properties.botVersionLocaleSpecification),Description:cdk.stringToCloudFormation(properties.description)}):properties}function CfnBotVersionPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botId","BotId",cfn_parse.FromCloudFormation.getString(properties.BotId)),ret.addPropertyResult("botVersionLocaleSpecification","BotVersionLocaleSpecification",cfn_parse.FromCloudFormation.getArray(CfnBotVersionBotVersionLocaleSpecificationPropertyFromCloudFormation)(properties.BotVersionLocaleSpecification)),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnBotVersion extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnBotVersion.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lex_CfnBotVersionProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnBotVersion),error}cdk.requireProperty(props,"botId",this),cdk.requireProperty(props,"botVersionLocaleSpecification",this),this.attrBotVersion=cdk.Token.asString(this.getAtt("BotVersion")),this.botId=props.botId,this.botVersionLocaleSpecification=props.botVersionLocaleSpecification,this.description=props.description}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnBotVersionPropsFromCloudFormation(resourceProperties),ret=new CfnBotVersion(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnBotVersion.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{botId:this.botId,botVersionLocaleSpecification:this.botVersionLocaleSpecification,description:this.description}}renderProperties(props){return cfnBotVersionPropsToCloudFormation(props)}}exports.CfnBotVersion=CfnBotVersion,_c=JSII_RTTI_SYMBOL_1,CfnBotVersion[_c]={fqn:"aws-cdk-lib.aws_lex.CfnBotVersion",version:"2.51.1"},CfnBotVersion.CFN_RESOURCE_TYPE_NAME="AWS::Lex::BotVersion";function CfnBotVersion_BotVersionLocaleDetailsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("sourceBotVersion",cdk.requiredValidator)(properties.sourceBotVersion)),errors.collect(cdk.propertyValidator("sourceBotVersion",cdk.validateString)(properties.sourceBotVersion)),errors.wrap('supplied properties not correct for "BotVersionLocaleDetailsProperty"')}function cfnBotVersionBotVersionLocaleDetailsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotVersion_BotVersionLocaleDetailsPropertyValidator(properties).assertSuccess(),{SourceBotVersion:cdk.stringToCloudFormation(properties.sourceBotVersion)}):properties}function CfnBotVersionBotVersionLocaleDetailsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("sourceBotVersion","SourceBotVersion",cfn_parse.FromCloudFormation.getString(properties.SourceBotVersion)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnBotVersion_BotVersionLocaleSpecificationPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("botVersionLocaleDetails",cdk.requiredValidator)(properties.botVersionLocaleDetails)),errors.collect(cdk.propertyValidator("botVersionLocaleDetails",CfnBotVersion_BotVersionLocaleDetailsPropertyValidator)(properties.botVersionLocaleDetails)),errors.collect(cdk.propertyValidator("localeId",cdk.requiredValidator)(properties.localeId)),errors.collect(cdk.propertyValidator("localeId",cdk.validateString)(properties.localeId)),errors.wrap('supplied properties not correct for "BotVersionLocaleSpecificationProperty"')}function cfnBotVersionBotVersionLocaleSpecificationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnBotVersion_BotVersionLocaleSpecificationPropertyValidator(properties).assertSuccess(),{BotVersionLocaleDetails:cfnBotVersionBotVersionLocaleDetailsPropertyToCloudFormation(properties.botVersionLocaleDetails),LocaleId:cdk.stringToCloudFormation(properties.localeId)}):properties}function CfnBotVersionBotVersionLocaleSpecificationPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("botVersionLocaleDetails","BotVersionLocaleDetails",CfnBotVersionBotVersionLocaleDetailsPropertyFromCloudFormation(properties.BotVersionLocaleDetails)),ret.addPropertyResult("localeId","LocaleId",cfn_parse.FromCloudFormation.getString(properties.LocaleId)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnResourcePolicyPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk.propertyValidator("policy",cdk.requiredValidator)(properties.policy)),errors.collect(cdk.propertyValidator("policy",cdk.validateObject)(properties.policy)),errors.collect(cdk.propertyValidator("resourceArn",cdk.requiredValidator)(properties.resourceArn)),errors.collect(cdk.propertyValidator("resourceArn",cdk.validateString)(properties.resourceArn)),errors.wrap('supplied properties not correct for "CfnResourcePolicyProps"')}function cfnResourcePolicyPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnResourcePolicyPropsValidator(properties).assertSuccess(),{Policy:cdk.objectToCloudFormation(properties.policy),ResourceArn:cdk.stringToCloudFormation(properties.resourceArn)}):properties}function CfnResourcePolicyPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("policy","Policy",cfn_parse.FromCloudFormation.getAny(properties.Policy)),ret.addPropertyResult("resourceArn","ResourceArn",cfn_parse.FromCloudFormation.getString(properties.ResourceArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnResourcePolicy extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnResourcePolicy.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_lex_CfnResourcePolicyProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnResourcePolicy),error}cdk.requireProperty(props,"policy",this),cdk.requireProperty(props,"resourceArn",this),this.attrId=cdk.Token.asString(this.getAtt("Id")),this.attrRevisionId=cdk.Token.asString(this.getAtt("RevisionId")),this.policy=props.policy,this.resourceArn=props.resourceArn}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnResourcePolicyPropsFromCloudFormation(resourceProperties),ret=new CfnResourcePolicy(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnResourcePolicy.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{policy:this.policy,resourceArn:this.resourceArn}}renderProperties(props){return cfnResourcePolicyPropsToCloudFormation(props)}}exports.CfnResourcePolicy=CfnResourcePolicy,_d=JSII_RTTI_SYMBOL_1,CfnResourcePolicy[_d]={fqn:"aws-cdk-lib.aws_lex.CfnResourcePolicy",version:"2.51.1"},CfnResourcePolicy.CFN_RESOURCE_TYPE_NAME="AWS::Lex::ResourcePolicy";
|
|
2
2
|
//# sourceMappingURL=lex.generated.js.map
|