aws-cdk-lib 2.200.2__py3-none-any.whl → 2.224.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +1349 -373
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.200.2.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1017 -155
- aws_cdk/aws_apigatewayv2/__init__.py +2796 -379
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +298 -43
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +29 -6
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +94 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +227 -53
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +1875 -132
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +135 -55
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +317 -28
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1405 -178
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +6747 -627
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +42 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +237 -32
- aws_cdk/aws_chatbot/__init__.py +70 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +345 -166
- aws_cdk/aws_cloudfront/__init__.py +2101 -680
- aws_cdk/aws_cloudfront/experimental/__init__.py +108 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +614 -73
- aws_cdk/aws_cloudtrail/__init__.py +301 -17
- aws_cdk/aws_cloudwatch/__init__.py +1414 -153
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1103 -118
- aws_cdk/aws_codecommit/__init__.py +23 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +67 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +74 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +127 -64
- aws_cdk/aws_codepipeline_actions/__init__.py +749 -0
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +16 -2
- aws_cdk/aws_cognito/__init__.py +814 -80
- aws_cdk/aws_cognito_identitypool/__init__.py +17 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +191 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +723 -203
- aws_cdk/aws_datazone/__init__.py +4425 -608
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +321 -32
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +323 -46
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +340 -12
- aws_cdk/aws_dynamodb/__init__.py +1463 -166
- aws_cdk/aws_ec2/__init__.py +9636 -1120
- aws_cdk/aws_ecr/__init__.py +631 -43
- aws_cdk/aws_ecr_assets/__init__.py +4 -0
- aws_cdk/aws_ecs/__init__.py +6524 -497
- aws_cdk/aws_ecs_patterns/__init__.py +2 -0
- aws_cdk/aws_efs/__init__.py +264 -24
- aws_cdk/aws_eks/__init__.py +1050 -218
- aws_cdk/aws_elasticache/__init__.py +373 -20
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1670 -106
- aws_cdk/aws_elasticsearch/__init__.py +282 -9
- aws_cdk/aws_emr/__init__.py +187 -20
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +969 -124
- aws_cdk/aws_events_targets/__init__.py +310 -54
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1236 -142
- aws_cdk/aws_gamelift/__init__.py +653 -78
- aws_cdk/aws_gameliftstreams/__init__.py +38 -16
- aws_cdk/aws_globalaccelerator/__init__.py +55 -14
- aws_cdk/aws_glue/__init__.py +1368 -320
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +480 -140
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1433 -183
- aws_cdk/aws_inspector/__init__.py +38 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1730 -86
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +622 -22
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -94
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +201 -11
- aws_cdk/aws_kinesisfirehose/__init__.py +3077 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +188 -41
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2101 -252
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +871 -8
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2159 -975
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +5904 -956
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1239 -35
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1607 -225
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +104 -18
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1289 -273
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +75 -8
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2495 -529
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +495 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +151 -6
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +387 -68
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3345 -512
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +692 -4
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +180 -6
- aws_cdk/aws_route53/__init__.py +3273 -1442
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +226 -36
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1291 -158
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +147 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +266 -8
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6617 -363
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +237 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +170 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +405 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +140 -47
- aws_cdk/aws_ses/__init__.py +1231 -140
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +27 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +245 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
- aws_cdk/aws_sqs/__init__.py +211 -14
- aws_cdk/aws_ssm/__init__.py +401 -58
- aws_cdk/aws_ssmcontacts/__init__.py +46 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +13 -2
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +383 -6
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +615 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +781 -144
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +861 -75
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +145 -17
- aws_cdk/aws_voiceid/__init__.py +41 -2
- aws_cdk/aws_vpclattice/__init__.py +376 -30
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1179 -60
- aws_cdk/aws_wisdom/__init__.py +1401 -90
- aws_cdk/aws_workspaces/__init__.py +93 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +231 -6
- aws_cdk/custom_resources/__init__.py +40 -12
- aws_cdk/cx_api/__init__.py +85 -14
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/pipelines/__init__.py +192 -42
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +60 -18
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +338 -16
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.200.2.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_lex/__init__.py
CHANGED
|
@@ -65,9 +65,19 @@ from .. import (
|
|
|
65
65
|
IResolvable as _IResolvable_da3f097b,
|
|
66
66
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
67
67
|
)
|
|
68
|
+
from ..interfaces.aws_lex import (
|
|
69
|
+
BotAliasReference as _BotAliasReference_eb7b7ff7,
|
|
70
|
+
BotReference as _BotReference_9f65244d,
|
|
71
|
+
BotVersionReference as _BotVersionReference_403e9f25,
|
|
72
|
+
IBotAliasRef as _IBotAliasRef_8ce881f4,
|
|
73
|
+
IBotRef as _IBotRef_68a57b40,
|
|
74
|
+
IBotVersionRef as _IBotVersionRef_ba36d768,
|
|
75
|
+
IResourcePolicyRef as _IResourcePolicyRef_18182ecb,
|
|
76
|
+
ResourcePolicyReference as _ResourcePolicyReference_5d84a344,
|
|
77
|
+
)
|
|
68
78
|
|
|
69
79
|
|
|
70
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
80
|
+
@jsii.implements(_IInspectable_c2943556, _IBotRef_68a57b40)
|
|
71
81
|
class CfnBot(
|
|
72
82
|
_CfnResource_9df397a6,
|
|
73
83
|
metaclass=jsii.JSIIMeta,
|
|
@@ -104,11 +114,13 @@ class CfnBot(
|
|
|
104
114
|
bot_locales: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BotLocaleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
105
115
|
bot_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
106
116
|
description: typing.Optional[builtins.str] = None,
|
|
117
|
+
error_log_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.ErrorLogSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
107
118
|
replication: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.ReplicationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
108
119
|
test_bot_alias_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.TestBotAliasSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
109
120
|
test_bot_alias_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
110
121
|
) -> None:
|
|
111
|
-
'''
|
|
122
|
+
'''Create a new ``AWS::Lex::Bot``.
|
|
123
|
+
|
|
112
124
|
:param scope: Scope in which this resource is defined.
|
|
113
125
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
114
126
|
:param data_privacy: By default, data stored by Amazon Lex is encrypted. The ``DataPrivacy`` structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.
|
|
@@ -120,6 +132,7 @@ class CfnBot(
|
|
|
120
132
|
:param bot_locales: A list of locales for the bot.
|
|
121
133
|
:param bot_tags: A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the ``UpdateBot`` operation to update tags. To update tags, use the ``TagResource`` operation.
|
|
122
134
|
:param description: The description of the version.
|
|
135
|
+
:param error_log_settings:
|
|
123
136
|
:param replication:
|
|
124
137
|
:param test_bot_alias_settings: Specifies configuration settings for the alias used to test the bot. If the ``TestBotAliasSettings`` property is not specified, the settings are configured with default values.
|
|
125
138
|
:param test_bot_alias_tags: A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the ``UpdateAlias`` operation to update tags. To update tags on the test alias, use the ``TagResource`` operation.
|
|
@@ -138,6 +151,7 @@ class CfnBot(
|
|
|
138
151
|
bot_locales=bot_locales,
|
|
139
152
|
bot_tags=bot_tags,
|
|
140
153
|
description=description,
|
|
154
|
+
error_log_settings=error_log_settings,
|
|
141
155
|
replication=replication,
|
|
142
156
|
test_bot_alias_settings=test_bot_alias_settings,
|
|
143
157
|
test_bot_alias_tags=test_bot_alias_tags,
|
|
@@ -193,6 +207,12 @@ class CfnBot(
|
|
|
193
207
|
'''
|
|
194
208
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
195
209
|
|
|
210
|
+
@builtins.property
|
|
211
|
+
@jsii.member(jsii_name="botRef")
|
|
212
|
+
def bot_ref(self) -> _BotReference_9f65244d:
|
|
213
|
+
'''A reference to a Bot resource.'''
|
|
214
|
+
return typing.cast(_BotReference_9f65244d, jsii.get(self, "botRef"))
|
|
215
|
+
|
|
196
216
|
@builtins.property
|
|
197
217
|
@jsii.member(jsii_name="cfnProperties")
|
|
198
218
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -335,6 +355,23 @@ class CfnBot(
|
|
|
335
355
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
336
356
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
337
357
|
|
|
358
|
+
@builtins.property
|
|
359
|
+
@jsii.member(jsii_name="errorLogSettings")
|
|
360
|
+
def error_log_settings(
|
|
361
|
+
self,
|
|
362
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.ErrorLogSettingsProperty"]]:
|
|
363
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.ErrorLogSettingsProperty"]], jsii.get(self, "errorLogSettings"))
|
|
364
|
+
|
|
365
|
+
@error_log_settings.setter
|
|
366
|
+
def error_log_settings(
|
|
367
|
+
self,
|
|
368
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.ErrorLogSettingsProperty"]],
|
|
369
|
+
) -> None:
|
|
370
|
+
if __debug__:
|
|
371
|
+
type_hints = typing.get_type_hints(_typecheckingstub__606ffbe82078c04fc48db5544bb87403e15eecb94ab4de4dfef298d8b2e5cbca)
|
|
372
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
373
|
+
jsii.set(self, "errorLogSettings", value) # pyright: ignore[reportArgumentType]
|
|
374
|
+
|
|
338
375
|
@builtins.property
|
|
339
376
|
@jsii.member(jsii_name="replication")
|
|
340
377
|
def replication(
|
|
@@ -1600,6 +1637,7 @@ class CfnBot(
|
|
|
1600
1637
|
"nlu_confidence_threshold": "nluConfidenceThreshold",
|
|
1601
1638
|
"custom_vocabulary": "customVocabulary",
|
|
1602
1639
|
"description": "description",
|
|
1640
|
+
"generative_ai_settings": "generativeAiSettings",
|
|
1603
1641
|
"intents": "intents",
|
|
1604
1642
|
"slot_types": "slotTypes",
|
|
1605
1643
|
"voice_settings": "voiceSettings",
|
|
@@ -1613,6 +1651,7 @@ class CfnBot(
|
|
|
1613
1651
|
nlu_confidence_threshold: jsii.Number,
|
|
1614
1652
|
custom_vocabulary: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.CustomVocabularyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1615
1653
|
description: typing.Optional[builtins.str] = None,
|
|
1654
|
+
generative_ai_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.GenerativeAISettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1616
1655
|
intents: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.IntentProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1617
1656
|
slot_types: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SlotTypeProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1618
1657
|
voice_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.VoiceSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1623,6 +1662,7 @@ class CfnBot(
|
|
|
1623
1662
|
:param nlu_confidence_threshold: Determines the threshold where Amazon Lex will insert the ``AMAZON.FallbackIntent`` , ``AMAZON.KendraSearchIntent`` , or both when returning alternative intents. You must configure an ``AMAZON.FallbackIntent`` . ``AMAZON.KendraSearchIntent`` is only inserted if it is configured for the bot.
|
|
1624
1663
|
:param custom_vocabulary: Specifies a custom vocabulary to use with a specific locale.
|
|
1625
1664
|
:param description: A description of the bot locale. Use this to help identify the bot locale in lists.
|
|
1665
|
+
:param generative_ai_settings:
|
|
1626
1666
|
:param intents: One or more intents defined for the locale.
|
|
1627
1667
|
:param slot_types: One or more slot types defined for the locale.
|
|
1628
1668
|
:param voice_settings: Defines settings for using an Amazon Polly voice to communicate with a user. Valid values include: - ``standard`` - ``neural`` - ``long-form`` - ``generative``
|
|
@@ -1640,6 +1680,7 @@ class CfnBot(
|
|
|
1640
1680
|
check_type(argname="argument nlu_confidence_threshold", value=nlu_confidence_threshold, expected_type=type_hints["nlu_confidence_threshold"])
|
|
1641
1681
|
check_type(argname="argument custom_vocabulary", value=custom_vocabulary, expected_type=type_hints["custom_vocabulary"])
|
|
1642
1682
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1683
|
+
check_type(argname="argument generative_ai_settings", value=generative_ai_settings, expected_type=type_hints["generative_ai_settings"])
|
|
1643
1684
|
check_type(argname="argument intents", value=intents, expected_type=type_hints["intents"])
|
|
1644
1685
|
check_type(argname="argument slot_types", value=slot_types, expected_type=type_hints["slot_types"])
|
|
1645
1686
|
check_type(argname="argument voice_settings", value=voice_settings, expected_type=type_hints["voice_settings"])
|
|
@@ -1651,6 +1692,8 @@ class CfnBot(
|
|
|
1651
1692
|
self._values["custom_vocabulary"] = custom_vocabulary
|
|
1652
1693
|
if description is not None:
|
|
1653
1694
|
self._values["description"] = description
|
|
1695
|
+
if generative_ai_settings is not None:
|
|
1696
|
+
self._values["generative_ai_settings"] = generative_ai_settings
|
|
1654
1697
|
if intents is not None:
|
|
1655
1698
|
self._values["intents"] = intents
|
|
1656
1699
|
if slot_types is not None:
|
|
@@ -1702,6 +1745,16 @@ class CfnBot(
|
|
|
1702
1745
|
result = self._values.get("description")
|
|
1703
1746
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1704
1747
|
|
|
1748
|
+
@builtins.property
|
|
1749
|
+
def generative_ai_settings(
|
|
1750
|
+
self,
|
|
1751
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.GenerativeAISettingsProperty"]]:
|
|
1752
|
+
'''
|
|
1753
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botlocale.html#cfn-lex-bot-botlocale-generativeaisettings
|
|
1754
|
+
'''
|
|
1755
|
+
result = self._values.get("generative_ai_settings")
|
|
1756
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.GenerativeAISettingsProperty"]], result)
|
|
1757
|
+
|
|
1705
1758
|
@builtins.property
|
|
1706
1759
|
def intents(
|
|
1707
1760
|
self,
|
|
@@ -1753,6 +1806,111 @@ class CfnBot(
|
|
|
1753
1806
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1754
1807
|
)
|
|
1755
1808
|
|
|
1809
|
+
@jsii.data_type(
|
|
1810
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.BuildtimeSettingsProperty",
|
|
1811
|
+
jsii_struct_bases=[],
|
|
1812
|
+
name_mapping={
|
|
1813
|
+
"descriptive_bot_builder_specification": "descriptiveBotBuilderSpecification",
|
|
1814
|
+
"sample_utterance_generation_specification": "sampleUtteranceGenerationSpecification",
|
|
1815
|
+
},
|
|
1816
|
+
)
|
|
1817
|
+
class BuildtimeSettingsProperty:
|
|
1818
|
+
def __init__(
|
|
1819
|
+
self,
|
|
1820
|
+
*,
|
|
1821
|
+
descriptive_bot_builder_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.DescriptiveBotBuilderSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1822
|
+
sample_utterance_generation_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SampleUtteranceGenerationSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1823
|
+
) -> None:
|
|
1824
|
+
'''Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
|
|
1825
|
+
|
|
1826
|
+
:param descriptive_bot_builder_specification:
|
|
1827
|
+
:param sample_utterance_generation_specification:
|
|
1828
|
+
|
|
1829
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-buildtimesettings.html
|
|
1830
|
+
:exampleMetadata: fixture=_generated
|
|
1831
|
+
|
|
1832
|
+
Example::
|
|
1833
|
+
|
|
1834
|
+
# The code below shows an example of how to instantiate this type.
|
|
1835
|
+
# The values are placeholders you should change.
|
|
1836
|
+
from aws_cdk import aws_lex as lex
|
|
1837
|
+
|
|
1838
|
+
buildtime_settings_property = lex.CfnBot.BuildtimeSettingsProperty(
|
|
1839
|
+
descriptive_bot_builder_specification=lex.CfnBot.DescriptiveBotBuilderSpecificationProperty(
|
|
1840
|
+
enabled=False,
|
|
1841
|
+
|
|
1842
|
+
# the properties below are optional
|
|
1843
|
+
bedrock_model_specification=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
1844
|
+
model_arn="modelArn",
|
|
1845
|
+
|
|
1846
|
+
# the properties below are optional
|
|
1847
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
1848
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
1849
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
1850
|
+
),
|
|
1851
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
1852
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
1853
|
+
)
|
|
1854
|
+
),
|
|
1855
|
+
sample_utterance_generation_specification=lex.CfnBot.SampleUtteranceGenerationSpecificationProperty(
|
|
1856
|
+
enabled=False,
|
|
1857
|
+
|
|
1858
|
+
# the properties below are optional
|
|
1859
|
+
bedrock_model_specification=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
1860
|
+
model_arn="modelArn",
|
|
1861
|
+
|
|
1862
|
+
# the properties below are optional
|
|
1863
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
1864
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
1865
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
1866
|
+
),
|
|
1867
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
1868
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
1869
|
+
)
|
|
1870
|
+
)
|
|
1871
|
+
)
|
|
1872
|
+
'''
|
|
1873
|
+
if __debug__:
|
|
1874
|
+
type_hints = typing.get_type_hints(_typecheckingstub__55f55af8a135ebdc8d2d68a3f39bdd435c48864ae190d23d1774d92a289587a1)
|
|
1875
|
+
check_type(argname="argument descriptive_bot_builder_specification", value=descriptive_bot_builder_specification, expected_type=type_hints["descriptive_bot_builder_specification"])
|
|
1876
|
+
check_type(argname="argument sample_utterance_generation_specification", value=sample_utterance_generation_specification, expected_type=type_hints["sample_utterance_generation_specification"])
|
|
1877
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1878
|
+
if descriptive_bot_builder_specification is not None:
|
|
1879
|
+
self._values["descriptive_bot_builder_specification"] = descriptive_bot_builder_specification
|
|
1880
|
+
if sample_utterance_generation_specification is not None:
|
|
1881
|
+
self._values["sample_utterance_generation_specification"] = sample_utterance_generation_specification
|
|
1882
|
+
|
|
1883
|
+
@builtins.property
|
|
1884
|
+
def descriptive_bot_builder_specification(
|
|
1885
|
+
self,
|
|
1886
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.DescriptiveBotBuilderSpecificationProperty"]]:
|
|
1887
|
+
'''
|
|
1888
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-buildtimesettings.html#cfn-lex-bot-buildtimesettings-descriptivebotbuilderspecification
|
|
1889
|
+
'''
|
|
1890
|
+
result = self._values.get("descriptive_bot_builder_specification")
|
|
1891
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.DescriptiveBotBuilderSpecificationProperty"]], result)
|
|
1892
|
+
|
|
1893
|
+
@builtins.property
|
|
1894
|
+
def sample_utterance_generation_specification(
|
|
1895
|
+
self,
|
|
1896
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SampleUtteranceGenerationSpecificationProperty"]]:
|
|
1897
|
+
'''
|
|
1898
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-buildtimesettings.html#cfn-lex-bot-buildtimesettings-sampleutterancegenerationspecification
|
|
1899
|
+
'''
|
|
1900
|
+
result = self._values.get("sample_utterance_generation_specification")
|
|
1901
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SampleUtteranceGenerationSpecificationProperty"]], result)
|
|
1902
|
+
|
|
1903
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1904
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1905
|
+
|
|
1906
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1907
|
+
return not (rhs == self)
|
|
1908
|
+
|
|
1909
|
+
def __repr__(self) -> str:
|
|
1910
|
+
return "BuildtimeSettingsProperty(%s)" % ", ".join(
|
|
1911
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1912
|
+
)
|
|
1913
|
+
|
|
1756
1914
|
@jsii.data_type(
|
|
1757
1915
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.ButtonProperty",
|
|
1758
1916
|
jsii_struct_bases=[],
|
|
@@ -3295,6 +3453,94 @@ class CfnBot(
|
|
|
3295
3453
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3296
3454
|
)
|
|
3297
3455
|
|
|
3456
|
+
@jsii.data_type(
|
|
3457
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.DescriptiveBotBuilderSpecificationProperty",
|
|
3458
|
+
jsii_struct_bases=[],
|
|
3459
|
+
name_mapping={
|
|
3460
|
+
"enabled": "enabled",
|
|
3461
|
+
"bedrock_model_specification": "bedrockModelSpecification",
|
|
3462
|
+
},
|
|
3463
|
+
)
|
|
3464
|
+
class DescriptiveBotBuilderSpecificationProperty:
|
|
3465
|
+
def __init__(
|
|
3466
|
+
self,
|
|
3467
|
+
*,
|
|
3468
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
3469
|
+
bedrock_model_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockModelSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3470
|
+
) -> None:
|
|
3471
|
+
'''Contains specifications for the descriptive bot building feature.
|
|
3472
|
+
|
|
3473
|
+
:param enabled: Specifies whether the descriptive bot building feature is activated or not.
|
|
3474
|
+
:param bedrock_model_specification: An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
|
|
3475
|
+
|
|
3476
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-descriptivebotbuilderspecification.html
|
|
3477
|
+
:exampleMetadata: fixture=_generated
|
|
3478
|
+
|
|
3479
|
+
Example::
|
|
3480
|
+
|
|
3481
|
+
# The code below shows an example of how to instantiate this type.
|
|
3482
|
+
# The values are placeholders you should change.
|
|
3483
|
+
from aws_cdk import aws_lex as lex
|
|
3484
|
+
|
|
3485
|
+
descriptive_bot_builder_specification_property = lex.CfnBot.DescriptiveBotBuilderSpecificationProperty(
|
|
3486
|
+
enabled=False,
|
|
3487
|
+
|
|
3488
|
+
# the properties below are optional
|
|
3489
|
+
bedrock_model_specification=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
3490
|
+
model_arn="modelArn",
|
|
3491
|
+
|
|
3492
|
+
# the properties below are optional
|
|
3493
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
3494
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
3495
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
3496
|
+
),
|
|
3497
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
3498
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
3499
|
+
)
|
|
3500
|
+
)
|
|
3501
|
+
'''
|
|
3502
|
+
if __debug__:
|
|
3503
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ea3cb55a84af77a42088fb1190880b1ceae0ef66ce41f41f8a469a0b1dfd352d)
|
|
3504
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
3505
|
+
check_type(argname="argument bedrock_model_specification", value=bedrock_model_specification, expected_type=type_hints["bedrock_model_specification"])
|
|
3506
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3507
|
+
"enabled": enabled,
|
|
3508
|
+
}
|
|
3509
|
+
if bedrock_model_specification is not None:
|
|
3510
|
+
self._values["bedrock_model_specification"] = bedrock_model_specification
|
|
3511
|
+
|
|
3512
|
+
@builtins.property
|
|
3513
|
+
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
3514
|
+
'''Specifies whether the descriptive bot building feature is activated or not.
|
|
3515
|
+
|
|
3516
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-descriptivebotbuilderspecification.html#cfn-lex-bot-descriptivebotbuilderspecification-enabled
|
|
3517
|
+
'''
|
|
3518
|
+
result = self._values.get("enabled")
|
|
3519
|
+
assert result is not None, "Required property 'enabled' is missing"
|
|
3520
|
+
return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
|
|
3521
|
+
|
|
3522
|
+
@builtins.property
|
|
3523
|
+
def bedrock_model_specification(
|
|
3524
|
+
self,
|
|
3525
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]]:
|
|
3526
|
+
'''An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
|
|
3527
|
+
|
|
3528
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-descriptivebotbuilderspecification.html#cfn-lex-bot-descriptivebotbuilderspecification-bedrockmodelspecification
|
|
3529
|
+
'''
|
|
3530
|
+
result = self._values.get("bedrock_model_specification")
|
|
3531
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]], result)
|
|
3532
|
+
|
|
3533
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3534
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3535
|
+
|
|
3536
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3537
|
+
return not (rhs == self)
|
|
3538
|
+
|
|
3539
|
+
def __repr__(self) -> str:
|
|
3540
|
+
return "DescriptiveBotBuilderSpecificationProperty(%s)" % ", ".join(
|
|
3541
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3542
|
+
)
|
|
3543
|
+
|
|
3298
3544
|
@jsii.data_type(
|
|
3299
3545
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.DialogActionProperty",
|
|
3300
3546
|
jsii_struct_bases=[],
|
|
@@ -3746,6 +3992,60 @@ class CfnBot(
|
|
|
3746
3992
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3747
3993
|
)
|
|
3748
3994
|
|
|
3995
|
+
@jsii.data_type(
|
|
3996
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.ErrorLogSettingsProperty",
|
|
3997
|
+
jsii_struct_bases=[],
|
|
3998
|
+
name_mapping={"enabled": "enabled"},
|
|
3999
|
+
)
|
|
4000
|
+
class ErrorLogSettingsProperty:
|
|
4001
|
+
def __init__(
|
|
4002
|
+
self,
|
|
4003
|
+
*,
|
|
4004
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
4005
|
+
) -> None:
|
|
4006
|
+
'''
|
|
4007
|
+
:param enabled:
|
|
4008
|
+
|
|
4009
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-errorlogsettings.html
|
|
4010
|
+
:exampleMetadata: fixture=_generated
|
|
4011
|
+
|
|
4012
|
+
Example::
|
|
4013
|
+
|
|
4014
|
+
# The code below shows an example of how to instantiate this type.
|
|
4015
|
+
# The values are placeholders you should change.
|
|
4016
|
+
from aws_cdk import aws_lex as lex
|
|
4017
|
+
|
|
4018
|
+
error_log_settings_property = lex.CfnBot.ErrorLogSettingsProperty(
|
|
4019
|
+
enabled=False
|
|
4020
|
+
)
|
|
4021
|
+
'''
|
|
4022
|
+
if __debug__:
|
|
4023
|
+
type_hints = typing.get_type_hints(_typecheckingstub__889dfa7e4bae2942ab9113cc1fc2daf6258bacf8d15a90096950359390714919)
|
|
4024
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
4025
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4026
|
+
"enabled": enabled,
|
|
4027
|
+
}
|
|
4028
|
+
|
|
4029
|
+
@builtins.property
|
|
4030
|
+
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
4031
|
+
'''
|
|
4032
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-errorlogsettings.html#cfn-lex-bot-errorlogsettings-enabled
|
|
4033
|
+
'''
|
|
4034
|
+
result = self._values.get("enabled")
|
|
4035
|
+
assert result is not None, "Required property 'enabled' is missing"
|
|
4036
|
+
return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
|
|
4037
|
+
|
|
4038
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4039
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4040
|
+
|
|
4041
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4042
|
+
return not (rhs == self)
|
|
4043
|
+
|
|
4044
|
+
def __repr__(self) -> str:
|
|
4045
|
+
return "ErrorLogSettingsProperty(%s)" % ", ".join(
|
|
4046
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4047
|
+
)
|
|
4048
|
+
|
|
3749
4049
|
@jsii.data_type(
|
|
3750
4050
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.ExactResponseFieldsProperty",
|
|
3751
4051
|
jsii_struct_bases=[],
|
|
@@ -4507,6 +4807,134 @@ class CfnBot(
|
|
|
4507
4807
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4508
4808
|
)
|
|
4509
4809
|
|
|
4810
|
+
@jsii.data_type(
|
|
4811
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.GenerativeAISettingsProperty",
|
|
4812
|
+
jsii_struct_bases=[],
|
|
4813
|
+
name_mapping={
|
|
4814
|
+
"buildtime_settings": "buildtimeSettings",
|
|
4815
|
+
"runtime_settings": "runtimeSettings",
|
|
4816
|
+
},
|
|
4817
|
+
)
|
|
4818
|
+
class GenerativeAISettingsProperty:
|
|
4819
|
+
def __init__(
|
|
4820
|
+
self,
|
|
4821
|
+
*,
|
|
4822
|
+
buildtime_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BuildtimeSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4823
|
+
runtime_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.RuntimeSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4824
|
+
) -> None:
|
|
4825
|
+
'''Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
|
|
4826
|
+
|
|
4827
|
+
:param buildtime_settings:
|
|
4828
|
+
:param runtime_settings:
|
|
4829
|
+
|
|
4830
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-generativeaisettings.html
|
|
4831
|
+
:exampleMetadata: fixture=_generated
|
|
4832
|
+
|
|
4833
|
+
Example::
|
|
4834
|
+
|
|
4835
|
+
# The code below shows an example of how to instantiate this type.
|
|
4836
|
+
# The values are placeholders you should change.
|
|
4837
|
+
from aws_cdk import aws_lex as lex
|
|
4838
|
+
|
|
4839
|
+
generative_aISettings_property = lex.CfnBot.GenerativeAISettingsProperty(
|
|
4840
|
+
buildtime_settings=lex.CfnBot.BuildtimeSettingsProperty(
|
|
4841
|
+
descriptive_bot_builder_specification=lex.CfnBot.DescriptiveBotBuilderSpecificationProperty(
|
|
4842
|
+
enabled=False,
|
|
4843
|
+
|
|
4844
|
+
# the properties below are optional
|
|
4845
|
+
bedrock_model_specification=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
4846
|
+
model_arn="modelArn",
|
|
4847
|
+
|
|
4848
|
+
# the properties below are optional
|
|
4849
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
4850
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
4851
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
4852
|
+
),
|
|
4853
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
4854
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
4855
|
+
)
|
|
4856
|
+
),
|
|
4857
|
+
sample_utterance_generation_specification=lex.CfnBot.SampleUtteranceGenerationSpecificationProperty(
|
|
4858
|
+
enabled=False,
|
|
4859
|
+
|
|
4860
|
+
# the properties below are optional
|
|
4861
|
+
bedrock_model_specification=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
4862
|
+
model_arn="modelArn",
|
|
4863
|
+
|
|
4864
|
+
# the properties below are optional
|
|
4865
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
4866
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
4867
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
4868
|
+
),
|
|
4869
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
4870
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
4871
|
+
)
|
|
4872
|
+
)
|
|
4873
|
+
),
|
|
4874
|
+
runtime_settings=lex.CfnBot.RuntimeSettingsProperty(
|
|
4875
|
+
nlu_improvement_specification=lex.CfnBot.NluImprovementSpecificationProperty(
|
|
4876
|
+
enabled=False
|
|
4877
|
+
),
|
|
4878
|
+
slot_resolution_improvement_specification=lex.CfnBot.SlotResolutionImprovementSpecificationProperty(
|
|
4879
|
+
enabled=False,
|
|
4880
|
+
|
|
4881
|
+
# the properties below are optional
|
|
4882
|
+
bedrock_model_specification=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
4883
|
+
model_arn="modelArn",
|
|
4884
|
+
|
|
4885
|
+
# the properties below are optional
|
|
4886
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
4887
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
4888
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
4889
|
+
),
|
|
4890
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
4891
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
4892
|
+
)
|
|
4893
|
+
)
|
|
4894
|
+
)
|
|
4895
|
+
)
|
|
4896
|
+
'''
|
|
4897
|
+
if __debug__:
|
|
4898
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c5af637ac1b1b7f3d07ce0df6ed177b23f0681b4005949bd8e68a29b6cd3ed88)
|
|
4899
|
+
check_type(argname="argument buildtime_settings", value=buildtime_settings, expected_type=type_hints["buildtime_settings"])
|
|
4900
|
+
check_type(argname="argument runtime_settings", value=runtime_settings, expected_type=type_hints["runtime_settings"])
|
|
4901
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4902
|
+
if buildtime_settings is not None:
|
|
4903
|
+
self._values["buildtime_settings"] = buildtime_settings
|
|
4904
|
+
if runtime_settings is not None:
|
|
4905
|
+
self._values["runtime_settings"] = runtime_settings
|
|
4906
|
+
|
|
4907
|
+
@builtins.property
|
|
4908
|
+
def buildtime_settings(
|
|
4909
|
+
self,
|
|
4910
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BuildtimeSettingsProperty"]]:
|
|
4911
|
+
'''
|
|
4912
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-generativeaisettings.html#cfn-lex-bot-generativeaisettings-buildtimesettings
|
|
4913
|
+
'''
|
|
4914
|
+
result = self._values.get("buildtime_settings")
|
|
4915
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BuildtimeSettingsProperty"]], result)
|
|
4916
|
+
|
|
4917
|
+
@builtins.property
|
|
4918
|
+
def runtime_settings(
|
|
4919
|
+
self,
|
|
4920
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.RuntimeSettingsProperty"]]:
|
|
4921
|
+
'''
|
|
4922
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-generativeaisettings.html#cfn-lex-bot-generativeaisettings-runtimesettings
|
|
4923
|
+
'''
|
|
4924
|
+
result = self._values.get("runtime_settings")
|
|
4925
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.RuntimeSettingsProperty"]], result)
|
|
4926
|
+
|
|
4927
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4928
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4929
|
+
|
|
4930
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4931
|
+
return not (rhs == self)
|
|
4932
|
+
|
|
4933
|
+
def __repr__(self) -> str:
|
|
4934
|
+
return "GenerativeAISettingsProperty(%s)" % ", ".join(
|
|
4935
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4936
|
+
)
|
|
4937
|
+
|
|
4510
4938
|
@jsii.data_type(
|
|
4511
4939
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.GrammarSlotTypeSettingProperty",
|
|
4512
4940
|
jsii_struct_bases=[],
|
|
@@ -6482,6 +6910,66 @@ class CfnBot(
|
|
|
6482
6910
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6483
6911
|
)
|
|
6484
6912
|
|
|
6913
|
+
@jsii.data_type(
|
|
6914
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.NluImprovementSpecificationProperty",
|
|
6915
|
+
jsii_struct_bases=[],
|
|
6916
|
+
name_mapping={"enabled": "enabled"},
|
|
6917
|
+
)
|
|
6918
|
+
class NluImprovementSpecificationProperty:
|
|
6919
|
+
def __init__(
|
|
6920
|
+
self,
|
|
6921
|
+
*,
|
|
6922
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
6923
|
+
) -> None:
|
|
6924
|
+
'''Configures the Assisted Natural Language Understanding (NLU) feature for your bot.
|
|
6925
|
+
|
|
6926
|
+
This specification determines whether enhanced intent recognition and utterance understanding capabilities are active.
|
|
6927
|
+
|
|
6928
|
+
:param enabled: Determines whether the Assisted NLU feature is enabled for the bot. When set to ``true`` , Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default being ``false`` .
|
|
6929
|
+
|
|
6930
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-nluimprovementspecification.html
|
|
6931
|
+
:exampleMetadata: fixture=_generated
|
|
6932
|
+
|
|
6933
|
+
Example::
|
|
6934
|
+
|
|
6935
|
+
# The code below shows an example of how to instantiate this type.
|
|
6936
|
+
# The values are placeholders you should change.
|
|
6937
|
+
from aws_cdk import aws_lex as lex
|
|
6938
|
+
|
|
6939
|
+
nlu_improvement_specification_property = lex.CfnBot.NluImprovementSpecificationProperty(
|
|
6940
|
+
enabled=False
|
|
6941
|
+
)
|
|
6942
|
+
'''
|
|
6943
|
+
if __debug__:
|
|
6944
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f80adb05041a59edc5a47ce2b664a9d75275b5e3ff27a1ebb50e164ad1b82019)
|
|
6945
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
6946
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6947
|
+
"enabled": enabled,
|
|
6948
|
+
}
|
|
6949
|
+
|
|
6950
|
+
@builtins.property
|
|
6951
|
+
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
6952
|
+
'''Determines whether the Assisted NLU feature is enabled for the bot.
|
|
6953
|
+
|
|
6954
|
+
When set to ``true`` , Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default being ``false`` .
|
|
6955
|
+
|
|
6956
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-nluimprovementspecification.html#cfn-lex-bot-nluimprovementspecification-enabled
|
|
6957
|
+
'''
|
|
6958
|
+
result = self._values.get("enabled")
|
|
6959
|
+
assert result is not None, "Required property 'enabled' is missing"
|
|
6960
|
+
return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
|
|
6961
|
+
|
|
6962
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6963
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6964
|
+
|
|
6965
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6966
|
+
return not (rhs == self)
|
|
6967
|
+
|
|
6968
|
+
def __repr__(self) -> str:
|
|
6969
|
+
return "NluImprovementSpecificationProperty(%s)" % ", ".join(
|
|
6970
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6971
|
+
)
|
|
6972
|
+
|
|
6485
6973
|
@jsii.data_type(
|
|
6486
6974
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.ObfuscationSettingProperty",
|
|
6487
6975
|
jsii_struct_bases=[],
|
|
@@ -8047,6 +8535,98 @@ class CfnBot(
|
|
|
8047
8535
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
8048
8536
|
)
|
|
8049
8537
|
|
|
8538
|
+
@jsii.data_type(
|
|
8539
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.RuntimeSettingsProperty",
|
|
8540
|
+
jsii_struct_bases=[],
|
|
8541
|
+
name_mapping={
|
|
8542
|
+
"nlu_improvement_specification": "nluImprovementSpecification",
|
|
8543
|
+
"slot_resolution_improvement_specification": "slotResolutionImprovementSpecification",
|
|
8544
|
+
},
|
|
8545
|
+
)
|
|
8546
|
+
class RuntimeSettingsProperty:
|
|
8547
|
+
def __init__(
|
|
8548
|
+
self,
|
|
8549
|
+
*,
|
|
8550
|
+
nlu_improvement_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.NluImprovementSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8551
|
+
slot_resolution_improvement_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SlotResolutionImprovementSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8552
|
+
) -> None:
|
|
8553
|
+
'''Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
|
|
8554
|
+
|
|
8555
|
+
:param nlu_improvement_specification:
|
|
8556
|
+
:param slot_resolution_improvement_specification:
|
|
8557
|
+
|
|
8558
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-runtimesettings.html
|
|
8559
|
+
:exampleMetadata: fixture=_generated
|
|
8560
|
+
|
|
8561
|
+
Example::
|
|
8562
|
+
|
|
8563
|
+
# The code below shows an example of how to instantiate this type.
|
|
8564
|
+
# The values are placeholders you should change.
|
|
8565
|
+
from aws_cdk import aws_lex as lex
|
|
8566
|
+
|
|
8567
|
+
runtime_settings_property = lex.CfnBot.RuntimeSettingsProperty(
|
|
8568
|
+
nlu_improvement_specification=lex.CfnBot.NluImprovementSpecificationProperty(
|
|
8569
|
+
enabled=False
|
|
8570
|
+
),
|
|
8571
|
+
slot_resolution_improvement_specification=lex.CfnBot.SlotResolutionImprovementSpecificationProperty(
|
|
8572
|
+
enabled=False,
|
|
8573
|
+
|
|
8574
|
+
# the properties below are optional
|
|
8575
|
+
bedrock_model_specification=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
8576
|
+
model_arn="modelArn",
|
|
8577
|
+
|
|
8578
|
+
# the properties below are optional
|
|
8579
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
8580
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
8581
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
8582
|
+
),
|
|
8583
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
8584
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
8585
|
+
)
|
|
8586
|
+
)
|
|
8587
|
+
)
|
|
8588
|
+
'''
|
|
8589
|
+
if __debug__:
|
|
8590
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a71a2cf14755fdfc2af80bc68d24e71b9e9676019f96eb3437af9ee26c51479b)
|
|
8591
|
+
check_type(argname="argument nlu_improvement_specification", value=nlu_improvement_specification, expected_type=type_hints["nlu_improvement_specification"])
|
|
8592
|
+
check_type(argname="argument slot_resolution_improvement_specification", value=slot_resolution_improvement_specification, expected_type=type_hints["slot_resolution_improvement_specification"])
|
|
8593
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8594
|
+
if nlu_improvement_specification is not None:
|
|
8595
|
+
self._values["nlu_improvement_specification"] = nlu_improvement_specification
|
|
8596
|
+
if slot_resolution_improvement_specification is not None:
|
|
8597
|
+
self._values["slot_resolution_improvement_specification"] = slot_resolution_improvement_specification
|
|
8598
|
+
|
|
8599
|
+
@builtins.property
|
|
8600
|
+
def nlu_improvement_specification(
|
|
8601
|
+
self,
|
|
8602
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.NluImprovementSpecificationProperty"]]:
|
|
8603
|
+
'''
|
|
8604
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-runtimesettings.html#cfn-lex-bot-runtimesettings-nluimprovementspecification
|
|
8605
|
+
'''
|
|
8606
|
+
result = self._values.get("nlu_improvement_specification")
|
|
8607
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.NluImprovementSpecificationProperty"]], result)
|
|
8608
|
+
|
|
8609
|
+
@builtins.property
|
|
8610
|
+
def slot_resolution_improvement_specification(
|
|
8611
|
+
self,
|
|
8612
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SlotResolutionImprovementSpecificationProperty"]]:
|
|
8613
|
+
'''
|
|
8614
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-runtimesettings.html#cfn-lex-bot-runtimesettings-slotresolutionimprovementspecification
|
|
8615
|
+
'''
|
|
8616
|
+
result = self._values.get("slot_resolution_improvement_specification")
|
|
8617
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SlotResolutionImprovementSpecificationProperty"]], result)
|
|
8618
|
+
|
|
8619
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8620
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8621
|
+
|
|
8622
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8623
|
+
return not (rhs == self)
|
|
8624
|
+
|
|
8625
|
+
def __repr__(self) -> str:
|
|
8626
|
+
return "RuntimeSettingsProperty(%s)" % ", ".join(
|
|
8627
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8628
|
+
)
|
|
8629
|
+
|
|
8050
8630
|
@jsii.data_type(
|
|
8051
8631
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.S3BucketLogDestinationProperty",
|
|
8052
8632
|
jsii_struct_bases=[],
|
|
@@ -8283,6 +8863,93 @@ class CfnBot(
|
|
|
8283
8863
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
8284
8864
|
)
|
|
8285
8865
|
|
|
8866
|
+
@jsii.data_type(
|
|
8867
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.SampleUtteranceGenerationSpecificationProperty",
|
|
8868
|
+
jsii_struct_bases=[],
|
|
8869
|
+
name_mapping={
|
|
8870
|
+
"enabled": "enabled",
|
|
8871
|
+
"bedrock_model_specification": "bedrockModelSpecification",
|
|
8872
|
+
},
|
|
8873
|
+
)
|
|
8874
|
+
class SampleUtteranceGenerationSpecificationProperty:
|
|
8875
|
+
def __init__(
|
|
8876
|
+
self,
|
|
8877
|
+
*,
|
|
8878
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
8879
|
+
bedrock_model_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockModelSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8880
|
+
) -> None:
|
|
8881
|
+
'''Contains specifications for the sample utterance generation feature.
|
|
8882
|
+
|
|
8883
|
+
:param enabled: Specifies whether to enable sample utterance generation or not.
|
|
8884
|
+
:param bedrock_model_specification:
|
|
8885
|
+
|
|
8886
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-sampleutterancegenerationspecification.html
|
|
8887
|
+
:exampleMetadata: fixture=_generated
|
|
8888
|
+
|
|
8889
|
+
Example::
|
|
8890
|
+
|
|
8891
|
+
# The code below shows an example of how to instantiate this type.
|
|
8892
|
+
# The values are placeholders you should change.
|
|
8893
|
+
from aws_cdk import aws_lex as lex
|
|
8894
|
+
|
|
8895
|
+
sample_utterance_generation_specification_property = lex.CfnBot.SampleUtteranceGenerationSpecificationProperty(
|
|
8896
|
+
enabled=False,
|
|
8897
|
+
|
|
8898
|
+
# the properties below are optional
|
|
8899
|
+
bedrock_model_specification=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
8900
|
+
model_arn="modelArn",
|
|
8901
|
+
|
|
8902
|
+
# the properties below are optional
|
|
8903
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
8904
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
8905
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
8906
|
+
),
|
|
8907
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
8908
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
8909
|
+
)
|
|
8910
|
+
)
|
|
8911
|
+
'''
|
|
8912
|
+
if __debug__:
|
|
8913
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e657dbc1492761e5faf255622014eb530caa458acfdde6b55e366b251a3ae148)
|
|
8914
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
8915
|
+
check_type(argname="argument bedrock_model_specification", value=bedrock_model_specification, expected_type=type_hints["bedrock_model_specification"])
|
|
8916
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8917
|
+
"enabled": enabled,
|
|
8918
|
+
}
|
|
8919
|
+
if bedrock_model_specification is not None:
|
|
8920
|
+
self._values["bedrock_model_specification"] = bedrock_model_specification
|
|
8921
|
+
|
|
8922
|
+
@builtins.property
|
|
8923
|
+
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
8924
|
+
'''Specifies whether to enable sample utterance generation or not.
|
|
8925
|
+
|
|
8926
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-sampleutterancegenerationspecification.html#cfn-lex-bot-sampleutterancegenerationspecification-enabled
|
|
8927
|
+
'''
|
|
8928
|
+
result = self._values.get("enabled")
|
|
8929
|
+
assert result is not None, "Required property 'enabled' is missing"
|
|
8930
|
+
return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
|
|
8931
|
+
|
|
8932
|
+
@builtins.property
|
|
8933
|
+
def bedrock_model_specification(
|
|
8934
|
+
self,
|
|
8935
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]]:
|
|
8936
|
+
'''
|
|
8937
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-sampleutterancegenerationspecification.html#cfn-lex-bot-sampleutterancegenerationspecification-bedrockmodelspecification
|
|
8938
|
+
'''
|
|
8939
|
+
result = self._values.get("bedrock_model_specification")
|
|
8940
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]], result)
|
|
8941
|
+
|
|
8942
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8943
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8944
|
+
|
|
8945
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8946
|
+
return not (rhs == self)
|
|
8947
|
+
|
|
8948
|
+
def __repr__(self) -> str:
|
|
8949
|
+
return "SampleUtteranceGenerationSpecificationProperty(%s)" % ", ".join(
|
|
8950
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8951
|
+
)
|
|
8952
|
+
|
|
8286
8953
|
@jsii.data_type(
|
|
8287
8954
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.SampleUtteranceProperty",
|
|
8288
8955
|
jsii_struct_bases=[],
|
|
@@ -9034,6 +9701,94 @@ class CfnBot(
|
|
|
9034
9701
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
9035
9702
|
)
|
|
9036
9703
|
|
|
9704
|
+
@jsii.data_type(
|
|
9705
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.SlotResolutionImprovementSpecificationProperty",
|
|
9706
|
+
jsii_struct_bases=[],
|
|
9707
|
+
name_mapping={
|
|
9708
|
+
"enabled": "enabled",
|
|
9709
|
+
"bedrock_model_specification": "bedrockModelSpecification",
|
|
9710
|
+
},
|
|
9711
|
+
)
|
|
9712
|
+
class SlotResolutionImprovementSpecificationProperty:
|
|
9713
|
+
def __init__(
|
|
9714
|
+
self,
|
|
9715
|
+
*,
|
|
9716
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
9717
|
+
bedrock_model_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockModelSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9718
|
+
) -> None:
|
|
9719
|
+
'''Contains specifications for the assisted slot resolution feature.
|
|
9720
|
+
|
|
9721
|
+
:param enabled: Specifies whether assisted slot resolution is turned on or off.
|
|
9722
|
+
:param bedrock_model_specification: An object containing information about the Amazon Bedrock model used to assist slot resolution.
|
|
9723
|
+
|
|
9724
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotresolutionimprovementspecification.html
|
|
9725
|
+
:exampleMetadata: fixture=_generated
|
|
9726
|
+
|
|
9727
|
+
Example::
|
|
9728
|
+
|
|
9729
|
+
# The code below shows an example of how to instantiate this type.
|
|
9730
|
+
# The values are placeholders you should change.
|
|
9731
|
+
from aws_cdk import aws_lex as lex
|
|
9732
|
+
|
|
9733
|
+
slot_resolution_improvement_specification_property = lex.CfnBot.SlotResolutionImprovementSpecificationProperty(
|
|
9734
|
+
enabled=False,
|
|
9735
|
+
|
|
9736
|
+
# the properties below are optional
|
|
9737
|
+
bedrock_model_specification=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
9738
|
+
model_arn="modelArn",
|
|
9739
|
+
|
|
9740
|
+
# the properties below are optional
|
|
9741
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
9742
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
9743
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
9744
|
+
),
|
|
9745
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
9746
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
9747
|
+
)
|
|
9748
|
+
)
|
|
9749
|
+
'''
|
|
9750
|
+
if __debug__:
|
|
9751
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cfa728c6d1ad54e6065258e5a5281c799d2b880a392d0bf7354d8a00baffdd93)
|
|
9752
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
9753
|
+
check_type(argname="argument bedrock_model_specification", value=bedrock_model_specification, expected_type=type_hints["bedrock_model_specification"])
|
|
9754
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9755
|
+
"enabled": enabled,
|
|
9756
|
+
}
|
|
9757
|
+
if bedrock_model_specification is not None:
|
|
9758
|
+
self._values["bedrock_model_specification"] = bedrock_model_specification
|
|
9759
|
+
|
|
9760
|
+
@builtins.property
|
|
9761
|
+
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
9762
|
+
'''Specifies whether assisted slot resolution is turned on or off.
|
|
9763
|
+
|
|
9764
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotresolutionimprovementspecification.html#cfn-lex-bot-slotresolutionimprovementspecification-enabled
|
|
9765
|
+
'''
|
|
9766
|
+
result = self._values.get("enabled")
|
|
9767
|
+
assert result is not None, "Required property 'enabled' is missing"
|
|
9768
|
+
return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
|
|
9769
|
+
|
|
9770
|
+
@builtins.property
|
|
9771
|
+
def bedrock_model_specification(
|
|
9772
|
+
self,
|
|
9773
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]]:
|
|
9774
|
+
'''An object containing information about the Amazon Bedrock model used to assist slot resolution.
|
|
9775
|
+
|
|
9776
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotresolutionimprovementspecification.html#cfn-lex-bot-slotresolutionimprovementspecification-bedrockmodelspecification
|
|
9777
|
+
'''
|
|
9778
|
+
result = self._values.get("bedrock_model_specification")
|
|
9779
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]], result)
|
|
9780
|
+
|
|
9781
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9782
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9783
|
+
|
|
9784
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
9785
|
+
return not (rhs == self)
|
|
9786
|
+
|
|
9787
|
+
def __repr__(self) -> str:
|
|
9788
|
+
return "SlotResolutionImprovementSpecificationProperty(%s)" % ", ".join(
|
|
9789
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
9790
|
+
)
|
|
9791
|
+
|
|
9037
9792
|
@jsii.data_type(
|
|
9038
9793
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.SlotTypeProperty",
|
|
9039
9794
|
jsii_struct_bases=[],
|
|
@@ -11858,7 +12613,7 @@ class CfnBot(
|
|
|
11858
12613
|
)
|
|
11859
12614
|
|
|
11860
12615
|
|
|
11861
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
12616
|
+
@jsii.implements(_IInspectable_c2943556, _IBotAliasRef_8ce881f4)
|
|
11862
12617
|
class CfnBotAlias(
|
|
11863
12618
|
_CfnResource_9df397a6,
|
|
11864
12619
|
metaclass=jsii.JSIIMeta,
|
|
@@ -11950,7 +12705,8 @@ class CfnBotAlias(
|
|
|
11950
12705
|
description: typing.Optional[builtins.str] = None,
|
|
11951
12706
|
sentiment_analysis_settings: typing.Any = None,
|
|
11952
12707
|
) -> None:
|
|
11953
|
-
'''
|
|
12708
|
+
'''Create a new ``AWS::Lex::BotAlias``.
|
|
12709
|
+
|
|
11954
12710
|
:param scope: Scope in which this resource is defined.
|
|
11955
12711
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
11956
12712
|
:param bot_alias_name: The name of the bot alias.
|
|
@@ -12038,6 +12794,12 @@ class CfnBotAlias(
|
|
|
12038
12794
|
'''
|
|
12039
12795
|
return typing.cast(builtins.str, jsii.get(self, "attrBotAliasStatus"))
|
|
12040
12796
|
|
|
12797
|
+
@builtins.property
|
|
12798
|
+
@jsii.member(jsii_name="botAliasRef")
|
|
12799
|
+
def bot_alias_ref(self) -> _BotAliasReference_eb7b7ff7:
|
|
12800
|
+
'''A reference to a BotAlias resource.'''
|
|
12801
|
+
return typing.cast(_BotAliasReference_eb7b7ff7, jsii.get(self, "botAliasRef"))
|
|
12802
|
+
|
|
12041
12803
|
@builtins.property
|
|
12042
12804
|
@jsii.member(jsii_name="cfnProperties")
|
|
12043
12805
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -13321,6 +14083,7 @@ class CfnBotAliasProps:
|
|
|
13321
14083
|
"bot_locales": "botLocales",
|
|
13322
14084
|
"bot_tags": "botTags",
|
|
13323
14085
|
"description": "description",
|
|
14086
|
+
"error_log_settings": "errorLogSettings",
|
|
13324
14087
|
"replication": "replication",
|
|
13325
14088
|
"test_bot_alias_settings": "testBotAliasSettings",
|
|
13326
14089
|
"test_bot_alias_tags": "testBotAliasTags",
|
|
@@ -13339,6 +14102,7 @@ class CfnBotProps:
|
|
|
13339
14102
|
bot_locales: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BotLocaleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
13340
14103
|
bot_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
13341
14104
|
description: typing.Optional[builtins.str] = None,
|
|
14105
|
+
error_log_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ErrorLogSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13342
14106
|
replication: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ReplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13343
14107
|
test_bot_alias_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.TestBotAliasSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13344
14108
|
test_bot_alias_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -13354,6 +14118,7 @@ class CfnBotProps:
|
|
|
13354
14118
|
:param bot_locales: A list of locales for the bot.
|
|
13355
14119
|
:param bot_tags: A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the ``UpdateBot`` operation to update tags. To update tags, use the ``TagResource`` operation.
|
|
13356
14120
|
:param description: The description of the version.
|
|
14121
|
+
:param error_log_settings:
|
|
13357
14122
|
:param replication:
|
|
13358
14123
|
:param test_bot_alias_settings: Specifies configuration settings for the alias used to test the bot. If the ``TestBotAliasSettings`` property is not specified, the settings are configured with default values.
|
|
13359
14124
|
:param test_bot_alias_tags: A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the ``UpdateAlias`` operation to update tags. To update tags on the test alias, use the ``TagResource`` operation.
|
|
@@ -13376,6 +14141,7 @@ class CfnBotProps:
|
|
|
13376
14141
|
check_type(argname="argument bot_locales", value=bot_locales, expected_type=type_hints["bot_locales"])
|
|
13377
14142
|
check_type(argname="argument bot_tags", value=bot_tags, expected_type=type_hints["bot_tags"])
|
|
13378
14143
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
14144
|
+
check_type(argname="argument error_log_settings", value=error_log_settings, expected_type=type_hints["error_log_settings"])
|
|
13379
14145
|
check_type(argname="argument replication", value=replication, expected_type=type_hints["replication"])
|
|
13380
14146
|
check_type(argname="argument test_bot_alias_settings", value=test_bot_alias_settings, expected_type=type_hints["test_bot_alias_settings"])
|
|
13381
14147
|
check_type(argname="argument test_bot_alias_tags", value=test_bot_alias_tags, expected_type=type_hints["test_bot_alias_tags"])
|
|
@@ -13395,6 +14161,8 @@ class CfnBotProps:
|
|
|
13395
14161
|
self._values["bot_tags"] = bot_tags
|
|
13396
14162
|
if description is not None:
|
|
13397
14163
|
self._values["description"] = description
|
|
14164
|
+
if error_log_settings is not None:
|
|
14165
|
+
self._values["error_log_settings"] = error_log_settings
|
|
13398
14166
|
if replication is not None:
|
|
13399
14167
|
self._values["replication"] = replication
|
|
13400
14168
|
if test_bot_alias_settings is not None:
|
|
@@ -13505,6 +14273,16 @@ class CfnBotProps:
|
|
|
13505
14273
|
result = self._values.get("description")
|
|
13506
14274
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
13507
14275
|
|
|
14276
|
+
@builtins.property
|
|
14277
|
+
def error_log_settings(
|
|
14278
|
+
self,
|
|
14279
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBot.ErrorLogSettingsProperty]]:
|
|
14280
|
+
'''
|
|
14281
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html#cfn-lex-bot-errorlogsettings
|
|
14282
|
+
'''
|
|
14283
|
+
result = self._values.get("error_log_settings")
|
|
14284
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBot.ErrorLogSettingsProperty]], result)
|
|
14285
|
+
|
|
13508
14286
|
@builtins.property
|
|
13509
14287
|
def replication(
|
|
13510
14288
|
self,
|
|
@@ -13553,7 +14331,7 @@ class CfnBotProps:
|
|
|
13553
14331
|
)
|
|
13554
14332
|
|
|
13555
14333
|
|
|
13556
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
14334
|
+
@jsii.implements(_IInspectable_c2943556, _IBotVersionRef_ba36d768)
|
|
13557
14335
|
class CfnBotVersion(
|
|
13558
14336
|
_CfnResource_9df397a6,
|
|
13559
14337
|
metaclass=jsii.JSIIMeta,
|
|
@@ -13600,7 +14378,8 @@ class CfnBotVersion(
|
|
|
13600
14378
|
bot_version_locale_specification: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBotVersion.BotVersionLocaleSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
13601
14379
|
description: typing.Optional[builtins.str] = None,
|
|
13602
14380
|
) -> None:
|
|
13603
|
-
'''
|
|
14381
|
+
'''Create a new ``AWS::Lex::BotVersion``.
|
|
14382
|
+
|
|
13604
14383
|
:param scope: Scope in which this resource is defined.
|
|
13605
14384
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
13606
14385
|
:param bot_id: The unique identifier of the bot.
|
|
@@ -13658,6 +14437,12 @@ class CfnBotVersion(
|
|
|
13658
14437
|
'''
|
|
13659
14438
|
return typing.cast(builtins.str, jsii.get(self, "attrBotVersion"))
|
|
13660
14439
|
|
|
14440
|
+
@builtins.property
|
|
14441
|
+
@jsii.member(jsii_name="botVersionRef")
|
|
14442
|
+
def bot_version_ref(self) -> _BotVersionReference_403e9f25:
|
|
14443
|
+
'''A reference to a BotVersion resource.'''
|
|
14444
|
+
return typing.cast(_BotVersionReference_403e9f25, jsii.get(self, "botVersionRef"))
|
|
14445
|
+
|
|
13661
14446
|
@builtins.property
|
|
13662
14447
|
@jsii.member(jsii_name="cfnProperties")
|
|
13663
14448
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -13942,7 +14727,7 @@ class CfnBotVersionProps:
|
|
|
13942
14727
|
)
|
|
13943
14728
|
|
|
13944
14729
|
|
|
13945
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
14730
|
+
@jsii.implements(_IInspectable_c2943556, _IResourcePolicyRef_18182ecb)
|
|
13946
14731
|
class CfnResourcePolicy(
|
|
13947
14732
|
_CfnResource_9df397a6,
|
|
13948
14733
|
metaclass=jsii.JSIIMeta,
|
|
@@ -13980,7 +14765,8 @@ class CfnResourcePolicy(
|
|
|
13980
14765
|
policy: typing.Any,
|
|
13981
14766
|
resource_arn: builtins.str,
|
|
13982
14767
|
) -> None:
|
|
13983
|
-
'''
|
|
14768
|
+
'''Create a new ``AWS::Lex::ResourcePolicy``.
|
|
14769
|
+
|
|
13984
14770
|
:param scope: Scope in which this resource is defined.
|
|
13985
14771
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
13986
14772
|
:param policy: A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow IAM syntax. If the policy isn't valid, Amazon Lex returns a validation exception.
|
|
@@ -14047,6 +14833,12 @@ class CfnResourcePolicy(
|
|
|
14047
14833
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
14048
14834
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
14049
14835
|
|
|
14836
|
+
@builtins.property
|
|
14837
|
+
@jsii.member(jsii_name="resourcePolicyRef")
|
|
14838
|
+
def resource_policy_ref(self) -> _ResourcePolicyReference_5d84a344:
|
|
14839
|
+
'''A reference to a ResourcePolicy resource.'''
|
|
14840
|
+
return typing.cast(_ResourcePolicyReference_5d84a344, jsii.get(self, "resourcePolicyRef"))
|
|
14841
|
+
|
|
14050
14842
|
@builtins.property
|
|
14051
14843
|
@jsii.member(jsii_name="policy")
|
|
14052
14844
|
def policy(self) -> typing.Any:
|
|
@@ -14171,6 +14963,7 @@ def _typecheckingstub__5c185fb71324df3b939f1cbff6a813b57733510cba6989dac147b9a3a
|
|
|
14171
14963
|
bot_locales: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BotLocaleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14172
14964
|
bot_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14173
14965
|
description: typing.Optional[builtins.str] = None,
|
|
14966
|
+
error_log_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ErrorLogSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14174
14967
|
replication: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ReplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14175
14968
|
test_bot_alias_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.TestBotAliasSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14176
14969
|
test_bot_alias_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -14244,6 +15037,12 @@ def _typecheckingstub__72103623fa216232524c89f3e94b6a4e2056c1e8ad43603db83275506
|
|
|
14244
15037
|
"""Type checking stubs"""
|
|
14245
15038
|
pass
|
|
14246
15039
|
|
|
15040
|
+
def _typecheckingstub__606ffbe82078c04fc48db5544bb87403e15eecb94ab4de4dfef298d8b2e5cbca(
|
|
15041
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBot.ErrorLogSettingsProperty]],
|
|
15042
|
+
) -> None:
|
|
15043
|
+
"""Type checking stubs"""
|
|
15044
|
+
pass
|
|
15045
|
+
|
|
14247
15046
|
def _typecheckingstub__216cef1fd41900705f9b354338869c1eb4c662dac7d796bbff78b6110634e068(
|
|
14248
15047
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBot.ReplicationProperty]],
|
|
14249
15048
|
) -> None:
|
|
@@ -14389,6 +15188,7 @@ def _typecheckingstub__2ad20956b5309c4b6154f09c947ce4023f20ed7a602b3cfa60f2bd3cf
|
|
|
14389
15188
|
nlu_confidence_threshold: jsii.Number,
|
|
14390
15189
|
custom_vocabulary: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.CustomVocabularyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14391
15190
|
description: typing.Optional[builtins.str] = None,
|
|
15191
|
+
generative_ai_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.GenerativeAISettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14392
15192
|
intents: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.IntentProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14393
15193
|
slot_types: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SlotTypeProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14394
15194
|
voice_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.VoiceSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -14396,6 +15196,14 @@ def _typecheckingstub__2ad20956b5309c4b6154f09c947ce4023f20ed7a602b3cfa60f2bd3cf
|
|
|
14396
15196
|
"""Type checking stubs"""
|
|
14397
15197
|
pass
|
|
14398
15198
|
|
|
15199
|
+
def _typecheckingstub__55f55af8a135ebdc8d2d68a3f39bdd435c48864ae190d23d1774d92a289587a1(
|
|
15200
|
+
*,
|
|
15201
|
+
descriptive_bot_builder_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.DescriptiveBotBuilderSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15202
|
+
sample_utterance_generation_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SampleUtteranceGenerationSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15203
|
+
) -> None:
|
|
15204
|
+
"""Type checking stubs"""
|
|
15205
|
+
pass
|
|
15206
|
+
|
|
14399
15207
|
def _typecheckingstub__d0208df4d8ce79e1029770ef72acb7332713a8684db0810b60ddcd684dc98bcd(
|
|
14400
15208
|
*,
|
|
14401
15209
|
text: builtins.str,
|
|
@@ -14517,6 +15325,14 @@ def _typecheckingstub__b17d7f375530a3080dd7a04795acd6231e37882d54e677880209844b3
|
|
|
14517
15325
|
"""Type checking stubs"""
|
|
14518
15326
|
pass
|
|
14519
15327
|
|
|
15328
|
+
def _typecheckingstub__ea3cb55a84af77a42088fb1190880b1ceae0ef66ce41f41f8a469a0b1dfd352d(
|
|
15329
|
+
*,
|
|
15330
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
15331
|
+
bedrock_model_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockModelSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15332
|
+
) -> None:
|
|
15333
|
+
"""Type checking stubs"""
|
|
15334
|
+
pass
|
|
15335
|
+
|
|
14520
15336
|
def _typecheckingstub__e376869d573dbc5f07a8bacbcb08139f9ccf20789d86cfdc88afd3db242dd177(
|
|
14521
15337
|
*,
|
|
14522
15338
|
type: builtins.str,
|
|
@@ -14560,6 +15376,13 @@ def _typecheckingstub__60b6686b2f7d08316ec6f3906c1eb41b85065d8e1d623e4ccb84213be
|
|
|
14560
15376
|
"""Type checking stubs"""
|
|
14561
15377
|
pass
|
|
14562
15378
|
|
|
15379
|
+
def _typecheckingstub__889dfa7e4bae2942ab9113cc1fc2daf6258bacf8d15a90096950359390714919(
|
|
15380
|
+
*,
|
|
15381
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
15382
|
+
) -> None:
|
|
15383
|
+
"""Type checking stubs"""
|
|
15384
|
+
pass
|
|
15385
|
+
|
|
14563
15386
|
def _typecheckingstub__763b75448aee2b4fee3dce3c3b9828881f42bb6dff2c8c36ad958cddfceacb3a(
|
|
14564
15387
|
*,
|
|
14565
15388
|
answer_field: typing.Optional[builtins.str] = None,
|
|
@@ -14613,6 +15436,14 @@ def _typecheckingstub__500ed503fae8fece46360727878fdf9250149c5d237d5f4414d8191ff
|
|
|
14613
15436
|
"""Type checking stubs"""
|
|
14614
15437
|
pass
|
|
14615
15438
|
|
|
15439
|
+
def _typecheckingstub__c5af637ac1b1b7f3d07ce0df6ed177b23f0681b4005949bd8e68a29b6cd3ed88(
|
|
15440
|
+
*,
|
|
15441
|
+
buildtime_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BuildtimeSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15442
|
+
runtime_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.RuntimeSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15443
|
+
) -> None:
|
|
15444
|
+
"""Type checking stubs"""
|
|
15445
|
+
pass
|
|
15446
|
+
|
|
14616
15447
|
def _typecheckingstub__7607729da805dba490266bfccf35e40fc22f0e3b3c4d78038e129d897dd21483(
|
|
14617
15448
|
*,
|
|
14618
15449
|
source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.GrammarSlotTypeSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -14758,6 +15589,13 @@ def _typecheckingstub__5d243896aac9e5978582c7a17b393ee26ecc4d0b53d8eeecb47f9b8e6
|
|
|
14758
15589
|
"""Type checking stubs"""
|
|
14759
15590
|
pass
|
|
14760
15591
|
|
|
15592
|
+
def _typecheckingstub__f80adb05041a59edc5a47ce2b664a9d75275b5e3ff27a1ebb50e164ad1b82019(
|
|
15593
|
+
*,
|
|
15594
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
15595
|
+
) -> None:
|
|
15596
|
+
"""Type checking stubs"""
|
|
15597
|
+
pass
|
|
15598
|
+
|
|
14761
15599
|
def _typecheckingstub__a795f3c1800daacb8fa1b1f53ef1260088f1fa8ef905157a69c25f1fb6aaf260(
|
|
14762
15600
|
*,
|
|
14763
15601
|
obfuscation_setting_type: builtins.str,
|
|
@@ -14890,6 +15728,14 @@ def _typecheckingstub__41b902a3461c6b590e44c1b70d9b5197da38bf30395535518dbeee15b
|
|
|
14890
15728
|
"""Type checking stubs"""
|
|
14891
15729
|
pass
|
|
14892
15730
|
|
|
15731
|
+
def _typecheckingstub__a71a2cf14755fdfc2af80bc68d24e71b9e9676019f96eb3437af9ee26c51479b(
|
|
15732
|
+
*,
|
|
15733
|
+
nlu_improvement_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.NluImprovementSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15734
|
+
slot_resolution_improvement_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SlotResolutionImprovementSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15735
|
+
) -> None:
|
|
15736
|
+
"""Type checking stubs"""
|
|
15737
|
+
pass
|
|
15738
|
+
|
|
14893
15739
|
def _typecheckingstub__ded78dd4eccaf929584502bf9d04303df195ccea074a52fa76a797748ee0e43b(
|
|
14894
15740
|
*,
|
|
14895
15741
|
log_prefix: builtins.str,
|
|
@@ -14915,6 +15761,14 @@ def _typecheckingstub__0c9fd5a338093c2843c71a2fd67ef382cd74c7db746e18dcc56d46f70
|
|
|
14915
15761
|
"""Type checking stubs"""
|
|
14916
15762
|
pass
|
|
14917
15763
|
|
|
15764
|
+
def _typecheckingstub__e657dbc1492761e5faf255622014eb530caa458acfdde6b55e366b251a3ae148(
|
|
15765
|
+
*,
|
|
15766
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
15767
|
+
bedrock_model_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockModelSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15768
|
+
) -> None:
|
|
15769
|
+
"""Type checking stubs"""
|
|
15770
|
+
pass
|
|
15771
|
+
|
|
14918
15772
|
def _typecheckingstub__0142d6efc46c3cefacaba45fb4bc73266bcc186db01a160e97d3c9792a68f815(
|
|
14919
15773
|
*,
|
|
14920
15774
|
utterance: builtins.str,
|
|
@@ -14993,6 +15847,14 @@ def _typecheckingstub__ef126475ab56636b361ebc97f72cf09bd8480c4e5dad06e8da998fba1
|
|
|
14993
15847
|
"""Type checking stubs"""
|
|
14994
15848
|
pass
|
|
14995
15849
|
|
|
15850
|
+
def _typecheckingstub__cfa728c6d1ad54e6065258e5a5281c799d2b880a392d0bf7354d8a00baffdd93(
|
|
15851
|
+
*,
|
|
15852
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
15853
|
+
bedrock_model_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockModelSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15854
|
+
) -> None:
|
|
15855
|
+
"""Type checking stubs"""
|
|
15856
|
+
pass
|
|
15857
|
+
|
|
14996
15858
|
def _typecheckingstub__d99d82598958085799a77f6b5114773dd5d435a8eed078da9626b631bffcfeea(
|
|
14997
15859
|
*,
|
|
14998
15860
|
name: builtins.str,
|
|
@@ -15354,6 +16216,7 @@ def _typecheckingstub__5bd27c18d3e2a58ae9aef768e05a25ed92243f8298c9575d9ff15c1d7
|
|
|
15354
16216
|
bot_locales: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BotLocaleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15355
16217
|
bot_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15356
16218
|
description: typing.Optional[builtins.str] = None,
|
|
16219
|
+
error_log_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ErrorLogSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15357
16220
|
replication: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ReplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15358
16221
|
test_bot_alias_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.TestBotAliasSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15359
16222
|
test_bot_alias_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|