aws-cdk-lib 2.186.0__py3-none-any.whl → 2.188.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 (85) hide show
  1. aws_cdk/__init__.py +303 -119
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.186.0.jsii.tgz → aws-cdk-lib@2.188.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +136 -0
  5. aws_cdk/aws_apigateway/__init__.py +69 -17
  6. aws_cdk/aws_apigatewayv2/__init__.py +88 -0
  7. aws_cdk/aws_appconfig/__init__.py +30 -14
  8. aws_cdk/aws_appsync/__init__.py +14 -5
  9. aws_cdk/aws_arczonalshift/__init__.py +4 -4
  10. aws_cdk/aws_bedrock/__init__.py +637 -32
  11. aws_cdk/aws_budgets/__init__.py +8 -8
  12. aws_cdk/aws_cassandra/__init__.py +4 -2
  13. aws_cdk/aws_ce/__init__.py +2 -2
  14. aws_cdk/aws_cloudformation/__init__.py +3 -3
  15. aws_cdk/aws_cloudfront/__init__.py +11 -0
  16. aws_cdk/aws_cloudtrail/__init__.py +4 -18
  17. aws_cdk/aws_cloudwatch/__init__.py +50 -50
  18. aws_cdk/aws_codebuild/__init__.py +32 -1
  19. aws_cdk/aws_codepipeline/__init__.py +47 -32
  20. aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
  21. aws_cdk/aws_codestarnotifications/__init__.py +16 -16
  22. aws_cdk/aws_cognito/__init__.py +8 -2
  23. aws_cdk/aws_config/__init__.py +2 -5
  24. aws_cdk/aws_datazone/__init__.py +287 -226
  25. aws_cdk/aws_detective/__init__.py +3 -3
  26. aws_cdk/aws_dynamodb/__init__.py +37 -0
  27. aws_cdk/aws_ec2/__init__.py +2448 -442
  28. aws_cdk/aws_ecr/__init__.py +143 -0
  29. aws_cdk/aws_ecr_assets/__init__.py +115 -4
  30. aws_cdk/aws_ecs/__init__.py +51 -0
  31. aws_cdk/aws_eks/__init__.py +222 -6
  32. aws_cdk/aws_events/__init__.py +8 -11
  33. aws_cdk/aws_events_targets/__init__.py +136 -0
  34. aws_cdk/aws_forecast/__init__.py +1 -1
  35. aws_cdk/aws_fsx/__init__.py +2 -2
  36. aws_cdk/aws_gamelift/__init__.py +11 -11
  37. aws_cdk/aws_iam/__init__.py +6 -4
  38. aws_cdk/aws_identitystore/__init__.py +6 -4
  39. aws_cdk/aws_iotsitewise/__init__.py +623 -0
  40. aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
  41. aws_cdk/aws_kms/__init__.py +10 -11
  42. aws_cdk/aws_lakeformation/__init__.py +3 -3
  43. aws_cdk/aws_lambda/__init__.py +105 -4
  44. aws_cdk/aws_lambda_event_sources/__init__.py +87 -25
  45. aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
  46. aws_cdk/aws_lex/__init__.py +985 -5
  47. aws_cdk/aws_logs/__init__.py +18 -0
  48. aws_cdk/aws_logs_destinations/__init__.py +146 -0
  49. aws_cdk/aws_mediaconnect/__init__.py +714 -290
  50. aws_cdk/aws_mwaa/__init__.py +9 -9
  51. aws_cdk/aws_networkfirewall/__init__.py +44 -0
  52. aws_cdk/aws_notifications/__init__.py +4 -4
  53. aws_cdk/aws_omics/__init__.py +225 -1
  54. aws_cdk/aws_opensearchserverless/__init__.py +31 -23
  55. aws_cdk/aws_organizations/__init__.py +1 -1
  56. aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
  57. aws_cdk/aws_quicksight/__init__.py +268 -50
  58. aws_cdk/aws_rds/__init__.py +186 -10
  59. aws_cdk/aws_route53/__init__.py +5 -5
  60. aws_cdk/aws_route53recoverycontrol/__init__.py +41 -2
  61. aws_cdk/aws_rum/__init__.py +13 -10
  62. aws_cdk/aws_s3/__init__.py +3 -6
  63. aws_cdk/aws_s3_assets/__init__.py +70 -1
  64. aws_cdk/aws_s3_deployment/__init__.py +4 -0
  65. aws_cdk/aws_sagemaker/__init__.py +47 -4
  66. aws_cdk/aws_scheduler_targets/__init__.py +4 -16
  67. aws_cdk/aws_securitylake/__init__.py +2 -2
  68. aws_cdk/aws_servicecatalog/__init__.py +4 -0
  69. aws_cdk/aws_sns/__init__.py +1 -1
  70. aws_cdk/aws_ssmincidents/__init__.py +10 -10
  71. aws_cdk/aws_stepfunctions/__init__.py +23 -17
  72. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
  73. aws_cdk/aws_synthetics/__init__.py +9 -0
  74. aws_cdk/aws_systemsmanagersap/__init__.py +160 -0
  75. aws_cdk/aws_transfer/__init__.py +19 -10
  76. aws_cdk/aws_wafv2/__init__.py +512 -1141
  77. aws_cdk/cloud_assembly_schema/__init__.py +60 -10
  78. aws_cdk/cx_api/__init__.py +38 -2
  79. aws_cdk/pipelines/__init__.py +52 -2
  80. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/METADATA +4 -4
  81. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/RECORD +85 -85
  82. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/WHEEL +1 -1
  83. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/LICENSE +0 -0
  84. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/NOTICE +0 -0
  85. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/top_level.txt +0 -0
@@ -849,6 +849,342 @@ class CfnBot(
849
849
  k + "=" + repr(v) for k, v in self._values.items()
850
850
  )
851
851
 
852
+ @jsii.data_type(
853
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.BKBExactResponseFieldsProperty",
854
+ jsii_struct_bases=[],
855
+ name_mapping={"answer_field": "answerField"},
856
+ )
857
+ class BKBExactResponseFieldsProperty:
858
+ def __init__(
859
+ self,
860
+ *,
861
+ answer_field: typing.Optional[builtins.str] = None,
862
+ ) -> None:
863
+ '''Contains the names of the fields used for an exact response to the user.
864
+
865
+ :param answer_field: The answer field used for an exact response from Bedrock Knowledge Store.
866
+
867
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bkbexactresponsefields.html
868
+ :exampleMetadata: fixture=_generated
869
+
870
+ Example::
871
+
872
+ # The code below shows an example of how to instantiate this type.
873
+ # The values are placeholders you should change.
874
+ from aws_cdk import aws_lex as lex
875
+
876
+ b_kBExact_response_fields_property = lex.CfnBot.BKBExactResponseFieldsProperty(
877
+ answer_field="answerField"
878
+ )
879
+ '''
880
+ if __debug__:
881
+ type_hints = typing.get_type_hints(_typecheckingstub__8d6e8ecfd93e72a571ce9aae70789ef47376517ca6ff93032b9f5216234828e2)
882
+ check_type(argname="argument answer_field", value=answer_field, expected_type=type_hints["answer_field"])
883
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
884
+ if answer_field is not None:
885
+ self._values["answer_field"] = answer_field
886
+
887
+ @builtins.property
888
+ def answer_field(self) -> typing.Optional[builtins.str]:
889
+ '''The answer field used for an exact response from Bedrock Knowledge Store.
890
+
891
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bkbexactresponsefields.html#cfn-lex-bot-bkbexactresponsefields-answerfield
892
+ '''
893
+ result = self._values.get("answer_field")
894
+ return typing.cast(typing.Optional[builtins.str], result)
895
+
896
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
897
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
898
+
899
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
900
+ return not (rhs == self)
901
+
902
+ def __repr__(self) -> str:
903
+ return "BKBExactResponseFieldsProperty(%s)" % ", ".join(
904
+ k + "=" + repr(v) for k, v in self._values.items()
905
+ )
906
+
907
+ @jsii.data_type(
908
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.BedrockGuardrailConfigurationProperty",
909
+ jsii_struct_bases=[],
910
+ name_mapping={
911
+ "bedrock_guardrail_identifier": "bedrockGuardrailIdentifier",
912
+ "bedrock_guardrail_version": "bedrockGuardrailVersion",
913
+ },
914
+ )
915
+ class BedrockGuardrailConfigurationProperty:
916
+ def __init__(
917
+ self,
918
+ *,
919
+ bedrock_guardrail_identifier: typing.Optional[builtins.str] = None,
920
+ bedrock_guardrail_version: typing.Optional[builtins.str] = None,
921
+ ) -> None:
922
+ '''The details on the Bedrock guardrail configuration.
923
+
924
+ :param bedrock_guardrail_identifier: The unique guardrail id for the Bedrock guardrail configuration.
925
+ :param bedrock_guardrail_version: The guardrail version for the Bedrock guardrail configuration.
926
+
927
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockguardrailconfiguration.html
928
+ :exampleMetadata: fixture=_generated
929
+
930
+ Example::
931
+
932
+ # The code below shows an example of how to instantiate this type.
933
+ # The values are placeholders you should change.
934
+ from aws_cdk import aws_lex as lex
935
+
936
+ bedrock_guardrail_configuration_property = lex.CfnBot.BedrockGuardrailConfigurationProperty(
937
+ bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
938
+ bedrock_guardrail_version="bedrockGuardrailVersion"
939
+ )
940
+ '''
941
+ if __debug__:
942
+ type_hints = typing.get_type_hints(_typecheckingstub__d74b12bcbab0d07743f48d98e55d6f1d57db59ffab98fc9866f17091559d95ae)
943
+ check_type(argname="argument bedrock_guardrail_identifier", value=bedrock_guardrail_identifier, expected_type=type_hints["bedrock_guardrail_identifier"])
944
+ check_type(argname="argument bedrock_guardrail_version", value=bedrock_guardrail_version, expected_type=type_hints["bedrock_guardrail_version"])
945
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
946
+ if bedrock_guardrail_identifier is not None:
947
+ self._values["bedrock_guardrail_identifier"] = bedrock_guardrail_identifier
948
+ if bedrock_guardrail_version is not None:
949
+ self._values["bedrock_guardrail_version"] = bedrock_guardrail_version
950
+
951
+ @builtins.property
952
+ def bedrock_guardrail_identifier(self) -> typing.Optional[builtins.str]:
953
+ '''The unique guardrail id for the Bedrock guardrail configuration.
954
+
955
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockguardrailconfiguration.html#cfn-lex-bot-bedrockguardrailconfiguration-bedrockguardrailidentifier
956
+ '''
957
+ result = self._values.get("bedrock_guardrail_identifier")
958
+ return typing.cast(typing.Optional[builtins.str], result)
959
+
960
+ @builtins.property
961
+ def bedrock_guardrail_version(self) -> typing.Optional[builtins.str]:
962
+ '''The guardrail version for the Bedrock guardrail configuration.
963
+
964
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockguardrailconfiguration.html#cfn-lex-bot-bedrockguardrailconfiguration-bedrockguardrailversion
965
+ '''
966
+ result = self._values.get("bedrock_guardrail_version")
967
+ return typing.cast(typing.Optional[builtins.str], result)
968
+
969
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
970
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
971
+
972
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
973
+ return not (rhs == self)
974
+
975
+ def __repr__(self) -> str:
976
+ return "BedrockGuardrailConfigurationProperty(%s)" % ", ".join(
977
+ k + "=" + repr(v) for k, v in self._values.items()
978
+ )
979
+
980
+ @jsii.data_type(
981
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.BedrockKnowledgeStoreConfigurationProperty",
982
+ jsii_struct_bases=[],
983
+ name_mapping={
984
+ "bedrock_knowledge_base_arn": "bedrockKnowledgeBaseArn",
985
+ "bkb_exact_response_fields": "bkbExactResponseFields",
986
+ "exact_response": "exactResponse",
987
+ },
988
+ )
989
+ class BedrockKnowledgeStoreConfigurationProperty:
990
+ def __init__(
991
+ self,
992
+ *,
993
+ bedrock_knowledge_base_arn: typing.Optional[builtins.str] = None,
994
+ bkb_exact_response_fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BKBExactResponseFieldsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
995
+ exact_response: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
996
+ ) -> None:
997
+ '''Contains details about the configuration of a Amazon Bedrock knowledge base.
998
+
999
+ :param bedrock_knowledge_base_arn: The base ARN of the knowledge base used.
1000
+ :param bkb_exact_response_fields: Contains the names of the fields used for an exact response to the user.
1001
+ :param exact_response: Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.
1002
+
1003
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockknowledgestoreconfiguration.html
1004
+ :exampleMetadata: fixture=_generated
1005
+
1006
+ Example::
1007
+
1008
+ # The code below shows an example of how to instantiate this type.
1009
+ # The values are placeholders you should change.
1010
+ from aws_cdk import aws_lex as lex
1011
+
1012
+ bedrock_knowledge_store_configuration_property = lex.CfnBot.BedrockKnowledgeStoreConfigurationProperty(
1013
+ bedrock_knowledge_base_arn="bedrockKnowledgeBaseArn",
1014
+ bkb_exact_response_fields=lex.CfnBot.BKBExactResponseFieldsProperty(
1015
+ answer_field="answerField"
1016
+ ),
1017
+ exact_response=False
1018
+ )
1019
+ '''
1020
+ if __debug__:
1021
+ type_hints = typing.get_type_hints(_typecheckingstub__822160fe59eb61f8e40754095f847a09c2ad5e41a8c413f8d2671359c3870875)
1022
+ check_type(argname="argument bedrock_knowledge_base_arn", value=bedrock_knowledge_base_arn, expected_type=type_hints["bedrock_knowledge_base_arn"])
1023
+ check_type(argname="argument bkb_exact_response_fields", value=bkb_exact_response_fields, expected_type=type_hints["bkb_exact_response_fields"])
1024
+ check_type(argname="argument exact_response", value=exact_response, expected_type=type_hints["exact_response"])
1025
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1026
+ if bedrock_knowledge_base_arn is not None:
1027
+ self._values["bedrock_knowledge_base_arn"] = bedrock_knowledge_base_arn
1028
+ if bkb_exact_response_fields is not None:
1029
+ self._values["bkb_exact_response_fields"] = bkb_exact_response_fields
1030
+ if exact_response is not None:
1031
+ self._values["exact_response"] = exact_response
1032
+
1033
+ @builtins.property
1034
+ def bedrock_knowledge_base_arn(self) -> typing.Optional[builtins.str]:
1035
+ '''The base ARN of the knowledge base used.
1036
+
1037
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockknowledgestoreconfiguration.html#cfn-lex-bot-bedrockknowledgestoreconfiguration-bedrockknowledgebasearn
1038
+ '''
1039
+ result = self._values.get("bedrock_knowledge_base_arn")
1040
+ return typing.cast(typing.Optional[builtins.str], result)
1041
+
1042
+ @builtins.property
1043
+ def bkb_exact_response_fields(
1044
+ self,
1045
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BKBExactResponseFieldsProperty"]]:
1046
+ '''Contains the names of the fields used for an exact response to the user.
1047
+
1048
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockknowledgestoreconfiguration.html#cfn-lex-bot-bedrockknowledgestoreconfiguration-bkbexactresponsefields
1049
+ '''
1050
+ result = self._values.get("bkb_exact_response_fields")
1051
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BKBExactResponseFieldsProperty"]], result)
1052
+
1053
+ @builtins.property
1054
+ def exact_response(
1055
+ self,
1056
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1057
+ '''Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.
1058
+
1059
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockknowledgestoreconfiguration.html#cfn-lex-bot-bedrockknowledgestoreconfiguration-exactresponse
1060
+ '''
1061
+ result = self._values.get("exact_response")
1062
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
1063
+
1064
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1065
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1066
+
1067
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1068
+ return not (rhs == self)
1069
+
1070
+ def __repr__(self) -> str:
1071
+ return "BedrockKnowledgeStoreConfigurationProperty(%s)" % ", ".join(
1072
+ k + "=" + repr(v) for k, v in self._values.items()
1073
+ )
1074
+
1075
+ @jsii.data_type(
1076
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.BedrockModelSpecificationProperty",
1077
+ jsii_struct_bases=[],
1078
+ name_mapping={
1079
+ "model_arn": "modelArn",
1080
+ "bedrock_guardrail_configuration": "bedrockGuardrailConfiguration",
1081
+ "bedrock_model_custom_prompt": "bedrockModelCustomPrompt",
1082
+ "bedrock_trace_status": "bedrockTraceStatus",
1083
+ },
1084
+ )
1085
+ class BedrockModelSpecificationProperty:
1086
+ def __init__(
1087
+ self,
1088
+ *,
1089
+ model_arn: builtins.str,
1090
+ bedrock_guardrail_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockGuardrailConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1091
+ bedrock_model_custom_prompt: typing.Optional[builtins.str] = None,
1092
+ bedrock_trace_status: typing.Optional[builtins.str] = None,
1093
+ ) -> None:
1094
+ '''Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
1095
+
1096
+ :param model_arn: The ARN of the foundation model used in descriptive bot building.
1097
+ :param bedrock_guardrail_configuration: The guardrail configuration in the Bedrock model specification details.
1098
+ :param bedrock_model_custom_prompt: The custom prompt used in the Bedrock model specification details.
1099
+ :param bedrock_trace_status: The Bedrock trace status in the Bedrock model specification details.
1100
+
1101
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html
1102
+ :exampleMetadata: fixture=_generated
1103
+
1104
+ Example::
1105
+
1106
+ # The code below shows an example of how to instantiate this type.
1107
+ # The values are placeholders you should change.
1108
+ from aws_cdk import aws_lex as lex
1109
+
1110
+ bedrock_model_specification_property = lex.CfnBot.BedrockModelSpecificationProperty(
1111
+ model_arn="modelArn",
1112
+
1113
+ # the properties below are optional
1114
+ bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
1115
+ bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
1116
+ bedrock_guardrail_version="bedrockGuardrailVersion"
1117
+ ),
1118
+ bedrock_model_custom_prompt="bedrockModelCustomPrompt",
1119
+ bedrock_trace_status="bedrockTraceStatus"
1120
+ )
1121
+ '''
1122
+ if __debug__:
1123
+ type_hints = typing.get_type_hints(_typecheckingstub__b56bd89685d0bbee200e440688fdac4482b552d57f216c25f26755471c8b17b6)
1124
+ check_type(argname="argument model_arn", value=model_arn, expected_type=type_hints["model_arn"])
1125
+ check_type(argname="argument bedrock_guardrail_configuration", value=bedrock_guardrail_configuration, expected_type=type_hints["bedrock_guardrail_configuration"])
1126
+ check_type(argname="argument bedrock_model_custom_prompt", value=bedrock_model_custom_prompt, expected_type=type_hints["bedrock_model_custom_prompt"])
1127
+ check_type(argname="argument bedrock_trace_status", value=bedrock_trace_status, expected_type=type_hints["bedrock_trace_status"])
1128
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1129
+ "model_arn": model_arn,
1130
+ }
1131
+ if bedrock_guardrail_configuration is not None:
1132
+ self._values["bedrock_guardrail_configuration"] = bedrock_guardrail_configuration
1133
+ if bedrock_model_custom_prompt is not None:
1134
+ self._values["bedrock_model_custom_prompt"] = bedrock_model_custom_prompt
1135
+ if bedrock_trace_status is not None:
1136
+ self._values["bedrock_trace_status"] = bedrock_trace_status
1137
+
1138
+ @builtins.property
1139
+ def model_arn(self) -> builtins.str:
1140
+ '''The ARN of the foundation model used in descriptive bot building.
1141
+
1142
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html#cfn-lex-bot-bedrockmodelspecification-modelarn
1143
+ '''
1144
+ result = self._values.get("model_arn")
1145
+ assert result is not None, "Required property 'model_arn' is missing"
1146
+ return typing.cast(builtins.str, result)
1147
+
1148
+ @builtins.property
1149
+ def bedrock_guardrail_configuration(
1150
+ self,
1151
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockGuardrailConfigurationProperty"]]:
1152
+ '''The guardrail configuration in the Bedrock model specification details.
1153
+
1154
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html#cfn-lex-bot-bedrockmodelspecification-bedrockguardrailconfiguration
1155
+ '''
1156
+ result = self._values.get("bedrock_guardrail_configuration")
1157
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockGuardrailConfigurationProperty"]], result)
1158
+
1159
+ @builtins.property
1160
+ def bedrock_model_custom_prompt(self) -> typing.Optional[builtins.str]:
1161
+ '''The custom prompt used in the Bedrock model specification details.
1162
+
1163
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html#cfn-lex-bot-bedrockmodelspecification-bedrockmodelcustomprompt
1164
+ '''
1165
+ result = self._values.get("bedrock_model_custom_prompt")
1166
+ return typing.cast(typing.Optional[builtins.str], result)
1167
+
1168
+ @builtins.property
1169
+ def bedrock_trace_status(self) -> typing.Optional[builtins.str]:
1170
+ '''The Bedrock trace status in the Bedrock model specification details.
1171
+
1172
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html#cfn-lex-bot-bedrockmodelspecification-bedrocktracestatus
1173
+ '''
1174
+ result = self._values.get("bedrock_trace_status")
1175
+ return typing.cast(typing.Optional[builtins.str], result)
1176
+
1177
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1178
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1179
+
1180
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1181
+ return not (rhs == self)
1182
+
1183
+ def __repr__(self) -> str:
1184
+ return "BedrockModelSpecificationProperty(%s)" % ", ".join(
1185
+ k + "=" + repr(v) for k, v in self._values.items()
1186
+ )
1187
+
852
1188
  @jsii.data_type(
853
1189
  jsii_type="aws-cdk-lib.aws_lex.CfnBot.BotAliasLocaleSettingsItemProperty",
854
1190
  jsii_struct_bases=[],
@@ -2393,6 +2729,123 @@ class CfnBot(
2393
2729
  k + "=" + repr(v) for k, v in self._values.items()
2394
2730
  )
2395
2731
 
2732
+ @jsii.data_type(
2733
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.DataSourceConfigurationProperty",
2734
+ jsii_struct_bases=[],
2735
+ name_mapping={
2736
+ "bedrock_knowledge_store_configuration": "bedrockKnowledgeStoreConfiguration",
2737
+ "kendra_configuration": "kendraConfiguration",
2738
+ "opensearch_configuration": "opensearchConfiguration",
2739
+ },
2740
+ )
2741
+ class DataSourceConfigurationProperty:
2742
+ def __init__(
2743
+ self,
2744
+ *,
2745
+ bedrock_knowledge_store_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockKnowledgeStoreConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2746
+ kendra_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.QnAKendraConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2747
+ opensearch_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.OpensearchConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2748
+ ) -> None:
2749
+ '''Contains details about the configuration of the knowledge store used for the ``AMAZON.QnAIntent`` . You must have already created the knowledge store and indexed the documents within it.
2750
+
2751
+ :param bedrock_knowledge_store_configuration: Contains details about the configuration of the Amazon Bedrock knowledge base used for the ``AMAZON.QnAIntent`` . To set up a knowledge base, follow the steps at `Building a knowledge base <https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html>`_ .
2752
+ :param kendra_configuration: Contains details about the configuration of the Amazon Kendra index used for the ``AMAZON.QnAIntent`` . To create a Amazon Kendra index, follow the steps at `Creating an index <https://docs.aws.amazon.com/kendra/latest/dg/create-index.html>`_ .
2753
+ :param opensearch_configuration: Contains details about the configuration of the Amazon OpenSearch Service database used for the ``AMAZON.QnAIntent`` . To create a domain, follow the steps at `Creating and managing Amazon OpenSearch Service domains <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html>`_ .
2754
+
2755
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-datasourceconfiguration.html
2756
+ :exampleMetadata: fixture=_generated
2757
+
2758
+ Example::
2759
+
2760
+ # The code below shows an example of how to instantiate this type.
2761
+ # The values are placeholders you should change.
2762
+ from aws_cdk import aws_lex as lex
2763
+
2764
+ data_source_configuration_property = lex.CfnBot.DataSourceConfigurationProperty(
2765
+ bedrock_knowledge_store_configuration=lex.CfnBot.BedrockKnowledgeStoreConfigurationProperty(
2766
+ bedrock_knowledge_base_arn="bedrockKnowledgeBaseArn",
2767
+ bkb_exact_response_fields=lex.CfnBot.BKBExactResponseFieldsProperty(
2768
+ answer_field="answerField"
2769
+ ),
2770
+ exact_response=False
2771
+ ),
2772
+ kendra_configuration=lex.CfnBot.QnAKendraConfigurationProperty(
2773
+ exact_response=False,
2774
+ kendra_index="kendraIndex",
2775
+ query_filter_string_enabled=False,
2776
+
2777
+ # the properties below are optional
2778
+ query_filter_string="queryFilterString"
2779
+ ),
2780
+ opensearch_configuration=lex.CfnBot.OpensearchConfigurationProperty(
2781
+ domain_endpoint="domainEndpoint",
2782
+ exact_response=False,
2783
+ exact_response_fields=lex.CfnBot.ExactResponseFieldsProperty(
2784
+ answer_field="answerField",
2785
+ question_field="questionField"
2786
+ ),
2787
+ include_fields=["includeFields"],
2788
+ index_name="indexName"
2789
+ )
2790
+ )
2791
+ '''
2792
+ if __debug__:
2793
+ type_hints = typing.get_type_hints(_typecheckingstub__55ead587e63d852969958fc0497aa8018f78e4fea5717b5e6e7303509cdf1bb9)
2794
+ check_type(argname="argument bedrock_knowledge_store_configuration", value=bedrock_knowledge_store_configuration, expected_type=type_hints["bedrock_knowledge_store_configuration"])
2795
+ check_type(argname="argument kendra_configuration", value=kendra_configuration, expected_type=type_hints["kendra_configuration"])
2796
+ check_type(argname="argument opensearch_configuration", value=opensearch_configuration, expected_type=type_hints["opensearch_configuration"])
2797
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2798
+ if bedrock_knowledge_store_configuration is not None:
2799
+ self._values["bedrock_knowledge_store_configuration"] = bedrock_knowledge_store_configuration
2800
+ if kendra_configuration is not None:
2801
+ self._values["kendra_configuration"] = kendra_configuration
2802
+ if opensearch_configuration is not None:
2803
+ self._values["opensearch_configuration"] = opensearch_configuration
2804
+
2805
+ @builtins.property
2806
+ def bedrock_knowledge_store_configuration(
2807
+ self,
2808
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockKnowledgeStoreConfigurationProperty"]]:
2809
+ '''Contains details about the configuration of the Amazon Bedrock knowledge base used for the ``AMAZON.QnAIntent`` . To set up a knowledge base, follow the steps at `Building a knowledge base <https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html>`_ .
2810
+
2811
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-datasourceconfiguration.html#cfn-lex-bot-datasourceconfiguration-bedrockknowledgestoreconfiguration
2812
+ '''
2813
+ result = self._values.get("bedrock_knowledge_store_configuration")
2814
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockKnowledgeStoreConfigurationProperty"]], result)
2815
+
2816
+ @builtins.property
2817
+ def kendra_configuration(
2818
+ self,
2819
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.QnAKendraConfigurationProperty"]]:
2820
+ '''Contains details about the configuration of the Amazon Kendra index used for the ``AMAZON.QnAIntent`` . To create a Amazon Kendra index, follow the steps at `Creating an index <https://docs.aws.amazon.com/kendra/latest/dg/create-index.html>`_ .
2821
+
2822
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-datasourceconfiguration.html#cfn-lex-bot-datasourceconfiguration-kendraconfiguration
2823
+ '''
2824
+ result = self._values.get("kendra_configuration")
2825
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.QnAKendraConfigurationProperty"]], result)
2826
+
2827
+ @builtins.property
2828
+ def opensearch_configuration(
2829
+ self,
2830
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.OpensearchConfigurationProperty"]]:
2831
+ '''Contains details about the configuration of the Amazon OpenSearch Service database used for the ``AMAZON.QnAIntent`` . To create a domain, follow the steps at `Creating and managing Amazon OpenSearch Service domains <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html>`_ .
2832
+
2833
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-datasourceconfiguration.html#cfn-lex-bot-datasourceconfiguration-opensearchconfiguration
2834
+ '''
2835
+ result = self._values.get("opensearch_configuration")
2836
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.OpensearchConfigurationProperty"]], result)
2837
+
2838
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2839
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2840
+
2841
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2842
+ return not (rhs == self)
2843
+
2844
+ def __repr__(self) -> str:
2845
+ return "DataSourceConfigurationProperty(%s)" % ", ".join(
2846
+ k + "=" + repr(v) for k, v in self._values.items()
2847
+ )
2848
+
2396
2849
  @jsii.data_type(
2397
2850
  jsii_type="aws-cdk-lib.aws_lex.CfnBot.DefaultConditionalBranchProperty",
2398
2851
  jsii_struct_bases=[],
@@ -2980,12 +3433,85 @@ class CfnBot(
2980
3433
  return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
2981
3434
 
2982
3435
  @builtins.property
2983
- def invocation_label(self) -> typing.Optional[builtins.str]:
2984
- '''A label that indicates the dialog step from which the dialog code hook is happening.
3436
+ def invocation_label(self) -> typing.Optional[builtins.str]:
3437
+ '''A label that indicates the dialog step from which the dialog code hook is happening.
3438
+
3439
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-elicitationcodehookinvocationsetting.html#cfn-lex-bot-elicitationcodehookinvocationsetting-invocationlabel
3440
+ '''
3441
+ result = self._values.get("invocation_label")
3442
+ return typing.cast(typing.Optional[builtins.str], result)
3443
+
3444
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3445
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3446
+
3447
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3448
+ return not (rhs == self)
3449
+
3450
+ def __repr__(self) -> str:
3451
+ return "ElicitationCodeHookInvocationSettingProperty(%s)" % ", ".join(
3452
+ k + "=" + repr(v) for k, v in self._values.items()
3453
+ )
3454
+
3455
+ @jsii.data_type(
3456
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.ExactResponseFieldsProperty",
3457
+ jsii_struct_bases=[],
3458
+ name_mapping={
3459
+ "answer_field": "answerField",
3460
+ "question_field": "questionField",
3461
+ },
3462
+ )
3463
+ class ExactResponseFieldsProperty:
3464
+ def __init__(
3465
+ self,
3466
+ *,
3467
+ answer_field: typing.Optional[builtins.str] = None,
3468
+ question_field: typing.Optional[builtins.str] = None,
3469
+ ) -> None:
3470
+ '''Contains the names of the fields used for an exact response to the user.
3471
+
3472
+ :param answer_field: The name of the field that contains the answer to the query made to the OpenSearch Service database.
3473
+ :param question_field: The name of the field that contains the query made to the OpenSearch Service database.
3474
+
3475
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-exactresponsefields.html
3476
+ :exampleMetadata: fixture=_generated
3477
+
3478
+ Example::
3479
+
3480
+ # The code below shows an example of how to instantiate this type.
3481
+ # The values are placeholders you should change.
3482
+ from aws_cdk import aws_lex as lex
3483
+
3484
+ exact_response_fields_property = lex.CfnBot.ExactResponseFieldsProperty(
3485
+ answer_field="answerField",
3486
+ question_field="questionField"
3487
+ )
3488
+ '''
3489
+ if __debug__:
3490
+ type_hints = typing.get_type_hints(_typecheckingstub__763b75448aee2b4fee3dce3c3b9828881f42bb6dff2c8c36ad958cddfceacb3a)
3491
+ check_type(argname="argument answer_field", value=answer_field, expected_type=type_hints["answer_field"])
3492
+ check_type(argname="argument question_field", value=question_field, expected_type=type_hints["question_field"])
3493
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3494
+ if answer_field is not None:
3495
+ self._values["answer_field"] = answer_field
3496
+ if question_field is not None:
3497
+ self._values["question_field"] = question_field
3498
+
3499
+ @builtins.property
3500
+ def answer_field(self) -> typing.Optional[builtins.str]:
3501
+ '''The name of the field that contains the answer to the query made to the OpenSearch Service database.
3502
+
3503
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-exactresponsefields.html#cfn-lex-bot-exactresponsefields-answerfield
3504
+ '''
3505
+ result = self._values.get("answer_field")
3506
+ return typing.cast(typing.Optional[builtins.str], result)
3507
+
3508
+ @builtins.property
3509
+ def question_field(self) -> typing.Optional[builtins.str]:
3510
+ '''The name of the field that contains the query made to the OpenSearch Service database.
2985
3511
 
2986
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-elicitationcodehookinvocationsetting.html#cfn-lex-bot-elicitationcodehookinvocationsetting-invocationlabel
3512
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-exactresponsefields.html#cfn-lex-bot-exactresponsefields-questionfield
2987
3513
  '''
2988
- result = self._values.get("invocation_label")
3514
+ result = self._values.get("question_field")
2989
3515
  return typing.cast(typing.Optional[builtins.str], result)
2990
3516
 
2991
3517
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
@@ -2995,7 +3521,7 @@ class CfnBot(
2995
3521
  return not (rhs == self)
2996
3522
 
2997
3523
  def __repr__(self) -> str:
2998
- return "ElicitationCodeHookInvocationSettingProperty(%s)" % ", ".join(
3524
+ return "ExactResponseFieldsProperty(%s)" % ", ".join(
2999
3525
  k + "=" + repr(v) for k, v in self._values.items()
3000
3526
  )
3001
3527
 
@@ -4865,6 +5391,7 @@ class CfnBot(
4865
5391
  "kendra_configuration": "kendraConfiguration",
4866
5392
  "output_contexts": "outputContexts",
4867
5393
  "parent_intent_signature": "parentIntentSignature",
5394
+ "qn_a_intent_configuration": "qnAIntentConfiguration",
4868
5395
  "sample_utterances": "sampleUtterances",
4869
5396
  "slot_priorities": "slotPriorities",
4870
5397
  "slots": "slots",
@@ -4885,6 +5412,7 @@ class CfnBot(
4885
5412
  kendra_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.KendraConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4886
5413
  output_contexts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.OutputContextProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
4887
5414
  parent_intent_signature: typing.Optional[builtins.str] = None,
5415
+ qn_a_intent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.QnAIntentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4888
5416
  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,
4889
5417
  slot_priorities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SlotPriorityProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
4890
5418
  slots: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SlotProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -4902,6 +5430,7 @@ class CfnBot(
4902
5430
  :param kendra_configuration: Provides configuration information for the ``AMAZON.KendraSearchIntent`` intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.
4903
5431
  :param output_contexts: A list of contexts that the intent activates when it is fulfilled.
4904
5432
  :param parent_intent_signature: A unique identifier for the built-in intent to base this intent on.
5433
+ :param qn_a_intent_configuration: Details about the the configuration of the built-in Amazon.QnAIntent.
4905
5434
  :param sample_utterances: A list of utterances that a user might say to signal the intent.
4906
5435
  :param slot_priorities: Indicates the priority for slots. Amazon Lex prompts the user for slot values in priority order.
4907
5436
  :param slots: A list of slots that the intent requires for fulfillment.
@@ -4926,6 +5455,7 @@ class CfnBot(
4926
5455
  check_type(argname="argument kendra_configuration", value=kendra_configuration, expected_type=type_hints["kendra_configuration"])
4927
5456
  check_type(argname="argument output_contexts", value=output_contexts, expected_type=type_hints["output_contexts"])
4928
5457
  check_type(argname="argument parent_intent_signature", value=parent_intent_signature, expected_type=type_hints["parent_intent_signature"])
5458
+ check_type(argname="argument qn_a_intent_configuration", value=qn_a_intent_configuration, expected_type=type_hints["qn_a_intent_configuration"])
4929
5459
  check_type(argname="argument sample_utterances", value=sample_utterances, expected_type=type_hints["sample_utterances"])
4930
5460
  check_type(argname="argument slot_priorities", value=slot_priorities, expected_type=type_hints["slot_priorities"])
4931
5461
  check_type(argname="argument slots", value=slots, expected_type=type_hints["slots"])
@@ -4952,6 +5482,8 @@ class CfnBot(
4952
5482
  self._values["output_contexts"] = output_contexts
4953
5483
  if parent_intent_signature is not None:
4954
5484
  self._values["parent_intent_signature"] = parent_intent_signature
5485
+ if qn_a_intent_configuration is not None:
5486
+ self._values["qn_a_intent_configuration"] = qn_a_intent_configuration
4955
5487
  if sample_utterances is not None:
4956
5488
  self._values["sample_utterances"] = sample_utterances
4957
5489
  if slot_priorities is not None:
@@ -5085,6 +5617,17 @@ class CfnBot(
5085
5617
  result = self._values.get("parent_intent_signature")
5086
5618
  return typing.cast(typing.Optional[builtins.str], result)
5087
5619
 
5620
+ @builtins.property
5621
+ def qn_a_intent_configuration(
5622
+ self,
5623
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.QnAIntentConfigurationProperty"]]:
5624
+ '''Details about the the configuration of the built-in Amazon.QnAIntent.
5625
+
5626
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intent.html#cfn-lex-bot-intent-qnaintentconfiguration
5627
+ '''
5628
+ result = self._values.get("qn_a_intent_configuration")
5629
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.QnAIntentConfigurationProperty"]], result)
5630
+
5088
5631
  @builtins.property
5089
5632
  def sample_utterances(
5090
5633
  self,
@@ -5668,6 +6211,134 @@ class CfnBot(
5668
6211
  k + "=" + repr(v) for k, v in self._values.items()
5669
6212
  )
5670
6213
 
6214
+ @jsii.data_type(
6215
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.OpensearchConfigurationProperty",
6216
+ jsii_struct_bases=[],
6217
+ name_mapping={
6218
+ "domain_endpoint": "domainEndpoint",
6219
+ "exact_response": "exactResponse",
6220
+ "exact_response_fields": "exactResponseFields",
6221
+ "include_fields": "includeFields",
6222
+ "index_name": "indexName",
6223
+ },
6224
+ )
6225
+ class OpensearchConfigurationProperty:
6226
+ def __init__(
6227
+ self,
6228
+ *,
6229
+ domain_endpoint: typing.Optional[builtins.str] = None,
6230
+ exact_response: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
6231
+ exact_response_fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.ExactResponseFieldsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6232
+ include_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
6233
+ index_name: typing.Optional[builtins.str] = None,
6234
+ ) -> None:
6235
+ '''Contains details about the configuration of the Amazon OpenSearch Service database used for the ``AMAZON.QnAIntent`` .
6236
+
6237
+ :param domain_endpoint: The endpoint of the Amazon OpenSearch Service domain.
6238
+ :param exact_response: Specifies whether to return an exact response or to return an answer generated by the model using the fields you specify from the database.
6239
+ :param exact_response_fields: Contains the names of the fields used for an exact response to the user.
6240
+ :param include_fields: Contains a list of fields from the Amazon OpenSearch Service that the model can use to generate the answer to the query.
6241
+ :param index_name: The name of the Amazon OpenSearch Service index.
6242
+
6243
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html
6244
+ :exampleMetadata: fixture=_generated
6245
+
6246
+ Example::
6247
+
6248
+ # The code below shows an example of how to instantiate this type.
6249
+ # The values are placeholders you should change.
6250
+ from aws_cdk import aws_lex as lex
6251
+
6252
+ opensearch_configuration_property = lex.CfnBot.OpensearchConfigurationProperty(
6253
+ domain_endpoint="domainEndpoint",
6254
+ exact_response=False,
6255
+ exact_response_fields=lex.CfnBot.ExactResponseFieldsProperty(
6256
+ answer_field="answerField",
6257
+ question_field="questionField"
6258
+ ),
6259
+ include_fields=["includeFields"],
6260
+ index_name="indexName"
6261
+ )
6262
+ '''
6263
+ if __debug__:
6264
+ type_hints = typing.get_type_hints(_typecheckingstub__a609c43515424ee6adaf308c9c64cb58284946e9f9323d78f594ecf533aa4280)
6265
+ check_type(argname="argument domain_endpoint", value=domain_endpoint, expected_type=type_hints["domain_endpoint"])
6266
+ check_type(argname="argument exact_response", value=exact_response, expected_type=type_hints["exact_response"])
6267
+ check_type(argname="argument exact_response_fields", value=exact_response_fields, expected_type=type_hints["exact_response_fields"])
6268
+ check_type(argname="argument include_fields", value=include_fields, expected_type=type_hints["include_fields"])
6269
+ check_type(argname="argument index_name", value=index_name, expected_type=type_hints["index_name"])
6270
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
6271
+ if domain_endpoint is not None:
6272
+ self._values["domain_endpoint"] = domain_endpoint
6273
+ if exact_response is not None:
6274
+ self._values["exact_response"] = exact_response
6275
+ if exact_response_fields is not None:
6276
+ self._values["exact_response_fields"] = exact_response_fields
6277
+ if include_fields is not None:
6278
+ self._values["include_fields"] = include_fields
6279
+ if index_name is not None:
6280
+ self._values["index_name"] = index_name
6281
+
6282
+ @builtins.property
6283
+ def domain_endpoint(self) -> typing.Optional[builtins.str]:
6284
+ '''The endpoint of the Amazon OpenSearch Service domain.
6285
+
6286
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-domainendpoint
6287
+ '''
6288
+ result = self._values.get("domain_endpoint")
6289
+ return typing.cast(typing.Optional[builtins.str], result)
6290
+
6291
+ @builtins.property
6292
+ def exact_response(
6293
+ self,
6294
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
6295
+ '''Specifies whether to return an exact response or to return an answer generated by the model using the fields you specify from the database.
6296
+
6297
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-exactresponse
6298
+ '''
6299
+ result = self._values.get("exact_response")
6300
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
6301
+
6302
+ @builtins.property
6303
+ def exact_response_fields(
6304
+ self,
6305
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.ExactResponseFieldsProperty"]]:
6306
+ '''Contains the names of the fields used for an exact response to the user.
6307
+
6308
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-exactresponsefields
6309
+ '''
6310
+ result = self._values.get("exact_response_fields")
6311
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.ExactResponseFieldsProperty"]], result)
6312
+
6313
+ @builtins.property
6314
+ def include_fields(self) -> typing.Optional[typing.List[builtins.str]]:
6315
+ '''Contains a list of fields from the Amazon OpenSearch Service that the model can use to generate the answer to the query.
6316
+
6317
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-includefields
6318
+ '''
6319
+ result = self._values.get("include_fields")
6320
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
6321
+
6322
+ @builtins.property
6323
+ def index_name(self) -> typing.Optional[builtins.str]:
6324
+ '''The name of the Amazon OpenSearch Service index.
6325
+
6326
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-indexname
6327
+ '''
6328
+ result = self._values.get("index_name")
6329
+ return typing.cast(typing.Optional[builtins.str], result)
6330
+
6331
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6332
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6333
+
6334
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6335
+ return not (rhs == self)
6336
+
6337
+ def __repr__(self) -> str:
6338
+ return "OpensearchConfigurationProperty(%s)" % ", ".join(
6339
+ k + "=" + repr(v) for k, v in self._values.items()
6340
+ )
6341
+
5671
6342
  @jsii.data_type(
5672
6343
  jsii_type="aws-cdk-lib.aws_lex.CfnBot.OutputContextProperty",
5673
6344
  jsii_struct_bases=[],
@@ -6536,6 +7207,234 @@ class CfnBot(
6536
7207
  k + "=" + repr(v) for k, v in self._values.items()
6537
7208
  )
6538
7209
 
7210
+ @jsii.data_type(
7211
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.QnAIntentConfigurationProperty",
7212
+ jsii_struct_bases=[],
7213
+ name_mapping={
7214
+ "bedrock_model_configuration": "bedrockModelConfiguration",
7215
+ "data_source_configuration": "dataSourceConfiguration",
7216
+ },
7217
+ )
7218
+ class QnAIntentConfigurationProperty:
7219
+ def __init__(
7220
+ self,
7221
+ *,
7222
+ bedrock_model_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockModelSpecificationProperty", typing.Dict[builtins.str, typing.Any]]],
7223
+ data_source_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.DataSourceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
7224
+ ) -> None:
7225
+ '''Details about the the configuration of the built-in ``Amazon.QnAIntent`` .
7226
+
7227
+ :param bedrock_model_configuration: Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
7228
+ :param data_source_configuration: Contains details about the configuration of the data source used for the ``AMAZON.QnAIntent`` .
7229
+
7230
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnaintentconfiguration.html
7231
+ :exampleMetadata: fixture=_generated
7232
+
7233
+ Example::
7234
+
7235
+ # The code below shows an example of how to instantiate this type.
7236
+ # The values are placeholders you should change.
7237
+ from aws_cdk import aws_lex as lex
7238
+
7239
+ qn_aIntent_configuration_property = lex.CfnBot.QnAIntentConfigurationProperty(
7240
+ bedrock_model_configuration=lex.CfnBot.BedrockModelSpecificationProperty(
7241
+ model_arn="modelArn",
7242
+
7243
+ # the properties below are optional
7244
+ bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
7245
+ bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
7246
+ bedrock_guardrail_version="bedrockGuardrailVersion"
7247
+ ),
7248
+ bedrock_model_custom_prompt="bedrockModelCustomPrompt",
7249
+ bedrock_trace_status="bedrockTraceStatus"
7250
+ ),
7251
+ data_source_configuration=lex.CfnBot.DataSourceConfigurationProperty(
7252
+ bedrock_knowledge_store_configuration=lex.CfnBot.BedrockKnowledgeStoreConfigurationProperty(
7253
+ bedrock_knowledge_base_arn="bedrockKnowledgeBaseArn",
7254
+ bkb_exact_response_fields=lex.CfnBot.BKBExactResponseFieldsProperty(
7255
+ answer_field="answerField"
7256
+ ),
7257
+ exact_response=False
7258
+ ),
7259
+ kendra_configuration=lex.CfnBot.QnAKendraConfigurationProperty(
7260
+ exact_response=False,
7261
+ kendra_index="kendraIndex",
7262
+ query_filter_string_enabled=False,
7263
+
7264
+ # the properties below are optional
7265
+ query_filter_string="queryFilterString"
7266
+ ),
7267
+ opensearch_configuration=lex.CfnBot.OpensearchConfigurationProperty(
7268
+ domain_endpoint="domainEndpoint",
7269
+ exact_response=False,
7270
+ exact_response_fields=lex.CfnBot.ExactResponseFieldsProperty(
7271
+ answer_field="answerField",
7272
+ question_field="questionField"
7273
+ ),
7274
+ include_fields=["includeFields"],
7275
+ index_name="indexName"
7276
+ )
7277
+ )
7278
+ )
7279
+ '''
7280
+ if __debug__:
7281
+ type_hints = typing.get_type_hints(_typecheckingstub__4cc4e8b11f6d31b4bce121868461d56b7a946145ac056bc4ff22e943af84d7d2)
7282
+ check_type(argname="argument bedrock_model_configuration", value=bedrock_model_configuration, expected_type=type_hints["bedrock_model_configuration"])
7283
+ check_type(argname="argument data_source_configuration", value=data_source_configuration, expected_type=type_hints["data_source_configuration"])
7284
+ self._values: typing.Dict[builtins.str, typing.Any] = {
7285
+ "bedrock_model_configuration": bedrock_model_configuration,
7286
+ "data_source_configuration": data_source_configuration,
7287
+ }
7288
+
7289
+ @builtins.property
7290
+ def bedrock_model_configuration(
7291
+ self,
7292
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]:
7293
+ '''Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
7294
+
7295
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnaintentconfiguration.html#cfn-lex-bot-qnaintentconfiguration-bedrockmodelconfiguration
7296
+ '''
7297
+ result = self._values.get("bedrock_model_configuration")
7298
+ assert result is not None, "Required property 'bedrock_model_configuration' is missing"
7299
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"], result)
7300
+
7301
+ @builtins.property
7302
+ def data_source_configuration(
7303
+ self,
7304
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnBot.DataSourceConfigurationProperty"]:
7305
+ '''Contains details about the configuration of the data source used for the ``AMAZON.QnAIntent`` .
7306
+
7307
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnaintentconfiguration.html#cfn-lex-bot-qnaintentconfiguration-datasourceconfiguration
7308
+ '''
7309
+ result = self._values.get("data_source_configuration")
7310
+ assert result is not None, "Required property 'data_source_configuration' is missing"
7311
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnBot.DataSourceConfigurationProperty"], result)
7312
+
7313
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
7314
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
7315
+
7316
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
7317
+ return not (rhs == self)
7318
+
7319
+ def __repr__(self) -> str:
7320
+ return "QnAIntentConfigurationProperty(%s)" % ", ".join(
7321
+ k + "=" + repr(v) for k, v in self._values.items()
7322
+ )
7323
+
7324
+ @jsii.data_type(
7325
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.QnAKendraConfigurationProperty",
7326
+ jsii_struct_bases=[],
7327
+ name_mapping={
7328
+ "exact_response": "exactResponse",
7329
+ "kendra_index": "kendraIndex",
7330
+ "query_filter_string_enabled": "queryFilterStringEnabled",
7331
+ "query_filter_string": "queryFilterString",
7332
+ },
7333
+ )
7334
+ class QnAKendraConfigurationProperty:
7335
+ def __init__(
7336
+ self,
7337
+ *,
7338
+ exact_response: typing.Union[builtins.bool, _IResolvable_da3f097b],
7339
+ kendra_index: builtins.str,
7340
+ query_filter_string_enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
7341
+ query_filter_string: typing.Optional[builtins.str] = None,
7342
+ ) -> None:
7343
+ '''Contains details about the configuration of the Amazon Kendra index used for the ``AMAZON.QnAIntent`` .
7344
+
7345
+ :param exact_response: Specifies whether to return an exact response from the Amazon Kendra index or to let the Amazon Bedrock model you select generate a response based on the results. To use this feature, you must first add FAQ questions to your index by following the steps at `Adding frequently asked questions (FAQs) to an index <https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html>`_ .
7346
+ :param kendra_index: The ARN of the Amazon Kendra index to use.
7347
+ :param query_filter_string_enabled: Specifies whether to enable an Amazon Kendra filter string or not.
7348
+ :param query_filter_string: Contains the Amazon Kendra filter string to use if enabled. For more information on the Amazon Kendra search filter JSON format, see `Using document attributes to filter search results <https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-filtering>`_ .
7349
+
7350
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnakendraconfiguration.html
7351
+ :exampleMetadata: fixture=_generated
7352
+
7353
+ Example::
7354
+
7355
+ # The code below shows an example of how to instantiate this type.
7356
+ # The values are placeholders you should change.
7357
+ from aws_cdk import aws_lex as lex
7358
+
7359
+ qn_aKendra_configuration_property = lex.CfnBot.QnAKendraConfigurationProperty(
7360
+ exact_response=False,
7361
+ kendra_index="kendraIndex",
7362
+ query_filter_string_enabled=False,
7363
+
7364
+ # the properties below are optional
7365
+ query_filter_string="queryFilterString"
7366
+ )
7367
+ '''
7368
+ if __debug__:
7369
+ type_hints = typing.get_type_hints(_typecheckingstub__7bfcd3421e0f2d345f410d39eea0185be08b461653c789a8f0bb8957bf8d5a07)
7370
+ check_type(argname="argument exact_response", value=exact_response, expected_type=type_hints["exact_response"])
7371
+ check_type(argname="argument kendra_index", value=kendra_index, expected_type=type_hints["kendra_index"])
7372
+ check_type(argname="argument query_filter_string_enabled", value=query_filter_string_enabled, expected_type=type_hints["query_filter_string_enabled"])
7373
+ check_type(argname="argument query_filter_string", value=query_filter_string, expected_type=type_hints["query_filter_string"])
7374
+ self._values: typing.Dict[builtins.str, typing.Any] = {
7375
+ "exact_response": exact_response,
7376
+ "kendra_index": kendra_index,
7377
+ "query_filter_string_enabled": query_filter_string_enabled,
7378
+ }
7379
+ if query_filter_string is not None:
7380
+ self._values["query_filter_string"] = query_filter_string
7381
+
7382
+ @builtins.property
7383
+ def exact_response(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
7384
+ '''Specifies whether to return an exact response from the Amazon Kendra index or to let the Amazon Bedrock model you select generate a response based on the results.
7385
+
7386
+ To use this feature, you must first add FAQ questions to your index by following the steps at `Adding frequently asked questions (FAQs) to an index <https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html>`_ .
7387
+
7388
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnakendraconfiguration.html#cfn-lex-bot-qnakendraconfiguration-exactresponse
7389
+ '''
7390
+ result = self._values.get("exact_response")
7391
+ assert result is not None, "Required property 'exact_response' is missing"
7392
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
7393
+
7394
+ @builtins.property
7395
+ def kendra_index(self) -> builtins.str:
7396
+ '''The ARN of the Amazon Kendra index to use.
7397
+
7398
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnakendraconfiguration.html#cfn-lex-bot-qnakendraconfiguration-kendraindex
7399
+ '''
7400
+ result = self._values.get("kendra_index")
7401
+ assert result is not None, "Required property 'kendra_index' is missing"
7402
+ return typing.cast(builtins.str, result)
7403
+
7404
+ @builtins.property
7405
+ def query_filter_string_enabled(
7406
+ self,
7407
+ ) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
7408
+ '''Specifies whether to enable an Amazon Kendra filter string or not.
7409
+
7410
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnakendraconfiguration.html#cfn-lex-bot-qnakendraconfiguration-queryfilterstringenabled
7411
+ '''
7412
+ result = self._values.get("query_filter_string_enabled")
7413
+ assert result is not None, "Required property 'query_filter_string_enabled' is missing"
7414
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
7415
+
7416
+ @builtins.property
7417
+ def query_filter_string(self) -> typing.Optional[builtins.str]:
7418
+ '''Contains the Amazon Kendra filter string to use if enabled.
7419
+
7420
+ For more information on the Amazon Kendra search filter JSON format, see `Using document attributes to filter search results <https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-filtering>`_ .
7421
+
7422
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnakendraconfiguration.html#cfn-lex-bot-qnakendraconfiguration-queryfilterstring
7423
+ '''
7424
+ result = self._values.get("query_filter_string")
7425
+ return typing.cast(typing.Optional[builtins.str], result)
7426
+
7427
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
7428
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
7429
+
7430
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
7431
+ return not (rhs == self)
7432
+
7433
+ def __repr__(self) -> str:
7434
+ return "QnAKendraConfigurationProperty(%s)" % ", ".join(
7435
+ k + "=" + repr(v) for k, v in self._values.items()
7436
+ )
7437
+
6539
7438
  @jsii.data_type(
6540
7439
  jsii_type="aws-cdk-lib.aws_lex.CfnBot.ReplicationProperty",
6541
7440
  jsii_struct_bases=[],
@@ -11830,6 +12729,40 @@ def _typecheckingstub__2e44ef412e3afcfbf71cf2299bd8cea4e94f42bf7c72d8f4699c80d7c
11830
12729
  """Type checking stubs"""
11831
12730
  pass
11832
12731
 
12732
+ def _typecheckingstub__8d6e8ecfd93e72a571ce9aae70789ef47376517ca6ff93032b9f5216234828e2(
12733
+ *,
12734
+ answer_field: typing.Optional[builtins.str] = None,
12735
+ ) -> None:
12736
+ """Type checking stubs"""
12737
+ pass
12738
+
12739
+ def _typecheckingstub__d74b12bcbab0d07743f48d98e55d6f1d57db59ffab98fc9866f17091559d95ae(
12740
+ *,
12741
+ bedrock_guardrail_identifier: typing.Optional[builtins.str] = None,
12742
+ bedrock_guardrail_version: typing.Optional[builtins.str] = None,
12743
+ ) -> None:
12744
+ """Type checking stubs"""
12745
+ pass
12746
+
12747
+ def _typecheckingstub__822160fe59eb61f8e40754095f847a09c2ad5e41a8c413f8d2671359c3870875(
12748
+ *,
12749
+ bedrock_knowledge_base_arn: typing.Optional[builtins.str] = None,
12750
+ bkb_exact_response_fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BKBExactResponseFieldsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12751
+ exact_response: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
12752
+ ) -> None:
12753
+ """Type checking stubs"""
12754
+ pass
12755
+
12756
+ def _typecheckingstub__b56bd89685d0bbee200e440688fdac4482b552d57f216c25f26755471c8b17b6(
12757
+ *,
12758
+ model_arn: builtins.str,
12759
+ bedrock_guardrail_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockGuardrailConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12760
+ bedrock_model_custom_prompt: typing.Optional[builtins.str] = None,
12761
+ bedrock_trace_status: typing.Optional[builtins.str] = None,
12762
+ ) -> None:
12763
+ """Type checking stubs"""
12764
+ pass
12765
+
11833
12766
  def _typecheckingstub__b8cb59d3ac7a8ae237407b5df223685e38d3b85ded672a3f1009115577aea63a(
11834
12767
  *,
11835
12768
  bot_alias_locale_setting: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BotAliasLocaleSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -11956,6 +12889,15 @@ def _typecheckingstub__8413726661c5259fdaa87f5eb1adab8b9e36f411a5b42163e14d40d5a
11956
12889
  """Type checking stubs"""
11957
12890
  pass
11958
12891
 
12892
+ def _typecheckingstub__55ead587e63d852969958fc0497aa8018f78e4fea5717b5e6e7303509cdf1bb9(
12893
+ *,
12894
+ bedrock_knowledge_store_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockKnowledgeStoreConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12895
+ kendra_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.QnAKendraConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12896
+ opensearch_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.OpensearchConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12897
+ ) -> None:
12898
+ """Type checking stubs"""
12899
+ pass
12900
+
11959
12901
  def _typecheckingstub__b17d7f375530a3080dd7a04795acd6231e37882d54e677880209844b34b66963(
11960
12902
  *,
11961
12903
  next_step: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.DialogStateProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -12007,6 +12949,14 @@ def _typecheckingstub__60b6686b2f7d08316ec6f3906c1eb41b85065d8e1d623e4ccb84213be
12007
12949
  """Type checking stubs"""
12008
12950
  pass
12009
12951
 
12952
+ def _typecheckingstub__763b75448aee2b4fee3dce3c3b9828881f42bb6dff2c8c36ad958cddfceacb3a(
12953
+ *,
12954
+ answer_field: typing.Optional[builtins.str] = None,
12955
+ question_field: typing.Optional[builtins.str] = None,
12956
+ ) -> None:
12957
+ """Type checking stubs"""
12958
+ pass
12959
+
12010
12960
  def _typecheckingstub__88fba332915fbf5259a0c253d1363ad0ff0183417cfced04eef9822b50aecb7a(
12011
12961
  *,
12012
12962
  grammar_slot_type_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.GrammarSlotTypeSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -12145,6 +13095,7 @@ def _typecheckingstub__f105b684583292473a5d75a0aba26d4641f8f29746b1658a4a7b40036
12145
13095
  kendra_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.KendraConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12146
13096
  output_contexts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.OutputContextProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
12147
13097
  parent_intent_signature: typing.Optional[builtins.str] = None,
13098
+ qn_a_intent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.QnAIntentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12148
13099
  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,
12149
13100
  slot_priorities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SlotPriorityProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
12150
13101
  slots: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SlotProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -12201,6 +13152,17 @@ def _typecheckingstub__a795f3c1800daacb8fa1b1f53ef1260088f1fa8ef905157a69c25f1fb
12201
13152
  """Type checking stubs"""
12202
13153
  pass
12203
13154
 
13155
+ def _typecheckingstub__a609c43515424ee6adaf308c9c64cb58284946e9f9323d78f594ecf533aa4280(
13156
+ *,
13157
+ domain_endpoint: typing.Optional[builtins.str] = None,
13158
+ exact_response: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
13159
+ exact_response_fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ExactResponseFieldsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13160
+ include_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
13161
+ index_name: typing.Optional[builtins.str] = None,
13162
+ ) -> None:
13163
+ """Type checking stubs"""
13164
+ pass
13165
+
12204
13166
  def _typecheckingstub__6778b57b5a02264308db760307dd896938ee6291e49f511015f350056cc54059(
12205
13167
  *,
12206
13168
  name: builtins.str,
@@ -12268,6 +13230,24 @@ def _typecheckingstub__dfee20d6cdf119a2c07cbe82b4eed1c4619bb7cefa041af9edd532750
12268
13230
  """Type checking stubs"""
12269
13231
  pass
12270
13232
 
13233
+ def _typecheckingstub__4cc4e8b11f6d31b4bce121868461d56b7a946145ac056bc4ff22e943af84d7d2(
13234
+ *,
13235
+ bedrock_model_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockModelSpecificationProperty, typing.Dict[builtins.str, typing.Any]]],
13236
+ data_source_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.DataSourceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
13237
+ ) -> None:
13238
+ """Type checking stubs"""
13239
+ pass
13240
+
13241
+ def _typecheckingstub__7bfcd3421e0f2d345f410d39eea0185be08b461653c789a8f0bb8957bf8d5a07(
13242
+ *,
13243
+ exact_response: typing.Union[builtins.bool, _IResolvable_da3f097b],
13244
+ kendra_index: builtins.str,
13245
+ query_filter_string_enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
13246
+ query_filter_string: typing.Optional[builtins.str] = None,
13247
+ ) -> None:
13248
+ """Type checking stubs"""
13249
+ pass
13250
+
12271
13251
  def _typecheckingstub__7d77a453a1c9a0bcd03b5f52ef3ee4f9d80b3c79a6f18fa61d4b870e462ea121(
12272
13252
  *,
12273
13253
  replica_regions: typing.Sequence[builtins.str],