aws-cdk-lib 2.195.0__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.

Files changed (572) hide show
  1. aws_cdk/__init__.py +1806 -417
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +12 -2
  5. aws_cdk/aws_accessanalyzer/__init__.py +323 -6
  6. aws_cdk/aws_acmpca/__init__.py +53 -10
  7. aws_cdk/aws_aiops/__init__.py +1019 -0
  8. aws_cdk/aws_amazonmq/__init__.py +357 -313
  9. aws_cdk/aws_amplify/__init__.py +173 -17
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
  11. aws_cdk/aws_apigateway/__init__.py +1245 -215
  12. aws_cdk/aws_apigatewayv2/__init__.py +3890 -476
  13. aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
  14. aws_cdk/aws_appconfig/__init__.py +618 -91
  15. aws_cdk/aws_appflow/__init__.py +151 -6
  16. aws_cdk/aws_appintegrations/__init__.py +546 -6
  17. aws_cdk/aws_applicationautoscaling/__init__.py +75 -10
  18. aws_cdk/aws_applicationinsights/__init__.py +13 -2
  19. aws_cdk/aws_applicationsignals/__init__.py +374 -6
  20. aws_cdk/aws_appmesh/__init__.py +136 -26
  21. aws_cdk/aws_apprunner/__init__.py +66 -18
  22. aws_cdk/aws_appstream/__init__.py +309 -55
  23. aws_cdk/aws_appsync/__init__.py +350 -94
  24. aws_cdk/aws_apptest/__init__.py +71 -2
  25. aws_cdk/aws_aps/__init__.py +2188 -94
  26. aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
  27. aws_cdk/aws_arczonalshift/__init__.py +39 -12
  28. aws_cdk/aws_athena/__init__.py +365 -29
  29. aws_cdk/aws_auditmanager/__init__.py +71 -2
  30. aws_cdk/aws_autoscaling/__init__.py +165 -60
  31. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  32. aws_cdk/aws_autoscalingplans/__init__.py +13 -2
  33. aws_cdk/aws_b2bi/__init__.py +1819 -99
  34. aws_cdk/aws_backup/__init__.py +370 -42
  35. aws_cdk/aws_backupgateway/__init__.py +13 -2
  36. aws_cdk/aws_batch/__init__.py +1462 -163
  37. aws_cdk/aws_bcmdataexports/__init__.py +21 -2
  38. aws_cdk/aws_bedrock/__init__.py +7867 -727
  39. aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
  40. aws_cdk/aws_billingconductor/__init__.py +197 -11
  41. aws_cdk/aws_budgets/__init__.py +611 -4
  42. aws_cdk/aws_cassandra/__init__.py +247 -6
  43. aws_cdk/aws_ce/__init__.py +35 -6
  44. aws_cdk/aws_certificatemanager/__init__.py +258 -32
  45. aws_cdk/aws_chatbot/__init__.py +76 -6
  46. aws_cdk/aws_cleanrooms/__init__.py +709 -206
  47. aws_cdk/aws_cleanroomsml/__init__.py +13 -2
  48. aws_cdk/aws_cloud9/__init__.py +13 -2
  49. aws_cdk/aws_cloudformation/__init__.py +362 -189
  50. aws_cdk/aws_cloudfront/__init__.py +2188 -674
  51. aws_cdk/aws_cloudfront/experimental/__init__.py +114 -16
  52. aws_cdk/aws_cloudfront_origins/__init__.py +615 -74
  53. aws_cdk/aws_cloudtrail/__init__.py +311 -21
  54. aws_cdk/aws_cloudwatch/__init__.py +3093 -1038
  55. aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
  56. aws_cdk/aws_codeartifact/__init__.py +35 -6
  57. aws_cdk/aws_codebuild/__init__.py +1303 -135
  58. aws_cdk/aws_codecommit/__init__.py +29 -9
  59. aws_cdk/aws_codeconnections/__init__.py +13 -2
  60. aws_cdk/aws_codedeploy/__init__.py +130 -6
  61. aws_cdk/aws_codeguruprofiler/__init__.py +80 -2
  62. aws_cdk/aws_codegurureviewer/__init__.py +13 -2
  63. aws_cdk/aws_codepipeline/__init__.py +177 -71
  64. aws_cdk/aws_codepipeline_actions/__init__.py +753 -4
  65. aws_cdk/aws_codestar/__init__.py +13 -2
  66. aws_cdk/aws_codestarconnections/__init__.py +35 -6
  67. aws_cdk/aws_codestarnotifications/__init__.py +22 -2
  68. aws_cdk/aws_cognito/__init__.py +905 -92
  69. aws_cdk/aws_cognito_identitypool/__init__.py +23 -12
  70. aws_cdk/aws_comprehend/__init__.py +24 -4
  71. aws_cdk/aws_config/__init__.py +227 -30
  72. aws_cdk/aws_connect/__init__.py +2736 -191
  73. aws_cdk/aws_connectcampaigns/__init__.py +13 -2
  74. aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
  75. aws_cdk/aws_controltower/__init__.py +35 -6
  76. aws_cdk/aws_cur/__init__.py +100 -4
  77. aws_cdk/aws_customerprofiles/__init__.py +617 -27
  78. aws_cdk/aws_databrew/__init__.py +68 -12
  79. aws_cdk/aws_datapipeline/__init__.py +42 -2
  80. aws_cdk/aws_datasync/__init__.py +1514 -977
  81. aws_cdk/aws_datazone/__init__.py +7426 -1763
  82. aws_cdk/aws_dax/__init__.py +83 -6
  83. aws_cdk/aws_deadline/__init__.py +511 -36
  84. aws_cdk/aws_detective/__init__.py +35 -6
  85. aws_cdk/aws_devicefarm/__init__.py +68 -12
  86. aws_cdk/aws_devopsguru/__init__.py +37 -6
  87. aws_cdk/aws_directoryservice/__init__.py +53 -4
  88. aws_cdk/aws_dlm/__init__.py +13 -2
  89. aws_cdk/aws_dms/__init__.py +184 -27
  90. aws_cdk/aws_docdb/__init__.py +350 -49
  91. aws_cdk/aws_docdbelastic/__init__.py +13 -2
  92. aws_cdk/aws_dsql/__init__.py +386 -16
  93. aws_cdk/aws_dynamodb/__init__.py +1479 -170
  94. aws_cdk/aws_ec2/__init__.py +10465 -1335
  95. aws_cdk/aws_ecr/__init__.py +637 -43
  96. aws_cdk/aws_ecr_assets/__init__.py +10 -0
  97. aws_cdk/aws_ecs/__init__.py +6629 -490
  98. aws_cdk/aws_ecs_patterns/__init__.py +124 -12
  99. aws_cdk/aws_efs/__init__.py +276 -24
  100. aws_cdk/aws_eks/__init__.py +1132 -227
  101. aws_cdk/aws_elasticache/__init__.py +378 -25
  102. aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
  103. aws_cdk/aws_elasticloadbalancing/__init__.py +22 -2
  104. aws_cdk/aws_elasticloadbalancingv2/__init__.py +1796 -123
  105. aws_cdk/aws_elasticsearch/__init__.py +291 -9
  106. aws_cdk/aws_emr/__init__.py +219 -18
  107. aws_cdk/aws_emrcontainers/__init__.py +71 -2
  108. aws_cdk/aws_emrserverless/__init__.py +188 -3
  109. aws_cdk/aws_entityresolution/__init__.py +585 -58
  110. aws_cdk/aws_events/__init__.py +1007 -126
  111. aws_cdk/aws_events_targets/__init__.py +398 -65
  112. aws_cdk/aws_eventschemas/__init__.py +46 -8
  113. aws_cdk/aws_evidently/__init__.py +57 -10
  114. aws_cdk/aws_evs/__init__.py +2244 -0
  115. aws_cdk/aws_finspace/__init__.py +71 -2
  116. aws_cdk/aws_fis/__init__.py +26 -4
  117. aws_cdk/aws_fms/__init__.py +35 -6
  118. aws_cdk/aws_forecast/__init__.py +24 -4
  119. aws_cdk/aws_frauddetector/__init__.py +79 -14
  120. aws_cdk/aws_fsx/__init__.py +1349 -127
  121. aws_cdk/aws_gamelift/__init__.py +755 -94
  122. aws_cdk/aws_gameliftstreams/__init__.py +44 -22
  123. aws_cdk/aws_globalaccelerator/__init__.py +73 -14
  124. aws_cdk/aws_glue/__init__.py +1455 -378
  125. aws_cdk/aws_grafana/__init__.py +13 -2
  126. aws_cdk/aws_greengrass/__init__.py +654 -32
  127. aws_cdk/aws_greengrassv2/__init__.py +53 -4
  128. aws_cdk/aws_groundstation/__init__.py +122 -6
  129. aws_cdk/aws_guardduty/__init__.py +1613 -123
  130. aws_cdk/aws_healthimaging/__init__.py +71 -2
  131. aws_cdk/aws_healthlake/__init__.py +42 -2
  132. aws_cdk/aws_iam/__init__.py +921 -141
  133. aws_cdk/aws_identitystore/__init__.py +24 -4
  134. aws_cdk/aws_imagebuilder/__init__.py +1454 -199
  135. aws_cdk/aws_inspector/__init__.py +44 -6
  136. aws_cdk/aws_inspectorv2/__init__.py +2285 -243
  137. aws_cdk/aws_internetmonitor/__init__.py +71 -2
  138. aws_cdk/aws_invoicing/__init__.py +13 -2
  139. aws_cdk/aws_iot/__init__.py +1760 -64
  140. aws_cdk/aws_iotanalytics/__init__.py +162 -8
  141. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
  142. aws_cdk/aws_iotevents/__init__.py +122 -6
  143. aws_cdk/aws_iotfleethub/__init__.py +71 -2
  144. aws_cdk/aws_iotfleetwise/__init__.py +195 -14
  145. aws_cdk/aws_iotsitewise/__init__.py +1837 -89
  146. aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
  147. aws_cdk/aws_iottwinmaker/__init__.py +115 -10
  148. aws_cdk/aws_iotwireless/__init__.py +649 -22
  149. aws_cdk/aws_ivs/__init__.py +561 -57
  150. aws_cdk/aws_ivschat/__init__.py +24 -4
  151. aws_cdk/aws_kafkaconnect/__init__.py +35 -6
  152. aws_cdk/aws_kendra/__init__.py +120 -28
  153. aws_cdk/aws_kendraranking/__init__.py +13 -2
  154. aws_cdk/aws_kinesis/__init__.py +641 -23
  155. aws_cdk/aws_kinesisanalytics/__init__.py +467 -96
  156. aws_cdk/aws_kinesisanalyticsv2/__init__.py +207 -19
  157. aws_cdk/aws_kinesisfirehose/__init__.py +3087 -295
  158. aws_cdk/aws_kinesisvideo/__init__.py +24 -4
  159. aws_cdk/aws_kms/__init__.py +204 -45
  160. aws_cdk/aws_lakeformation/__init__.py +80 -15
  161. aws_cdk/aws_lambda/__init__.py +2236 -297
  162. aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
  163. aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
  164. aws_cdk/aws_launchwizard/__init__.py +13 -2
  165. aws_cdk/aws_lex/__init__.py +2162 -212
  166. aws_cdk/aws_licensemanager/__init__.py +24 -4
  167. aws_cdk/aws_lightsail/__init__.py +2958 -1322
  168. aws_cdk/aws_location/__init__.py +618 -14
  169. aws_cdk/aws_logs/__init__.py +6014 -923
  170. aws_cdk/aws_lookoutequipment/__init__.py +13 -2
  171. aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
  172. aws_cdk/aws_lookoutvision/__init__.py +71 -2
  173. aws_cdk/aws_m2/__init__.py +94 -19
  174. aws_cdk/aws_macie/__init__.py +49 -11
  175. aws_cdk/aws_managedblockchain/__init__.py +180 -6
  176. aws_cdk/aws_mediaconnect/__init__.py +101 -18
  177. aws_cdk/aws_mediaconvert/__init__.py +35 -6
  178. aws_cdk/aws_medialive/__init__.py +1938 -532
  179. aws_cdk/aws_mediapackage/__init__.py +59 -12
  180. aws_cdk/aws_mediapackagev2/__init__.py +1616 -233
  181. aws_cdk/aws_mediastore/__init__.py +13 -2
  182. aws_cdk/aws_mediatailor/__init__.py +583 -12
  183. aws_cdk/aws_memorydb/__init__.py +271 -12
  184. aws_cdk/aws_mpa/__init__.py +1495 -0
  185. aws_cdk/aws_msk/__init__.py +108 -22
  186. aws_cdk/aws_mwaa/__init__.py +121 -9
  187. aws_cdk/aws_neptune/__init__.py +290 -78
  188. aws_cdk/aws_neptunegraph/__init__.py +24 -4
  189. aws_cdk/aws_networkfirewall/__init__.py +1184 -164
  190. aws_cdk/aws_networkmanager/__init__.py +349 -33
  191. aws_cdk/aws_nimblestudio/__init__.py +283 -408
  192. aws_cdk/aws_notifications/__init__.py +317 -12
  193. aws_cdk/aws_notificationscontacts/__init__.py +13 -2
  194. aws_cdk/aws_oam/__init__.py +24 -4
  195. aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
  196. aws_cdk/aws_odb/__init__.py +5872 -0
  197. aws_cdk/aws_omics/__init__.py +2967 -162
  198. aws_cdk/aws_opensearchserverless/__init__.py +312 -37
  199. aws_cdk/aws_opensearchservice/__init__.py +501 -19
  200. aws_cdk/aws_opsworks/__init__.py +235 -139
  201. aws_cdk/aws_opsworkscm/__init__.py +16 -52
  202. aws_cdk/aws_organizations/__init__.py +70 -10
  203. aws_cdk/aws_osis/__init__.py +167 -2
  204. aws_cdk/aws_panorama/__init__.py +181 -9
  205. aws_cdk/aws_paymentcryptography/__init__.py +24 -4
  206. aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
  207. aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
  208. aws_cdk/aws_pcs/__init__.py +516 -64
  209. aws_cdk/aws_personalize/__init__.py +46 -8
  210. aws_cdk/aws_pinpoint/__init__.py +329 -38
  211. aws_cdk/aws_pinpointemail/__init__.py +48 -8
  212. aws_cdk/aws_pipes/__init__.py +12 -2
  213. aws_cdk/aws_proton/__init__.py +37 -6
  214. aws_cdk/aws_qbusiness/__init__.py +635 -34
  215. aws_cdk/aws_qldb/__init__.py +24 -4
  216. aws_cdk/aws_quicksight/__init__.py +7900 -1160
  217. aws_cdk/aws_ram/__init__.py +24 -4
  218. aws_cdk/aws_rbin/__init__.py +12 -2
  219. aws_cdk/aws_rds/__init__.py +3721 -573
  220. aws_cdk/aws_redshift/__init__.py +143 -20
  221. aws_cdk/aws_redshiftserverless/__init__.py +699 -11
  222. aws_cdk/aws_refactorspaces/__init__.py +64 -14
  223. aws_cdk/aws_rekognition/__init__.py +93 -6
  224. aws_cdk/aws_resiliencehub/__init__.py +24 -4
  225. aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
  226. aws_cdk/aws_resourcegroups/__init__.py +82 -4
  227. aws_cdk/aws_robomaker/__init__.py +72 -12
  228. aws_cdk/aws_rolesanywhere/__init__.py +194 -19
  229. aws_cdk/aws_route53/__init__.py +3965 -1436
  230. aws_cdk/aws_route53_targets/__init__.py +3 -0
  231. aws_cdk/aws_route53profiles/__init__.py +37 -6
  232. aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
  233. aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
  234. aws_cdk/aws_route53resolver/__init__.py +189 -40
  235. aws_cdk/aws_rtbfabric/__init__.py +3498 -0
  236. aws_cdk/aws_rum/__init__.py +13 -2
  237. aws_cdk/aws_s3/__init__.py +1742 -221
  238. aws_cdk/aws_s3_assets/__init__.py +11 -11
  239. aws_cdk/aws_s3_deployment/__init__.py +153 -11
  240. aws_cdk/aws_s3_notifications/__init__.py +7 -7
  241. aws_cdk/aws_s3express/__init__.py +1053 -6
  242. aws_cdk/aws_s3objectlambda/__init__.py +68 -16
  243. aws_cdk/aws_s3outposts/__init__.py +46 -8
  244. aws_cdk/aws_s3tables/__init__.py +2000 -323
  245. aws_cdk/aws_s3vectors/__init__.py +1378 -0
  246. aws_cdk/aws_sagemaker/__init__.py +6848 -373
  247. aws_cdk/aws_sam/__init__.py +79 -14
  248. aws_cdk/aws_scheduler/__init__.py +249 -4
  249. aws_cdk/aws_sdb/__init__.py +12 -2
  250. aws_cdk/aws_secretsmanager/__init__.py +194 -14
  251. aws_cdk/aws_securityhub/__init__.py +3121 -176
  252. aws_cdk/aws_securitylake/__init__.py +46 -8
  253. aws_cdk/aws_servicecatalog/__init__.py +429 -246
  254. aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
  255. aws_cdk/aws_servicediscovery/__init__.py +188 -47
  256. aws_cdk/aws_ses/__init__.py +2265 -369
  257. aws_cdk/aws_shield/__init__.py +46 -8
  258. aws_cdk/aws_signer/__init__.py +33 -4
  259. aws_cdk/aws_simspaceweaver/__init__.py +42 -2
  260. aws_cdk/aws_smsvoice/__init__.py +4716 -0
  261. aws_cdk/aws_sns/__init__.py +263 -29
  262. aws_cdk/aws_sns_subscriptions/__init__.py +265 -2
  263. aws_cdk/aws_sqs/__init__.py +223 -14
  264. aws_cdk/aws_ssm/__init__.py +413 -58
  265. aws_cdk/aws_ssmcontacts/__init__.py +98 -9
  266. aws_cdk/aws_ssmguiconnect/__init__.py +20 -9
  267. aws_cdk/aws_ssmincidents/__init__.py +24 -4
  268. aws_cdk/aws_ssmquicksetup/__init__.py +393 -8
  269. aws_cdk/aws_sso/__init__.py +70 -12
  270. aws_cdk/aws_stepfunctions/__init__.py +823 -94
  271. aws_cdk/aws_stepfunctions_tasks/__init__.py +2323 -150
  272. aws_cdk/aws_supportapp/__init__.py +39 -6
  273. aws_cdk/aws_synthetics/__init__.py +1088 -126
  274. aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
  275. aws_cdk/aws_timestream/__init__.py +104 -8
  276. aws_cdk/aws_transfer/__init__.py +784 -87
  277. aws_cdk/aws_verifiedpermissions/__init__.py +306 -13
  278. aws_cdk/aws_voiceid/__init__.py +54 -5
  279. aws_cdk/aws_vpclattice/__init__.py +589 -231
  280. aws_cdk/aws_waf/__init__.py +79 -14
  281. aws_cdk/aws_wafregional/__init__.py +123 -22
  282. aws_cdk/aws_wafv2/__init__.py +1183 -64
  283. aws_cdk/aws_wisdom/__init__.py +1403 -90
  284. aws_cdk/aws_workspaces/__init__.py +134 -6
  285. aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
  286. aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
  287. aws_cdk/aws_workspacesweb/__init__.py +1057 -141
  288. aws_cdk/aws_xray/__init__.py +48 -8
  289. aws_cdk/cloud_assembly_schema/__init__.py +368 -48
  290. aws_cdk/custom_resources/__init__.py +58 -12
  291. aws_cdk/cx_api/__init__.py +125 -21
  292. aws_cdk/interfaces/__init__.py +739 -0
  293. aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
  294. aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
  295. aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
  296. aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
  297. aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
  298. aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
  299. aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
  300. aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
  301. aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
  302. aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
  303. aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
  304. aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
  305. aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
  306. aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
  307. aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
  308. aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
  309. aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
  310. aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
  311. aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
  312. aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
  313. aws_cdk/interfaces/aws_aps/__init__.py +558 -0
  314. aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
  315. aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
  316. aws_cdk/interfaces/aws_athena/__init__.py +575 -0
  317. aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
  318. aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
  319. aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
  320. aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
  321. aws_cdk/interfaces/aws_backup/__init__.py +955 -0
  322. aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
  323. aws_cdk/interfaces/aws_batch/__init__.py +681 -0
  324. aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
  325. aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
  326. aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
  327. aws_cdk/interfaces/aws_billing/__init__.py +146 -0
  328. aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
  329. aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
  330. aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
  331. aws_cdk/interfaces/aws_ce/__init__.py +352 -0
  332. aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
  333. aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
  334. aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
  335. aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
  336. aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
  337. aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
  338. aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
  339. aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
  340. aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
  341. aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
  342. aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
  343. aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
  344. aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
  345. aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
  346. aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
  347. aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
  348. aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
  349. aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
  350. aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
  351. aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
  352. aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
  353. aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
  354. aws_cdk/interfaces/aws_config/__init__.py +1165 -0
  355. aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
  356. aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
  357. aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
  358. aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
  359. aws_cdk/interfaces/aws_cur/__init__.py +146 -0
  360. aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
  361. aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
  362. aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
  363. aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
  364. aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
  365. aws_cdk/interfaces/aws_dax/__init__.py +364 -0
  366. aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
  367. aws_cdk/interfaces/aws_detective/__init__.py +364 -0
  368. aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
  369. aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
  370. aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
  371. aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
  372. aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
  373. aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
  374. aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
  375. aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
  376. aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
  377. aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
  378. aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
  379. aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
  380. aws_cdk/interfaces/aws_efs/__init__.py +392 -0
  381. aws_cdk/interfaces/aws_eks/__init__.py +948 -0
  382. aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
  383. aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
  384. aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
  385. aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
  386. aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
  387. aws_cdk/interfaces/aws_emr/__init__.py +913 -0
  388. aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
  389. aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
  390. aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
  391. aws_cdk/interfaces/aws_events/__init__.py +872 -0
  392. aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
  393. aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
  394. aws_cdk/interfaces/aws_evs/__init__.py +166 -0
  395. aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
  396. aws_cdk/interfaces/aws_fis/__init__.py +271 -0
  397. aws_cdk/interfaces/aws_fms/__init__.py +364 -0
  398. aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
  399. aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
  400. aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
  401. aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
  402. aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
  403. aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
  404. aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
  405. aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
  406. aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
  407. aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
  408. aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
  409. aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
  410. aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
  411. aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
  412. aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
  413. aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
  414. aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
  415. aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
  416. aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
  417. aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
  418. aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
  419. aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
  420. aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
  421. aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
  422. aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
  423. aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
  424. aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
  425. aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
  426. aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
  427. aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
  428. aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
  429. aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
  430. aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
  431. aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
  432. aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
  433. aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
  434. aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
  435. aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
  436. aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
  437. aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
  438. aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
  439. aws_cdk/interfaces/aws_kms/__init__.py +376 -0
  440. aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
  441. aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
  442. aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
  443. aws_cdk/interfaces/aws_lex/__init__.py +513 -0
  444. aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
  445. aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
  446. aws_cdk/interfaces/aws_location/__init__.py +879 -0
  447. aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
  448. aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
  449. aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
  450. aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
  451. aws_cdk/interfaces/aws_m2/__init__.py +352 -0
  452. aws_cdk/interfaces/aws_macie/__init__.py +512 -0
  453. aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
  454. aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
  455. aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
  456. aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
  457. aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
  458. aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
  459. aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
  460. aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
  461. aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
  462. aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
  463. aws_cdk/interfaces/aws_msk/__init__.py +764 -0
  464. aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
  465. aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
  466. aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
  467. aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
  468. aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
  469. aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
  470. aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
  471. aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
  472. aws_cdk/interfaces/aws_oam/__init__.py +249 -0
  473. aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
  474. aws_cdk/interfaces/aws_odb/__init__.py +562 -0
  475. aws_cdk/interfaces/aws_omics/__init__.py +838 -0
  476. aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
  477. aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
  478. aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
  479. aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
  480. aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
  481. aws_cdk/interfaces/aws_osis/__init__.py +146 -0
  482. aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
  483. aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
  484. aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
  485. aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
  486. aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
  487. aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
  488. aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
  489. aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
  490. aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
  491. aws_cdk/interfaces/aws_proton/__init__.py +360 -0
  492. aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
  493. aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
  494. aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
  495. aws_cdk/interfaces/aws_ram/__init__.py +249 -0
  496. aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
  497. aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
  498. aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
  499. aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
  500. aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
  501. aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
  502. aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
  503. aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
  504. aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
  505. aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
  506. aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
  507. aws_cdk/interfaces/aws_route53/__init__.py +804 -0
  508. aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
  509. aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
  510. aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
  511. aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
  512. aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
  513. aws_cdk/interfaces/aws_rum/__init__.py +146 -0
  514. aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
  515. aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
  516. aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
  517. aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
  518. aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
  519. aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
  520. aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
  521. aws_cdk/interfaces/aws_sam/__init__.py +603 -0
  522. aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
  523. aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
  524. aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
  525. aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
  526. aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
  527. aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
  528. aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
  529. aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
  530. aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
  531. aws_cdk/interfaces/aws_shield/__init__.py +455 -0
  532. aws_cdk/interfaces/aws_signer/__init__.py +266 -0
  533. aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
  534. aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
  535. aws_cdk/interfaces/aws_sns/__init__.py +455 -0
  536. aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
  537. aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
  538. aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
  539. aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
  540. aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
  541. aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
  542. aws_cdk/interfaces/aws_sso/__init__.py +797 -0
  543. aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
  544. aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
  545. aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
  546. aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
  547. aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
  548. aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
  549. aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
  550. aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
  551. aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
  552. aws_cdk/interfaces/aws_waf/__init__.py +764 -0
  553. aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
  554. aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
  555. aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
  556. aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
  557. aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
  558. aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
  559. aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
  560. aws_cdk/interfaces/aws_xray/__init__.py +457 -0
  561. aws_cdk/lambda_layer_awscli/__init__.py +6 -0
  562. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
  563. aws_cdk/pipelines/__init__.py +202 -52
  564. aws_cdk/region_info/__init__.py +3 -0
  565. aws_cdk/triggers/__init__.py +66 -18
  566. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +418 -18
  567. aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
  568. aws_cdk_lib-2.195.0.dist-info/RECORD +0 -304
  569. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
  570. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
  571. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
  572. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
@@ -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=[],
@@ -4508,21 +4808,26 @@ class CfnBot(
4508
4808
  )
4509
4809
 
4510
4810
  @jsii.data_type(
4511
- jsii_type="aws-cdk-lib.aws_lex.CfnBot.GrammarSlotTypeSettingProperty",
4811
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.GenerativeAISettingsProperty",
4512
4812
  jsii_struct_bases=[],
4513
- name_mapping={"source": "source"},
4813
+ name_mapping={
4814
+ "buildtime_settings": "buildtimeSettings",
4815
+ "runtime_settings": "runtimeSettings",
4816
+ },
4514
4817
  )
4515
- class GrammarSlotTypeSettingProperty:
4818
+ class GenerativeAISettingsProperty:
4516
4819
  def __init__(
4517
4820
  self,
4518
4821
  *,
4519
- source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.GrammarSlotTypeSourceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
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,
4520
4824
  ) -> None:
4521
- '''Settings requried for a slot type based on a grammar that you provide.
4825
+ '''Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
4522
4826
 
4523
- :param source: The source of the grammar used to create the slot type.
4827
+ :param buildtime_settings:
4828
+ :param runtime_settings:
4524
4829
 
4525
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-grammarslottypesetting.html
4830
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-generativeaisettings.html
4526
4831
  :exampleMetadata: fixture=_generated
4527
4832
 
4528
4833
  Example::
@@ -4531,36 +4836,159 @@ class CfnBot(
4531
4836
  # The values are placeholders you should change.
4532
4837
  from aws_cdk import aws_lex as lex
4533
4838
 
4534
- grammar_slot_type_setting_property = lex.CfnBot.GrammarSlotTypeSettingProperty(
4535
- source=lex.CfnBot.GrammarSlotTypeSourceProperty(
4536
- s3_bucket_name="s3BucketName",
4537
- s3_object_key="s3ObjectKey",
4839
+ generative_aISettings_property = lex.CfnBot.GenerativeAISettingsProperty(
4840
+ buildtime_settings=lex.CfnBot.BuildtimeSettingsProperty(
4841
+ descriptive_bot_builder_specification=lex.CfnBot.DescriptiveBotBuilderSpecificationProperty(
4842
+ enabled=False,
4538
4843
 
4539
- # the properties below are optional
4540
- kms_key_arn="kmsKeyArn"
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
+ )
4541
4894
  )
4542
4895
  )
4543
4896
  '''
4544
4897
  if __debug__:
4545
- type_hints = typing.get_type_hints(_typecheckingstub__7607729da805dba490266bfccf35e40fc22f0e3b3c4d78038e129d897dd21483)
4546
- check_type(argname="argument source", value=source, expected_type=type_hints["source"])
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"])
4547
4901
  self._values: typing.Dict[builtins.str, typing.Any] = {}
4548
- if source is not None:
4549
- self._values["source"] = source
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
4550
4906
 
4551
4907
  @builtins.property
4552
- def source(
4908
+ def buildtime_settings(
4553
4909
  self,
4554
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.GrammarSlotTypeSourceProperty"]]:
4555
- '''The source of the grammar used to create the slot type.
4556
-
4557
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-grammarslottypesetting.html#cfn-lex-bot-grammarslottypesetting-source
4910
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BuildtimeSettingsProperty"]]:
4558
4911
  '''
4559
- result = self._values.get("source")
4560
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.GrammarSlotTypeSourceProperty"]], result)
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)
4561
4916
 
4562
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
4563
- return isinstance(rhs, self.__class__) and rhs._values == self._values
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
+
4938
+ @jsii.data_type(
4939
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.GrammarSlotTypeSettingProperty",
4940
+ jsii_struct_bases=[],
4941
+ name_mapping={"source": "source"},
4942
+ )
4943
+ class GrammarSlotTypeSettingProperty:
4944
+ def __init__(
4945
+ self,
4946
+ *,
4947
+ source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.GrammarSlotTypeSourceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4948
+ ) -> None:
4949
+ '''Settings requried for a slot type based on a grammar that you provide.
4950
+
4951
+ :param source: The source of the grammar used to create the slot type.
4952
+
4953
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-grammarslottypesetting.html
4954
+ :exampleMetadata: fixture=_generated
4955
+
4956
+ Example::
4957
+
4958
+ # The code below shows an example of how to instantiate this type.
4959
+ # The values are placeholders you should change.
4960
+ from aws_cdk import aws_lex as lex
4961
+
4962
+ grammar_slot_type_setting_property = lex.CfnBot.GrammarSlotTypeSettingProperty(
4963
+ source=lex.CfnBot.GrammarSlotTypeSourceProperty(
4964
+ s3_bucket_name="s3BucketName",
4965
+ s3_object_key="s3ObjectKey",
4966
+
4967
+ # the properties below are optional
4968
+ kms_key_arn="kmsKeyArn"
4969
+ )
4970
+ )
4971
+ '''
4972
+ if __debug__:
4973
+ type_hints = typing.get_type_hints(_typecheckingstub__7607729da805dba490266bfccf35e40fc22f0e3b3c4d78038e129d897dd21483)
4974
+ check_type(argname="argument source", value=source, expected_type=type_hints["source"])
4975
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4976
+ if source is not None:
4977
+ self._values["source"] = source
4978
+
4979
+ @builtins.property
4980
+ def source(
4981
+ self,
4982
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.GrammarSlotTypeSourceProperty"]]:
4983
+ '''The source of the grammar used to create the slot type.
4984
+
4985
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-grammarslottypesetting.html#cfn-lex-bot-grammarslottypesetting-source
4986
+ '''
4987
+ result = self._values.get("source")
4988
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.GrammarSlotTypeSourceProperty"]], result)
4989
+
4990
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4991
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4564
4992
 
4565
4993
  def __ne__(self, rhs: typing.Any) -> builtins.bool:
4566
4994
  return not (rhs == self)
@@ -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=[],
@@ -8882,6 +9549,7 @@ class CfnBot(
8882
9549
  "description": "description",
8883
9550
  "multiple_values_setting": "multipleValuesSetting",
8884
9551
  "obfuscation_setting": "obfuscationSetting",
9552
+ "sub_slot_setting": "subSlotSetting",
8885
9553
  },
8886
9554
  )
8887
9555
  class SlotProperty:
@@ -8894,6 +9562,7 @@ class CfnBot(
8894
9562
  description: typing.Optional[builtins.str] = None,
8895
9563
  multiple_values_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.MultipleValuesSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8896
9564
  obfuscation_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.ObfuscationSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
9565
+ sub_slot_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SubSlotSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8897
9566
  ) -> None:
8898
9567
  '''Specifies the definition of a slot.
8899
9568
 
@@ -8905,6 +9574,7 @@ class CfnBot(
8905
9574
  :param description: The description of the slot.
8906
9575
  :param multiple_values_setting: Indicates whether a slot can return multiple values.
8907
9576
  :param obfuscation_setting: Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs. Use obfuscated slots to protect information such as personally identifiable information (PII) in logs.
9577
+ :param sub_slot_setting:
8908
9578
 
8909
9579
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html
8910
9580
  :exampleMetadata: fixture=_generated
@@ -8921,6 +9591,7 @@ class CfnBot(
8921
9591
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
8922
9592
  check_type(argname="argument multiple_values_setting", value=multiple_values_setting, expected_type=type_hints["multiple_values_setting"])
8923
9593
  check_type(argname="argument obfuscation_setting", value=obfuscation_setting, expected_type=type_hints["obfuscation_setting"])
9594
+ check_type(argname="argument sub_slot_setting", value=sub_slot_setting, expected_type=type_hints["sub_slot_setting"])
8924
9595
  self._values: typing.Dict[builtins.str, typing.Any] = {
8925
9596
  "name": name,
8926
9597
  "slot_type_name": slot_type_name,
@@ -8932,6 +9603,8 @@ class CfnBot(
8932
9603
  self._values["multiple_values_setting"] = multiple_values_setting
8933
9604
  if obfuscation_setting is not None:
8934
9605
  self._values["obfuscation_setting"] = obfuscation_setting
9606
+ if sub_slot_setting is not None:
9607
+ self._values["sub_slot_setting"] = sub_slot_setting
8935
9608
 
8936
9609
  @builtins.property
8937
9610
  def name(self) -> builtins.str:
@@ -9007,6 +9680,16 @@ class CfnBot(
9007
9680
  result = self._values.get("obfuscation_setting")
9008
9681
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.ObfuscationSettingProperty"]], result)
9009
9682
 
9683
+ @builtins.property
9684
+ def sub_slot_setting(
9685
+ self,
9686
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotSettingProperty"]]:
9687
+ '''
9688
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html#cfn-lex-bot-slot-subslotsetting
9689
+ '''
9690
+ result = self._values.get("sub_slot_setting")
9691
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotSettingProperty"]], result)
9692
+
9010
9693
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
9011
9694
  return isinstance(rhs, self.__class__) and rhs._values == self._values
9012
9695
 
@@ -9019,16 +9702,104 @@ class CfnBot(
9019
9702
  )
9020
9703
 
9021
9704
  @jsii.data_type(
9022
- jsii_type="aws-cdk-lib.aws_lex.CfnBot.SlotTypeProperty",
9705
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SlotResolutionImprovementSpecificationProperty",
9023
9706
  jsii_struct_bases=[],
9024
9707
  name_mapping={
9025
- "name": "name",
9026
- "composite_slot_type_setting": "compositeSlotTypeSetting",
9027
- "description": "description",
9028
- "external_source_setting": "externalSourceSetting",
9029
- "parent_slot_type_signature": "parentSlotTypeSignature",
9030
- "slot_type_values": "slotTypeValues",
9031
- "value_selection_setting": "valueSelectionSetting",
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
+
9792
+ @jsii.data_type(
9793
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SlotTypeProperty",
9794
+ jsii_struct_bases=[],
9795
+ name_mapping={
9796
+ "name": "name",
9797
+ "composite_slot_type_setting": "compositeSlotTypeSetting",
9798
+ "description": "description",
9799
+ "external_source_setting": "externalSourceSetting",
9800
+ "parent_slot_type_signature": "parentSlotTypeSignature",
9801
+ "slot_type_values": "slotTypeValues",
9802
+ "value_selection_setting": "valueSelectionSetting",
9032
9803
  },
9033
9804
  )
9034
9805
  class SlotTypeProperty:
@@ -9868,32 +10639,26 @@ class CfnBot(
9868
10639
  )
9869
10640
 
9870
10641
  @jsii.data_type(
9871
- jsii_type="aws-cdk-lib.aws_lex.CfnBot.StillWaitingResponseSpecificationProperty",
10642
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SpecificationsProperty",
9872
10643
  jsii_struct_bases=[],
9873
10644
  name_mapping={
9874
- "frequency_in_seconds": "frequencyInSeconds",
9875
- "message_groups_list": "messageGroupsList",
9876
- "timeout_in_seconds": "timeoutInSeconds",
9877
- "allow_interrupt": "allowInterrupt",
10645
+ "slot_type_id": "slotTypeId",
10646
+ "value_elicitation_setting": "valueElicitationSetting",
9878
10647
  },
9879
10648
  )
9880
- class StillWaitingResponseSpecificationProperty:
10649
+ class SpecificationsProperty:
9881
10650
  def __init__(
9882
10651
  self,
9883
10652
  *,
9884
- frequency_in_seconds: jsii.Number,
9885
- message_groups_list: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.MessageGroupProperty", typing.Dict[builtins.str, typing.Any]]]]],
9886
- timeout_in_seconds: jsii.Number,
9887
- allow_interrupt: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10653
+ slot_type_id: builtins.str,
10654
+ value_elicitation_setting: typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SubSlotValueElicitationSettingProperty", typing.Dict[builtins.str, typing.Any]]],
9888
10655
  ) -> None:
9889
- '''Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
10656
+ '''Subslot specifications.
9890
10657
 
9891
- :param frequency_in_seconds: How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
9892
- :param message_groups_list: One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
9893
- :param timeout_in_seconds: If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
9894
- :param allow_interrupt: Indicates that the user can interrupt the response by speaking while the message is being played.
10658
+ :param slot_type_id: The unique identifier assigned to the slot type.
10659
+ :param value_elicitation_setting: Specifies the elicitation setting details for constituent sub slots of a composite slot.
9895
10660
 
9896
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html
10661
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-specifications.html
9897
10662
  :exampleMetadata: fixture=_generated
9898
10663
 
9899
10664
  Example::
@@ -9902,188 +10667,1238 @@ class CfnBot(
9902
10667
  # The values are placeholders you should change.
9903
10668
  from aws_cdk import aws_lex as lex
9904
10669
 
9905
- still_waiting_response_specification_property = lex.CfnBot.StillWaitingResponseSpecificationProperty(
9906
- frequency_in_seconds=123,
9907
- message_groups_list=[lex.CfnBot.MessageGroupProperty(
9908
- message=lex.CfnBot.MessageProperty(
9909
- custom_payload=lex.CfnBot.CustomPayloadProperty(
9910
- value="value"
9911
- ),
9912
- image_response_card=lex.CfnBot.ImageResponseCardProperty(
9913
- title="title",
10670
+ specifications_property = lex.CfnBot.SpecificationsProperty(
10671
+ slot_type_id="slotTypeId",
10672
+ value_elicitation_setting=lex.CfnBot.SubSlotValueElicitationSettingProperty(
10673
+ default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty(
10674
+ default_value_list=[lex.CfnBot.SlotDefaultValueProperty(
10675
+ default_value="defaultValue"
10676
+ )]
10677
+ ),
10678
+ prompt_specification=lex.CfnBot.PromptSpecificationProperty(
10679
+ max_retries=123,
10680
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10681
+ message=lex.CfnBot.MessageProperty(
10682
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10683
+ value="value"
10684
+ ),
10685
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10686
+ title="title",
10687
+
10688
+ # the properties below are optional
10689
+ buttons=[lex.CfnBot.ButtonProperty(
10690
+ text="text",
10691
+ value="value"
10692
+ )],
10693
+ image_url="imageUrl",
10694
+ subtitle="subtitle"
10695
+ ),
10696
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10697
+ value="value"
10698
+ ),
10699
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10700
+ value="value"
10701
+ )
10702
+ ),
9914
10703
 
9915
10704
  # the properties below are optional
9916
- buttons=[lex.CfnBot.ButtonProperty(
9917
- text="text",
9918
- value="value"
9919
- )],
9920
- image_url="imageUrl",
9921
- subtitle="subtitle"
9922
- ),
9923
- plain_text_message=lex.CfnBot.PlainTextMessageProperty(
9924
- value="value"
9925
- ),
9926
- ssml_message=lex.CfnBot.SSMLMessageProperty(
9927
- value="value"
9928
- )
10705
+ variations=[lex.CfnBot.MessageProperty(
10706
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10707
+ value="value"
10708
+ ),
10709
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10710
+ title="title",
10711
+
10712
+ # the properties below are optional
10713
+ buttons=[lex.CfnBot.ButtonProperty(
10714
+ text="text",
10715
+ value="value"
10716
+ )],
10717
+ image_url="imageUrl",
10718
+ subtitle="subtitle"
10719
+ ),
10720
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10721
+ value="value"
10722
+ ),
10723
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10724
+ value="value"
10725
+ )
10726
+ )]
10727
+ )],
10728
+
10729
+ # the properties below are optional
10730
+ allow_interrupt=False,
10731
+ message_selection_strategy="messageSelectionStrategy",
10732
+ prompt_attempts_specification={
10733
+ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty(
10734
+ allowed_input_types=lex.CfnBot.AllowedInputTypesProperty(
10735
+ allow_audio_input=False,
10736
+ allow_dtmf_input=False
10737
+ ),
10738
+
10739
+ # the properties below are optional
10740
+ allow_interrupt=False,
10741
+ audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty(
10742
+ start_timeout_ms=123,
10743
+
10744
+ # the properties below are optional
10745
+ audio_specification=lex.CfnBot.AudioSpecificationProperty(
10746
+ end_timeout_ms=123,
10747
+ max_length_ms=123
10748
+ ),
10749
+ dtmf_specification=lex.CfnBot.DTMFSpecificationProperty(
10750
+ deletion_character="deletionCharacter",
10751
+ end_character="endCharacter",
10752
+ end_timeout_ms=123,
10753
+ max_length=123
10754
+ )
10755
+ ),
10756
+ text_input_specification=lex.CfnBot.TextInputSpecificationProperty(
10757
+ start_timeout_ms=123
10758
+ )
10759
+ )
10760
+ }
9929
10761
  ),
10762
+ sample_utterances=[lex.CfnBot.SampleUtteranceProperty(
10763
+ utterance="utterance"
10764
+ )],
10765
+ wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty(
10766
+ continue_response=lex.CfnBot.ResponseSpecificationProperty(
10767
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10768
+ message=lex.CfnBot.MessageProperty(
10769
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10770
+ value="value"
10771
+ ),
10772
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10773
+ title="title",
9930
10774
 
9931
- # the properties below are optional
9932
- variations=[lex.CfnBot.MessageProperty(
9933
- custom_payload=lex.CfnBot.CustomPayloadProperty(
9934
- value="value"
9935
- ),
9936
- image_response_card=lex.CfnBot.ImageResponseCardProperty(
9937
- title="title",
10775
+ # the properties below are optional
10776
+ buttons=[lex.CfnBot.ButtonProperty(
10777
+ text="text",
10778
+ value="value"
10779
+ )],
10780
+ image_url="imageUrl",
10781
+ subtitle="subtitle"
10782
+ ),
10783
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10784
+ value="value"
10785
+ ),
10786
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10787
+ value="value"
10788
+ )
10789
+ ),
9938
10790
 
9939
- # the properties below are optional
9940
- buttons=[lex.CfnBot.ButtonProperty(
9941
- text="text",
9942
- value="value"
10791
+ # the properties below are optional
10792
+ variations=[lex.CfnBot.MessageProperty(
10793
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10794
+ value="value"
10795
+ ),
10796
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10797
+ title="title",
10798
+
10799
+ # the properties below are optional
10800
+ buttons=[lex.CfnBot.ButtonProperty(
10801
+ text="text",
10802
+ value="value"
10803
+ )],
10804
+ image_url="imageUrl",
10805
+ subtitle="subtitle"
10806
+ ),
10807
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10808
+ value="value"
10809
+ ),
10810
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10811
+ value="value"
10812
+ )
10813
+ )]
9943
10814
  )],
9944
- image_url="imageUrl",
9945
- subtitle="subtitle"
9946
- ),
9947
- plain_text_message=lex.CfnBot.PlainTextMessageProperty(
9948
- value="value"
10815
+
10816
+ # the properties below are optional
10817
+ allow_interrupt=False
9949
10818
  ),
9950
- ssml_message=lex.CfnBot.SSMLMessageProperty(
9951
- value="value"
9952
- )
9953
- )]
9954
- )],
9955
- timeout_in_seconds=123,
10819
+ waiting_response=lex.CfnBot.ResponseSpecificationProperty(
10820
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10821
+ message=lex.CfnBot.MessageProperty(
10822
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10823
+ value="value"
10824
+ ),
10825
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10826
+ title="title",
10827
+
10828
+ # the properties below are optional
10829
+ buttons=[lex.CfnBot.ButtonProperty(
10830
+ text="text",
10831
+ value="value"
10832
+ )],
10833
+ image_url="imageUrl",
10834
+ subtitle="subtitle"
10835
+ ),
10836
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10837
+ value="value"
10838
+ ),
10839
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10840
+ value="value"
10841
+ )
10842
+ ),
10843
+
10844
+ # the properties below are optional
10845
+ variations=[lex.CfnBot.MessageProperty(
10846
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10847
+ value="value"
10848
+ ),
10849
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10850
+ title="title",
10851
+
10852
+ # the properties below are optional
10853
+ buttons=[lex.CfnBot.ButtonProperty(
10854
+ text="text",
10855
+ value="value"
10856
+ )],
10857
+ image_url="imageUrl",
10858
+ subtitle="subtitle"
10859
+ ),
10860
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10861
+ value="value"
10862
+ ),
10863
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10864
+ value="value"
10865
+ )
10866
+ )]
10867
+ )],
10868
+
10869
+ # the properties below are optional
10870
+ allow_interrupt=False
10871
+ ),
10872
+
10873
+ # the properties below are optional
10874
+ is_active=False,
10875
+ still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty(
10876
+ frequency_in_seconds=123,
10877
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10878
+ message=lex.CfnBot.MessageProperty(
10879
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10880
+ value="value"
10881
+ ),
10882
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10883
+ title="title",
10884
+
10885
+ # the properties below are optional
10886
+ buttons=[lex.CfnBot.ButtonProperty(
10887
+ text="text",
10888
+ value="value"
10889
+ )],
10890
+ image_url="imageUrl",
10891
+ subtitle="subtitle"
10892
+ ),
10893
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10894
+ value="value"
10895
+ ),
10896
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10897
+ value="value"
10898
+ )
10899
+ ),
10900
+
10901
+ # the properties below are optional
10902
+ variations=[lex.CfnBot.MessageProperty(
10903
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10904
+ value="value"
10905
+ ),
10906
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10907
+ title="title",
10908
+
10909
+ # the properties below are optional
10910
+ buttons=[lex.CfnBot.ButtonProperty(
10911
+ text="text",
10912
+ value="value"
10913
+ )],
10914
+ image_url="imageUrl",
10915
+ subtitle="subtitle"
10916
+ ),
10917
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10918
+ value="value"
10919
+ ),
10920
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10921
+ value="value"
10922
+ )
10923
+ )]
10924
+ )],
10925
+ timeout_in_seconds=123,
10926
+
10927
+ # the properties below are optional
10928
+ allow_interrupt=False
10929
+ )
10930
+ )
10931
+ )
10932
+ )
10933
+ '''
10934
+ if __debug__:
10935
+ type_hints = typing.get_type_hints(_typecheckingstub__84831b306cf7254dc35fff23cffebed9b612832f61edaf61cf5455c684e3fe37)
10936
+ check_type(argname="argument slot_type_id", value=slot_type_id, expected_type=type_hints["slot_type_id"])
10937
+ check_type(argname="argument value_elicitation_setting", value=value_elicitation_setting, expected_type=type_hints["value_elicitation_setting"])
10938
+ self._values: typing.Dict[builtins.str, typing.Any] = {
10939
+ "slot_type_id": slot_type_id,
10940
+ "value_elicitation_setting": value_elicitation_setting,
10941
+ }
10942
+
10943
+ @builtins.property
10944
+ def slot_type_id(self) -> builtins.str:
10945
+ '''The unique identifier assigned to the slot type.
10946
+
10947
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-specifications.html#cfn-lex-bot-specifications-slottypeid
10948
+ '''
10949
+ result = self._values.get("slot_type_id")
10950
+ assert result is not None, "Required property 'slot_type_id' is missing"
10951
+ return typing.cast(builtins.str, result)
10952
+
10953
+ @builtins.property
10954
+ def value_elicitation_setting(
10955
+ self,
10956
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotValueElicitationSettingProperty"]:
10957
+ '''Specifies the elicitation setting details for constituent sub slots of a composite slot.
10958
+
10959
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-specifications.html#cfn-lex-bot-specifications-valueelicitationsetting
10960
+ '''
10961
+ result = self._values.get("value_elicitation_setting")
10962
+ assert result is not None, "Required property 'value_elicitation_setting' is missing"
10963
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotValueElicitationSettingProperty"], result)
10964
+
10965
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
10966
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
10967
+
10968
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
10969
+ return not (rhs == self)
10970
+
10971
+ def __repr__(self) -> str:
10972
+ return "SpecificationsProperty(%s)" % ", ".join(
10973
+ k + "=" + repr(v) for k, v in self._values.items()
10974
+ )
10975
+
10976
+ @jsii.data_type(
10977
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.StillWaitingResponseSpecificationProperty",
10978
+ jsii_struct_bases=[],
10979
+ name_mapping={
10980
+ "frequency_in_seconds": "frequencyInSeconds",
10981
+ "message_groups_list": "messageGroupsList",
10982
+ "timeout_in_seconds": "timeoutInSeconds",
10983
+ "allow_interrupt": "allowInterrupt",
10984
+ },
10985
+ )
10986
+ class StillWaitingResponseSpecificationProperty:
10987
+ def __init__(
10988
+ self,
10989
+ *,
10990
+ frequency_in_seconds: jsii.Number,
10991
+ message_groups_list: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.MessageGroupProperty", typing.Dict[builtins.str, typing.Any]]]]],
10992
+ timeout_in_seconds: jsii.Number,
10993
+ allow_interrupt: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10994
+ ) -> None:
10995
+ '''Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
10996
+
10997
+ :param frequency_in_seconds: How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
10998
+ :param message_groups_list: One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
10999
+ :param timeout_in_seconds: If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
11000
+ :param allow_interrupt: Indicates that the user can interrupt the response by speaking while the message is being played.
11001
+
11002
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html
11003
+ :exampleMetadata: fixture=_generated
11004
+
11005
+ Example::
11006
+
11007
+ # The code below shows an example of how to instantiate this type.
11008
+ # The values are placeholders you should change.
11009
+ from aws_cdk import aws_lex as lex
11010
+
11011
+ still_waiting_response_specification_property = lex.CfnBot.StillWaitingResponseSpecificationProperty(
11012
+ frequency_in_seconds=123,
11013
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11014
+ message=lex.CfnBot.MessageProperty(
11015
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11016
+ value="value"
11017
+ ),
11018
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11019
+ title="title",
11020
+
11021
+ # the properties below are optional
11022
+ buttons=[lex.CfnBot.ButtonProperty(
11023
+ text="text",
11024
+ value="value"
11025
+ )],
11026
+ image_url="imageUrl",
11027
+ subtitle="subtitle"
11028
+ ),
11029
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11030
+ value="value"
11031
+ ),
11032
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11033
+ value="value"
11034
+ )
11035
+ ),
11036
+
11037
+ # the properties below are optional
11038
+ variations=[lex.CfnBot.MessageProperty(
11039
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11040
+ value="value"
11041
+ ),
11042
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11043
+ title="title",
11044
+
11045
+ # the properties below are optional
11046
+ buttons=[lex.CfnBot.ButtonProperty(
11047
+ text="text",
11048
+ value="value"
11049
+ )],
11050
+ image_url="imageUrl",
11051
+ subtitle="subtitle"
11052
+ ),
11053
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11054
+ value="value"
11055
+ ),
11056
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11057
+ value="value"
11058
+ )
11059
+ )]
11060
+ )],
11061
+ timeout_in_seconds=123,
11062
+
11063
+ # the properties below are optional
11064
+ allow_interrupt=False
11065
+ )
11066
+ '''
11067
+ if __debug__:
11068
+ type_hints = typing.get_type_hints(_typecheckingstub__4b29454e1c72d163c3d5c059ab5734a392267a9f5ea3476cbc3a7c07126ce2e5)
11069
+ check_type(argname="argument frequency_in_seconds", value=frequency_in_seconds, expected_type=type_hints["frequency_in_seconds"])
11070
+ check_type(argname="argument message_groups_list", value=message_groups_list, expected_type=type_hints["message_groups_list"])
11071
+ check_type(argname="argument timeout_in_seconds", value=timeout_in_seconds, expected_type=type_hints["timeout_in_seconds"])
11072
+ check_type(argname="argument allow_interrupt", value=allow_interrupt, expected_type=type_hints["allow_interrupt"])
11073
+ self._values: typing.Dict[builtins.str, typing.Any] = {
11074
+ "frequency_in_seconds": frequency_in_seconds,
11075
+ "message_groups_list": message_groups_list,
11076
+ "timeout_in_seconds": timeout_in_seconds,
11077
+ }
11078
+ if allow_interrupt is not None:
11079
+ self._values["allow_interrupt"] = allow_interrupt
11080
+
11081
+ @builtins.property
11082
+ def frequency_in_seconds(self) -> jsii.Number:
11083
+ '''How often a message should be sent to the user.
11084
+
11085
+ Minimum of 1 second, maximum of 5 minutes.
11086
+
11087
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-frequencyinseconds
11088
+ '''
11089
+ result = self._values.get("frequency_in_seconds")
11090
+ assert result is not None, "Required property 'frequency_in_seconds' is missing"
11091
+ return typing.cast(jsii.Number, result)
11092
+
11093
+ @builtins.property
11094
+ def message_groups_list(
11095
+ self,
11096
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.MessageGroupProperty"]]]:
11097
+ '''One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
11098
+
11099
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-messagegroupslist
11100
+ '''
11101
+ result = self._values.get("message_groups_list")
11102
+ assert result is not None, "Required property 'message_groups_list' is missing"
11103
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.MessageGroupProperty"]]], result)
11104
+
11105
+ @builtins.property
11106
+ def timeout_in_seconds(self) -> jsii.Number:
11107
+ '''If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
11108
+
11109
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-timeoutinseconds
11110
+ '''
11111
+ result = self._values.get("timeout_in_seconds")
11112
+ assert result is not None, "Required property 'timeout_in_seconds' is missing"
11113
+ return typing.cast(jsii.Number, result)
11114
+
11115
+ @builtins.property
11116
+ def allow_interrupt(
11117
+ self,
11118
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
11119
+ '''Indicates that the user can interrupt the response by speaking while the message is being played.
11120
+
11121
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-allowinterrupt
11122
+ '''
11123
+ result = self._values.get("allow_interrupt")
11124
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
11125
+
11126
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
11127
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
11128
+
11129
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
11130
+ return not (rhs == self)
11131
+
11132
+ def __repr__(self) -> str:
11133
+ return "StillWaitingResponseSpecificationProperty(%s)" % ", ".join(
11134
+ k + "=" + repr(v) for k, v in self._values.items()
11135
+ )
11136
+
11137
+ @jsii.data_type(
11138
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SubSlotSettingProperty",
11139
+ jsii_struct_bases=[],
11140
+ name_mapping={
11141
+ "expression": "expression",
11142
+ "slot_specifications": "slotSpecifications",
11143
+ },
11144
+ )
11145
+ class SubSlotSettingProperty:
11146
+ def __init__(
11147
+ self,
11148
+ *,
11149
+ expression: typing.Optional[builtins.str] = None,
11150
+ slot_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SpecificationsProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
11151
+ ) -> None:
11152
+ '''Specifications for the constituent sub slots and the expression for the composite slot.
11153
+
11154
+ :param expression: The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.
11155
+ :param slot_specifications: Specifications for the constituent sub slots of a composite slot.
11156
+
11157
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html
11158
+ :exampleMetadata: fixture=_generated
11159
+
11160
+ Example::
11161
+
11162
+ # The code below shows an example of how to instantiate this type.
11163
+ # The values are placeholders you should change.
11164
+ from aws_cdk import aws_lex as lex
11165
+
11166
+ sub_slot_setting_property = lex.CfnBot.SubSlotSettingProperty(
11167
+ expression="expression",
11168
+ slot_specifications={
11169
+ "slot_specifications_key": lex.CfnBot.SpecificationsProperty(
11170
+ slot_type_id="slotTypeId",
11171
+ value_elicitation_setting=lex.CfnBot.SubSlotValueElicitationSettingProperty(
11172
+ default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty(
11173
+ default_value_list=[lex.CfnBot.SlotDefaultValueProperty(
11174
+ default_value="defaultValue"
11175
+ )]
11176
+ ),
11177
+ prompt_specification=lex.CfnBot.PromptSpecificationProperty(
11178
+ max_retries=123,
11179
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11180
+ message=lex.CfnBot.MessageProperty(
11181
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11182
+ value="value"
11183
+ ),
11184
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11185
+ title="title",
11186
+
11187
+ # the properties below are optional
11188
+ buttons=[lex.CfnBot.ButtonProperty(
11189
+ text="text",
11190
+ value="value"
11191
+ )],
11192
+ image_url="imageUrl",
11193
+ subtitle="subtitle"
11194
+ ),
11195
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11196
+ value="value"
11197
+ ),
11198
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11199
+ value="value"
11200
+ )
11201
+ ),
11202
+
11203
+ # the properties below are optional
11204
+ variations=[lex.CfnBot.MessageProperty(
11205
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11206
+ value="value"
11207
+ ),
11208
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11209
+ title="title",
11210
+
11211
+ # the properties below are optional
11212
+ buttons=[lex.CfnBot.ButtonProperty(
11213
+ text="text",
11214
+ value="value"
11215
+ )],
11216
+ image_url="imageUrl",
11217
+ subtitle="subtitle"
11218
+ ),
11219
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11220
+ value="value"
11221
+ ),
11222
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11223
+ value="value"
11224
+ )
11225
+ )]
11226
+ )],
11227
+
11228
+ # the properties below are optional
11229
+ allow_interrupt=False,
11230
+ message_selection_strategy="messageSelectionStrategy",
11231
+ prompt_attempts_specification={
11232
+ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty(
11233
+ allowed_input_types=lex.CfnBot.AllowedInputTypesProperty(
11234
+ allow_audio_input=False,
11235
+ allow_dtmf_input=False
11236
+ ),
11237
+
11238
+ # the properties below are optional
11239
+ allow_interrupt=False,
11240
+ audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty(
11241
+ start_timeout_ms=123,
11242
+
11243
+ # the properties below are optional
11244
+ audio_specification=lex.CfnBot.AudioSpecificationProperty(
11245
+ end_timeout_ms=123,
11246
+ max_length_ms=123
11247
+ ),
11248
+ dtmf_specification=lex.CfnBot.DTMFSpecificationProperty(
11249
+ deletion_character="deletionCharacter",
11250
+ end_character="endCharacter",
11251
+ end_timeout_ms=123,
11252
+ max_length=123
11253
+ )
11254
+ ),
11255
+ text_input_specification=lex.CfnBot.TextInputSpecificationProperty(
11256
+ start_timeout_ms=123
11257
+ )
11258
+ )
11259
+ }
11260
+ ),
11261
+ sample_utterances=[lex.CfnBot.SampleUtteranceProperty(
11262
+ utterance="utterance"
11263
+ )],
11264
+ wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty(
11265
+ continue_response=lex.CfnBot.ResponseSpecificationProperty(
11266
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11267
+ message=lex.CfnBot.MessageProperty(
11268
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11269
+ value="value"
11270
+ ),
11271
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11272
+ title="title",
11273
+
11274
+ # the properties below are optional
11275
+ buttons=[lex.CfnBot.ButtonProperty(
11276
+ text="text",
11277
+ value="value"
11278
+ )],
11279
+ image_url="imageUrl",
11280
+ subtitle="subtitle"
11281
+ ),
11282
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11283
+ value="value"
11284
+ ),
11285
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11286
+ value="value"
11287
+ )
11288
+ ),
11289
+
11290
+ # the properties below are optional
11291
+ variations=[lex.CfnBot.MessageProperty(
11292
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11293
+ value="value"
11294
+ ),
11295
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11296
+ title="title",
11297
+
11298
+ # the properties below are optional
11299
+ buttons=[lex.CfnBot.ButtonProperty(
11300
+ text="text",
11301
+ value="value"
11302
+ )],
11303
+ image_url="imageUrl",
11304
+ subtitle="subtitle"
11305
+ ),
11306
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11307
+ value="value"
11308
+ ),
11309
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11310
+ value="value"
11311
+ )
11312
+ )]
11313
+ )],
11314
+
11315
+ # the properties below are optional
11316
+ allow_interrupt=False
11317
+ ),
11318
+ waiting_response=lex.CfnBot.ResponseSpecificationProperty(
11319
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11320
+ message=lex.CfnBot.MessageProperty(
11321
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11322
+ value="value"
11323
+ ),
11324
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11325
+ title="title",
11326
+
11327
+ # the properties below are optional
11328
+ buttons=[lex.CfnBot.ButtonProperty(
11329
+ text="text",
11330
+ value="value"
11331
+ )],
11332
+ image_url="imageUrl",
11333
+ subtitle="subtitle"
11334
+ ),
11335
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11336
+ value="value"
11337
+ ),
11338
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11339
+ value="value"
11340
+ )
11341
+ ),
11342
+
11343
+ # the properties below are optional
11344
+ variations=[lex.CfnBot.MessageProperty(
11345
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11346
+ value="value"
11347
+ ),
11348
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11349
+ title="title",
11350
+
11351
+ # the properties below are optional
11352
+ buttons=[lex.CfnBot.ButtonProperty(
11353
+ text="text",
11354
+ value="value"
11355
+ )],
11356
+ image_url="imageUrl",
11357
+ subtitle="subtitle"
11358
+ ),
11359
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11360
+ value="value"
11361
+ ),
11362
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11363
+ value="value"
11364
+ )
11365
+ )]
11366
+ )],
11367
+
11368
+ # the properties below are optional
11369
+ allow_interrupt=False
11370
+ ),
11371
+
11372
+ # the properties below are optional
11373
+ is_active=False,
11374
+ still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty(
11375
+ frequency_in_seconds=123,
11376
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11377
+ message=lex.CfnBot.MessageProperty(
11378
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11379
+ value="value"
11380
+ ),
11381
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11382
+ title="title",
11383
+
11384
+ # the properties below are optional
11385
+ buttons=[lex.CfnBot.ButtonProperty(
11386
+ text="text",
11387
+ value="value"
11388
+ )],
11389
+ image_url="imageUrl",
11390
+ subtitle="subtitle"
11391
+ ),
11392
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11393
+ value="value"
11394
+ ),
11395
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11396
+ value="value"
11397
+ )
11398
+ ),
11399
+
11400
+ # the properties below are optional
11401
+ variations=[lex.CfnBot.MessageProperty(
11402
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11403
+ value="value"
11404
+ ),
11405
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11406
+ title="title",
11407
+
11408
+ # the properties below are optional
11409
+ buttons=[lex.CfnBot.ButtonProperty(
11410
+ text="text",
11411
+ value="value"
11412
+ )],
11413
+ image_url="imageUrl",
11414
+ subtitle="subtitle"
11415
+ ),
11416
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11417
+ value="value"
11418
+ ),
11419
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11420
+ value="value"
11421
+ )
11422
+ )]
11423
+ )],
11424
+ timeout_in_seconds=123,
11425
+
11426
+ # the properties below are optional
11427
+ allow_interrupt=False
11428
+ )
11429
+ )
11430
+ )
11431
+ )
11432
+ }
11433
+ )
11434
+ '''
11435
+ if __debug__:
11436
+ type_hints = typing.get_type_hints(_typecheckingstub__19d0e1038157e6cad6b2db8680524f4b2b70d95e8f3f45ad9f237785993ba49b)
11437
+ check_type(argname="argument expression", value=expression, expected_type=type_hints["expression"])
11438
+ check_type(argname="argument slot_specifications", value=slot_specifications, expected_type=type_hints["slot_specifications"])
11439
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
11440
+ if expression is not None:
11441
+ self._values["expression"] = expression
11442
+ if slot_specifications is not None:
11443
+ self._values["slot_specifications"] = slot_specifications
11444
+
11445
+ @builtins.property
11446
+ def expression(self) -> typing.Optional[builtins.str]:
11447
+ '''The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.
11448
+
11449
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html#cfn-lex-bot-subslotsetting-expression
11450
+ '''
11451
+ result = self._values.get("expression")
11452
+ return typing.cast(typing.Optional[builtins.str], result)
11453
+
11454
+ @builtins.property
11455
+ def slot_specifications(
11456
+ self,
11457
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnBot.SpecificationsProperty"]]]]:
11458
+ '''Specifications for the constituent sub slots of a composite slot.
11459
+
11460
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html#cfn-lex-bot-subslotsetting-slotspecifications
11461
+ '''
11462
+ result = self._values.get("slot_specifications")
11463
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnBot.SpecificationsProperty"]]]], result)
11464
+
11465
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
11466
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
11467
+
11468
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
11469
+ return not (rhs == self)
11470
+
11471
+ def __repr__(self) -> str:
11472
+ return "SubSlotSettingProperty(%s)" % ", ".join(
11473
+ k + "=" + repr(v) for k, v in self._values.items()
11474
+ )
11475
+
11476
+ @jsii.data_type(
11477
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SubSlotTypeCompositionProperty",
11478
+ jsii_struct_bases=[],
11479
+ name_mapping={"name": "name", "slot_type_id": "slotTypeId"},
11480
+ )
11481
+ class SubSlotTypeCompositionProperty:
11482
+ def __init__(self, *, name: builtins.str, slot_type_id: builtins.str) -> None:
11483
+ '''Subslot type composition.
11484
+
11485
+ :param name: Name of a constituent sub slot inside a composite slot.
11486
+ :param slot_type_id: The unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.
11487
+
11488
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html
11489
+ :exampleMetadata: fixture=_generated
11490
+
11491
+ Example::
11492
+
11493
+ # The code below shows an example of how to instantiate this type.
11494
+ # The values are placeholders you should change.
11495
+ from aws_cdk import aws_lex as lex
11496
+
11497
+ sub_slot_type_composition_property = lex.CfnBot.SubSlotTypeCompositionProperty(
11498
+ name="name",
11499
+ slot_type_id="slotTypeId"
11500
+ )
11501
+ '''
11502
+ if __debug__:
11503
+ type_hints = typing.get_type_hints(_typecheckingstub__6a11ecebf71592606f12daf680d8d8cd568f03843d20fa7af9a041f1daa2d51f)
11504
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
11505
+ check_type(argname="argument slot_type_id", value=slot_type_id, expected_type=type_hints["slot_type_id"])
11506
+ self._values: typing.Dict[builtins.str, typing.Any] = {
11507
+ "name": name,
11508
+ "slot_type_id": slot_type_id,
11509
+ }
11510
+
11511
+ @builtins.property
11512
+ def name(self) -> builtins.str:
11513
+ '''Name of a constituent sub slot inside a composite slot.
11514
+
11515
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html#cfn-lex-bot-subslottypecomposition-name
11516
+ '''
11517
+ result = self._values.get("name")
11518
+ assert result is not None, "Required property 'name' is missing"
11519
+ return typing.cast(builtins.str, result)
11520
+
11521
+ @builtins.property
11522
+ def slot_type_id(self) -> builtins.str:
11523
+ '''The unique identifier assigned to a slot type.
11524
+
11525
+ This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.
11526
+
11527
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html#cfn-lex-bot-subslottypecomposition-slottypeid
11528
+ '''
11529
+ result = self._values.get("slot_type_id")
11530
+ assert result is not None, "Required property 'slot_type_id' is missing"
11531
+ return typing.cast(builtins.str, result)
11532
+
11533
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
11534
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
11535
+
11536
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
11537
+ return not (rhs == self)
11538
+
11539
+ def __repr__(self) -> str:
11540
+ return "SubSlotTypeCompositionProperty(%s)" % ", ".join(
11541
+ k + "=" + repr(v) for k, v in self._values.items()
11542
+ )
11543
+
11544
+ @jsii.data_type(
11545
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SubSlotValueElicitationSettingProperty",
11546
+ jsii_struct_bases=[],
11547
+ name_mapping={
11548
+ "default_value_specification": "defaultValueSpecification",
11549
+ "prompt_specification": "promptSpecification",
11550
+ "sample_utterances": "sampleUtterances",
11551
+ "wait_and_continue_specification": "waitAndContinueSpecification",
11552
+ },
11553
+ )
11554
+ class SubSlotValueElicitationSettingProperty:
11555
+ def __init__(
11556
+ self,
11557
+ *,
11558
+ default_value_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SlotDefaultValueSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11559
+ prompt_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.PromptSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11560
+ sample_utterances: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SampleUtteranceProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
11561
+ wait_and_continue_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.WaitAndContinueSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11562
+ ) -> None:
11563
+ '''Subslot elicitation settings.
11564
+
11565
+ ``DefaultValueSpecification`` is a list of default values for a constituent sub slot in a composite slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values. This is similar to ``DefaultValueSpecification`` for slots.
11566
+
11567
+ ``PromptSpecification`` is the prompt that Amazon Lex uses to elicit the sub slot value from the user. This is similar to ``PromptSpecification`` for slots.
11568
+
11569
+ :param default_value_specification:
11570
+ :param prompt_specification:
11571
+ :param sample_utterances: If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of understanding user utterances. This is similar to ``SampleUtterances`` for slots.
11572
+ :param wait_and_continue_specification:
11573
+
11574
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html
11575
+ :exampleMetadata: fixture=_generated
11576
+
11577
+ Example::
11578
+
11579
+ # The code below shows an example of how to instantiate this type.
11580
+ # The values are placeholders you should change.
11581
+ from aws_cdk import aws_lex as lex
11582
+
11583
+ sub_slot_value_elicitation_setting_property = lex.CfnBot.SubSlotValueElicitationSettingProperty(
11584
+ default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty(
11585
+ default_value_list=[lex.CfnBot.SlotDefaultValueProperty(
11586
+ default_value="defaultValue"
11587
+ )]
11588
+ ),
11589
+ prompt_specification=lex.CfnBot.PromptSpecificationProperty(
11590
+ max_retries=123,
11591
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11592
+ message=lex.CfnBot.MessageProperty(
11593
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11594
+ value="value"
11595
+ ),
11596
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11597
+ title="title",
11598
+
11599
+ # the properties below are optional
11600
+ buttons=[lex.CfnBot.ButtonProperty(
11601
+ text="text",
11602
+ value="value"
11603
+ )],
11604
+ image_url="imageUrl",
11605
+ subtitle="subtitle"
11606
+ ),
11607
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11608
+ value="value"
11609
+ ),
11610
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11611
+ value="value"
11612
+ )
11613
+ ),
11614
+
11615
+ # the properties below are optional
11616
+ variations=[lex.CfnBot.MessageProperty(
11617
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11618
+ value="value"
11619
+ ),
11620
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11621
+ title="title",
11622
+
11623
+ # the properties below are optional
11624
+ buttons=[lex.CfnBot.ButtonProperty(
11625
+ text="text",
11626
+ value="value"
11627
+ )],
11628
+ image_url="imageUrl",
11629
+ subtitle="subtitle"
11630
+ ),
11631
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11632
+ value="value"
11633
+ ),
11634
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11635
+ value="value"
11636
+ )
11637
+ )]
11638
+ )],
11639
+
11640
+ # the properties below are optional
11641
+ allow_interrupt=False,
11642
+ message_selection_strategy="messageSelectionStrategy",
11643
+ prompt_attempts_specification={
11644
+ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty(
11645
+ allowed_input_types=lex.CfnBot.AllowedInputTypesProperty(
11646
+ allow_audio_input=False,
11647
+ allow_dtmf_input=False
11648
+ ),
11649
+
11650
+ # the properties below are optional
11651
+ allow_interrupt=False,
11652
+ audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty(
11653
+ start_timeout_ms=123,
11654
+
11655
+ # the properties below are optional
11656
+ audio_specification=lex.CfnBot.AudioSpecificationProperty(
11657
+ end_timeout_ms=123,
11658
+ max_length_ms=123
11659
+ ),
11660
+ dtmf_specification=lex.CfnBot.DTMFSpecificationProperty(
11661
+ deletion_character="deletionCharacter",
11662
+ end_character="endCharacter",
11663
+ end_timeout_ms=123,
11664
+ max_length=123
11665
+ )
11666
+ ),
11667
+ text_input_specification=lex.CfnBot.TextInputSpecificationProperty(
11668
+ start_timeout_ms=123
11669
+ )
11670
+ )
11671
+ }
11672
+ ),
11673
+ sample_utterances=[lex.CfnBot.SampleUtteranceProperty(
11674
+ utterance="utterance"
11675
+ )],
11676
+ wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty(
11677
+ continue_response=lex.CfnBot.ResponseSpecificationProperty(
11678
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11679
+ message=lex.CfnBot.MessageProperty(
11680
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11681
+ value="value"
11682
+ ),
11683
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11684
+ title="title",
11685
+
11686
+ # the properties below are optional
11687
+ buttons=[lex.CfnBot.ButtonProperty(
11688
+ text="text",
11689
+ value="value"
11690
+ )],
11691
+ image_url="imageUrl",
11692
+ subtitle="subtitle"
11693
+ ),
11694
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11695
+ value="value"
11696
+ ),
11697
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11698
+ value="value"
11699
+ )
11700
+ ),
11701
+
11702
+ # the properties below are optional
11703
+ variations=[lex.CfnBot.MessageProperty(
11704
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11705
+ value="value"
11706
+ ),
11707
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11708
+ title="title",
11709
+
11710
+ # the properties below are optional
11711
+ buttons=[lex.CfnBot.ButtonProperty(
11712
+ text="text",
11713
+ value="value"
11714
+ )],
11715
+ image_url="imageUrl",
11716
+ subtitle="subtitle"
11717
+ ),
11718
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11719
+ value="value"
11720
+ ),
11721
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11722
+ value="value"
11723
+ )
11724
+ )]
11725
+ )],
11726
+
11727
+ # the properties below are optional
11728
+ allow_interrupt=False
11729
+ ),
11730
+ waiting_response=lex.CfnBot.ResponseSpecificationProperty(
11731
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11732
+ message=lex.CfnBot.MessageProperty(
11733
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11734
+ value="value"
11735
+ ),
11736
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11737
+ title="title",
11738
+
11739
+ # the properties below are optional
11740
+ buttons=[lex.CfnBot.ButtonProperty(
11741
+ text="text",
11742
+ value="value"
11743
+ )],
11744
+ image_url="imageUrl",
11745
+ subtitle="subtitle"
11746
+ ),
11747
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11748
+ value="value"
11749
+ ),
11750
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11751
+ value="value"
11752
+ )
11753
+ ),
11754
+
11755
+ # the properties below are optional
11756
+ variations=[lex.CfnBot.MessageProperty(
11757
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11758
+ value="value"
11759
+ ),
11760
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11761
+ title="title",
11762
+
11763
+ # the properties below are optional
11764
+ buttons=[lex.CfnBot.ButtonProperty(
11765
+ text="text",
11766
+ value="value"
11767
+ )],
11768
+ image_url="imageUrl",
11769
+ subtitle="subtitle"
11770
+ ),
11771
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11772
+ value="value"
11773
+ ),
11774
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11775
+ value="value"
11776
+ )
11777
+ )]
11778
+ )],
11779
+
11780
+ # the properties below are optional
11781
+ allow_interrupt=False
11782
+ ),
11783
+
11784
+ # the properties below are optional
11785
+ is_active=False,
11786
+ still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty(
11787
+ frequency_in_seconds=123,
11788
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11789
+ message=lex.CfnBot.MessageProperty(
11790
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11791
+ value="value"
11792
+ ),
11793
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11794
+ title="title",
11795
+
11796
+ # the properties below are optional
11797
+ buttons=[lex.CfnBot.ButtonProperty(
11798
+ text="text",
11799
+ value="value"
11800
+ )],
11801
+ image_url="imageUrl",
11802
+ subtitle="subtitle"
11803
+ ),
11804
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11805
+ value="value"
11806
+ ),
11807
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11808
+ value="value"
11809
+ )
11810
+ ),
11811
+
11812
+ # the properties below are optional
11813
+ variations=[lex.CfnBot.MessageProperty(
11814
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11815
+ value="value"
11816
+ ),
11817
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11818
+ title="title",
9956
11819
 
9957
- # the properties below are optional
9958
- allow_interrupt=False
11820
+ # the properties below are optional
11821
+ buttons=[lex.CfnBot.ButtonProperty(
11822
+ text="text",
11823
+ value="value"
11824
+ )],
11825
+ image_url="imageUrl",
11826
+ subtitle="subtitle"
11827
+ ),
11828
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11829
+ value="value"
11830
+ ),
11831
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11832
+ value="value"
11833
+ )
11834
+ )]
11835
+ )],
11836
+ timeout_in_seconds=123,
11837
+
11838
+ # the properties below are optional
11839
+ allow_interrupt=False
11840
+ )
11841
+ )
9959
11842
  )
9960
11843
  '''
9961
11844
  if __debug__:
9962
- type_hints = typing.get_type_hints(_typecheckingstub__4b29454e1c72d163c3d5c059ab5734a392267a9f5ea3476cbc3a7c07126ce2e5)
9963
- check_type(argname="argument frequency_in_seconds", value=frequency_in_seconds, expected_type=type_hints["frequency_in_seconds"])
9964
- check_type(argname="argument message_groups_list", value=message_groups_list, expected_type=type_hints["message_groups_list"])
9965
- check_type(argname="argument timeout_in_seconds", value=timeout_in_seconds, expected_type=type_hints["timeout_in_seconds"])
9966
- check_type(argname="argument allow_interrupt", value=allow_interrupt, expected_type=type_hints["allow_interrupt"])
9967
- self._values: typing.Dict[builtins.str, typing.Any] = {
9968
- "frequency_in_seconds": frequency_in_seconds,
9969
- "message_groups_list": message_groups_list,
9970
- "timeout_in_seconds": timeout_in_seconds,
9971
- }
9972
- if allow_interrupt is not None:
9973
- self._values["allow_interrupt"] = allow_interrupt
11845
+ type_hints = typing.get_type_hints(_typecheckingstub__0c4bd628f2e9787ccab08e521e3770db72db937863bc4842368f8edad1fe7b45)
11846
+ check_type(argname="argument default_value_specification", value=default_value_specification, expected_type=type_hints["default_value_specification"])
11847
+ check_type(argname="argument prompt_specification", value=prompt_specification, expected_type=type_hints["prompt_specification"])
11848
+ check_type(argname="argument sample_utterances", value=sample_utterances, expected_type=type_hints["sample_utterances"])
11849
+ check_type(argname="argument wait_and_continue_specification", value=wait_and_continue_specification, expected_type=type_hints["wait_and_continue_specification"])
11850
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
11851
+ if default_value_specification is not None:
11852
+ self._values["default_value_specification"] = default_value_specification
11853
+ if prompt_specification is not None:
11854
+ self._values["prompt_specification"] = prompt_specification
11855
+ if sample_utterances is not None:
11856
+ self._values["sample_utterances"] = sample_utterances
11857
+ if wait_and_continue_specification is not None:
11858
+ self._values["wait_and_continue_specification"] = wait_and_continue_specification
9974
11859
 
9975
11860
  @builtins.property
9976
- def frequency_in_seconds(self) -> jsii.Number:
9977
- '''How often a message should be sent to the user.
9978
-
9979
- Minimum of 1 second, maximum of 5 minutes.
9980
-
9981
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-frequencyinseconds
11861
+ def default_value_specification(
11862
+ self,
11863
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SlotDefaultValueSpecificationProperty"]]:
9982
11864
  '''
9983
- result = self._values.get("frequency_in_seconds")
9984
- assert result is not None, "Required property 'frequency_in_seconds' is missing"
9985
- return typing.cast(jsii.Number, result)
11865
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html#cfn-lex-bot-subslotvalueelicitationsetting-defaultvaluespecification
11866
+ '''
11867
+ result = self._values.get("default_value_specification")
11868
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SlotDefaultValueSpecificationProperty"]], result)
9986
11869
 
9987
11870
  @builtins.property
9988
- def message_groups_list(
11871
+ def prompt_specification(
9989
11872
  self,
9990
- ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.MessageGroupProperty"]]]:
9991
- '''One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
9992
-
9993
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-messagegroupslist
11873
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.PromptSpecificationProperty"]]:
9994
11874
  '''
9995
- result = self._values.get("message_groups_list")
9996
- assert result is not None, "Required property 'message_groups_list' is missing"
9997
- return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.MessageGroupProperty"]]], result)
9998
-
9999
- @builtins.property
10000
- def timeout_in_seconds(self) -> jsii.Number:
10001
- '''If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
10002
-
10003
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-timeoutinseconds
11875
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html#cfn-lex-bot-subslotvalueelicitationsetting-promptspecification
10004
11876
  '''
10005
- result = self._values.get("timeout_in_seconds")
10006
- assert result is not None, "Required property 'timeout_in_seconds' is missing"
10007
- return typing.cast(jsii.Number, result)
11877
+ result = self._values.get("prompt_specification")
11878
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.PromptSpecificationProperty"]], result)
10008
11879
 
10009
11880
  @builtins.property
10010
- def allow_interrupt(
11881
+ def sample_utterances(
10011
11882
  self,
10012
- ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
10013
- '''Indicates that the user can interrupt the response by speaking while the message is being played.
10014
-
10015
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-allowinterrupt
10016
- '''
10017
- result = self._values.get("allow_interrupt")
10018
- return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
10019
-
10020
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
10021
- return isinstance(rhs, self.__class__) and rhs._values == self._values
10022
-
10023
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
10024
- return not (rhs == self)
10025
-
10026
- def __repr__(self) -> str:
10027
- return "StillWaitingResponseSpecificationProperty(%s)" % ", ".join(
10028
- k + "=" + repr(v) for k, v in self._values.items()
10029
- )
10030
-
10031
- @jsii.data_type(
10032
- jsii_type="aws-cdk-lib.aws_lex.CfnBot.SubSlotTypeCompositionProperty",
10033
- jsii_struct_bases=[],
10034
- name_mapping={"name": "name", "slot_type_id": "slotTypeId"},
10035
- )
10036
- class SubSlotTypeCompositionProperty:
10037
- def __init__(self, *, name: builtins.str, slot_type_id: builtins.str) -> None:
10038
- '''Subslot type composition.
10039
-
10040
- :param name: Name of a constituent sub slot inside a composite slot.
10041
- :param slot_type_id: The unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.
10042
-
10043
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html
10044
- :exampleMetadata: fixture=_generated
11883
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.SampleUtteranceProperty"]]]]:
11884
+ '''If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you can provide those utterances to improve accuracy.
10045
11885
 
10046
- Example::
11886
+ This is optional. In most cases Amazon Lex is capable of understanding user utterances. This is similar to ``SampleUtterances`` for slots.
10047
11887
 
10048
- # The code below shows an example of how to instantiate this type.
10049
- # The values are placeholders you should change.
10050
- from aws_cdk import aws_lex as lex
10051
-
10052
- sub_slot_type_composition_property = lex.CfnBot.SubSlotTypeCompositionProperty(
10053
- name="name",
10054
- slot_type_id="slotTypeId"
10055
- )
11888
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html#cfn-lex-bot-subslotvalueelicitationsetting-sampleutterances
10056
11889
  '''
10057
- if __debug__:
10058
- type_hints = typing.get_type_hints(_typecheckingstub__6a11ecebf71592606f12daf680d8d8cd568f03843d20fa7af9a041f1daa2d51f)
10059
- check_type(argname="argument name", value=name, expected_type=type_hints["name"])
10060
- check_type(argname="argument slot_type_id", value=slot_type_id, expected_type=type_hints["slot_type_id"])
10061
- self._values: typing.Dict[builtins.str, typing.Any] = {
10062
- "name": name,
10063
- "slot_type_id": slot_type_id,
10064
- }
11890
+ result = self._values.get("sample_utterances")
11891
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.SampleUtteranceProperty"]]]], result)
10065
11892
 
10066
11893
  @builtins.property
10067
- def name(self) -> builtins.str:
10068
- '''Name of a constituent sub slot inside a composite slot.
10069
-
10070
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html#cfn-lex-bot-subslottypecomposition-name
11894
+ def wait_and_continue_specification(
11895
+ self,
11896
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.WaitAndContinueSpecificationProperty"]]:
10071
11897
  '''
10072
- result = self._values.get("name")
10073
- assert result is not None, "Required property 'name' is missing"
10074
- return typing.cast(builtins.str, result)
10075
-
10076
- @builtins.property
10077
- def slot_type_id(self) -> builtins.str:
10078
- '''The unique identifier assigned to a slot type.
10079
-
10080
- This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.
10081
-
10082
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html#cfn-lex-bot-subslottypecomposition-slottypeid
11898
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html#cfn-lex-bot-subslotvalueelicitationsetting-waitandcontinuespecification
10083
11899
  '''
10084
- result = self._values.get("slot_type_id")
10085
- assert result is not None, "Required property 'slot_type_id' is missing"
10086
- return typing.cast(builtins.str, result)
11900
+ result = self._values.get("wait_and_continue_specification")
11901
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.WaitAndContinueSpecificationProperty"]], result)
10087
11902
 
10088
11903
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
10089
11904
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -10092,7 +11907,7 @@ class CfnBot(
10092
11907
  return not (rhs == self)
10093
11908
 
10094
11909
  def __repr__(self) -> str:
10095
- return "SubSlotTypeCompositionProperty(%s)" % ", ".join(
11910
+ return "SubSlotValueElicitationSettingProperty(%s)" % ", ".join(
10096
11911
  k + "=" + repr(v) for k, v in self._values.items()
10097
11912
  )
10098
11913
 
@@ -10798,7 +12613,7 @@ class CfnBot(
10798
12613
  )
10799
12614
 
10800
12615
 
10801
- @jsii.implements(_IInspectable_c2943556)
12616
+ @jsii.implements(_IInspectable_c2943556, _IBotAliasRef_8ce881f4)
10802
12617
  class CfnBotAlias(
10803
12618
  _CfnResource_9df397a6,
10804
12619
  metaclass=jsii.JSIIMeta,
@@ -10890,7 +12705,8 @@ class CfnBotAlias(
10890
12705
  description: typing.Optional[builtins.str] = None,
10891
12706
  sentiment_analysis_settings: typing.Any = None,
10892
12707
  ) -> None:
10893
- '''
12708
+ '''Create a new ``AWS::Lex::BotAlias``.
12709
+
10894
12710
  :param scope: Scope in which this resource is defined.
10895
12711
  :param id: Construct identifier for this resource (unique in its scope).
10896
12712
  :param bot_alias_name: The name of the bot alias.
@@ -10978,6 +12794,12 @@ class CfnBotAlias(
10978
12794
  '''
10979
12795
  return typing.cast(builtins.str, jsii.get(self, "attrBotAliasStatus"))
10980
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
+
10981
12803
  @builtins.property
10982
12804
  @jsii.member(jsii_name="cfnProperties")
10983
12805
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -12261,6 +14083,7 @@ class CfnBotAliasProps:
12261
14083
  "bot_locales": "botLocales",
12262
14084
  "bot_tags": "botTags",
12263
14085
  "description": "description",
14086
+ "error_log_settings": "errorLogSettings",
12264
14087
  "replication": "replication",
12265
14088
  "test_bot_alias_settings": "testBotAliasSettings",
12266
14089
  "test_bot_alias_tags": "testBotAliasTags",
@@ -12279,6 +14102,7 @@ class CfnBotProps:
12279
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,
12280
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,
12281
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,
12282
14106
  replication: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ReplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12283
14107
  test_bot_alias_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.TestBotAliasSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12284
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,
@@ -12294,6 +14118,7 @@ class CfnBotProps:
12294
14118
  :param bot_locales: A list of locales for the bot.
12295
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.
12296
14120
  :param description: The description of the version.
14121
+ :param error_log_settings:
12297
14122
  :param replication:
12298
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.
12299
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.
@@ -12316,6 +14141,7 @@ class CfnBotProps:
12316
14141
  check_type(argname="argument bot_locales", value=bot_locales, expected_type=type_hints["bot_locales"])
12317
14142
  check_type(argname="argument bot_tags", value=bot_tags, expected_type=type_hints["bot_tags"])
12318
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"])
12319
14145
  check_type(argname="argument replication", value=replication, expected_type=type_hints["replication"])
12320
14146
  check_type(argname="argument test_bot_alias_settings", value=test_bot_alias_settings, expected_type=type_hints["test_bot_alias_settings"])
12321
14147
  check_type(argname="argument test_bot_alias_tags", value=test_bot_alias_tags, expected_type=type_hints["test_bot_alias_tags"])
@@ -12335,6 +14161,8 @@ class CfnBotProps:
12335
14161
  self._values["bot_tags"] = bot_tags
12336
14162
  if description is not None:
12337
14163
  self._values["description"] = description
14164
+ if error_log_settings is not None:
14165
+ self._values["error_log_settings"] = error_log_settings
12338
14166
  if replication is not None:
12339
14167
  self._values["replication"] = replication
12340
14168
  if test_bot_alias_settings is not None:
@@ -12445,6 +14273,16 @@ class CfnBotProps:
12445
14273
  result = self._values.get("description")
12446
14274
  return typing.cast(typing.Optional[builtins.str], result)
12447
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
+
12448
14286
  @builtins.property
12449
14287
  def replication(
12450
14288
  self,
@@ -12493,7 +14331,7 @@ class CfnBotProps:
12493
14331
  )
12494
14332
 
12495
14333
 
12496
- @jsii.implements(_IInspectable_c2943556)
14334
+ @jsii.implements(_IInspectable_c2943556, _IBotVersionRef_ba36d768)
12497
14335
  class CfnBotVersion(
12498
14336
  _CfnResource_9df397a6,
12499
14337
  metaclass=jsii.JSIIMeta,
@@ -12540,7 +14378,8 @@ class CfnBotVersion(
12540
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]]]]],
12541
14379
  description: typing.Optional[builtins.str] = None,
12542
14380
  ) -> None:
12543
- '''
14381
+ '''Create a new ``AWS::Lex::BotVersion``.
14382
+
12544
14383
  :param scope: Scope in which this resource is defined.
12545
14384
  :param id: Construct identifier for this resource (unique in its scope).
12546
14385
  :param bot_id: The unique identifier of the bot.
@@ -12598,6 +14437,12 @@ class CfnBotVersion(
12598
14437
  '''
12599
14438
  return typing.cast(builtins.str, jsii.get(self, "attrBotVersion"))
12600
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
+
12601
14446
  @builtins.property
12602
14447
  @jsii.member(jsii_name="cfnProperties")
12603
14448
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -12882,7 +14727,7 @@ class CfnBotVersionProps:
12882
14727
  )
12883
14728
 
12884
14729
 
12885
- @jsii.implements(_IInspectable_c2943556)
14730
+ @jsii.implements(_IInspectable_c2943556, _IResourcePolicyRef_18182ecb)
12886
14731
  class CfnResourcePolicy(
12887
14732
  _CfnResource_9df397a6,
12888
14733
  metaclass=jsii.JSIIMeta,
@@ -12920,7 +14765,8 @@ class CfnResourcePolicy(
12920
14765
  policy: typing.Any,
12921
14766
  resource_arn: builtins.str,
12922
14767
  ) -> None:
12923
- '''
14768
+ '''Create a new ``AWS::Lex::ResourcePolicy``.
14769
+
12924
14770
  :param scope: Scope in which this resource is defined.
12925
14771
  :param id: Construct identifier for this resource (unique in its scope).
12926
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.
@@ -12987,6 +14833,12 @@ class CfnResourcePolicy(
12987
14833
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
12988
14834
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
12989
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
+
12990
14842
  @builtins.property
12991
14843
  @jsii.member(jsii_name="policy")
12992
14844
  def policy(self) -> typing.Any:
@@ -13111,6 +14963,7 @@ def _typecheckingstub__5c185fb71324df3b939f1cbff6a813b57733510cba6989dac147b9a3a
13111
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,
13112
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,
13113
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,
13114
14967
  replication: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ReplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13115
14968
  test_bot_alias_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.TestBotAliasSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13116
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,
@@ -13184,6 +15037,12 @@ def _typecheckingstub__72103623fa216232524c89f3e94b6a4e2056c1e8ad43603db83275506
13184
15037
  """Type checking stubs"""
13185
15038
  pass
13186
15039
 
15040
+ def _typecheckingstub__606ffbe82078c04fc48db5544bb87403e15eecb94ab4de4dfef298d8b2e5cbca(
15041
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBot.ErrorLogSettingsProperty]],
15042
+ ) -> None:
15043
+ """Type checking stubs"""
15044
+ pass
15045
+
13187
15046
  def _typecheckingstub__216cef1fd41900705f9b354338869c1eb4c662dac7d796bbff78b6110634e068(
13188
15047
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBot.ReplicationProperty]],
13189
15048
  ) -> None:
@@ -13329,6 +15188,7 @@ def _typecheckingstub__2ad20956b5309c4b6154f09c947ce4023f20ed7a602b3cfa60f2bd3cf
13329
15188
  nlu_confidence_threshold: jsii.Number,
13330
15189
  custom_vocabulary: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.CustomVocabularyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13331
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,
13332
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,
13333
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,
13334
15194
  voice_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.VoiceSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -13336,6 +15196,14 @@ def _typecheckingstub__2ad20956b5309c4b6154f09c947ce4023f20ed7a602b3cfa60f2bd3cf
13336
15196
  """Type checking stubs"""
13337
15197
  pass
13338
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
+
13339
15207
  def _typecheckingstub__d0208df4d8ce79e1029770ef72acb7332713a8684db0810b60ddcd684dc98bcd(
13340
15208
  *,
13341
15209
  text: builtins.str,
@@ -13457,6 +15325,14 @@ def _typecheckingstub__b17d7f375530a3080dd7a04795acd6231e37882d54e677880209844b3
13457
15325
  """Type checking stubs"""
13458
15326
  pass
13459
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
+
13460
15336
  def _typecheckingstub__e376869d573dbc5f07a8bacbcb08139f9ccf20789d86cfdc88afd3db242dd177(
13461
15337
  *,
13462
15338
  type: builtins.str,
@@ -13500,6 +15376,13 @@ def _typecheckingstub__60b6686b2f7d08316ec6f3906c1eb41b85065d8e1d623e4ccb84213be
13500
15376
  """Type checking stubs"""
13501
15377
  pass
13502
15378
 
15379
+ def _typecheckingstub__889dfa7e4bae2942ab9113cc1fc2daf6258bacf8d15a90096950359390714919(
15380
+ *,
15381
+ enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
15382
+ ) -> None:
15383
+ """Type checking stubs"""
15384
+ pass
15385
+
13503
15386
  def _typecheckingstub__763b75448aee2b4fee3dce3c3b9828881f42bb6dff2c8c36ad958cddfceacb3a(
13504
15387
  *,
13505
15388
  answer_field: typing.Optional[builtins.str] = None,
@@ -13553,6 +15436,14 @@ def _typecheckingstub__500ed503fae8fece46360727878fdf9250149c5d237d5f4414d8191ff
13553
15436
  """Type checking stubs"""
13554
15437
  pass
13555
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
+
13556
15447
  def _typecheckingstub__7607729da805dba490266bfccf35e40fc22f0e3b3c4d78038e129d897dd21483(
13557
15448
  *,
13558
15449
  source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.GrammarSlotTypeSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -13698,6 +15589,13 @@ def _typecheckingstub__5d243896aac9e5978582c7a17b393ee26ecc4d0b53d8eeecb47f9b8e6
13698
15589
  """Type checking stubs"""
13699
15590
  pass
13700
15591
 
15592
+ def _typecheckingstub__f80adb05041a59edc5a47ce2b664a9d75275b5e3ff27a1ebb50e164ad1b82019(
15593
+ *,
15594
+ enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
15595
+ ) -> None:
15596
+ """Type checking stubs"""
15597
+ pass
15598
+
13701
15599
  def _typecheckingstub__a795f3c1800daacb8fa1b1f53ef1260088f1fa8ef905157a69c25f1fb6aaf260(
13702
15600
  *,
13703
15601
  obfuscation_setting_type: builtins.str,
@@ -13830,6 +15728,14 @@ def _typecheckingstub__41b902a3461c6b590e44c1b70d9b5197da38bf30395535518dbeee15b
13830
15728
  """Type checking stubs"""
13831
15729
  pass
13832
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
+
13833
15739
  def _typecheckingstub__ded78dd4eccaf929584502bf9d04303df195ccea074a52fa76a797748ee0e43b(
13834
15740
  *,
13835
15741
  log_prefix: builtins.str,
@@ -13855,6 +15761,14 @@ def _typecheckingstub__0c9fd5a338093c2843c71a2fd67ef382cd74c7db746e18dcc56d46f70
13855
15761
  """Type checking stubs"""
13856
15762
  pass
13857
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
+
13858
15772
  def _typecheckingstub__0142d6efc46c3cefacaba45fb4bc73266bcc186db01a160e97d3c9792a68f815(
13859
15773
  *,
13860
15774
  utterance: builtins.str,
@@ -13928,6 +15842,15 @@ def _typecheckingstub__ef126475ab56636b361ebc97f72cf09bd8480c4e5dad06e8da998fba1
13928
15842
  description: typing.Optional[builtins.str] = None,
13929
15843
  multiple_values_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.MultipleValuesSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13930
15844
  obfuscation_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ObfuscationSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15845
+ sub_slot_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SubSlotSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15846
+ ) -> None:
15847
+ """Type checking stubs"""
15848
+ pass
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,
13931
15854
  ) -> None:
13932
15855
  """Type checking stubs"""
13933
15856
  pass
@@ -14005,6 +15928,14 @@ def _typecheckingstub__7982c47931169a42f1aa99bdc61da96e42f63e5371b26a267f1cdadef
14005
15928
  """Type checking stubs"""
14006
15929
  pass
14007
15930
 
15931
+ def _typecheckingstub__84831b306cf7254dc35fff23cffebed9b612832f61edaf61cf5455c684e3fe37(
15932
+ *,
15933
+ slot_type_id: builtins.str,
15934
+ value_elicitation_setting: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SubSlotValueElicitationSettingProperty, typing.Dict[builtins.str, typing.Any]]],
15935
+ ) -> None:
15936
+ """Type checking stubs"""
15937
+ pass
15938
+
14008
15939
  def _typecheckingstub__4b29454e1c72d163c3d5c059ab5734a392267a9f5ea3476cbc3a7c07126ce2e5(
14009
15940
  *,
14010
15941
  frequency_in_seconds: jsii.Number,
@@ -14015,6 +15946,14 @@ def _typecheckingstub__4b29454e1c72d163c3d5c059ab5734a392267a9f5ea3476cbc3a7c071
14015
15946
  """Type checking stubs"""
14016
15947
  pass
14017
15948
 
15949
+ def _typecheckingstub__19d0e1038157e6cad6b2db8680524f4b2b70d95e8f3f45ad9f237785993ba49b(
15950
+ *,
15951
+ expression: typing.Optional[builtins.str] = None,
15952
+ slot_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SpecificationsProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15953
+ ) -> None:
15954
+ """Type checking stubs"""
15955
+ pass
15956
+
14018
15957
  def _typecheckingstub__6a11ecebf71592606f12daf680d8d8cd568f03843d20fa7af9a041f1daa2d51f(
14019
15958
  *,
14020
15959
  name: builtins.str,
@@ -14023,6 +15962,16 @@ def _typecheckingstub__6a11ecebf71592606f12daf680d8d8cd568f03843d20fa7af9a041f1d
14023
15962
  """Type checking stubs"""
14024
15963
  pass
14025
15964
 
15965
+ def _typecheckingstub__0c4bd628f2e9787ccab08e521e3770db72db937863bc4842368f8edad1fe7b45(
15966
+ *,
15967
+ default_value_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SlotDefaultValueSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15968
+ prompt_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.PromptSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15969
+ sample_utterances: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SampleUtteranceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15970
+ wait_and_continue_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.WaitAndContinueSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15971
+ ) -> None:
15972
+ """Type checking stubs"""
15973
+ pass
15974
+
14026
15975
  def _typecheckingstub__9e4446d39358c5287d9df3b2990e64fd6f58a3cb8c75321845b0c566e4ddd896(
14027
15976
  *,
14028
15977
  bot_alias_locale_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BotAliasLocaleSettingsItemProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -14267,6 +16216,7 @@ def _typecheckingstub__5bd27c18d3e2a58ae9aef768e05a25ed92243f8298c9575d9ff15c1d7
14267
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,
14268
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,
14269
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,
14270
16220
  replication: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ReplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
14271
16221
  test_bot_alias_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.TestBotAliasSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
14272
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,