aws-cdk-lib 2.189.1__py3-none-any.whl → 2.190.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.189.1.jsii.tgz → aws-cdk-lib@2.190.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +6 -6
- aws_cdk/aws_apigatewayv2/__init__.py +374 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -10
- aws_cdk/aws_applicationsignals/__init__.py +204 -31
- aws_cdk/aws_backup/__init__.py +0 -41
- aws_cdk/aws_batch/__init__.py +215 -0
- aws_cdk/aws_bedrock/__init__.py +287 -0
- aws_cdk/aws_cleanrooms/__init__.py +1392 -78
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +24 -26
- aws_cdk/aws_codebuild/__init__.py +59 -7
- aws_cdk/aws_dms/__init__.py +43 -0
- aws_cdk/aws_ec2/__init__.py +364 -30
- aws_cdk/aws_ecs/__init__.py +36 -5
- aws_cdk/aws_eks/__init__.py +2 -100
- aws_cdk/aws_elasticache/__init__.py +6 -11
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +341 -0
- aws_cdk/aws_events/__init__.py +67 -13
- aws_cdk/aws_fsx/__init__.py +9 -21
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +6 -6
- aws_cdk/aws_kafkaconnect/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +44 -0
- aws_cdk/aws_lex/__init__.py +615 -39
- aws_cdk/aws_location/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +14 -3
- aws_cdk/aws_memorydb/__init__.py +87 -0
- aws_cdk/aws_msk/__init__.py +226 -127
- aws_cdk/aws_neptune/__init__.py +0 -8
- aws_cdk/aws_opensearchservice/__init__.py +64 -56
- aws_cdk/aws_paymentcryptography/__init__.py +41 -0
- aws_cdk/aws_qbusiness/__init__.py +175 -3
- aws_cdk/aws_quicksight/__init__.py +393 -0
- aws_cdk/aws_rds/__init__.py +113 -120
- aws_cdk/aws_redshiftserverless/__init__.py +4 -14
- aws_cdk/aws_route53resolver/__init__.py +60 -9
- aws_cdk/aws_s3/__init__.py +34 -1
- aws_cdk/aws_s3_deployment/__init__.py +202 -5
- aws_cdk/aws_sagemaker/__init__.py +40 -40
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +720 -45
- aws_cdk/aws_transfer/__init__.py +55 -2
- aws_cdk/pipelines/__init__.py +1 -2
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/RECORD +51 -51
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_lex/__init__.py
CHANGED
|
@@ -120,7 +120,7 @@ class CfnBot(
|
|
|
120
120
|
:param bot_locales: A list of locales for the bot.
|
|
121
121
|
: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
122
|
:param description: The description of the version.
|
|
123
|
-
:param replication:
|
|
123
|
+
:param replication:
|
|
124
124
|
: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
125
|
: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.
|
|
126
126
|
'''
|
|
@@ -340,7 +340,6 @@ class CfnBot(
|
|
|
340
340
|
def replication(
|
|
341
341
|
self,
|
|
342
342
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.ReplicationProperty"]]:
|
|
343
|
-
'''Parameter used to create a replication of the source bot in the secondary region.'''
|
|
344
343
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.ReplicationProperty"]], jsii.get(self, "replication"))
|
|
345
344
|
|
|
346
345
|
@replication.setter
|
|
@@ -860,9 +859,8 @@ class CfnBot(
|
|
|
860
859
|
*,
|
|
861
860
|
answer_field: typing.Optional[builtins.str] = None,
|
|
862
861
|
) -> None:
|
|
863
|
-
'''
|
|
864
|
-
|
|
865
|
-
:param answer_field: The answer field used for an exact response from Bedrock Knowledge Store.
|
|
862
|
+
'''
|
|
863
|
+
:param answer_field:
|
|
866
864
|
|
|
867
865
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bkbexactresponsefields.html
|
|
868
866
|
:exampleMetadata: fixture=_generated
|
|
@@ -886,8 +884,7 @@ class CfnBot(
|
|
|
886
884
|
|
|
887
885
|
@builtins.property
|
|
888
886
|
def answer_field(self) -> typing.Optional[builtins.str]:
|
|
889
|
-
'''
|
|
890
|
-
|
|
887
|
+
'''
|
|
891
888
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bkbexactresponsefields.html#cfn-lex-bot-bkbexactresponsefields-answerfield
|
|
892
889
|
'''
|
|
893
890
|
result = self._values.get("answer_field")
|
|
@@ -904,6 +901,249 @@ class CfnBot(
|
|
|
904
901
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
905
902
|
)
|
|
906
903
|
|
|
904
|
+
@jsii.data_type(
|
|
905
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.BedrockAgentConfigurationProperty",
|
|
906
|
+
jsii_struct_bases=[],
|
|
907
|
+
name_mapping={
|
|
908
|
+
"bedrock_agent_alias_id": "bedrockAgentAliasId",
|
|
909
|
+
"bedrock_agent_id": "bedrockAgentId",
|
|
910
|
+
},
|
|
911
|
+
)
|
|
912
|
+
class BedrockAgentConfigurationProperty:
|
|
913
|
+
def __init__(
|
|
914
|
+
self,
|
|
915
|
+
*,
|
|
916
|
+
bedrock_agent_alias_id: typing.Optional[builtins.str] = None,
|
|
917
|
+
bedrock_agent_id: typing.Optional[builtins.str] = None,
|
|
918
|
+
) -> None:
|
|
919
|
+
'''
|
|
920
|
+
:param bedrock_agent_alias_id:
|
|
921
|
+
:param bedrock_agent_id:
|
|
922
|
+
|
|
923
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentconfiguration.html
|
|
924
|
+
:exampleMetadata: fixture=_generated
|
|
925
|
+
|
|
926
|
+
Example::
|
|
927
|
+
|
|
928
|
+
# The code below shows an example of how to instantiate this type.
|
|
929
|
+
# The values are placeholders you should change.
|
|
930
|
+
from aws_cdk import aws_lex as lex
|
|
931
|
+
|
|
932
|
+
bedrock_agent_configuration_property = lex.CfnBot.BedrockAgentConfigurationProperty(
|
|
933
|
+
bedrock_agent_alias_id="bedrockAgentAliasId",
|
|
934
|
+
bedrock_agent_id="bedrockAgentId"
|
|
935
|
+
)
|
|
936
|
+
'''
|
|
937
|
+
if __debug__:
|
|
938
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b3a636333b7f93d535a76341ae47f433f5b8e3977c00827876f48668822de3c)
|
|
939
|
+
check_type(argname="argument bedrock_agent_alias_id", value=bedrock_agent_alias_id, expected_type=type_hints["bedrock_agent_alias_id"])
|
|
940
|
+
check_type(argname="argument bedrock_agent_id", value=bedrock_agent_id, expected_type=type_hints["bedrock_agent_id"])
|
|
941
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
942
|
+
if bedrock_agent_alias_id is not None:
|
|
943
|
+
self._values["bedrock_agent_alias_id"] = bedrock_agent_alias_id
|
|
944
|
+
if bedrock_agent_id is not None:
|
|
945
|
+
self._values["bedrock_agent_id"] = bedrock_agent_id
|
|
946
|
+
|
|
947
|
+
@builtins.property
|
|
948
|
+
def bedrock_agent_alias_id(self) -> typing.Optional[builtins.str]:
|
|
949
|
+
'''
|
|
950
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentconfiguration.html#cfn-lex-bot-bedrockagentconfiguration-bedrockagentaliasid
|
|
951
|
+
'''
|
|
952
|
+
result = self._values.get("bedrock_agent_alias_id")
|
|
953
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
954
|
+
|
|
955
|
+
@builtins.property
|
|
956
|
+
def bedrock_agent_id(self) -> typing.Optional[builtins.str]:
|
|
957
|
+
'''
|
|
958
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentconfiguration.html#cfn-lex-bot-bedrockagentconfiguration-bedrockagentid
|
|
959
|
+
'''
|
|
960
|
+
result = self._values.get("bedrock_agent_id")
|
|
961
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
962
|
+
|
|
963
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
964
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
965
|
+
|
|
966
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
967
|
+
return not (rhs == self)
|
|
968
|
+
|
|
969
|
+
def __repr__(self) -> str:
|
|
970
|
+
return "BedrockAgentConfigurationProperty(%s)" % ", ".join(
|
|
971
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
972
|
+
)
|
|
973
|
+
|
|
974
|
+
@jsii.data_type(
|
|
975
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.BedrockAgentIntentConfigurationProperty",
|
|
976
|
+
jsii_struct_bases=[],
|
|
977
|
+
name_mapping={
|
|
978
|
+
"bedrock_agent_configuration": "bedrockAgentConfiguration",
|
|
979
|
+
"bedrock_agent_intent_knowledge_base_configuration": "bedrockAgentIntentKnowledgeBaseConfiguration",
|
|
980
|
+
},
|
|
981
|
+
)
|
|
982
|
+
class BedrockAgentIntentConfigurationProperty:
|
|
983
|
+
def __init__(
|
|
984
|
+
self,
|
|
985
|
+
*,
|
|
986
|
+
bedrock_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockAgentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
987
|
+
bedrock_agent_intent_knowledge_base_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockAgentIntentKnowledgeBaseConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
988
|
+
) -> None:
|
|
989
|
+
'''
|
|
990
|
+
:param bedrock_agent_configuration:
|
|
991
|
+
:param bedrock_agent_intent_knowledge_base_configuration:
|
|
992
|
+
|
|
993
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentintentconfiguration.html
|
|
994
|
+
:exampleMetadata: fixture=_generated
|
|
995
|
+
|
|
996
|
+
Example::
|
|
997
|
+
|
|
998
|
+
# The code below shows an example of how to instantiate this type.
|
|
999
|
+
# The values are placeholders you should change.
|
|
1000
|
+
from aws_cdk import aws_lex as lex
|
|
1001
|
+
|
|
1002
|
+
bedrock_agent_intent_configuration_property = lex.CfnBot.BedrockAgentIntentConfigurationProperty(
|
|
1003
|
+
bedrock_agent_configuration=lex.CfnBot.BedrockAgentConfigurationProperty(
|
|
1004
|
+
bedrock_agent_alias_id="bedrockAgentAliasId",
|
|
1005
|
+
bedrock_agent_id="bedrockAgentId"
|
|
1006
|
+
),
|
|
1007
|
+
bedrock_agent_intent_knowledge_base_configuration=lex.CfnBot.BedrockAgentIntentKnowledgeBaseConfigurationProperty(
|
|
1008
|
+
bedrock_knowledge_base_arn="bedrockKnowledgeBaseArn",
|
|
1009
|
+
bedrock_model_configuration=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
1010
|
+
model_arn="modelArn",
|
|
1011
|
+
|
|
1012
|
+
# the properties below are optional
|
|
1013
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
1014
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
1015
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
1016
|
+
),
|
|
1017
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
1018
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
1019
|
+
)
|
|
1020
|
+
)
|
|
1021
|
+
)
|
|
1022
|
+
'''
|
|
1023
|
+
if __debug__:
|
|
1024
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1abccdc5da7f7fb4c36240468d655cd5cece0e2e8040fc92ac56de013ded7afb)
|
|
1025
|
+
check_type(argname="argument bedrock_agent_configuration", value=bedrock_agent_configuration, expected_type=type_hints["bedrock_agent_configuration"])
|
|
1026
|
+
check_type(argname="argument bedrock_agent_intent_knowledge_base_configuration", value=bedrock_agent_intent_knowledge_base_configuration, expected_type=type_hints["bedrock_agent_intent_knowledge_base_configuration"])
|
|
1027
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1028
|
+
if bedrock_agent_configuration is not None:
|
|
1029
|
+
self._values["bedrock_agent_configuration"] = bedrock_agent_configuration
|
|
1030
|
+
if bedrock_agent_intent_knowledge_base_configuration is not None:
|
|
1031
|
+
self._values["bedrock_agent_intent_knowledge_base_configuration"] = bedrock_agent_intent_knowledge_base_configuration
|
|
1032
|
+
|
|
1033
|
+
@builtins.property
|
|
1034
|
+
def bedrock_agent_configuration(
|
|
1035
|
+
self,
|
|
1036
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockAgentConfigurationProperty"]]:
|
|
1037
|
+
'''
|
|
1038
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentintentconfiguration.html#cfn-lex-bot-bedrockagentintentconfiguration-bedrockagentconfiguration
|
|
1039
|
+
'''
|
|
1040
|
+
result = self._values.get("bedrock_agent_configuration")
|
|
1041
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockAgentConfigurationProperty"]], result)
|
|
1042
|
+
|
|
1043
|
+
@builtins.property
|
|
1044
|
+
def bedrock_agent_intent_knowledge_base_configuration(
|
|
1045
|
+
self,
|
|
1046
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockAgentIntentKnowledgeBaseConfigurationProperty"]]:
|
|
1047
|
+
'''
|
|
1048
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentintentconfiguration.html#cfn-lex-bot-bedrockagentintentconfiguration-bedrockagentintentknowledgebaseconfiguration
|
|
1049
|
+
'''
|
|
1050
|
+
result = self._values.get("bedrock_agent_intent_knowledge_base_configuration")
|
|
1051
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockAgentIntentKnowledgeBaseConfigurationProperty"]], result)
|
|
1052
|
+
|
|
1053
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1054
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1055
|
+
|
|
1056
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1057
|
+
return not (rhs == self)
|
|
1058
|
+
|
|
1059
|
+
def __repr__(self) -> str:
|
|
1060
|
+
return "BedrockAgentIntentConfigurationProperty(%s)" % ", ".join(
|
|
1061
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1062
|
+
)
|
|
1063
|
+
|
|
1064
|
+
@jsii.data_type(
|
|
1065
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.BedrockAgentIntentKnowledgeBaseConfigurationProperty",
|
|
1066
|
+
jsii_struct_bases=[],
|
|
1067
|
+
name_mapping={
|
|
1068
|
+
"bedrock_knowledge_base_arn": "bedrockKnowledgeBaseArn",
|
|
1069
|
+
"bedrock_model_configuration": "bedrockModelConfiguration",
|
|
1070
|
+
},
|
|
1071
|
+
)
|
|
1072
|
+
class BedrockAgentIntentKnowledgeBaseConfigurationProperty:
|
|
1073
|
+
def __init__(
|
|
1074
|
+
self,
|
|
1075
|
+
*,
|
|
1076
|
+
bedrock_knowledge_base_arn: builtins.str,
|
|
1077
|
+
bedrock_model_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockModelSpecificationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1078
|
+
) -> None:
|
|
1079
|
+
'''
|
|
1080
|
+
:param bedrock_knowledge_base_arn:
|
|
1081
|
+
:param bedrock_model_configuration:
|
|
1082
|
+
|
|
1083
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentintentknowledgebaseconfiguration.html
|
|
1084
|
+
:exampleMetadata: fixture=_generated
|
|
1085
|
+
|
|
1086
|
+
Example::
|
|
1087
|
+
|
|
1088
|
+
# The code below shows an example of how to instantiate this type.
|
|
1089
|
+
# The values are placeholders you should change.
|
|
1090
|
+
from aws_cdk import aws_lex as lex
|
|
1091
|
+
|
|
1092
|
+
bedrock_agent_intent_knowledge_base_configuration_property = lex.CfnBot.BedrockAgentIntentKnowledgeBaseConfigurationProperty(
|
|
1093
|
+
bedrock_knowledge_base_arn="bedrockKnowledgeBaseArn",
|
|
1094
|
+
bedrock_model_configuration=lex.CfnBot.BedrockModelSpecificationProperty(
|
|
1095
|
+
model_arn="modelArn",
|
|
1096
|
+
|
|
1097
|
+
# the properties below are optional
|
|
1098
|
+
bedrock_guardrail_configuration=lex.CfnBot.BedrockGuardrailConfigurationProperty(
|
|
1099
|
+
bedrock_guardrail_identifier="bedrockGuardrailIdentifier",
|
|
1100
|
+
bedrock_guardrail_version="bedrockGuardrailVersion"
|
|
1101
|
+
),
|
|
1102
|
+
bedrock_model_custom_prompt="bedrockModelCustomPrompt",
|
|
1103
|
+
bedrock_trace_status="bedrockTraceStatus"
|
|
1104
|
+
)
|
|
1105
|
+
)
|
|
1106
|
+
'''
|
|
1107
|
+
if __debug__:
|
|
1108
|
+
type_hints = typing.get_type_hints(_typecheckingstub__48f22f6a822326ff2e3bf1314cf0f6a4183c67623f1ef5b9637f73121f475fcc)
|
|
1109
|
+
check_type(argname="argument bedrock_knowledge_base_arn", value=bedrock_knowledge_base_arn, expected_type=type_hints["bedrock_knowledge_base_arn"])
|
|
1110
|
+
check_type(argname="argument bedrock_model_configuration", value=bedrock_model_configuration, expected_type=type_hints["bedrock_model_configuration"])
|
|
1111
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1112
|
+
"bedrock_knowledge_base_arn": bedrock_knowledge_base_arn,
|
|
1113
|
+
"bedrock_model_configuration": bedrock_model_configuration,
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
@builtins.property
|
|
1117
|
+
def bedrock_knowledge_base_arn(self) -> builtins.str:
|
|
1118
|
+
'''
|
|
1119
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentintentknowledgebaseconfiguration.html#cfn-lex-bot-bedrockagentintentknowledgebaseconfiguration-bedrockknowledgebasearn
|
|
1120
|
+
'''
|
|
1121
|
+
result = self._values.get("bedrock_knowledge_base_arn")
|
|
1122
|
+
assert result is not None, "Required property 'bedrock_knowledge_base_arn' is missing"
|
|
1123
|
+
return typing.cast(builtins.str, result)
|
|
1124
|
+
|
|
1125
|
+
@builtins.property
|
|
1126
|
+
def bedrock_model_configuration(
|
|
1127
|
+
self,
|
|
1128
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]:
|
|
1129
|
+
'''
|
|
1130
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentintentknowledgebaseconfiguration.html#cfn-lex-bot-bedrockagentintentknowledgebaseconfiguration-bedrockmodelconfiguration
|
|
1131
|
+
'''
|
|
1132
|
+
result = self._values.get("bedrock_model_configuration")
|
|
1133
|
+
assert result is not None, "Required property 'bedrock_model_configuration' is missing"
|
|
1134
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"], result)
|
|
1135
|
+
|
|
1136
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1137
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1138
|
+
|
|
1139
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1140
|
+
return not (rhs == self)
|
|
1141
|
+
|
|
1142
|
+
def __repr__(self) -> str:
|
|
1143
|
+
return "BedrockAgentIntentKnowledgeBaseConfigurationProperty(%s)" % ", ".join(
|
|
1144
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1145
|
+
)
|
|
1146
|
+
|
|
907
1147
|
@jsii.data_type(
|
|
908
1148
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.BedrockGuardrailConfigurationProperty",
|
|
909
1149
|
jsii_struct_bases=[],
|
|
@@ -921,8 +1161,8 @@ class CfnBot(
|
|
|
921
1161
|
) -> None:
|
|
922
1162
|
'''The details on the Bedrock guardrail configuration.
|
|
923
1163
|
|
|
924
|
-
:param bedrock_guardrail_identifier:
|
|
925
|
-
:param bedrock_guardrail_version:
|
|
1164
|
+
:param bedrock_guardrail_identifier:
|
|
1165
|
+
:param bedrock_guardrail_version:
|
|
926
1166
|
|
|
927
1167
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockguardrailconfiguration.html
|
|
928
1168
|
:exampleMetadata: fixture=_generated
|
|
@@ -950,8 +1190,7 @@ class CfnBot(
|
|
|
950
1190
|
|
|
951
1191
|
@builtins.property
|
|
952
1192
|
def bedrock_guardrail_identifier(self) -> typing.Optional[builtins.str]:
|
|
953
|
-
'''
|
|
954
|
-
|
|
1193
|
+
'''
|
|
955
1194
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockguardrailconfiguration.html#cfn-lex-bot-bedrockguardrailconfiguration-bedrockguardrailidentifier
|
|
956
1195
|
'''
|
|
957
1196
|
result = self._values.get("bedrock_guardrail_identifier")
|
|
@@ -959,8 +1198,7 @@ class CfnBot(
|
|
|
959
1198
|
|
|
960
1199
|
@builtins.property
|
|
961
1200
|
def bedrock_guardrail_version(self) -> typing.Optional[builtins.str]:
|
|
962
|
-
'''
|
|
963
|
-
|
|
1201
|
+
'''
|
|
964
1202
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockguardrailconfiguration.html#cfn-lex-bot-bedrockguardrailconfiguration-bedrockguardrailversion
|
|
965
1203
|
'''
|
|
966
1204
|
result = self._values.get("bedrock_guardrail_version")
|
|
@@ -997,7 +1235,7 @@ class CfnBot(
|
|
|
997
1235
|
'''Contains details about the configuration of a Amazon Bedrock knowledge base.
|
|
998
1236
|
|
|
999
1237
|
:param bedrock_knowledge_base_arn: The base ARN of the knowledge base used.
|
|
1000
|
-
:param bkb_exact_response_fields:
|
|
1238
|
+
:param bkb_exact_response_fields:
|
|
1001
1239
|
: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
1240
|
|
|
1003
1241
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockknowledgestoreconfiguration.html
|
|
@@ -1043,8 +1281,7 @@ class CfnBot(
|
|
|
1043
1281
|
def bkb_exact_response_fields(
|
|
1044
1282
|
self,
|
|
1045
1283
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BKBExactResponseFieldsProperty"]]:
|
|
1046
|
-
'''
|
|
1047
|
-
|
|
1284
|
+
'''
|
|
1048
1285
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockknowledgestoreconfiguration.html#cfn-lex-bot-bedrockknowledgestoreconfiguration-bkbexactresponsefields
|
|
1049
1286
|
'''
|
|
1050
1287
|
result = self._values.get("bkb_exact_response_fields")
|
|
@@ -1094,9 +1331,9 @@ class CfnBot(
|
|
|
1094
1331
|
'''Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
|
|
1095
1332
|
|
|
1096
1333
|
:param model_arn: The ARN of the foundation model used in descriptive bot building.
|
|
1097
|
-
:param bedrock_guardrail_configuration:
|
|
1098
|
-
:param bedrock_model_custom_prompt:
|
|
1099
|
-
:param bedrock_trace_status:
|
|
1334
|
+
:param bedrock_guardrail_configuration:
|
|
1335
|
+
:param bedrock_model_custom_prompt:
|
|
1336
|
+
:param bedrock_trace_status:
|
|
1100
1337
|
|
|
1101
1338
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html
|
|
1102
1339
|
:exampleMetadata: fixture=_generated
|
|
@@ -1149,8 +1386,7 @@ class CfnBot(
|
|
|
1149
1386
|
def bedrock_guardrail_configuration(
|
|
1150
1387
|
self,
|
|
1151
1388
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockGuardrailConfigurationProperty"]]:
|
|
1152
|
-
'''
|
|
1153
|
-
|
|
1389
|
+
'''
|
|
1154
1390
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html#cfn-lex-bot-bedrockmodelspecification-bedrockguardrailconfiguration
|
|
1155
1391
|
'''
|
|
1156
1392
|
result = self._values.get("bedrock_guardrail_configuration")
|
|
@@ -1158,8 +1394,7 @@ class CfnBot(
|
|
|
1158
1394
|
|
|
1159
1395
|
@builtins.property
|
|
1160
1396
|
def bedrock_model_custom_prompt(self) -> typing.Optional[builtins.str]:
|
|
1161
|
-
'''
|
|
1162
|
-
|
|
1397
|
+
'''
|
|
1163
1398
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html#cfn-lex-bot-bedrockmodelspecification-bedrockmodelcustomprompt
|
|
1164
1399
|
'''
|
|
1165
1400
|
result = self._values.get("bedrock_model_custom_prompt")
|
|
@@ -1167,8 +1402,7 @@ class CfnBot(
|
|
|
1167
1402
|
|
|
1168
1403
|
@builtins.property
|
|
1169
1404
|
def bedrock_trace_status(self) -> typing.Optional[builtins.str]:
|
|
1170
|
-
'''
|
|
1171
|
-
|
|
1405
|
+
'''
|
|
1172
1406
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html#cfn-lex-bot-bedrockmodelspecification-bedrocktracestatus
|
|
1173
1407
|
'''
|
|
1174
1408
|
result = self._values.get("bedrock_trace_status")
|
|
@@ -1726,6 +1960,66 @@ class CfnBot(
|
|
|
1726
1960
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1727
1961
|
)
|
|
1728
1962
|
|
|
1963
|
+
@jsii.data_type(
|
|
1964
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.CompositeSlotTypeSettingProperty",
|
|
1965
|
+
jsii_struct_bases=[],
|
|
1966
|
+
name_mapping={"sub_slots": "subSlots"},
|
|
1967
|
+
)
|
|
1968
|
+
class CompositeSlotTypeSettingProperty:
|
|
1969
|
+
def __init__(
|
|
1970
|
+
self,
|
|
1971
|
+
*,
|
|
1972
|
+
sub_slots: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SubSlotTypeCompositionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1973
|
+
) -> None:
|
|
1974
|
+
'''A composite slot is a combination of two or more slots that capture multiple pieces of information in a single user input.
|
|
1975
|
+
|
|
1976
|
+
:param sub_slots: Subslots in the composite slot.
|
|
1977
|
+
|
|
1978
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-compositeslottypesetting.html
|
|
1979
|
+
:exampleMetadata: fixture=_generated
|
|
1980
|
+
|
|
1981
|
+
Example::
|
|
1982
|
+
|
|
1983
|
+
# The code below shows an example of how to instantiate this type.
|
|
1984
|
+
# The values are placeholders you should change.
|
|
1985
|
+
from aws_cdk import aws_lex as lex
|
|
1986
|
+
|
|
1987
|
+
composite_slot_type_setting_property = lex.CfnBot.CompositeSlotTypeSettingProperty(
|
|
1988
|
+
sub_slots=[lex.CfnBot.SubSlotTypeCompositionProperty(
|
|
1989
|
+
name="name",
|
|
1990
|
+
slot_type_id="slotTypeId"
|
|
1991
|
+
)]
|
|
1992
|
+
)
|
|
1993
|
+
'''
|
|
1994
|
+
if __debug__:
|
|
1995
|
+
type_hints = typing.get_type_hints(_typecheckingstub__06d6a14c27d603d6c2e45d96998f53066aea7a3d3c141a783eddf5559bd5ab47)
|
|
1996
|
+
check_type(argname="argument sub_slots", value=sub_slots, expected_type=type_hints["sub_slots"])
|
|
1997
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1998
|
+
if sub_slots is not None:
|
|
1999
|
+
self._values["sub_slots"] = sub_slots
|
|
2000
|
+
|
|
2001
|
+
@builtins.property
|
|
2002
|
+
def sub_slots(
|
|
2003
|
+
self,
|
|
2004
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotTypeCompositionProperty"]]]]:
|
|
2005
|
+
'''Subslots in the composite slot.
|
|
2006
|
+
|
|
2007
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-compositeslottypesetting.html#cfn-lex-bot-compositeslottypesetting-subslots
|
|
2008
|
+
'''
|
|
2009
|
+
result = self._values.get("sub_slots")
|
|
2010
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotTypeCompositionProperty"]]]], result)
|
|
2011
|
+
|
|
2012
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2013
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2014
|
+
|
|
2015
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2016
|
+
return not (rhs == self)
|
|
2017
|
+
|
|
2018
|
+
def __repr__(self) -> str:
|
|
2019
|
+
return "CompositeSlotTypeSettingProperty(%s)" % ", ".join(
|
|
2020
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2021
|
+
)
|
|
2022
|
+
|
|
1729
2023
|
@jsii.data_type(
|
|
1730
2024
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.ConditionProperty",
|
|
1731
2025
|
jsii_struct_bases=[],
|
|
@@ -5381,6 +5675,7 @@ class CfnBot(
|
|
|
5381
5675
|
jsii_struct_bases=[],
|
|
5382
5676
|
name_mapping={
|
|
5383
5677
|
"name": "name",
|
|
5678
|
+
"bedrock_agent_intent_configuration": "bedrockAgentIntentConfiguration",
|
|
5384
5679
|
"description": "description",
|
|
5385
5680
|
"dialog_code_hook": "dialogCodeHook",
|
|
5386
5681
|
"fulfillment_code_hook": "fulfillmentCodeHook",
|
|
@@ -5391,6 +5686,7 @@ class CfnBot(
|
|
|
5391
5686
|
"kendra_configuration": "kendraConfiguration",
|
|
5392
5687
|
"output_contexts": "outputContexts",
|
|
5393
5688
|
"parent_intent_signature": "parentIntentSignature",
|
|
5689
|
+
"q_in_connect_intent_configuration": "qInConnectIntentConfiguration",
|
|
5394
5690
|
"qn_a_intent_configuration": "qnAIntentConfiguration",
|
|
5395
5691
|
"sample_utterances": "sampleUtterances",
|
|
5396
5692
|
"slot_priorities": "slotPriorities",
|
|
@@ -5402,6 +5698,7 @@ class CfnBot(
|
|
|
5402
5698
|
self,
|
|
5403
5699
|
*,
|
|
5404
5700
|
name: builtins.str,
|
|
5701
|
+
bedrock_agent_intent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockAgentIntentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5405
5702
|
description: typing.Optional[builtins.str] = None,
|
|
5406
5703
|
dialog_code_hook: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.DialogCodeHookSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5407
5704
|
fulfillment_code_hook: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.FulfillmentCodeHookSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -5412,6 +5709,7 @@ class CfnBot(
|
|
|
5412
5709
|
kendra_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.KendraConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5413
5710
|
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,
|
|
5414
5711
|
parent_intent_signature: typing.Optional[builtins.str] = None,
|
|
5712
|
+
q_in_connect_intent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.QInConnectIntentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5415
5713
|
qn_a_intent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.QnAIntentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5416
5714
|
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,
|
|
5417
5715
|
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,
|
|
@@ -5420,6 +5718,7 @@ class CfnBot(
|
|
|
5420
5718
|
'''Represents an action that the user wants to perform.
|
|
5421
5719
|
|
|
5422
5720
|
:param name: The name of the intent. Intent names must be unique within the locale that contains the intent and can't match the name of any built-in intent.
|
|
5721
|
+
:param bedrock_agent_intent_configuration:
|
|
5423
5722
|
:param description: A description of the intent. Use the description to help identify the intent in lists.
|
|
5424
5723
|
:param dialog_code_hook: Specifies that Amazon Lex invokes the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction.
|
|
5425
5724
|
:param fulfillment_code_hook: Specifies that Amazon Lex invokes the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user.
|
|
@@ -5430,7 +5729,8 @@ class CfnBot(
|
|
|
5430
5729
|
: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.
|
|
5431
5730
|
:param output_contexts: A list of contexts that the intent activates when it is fulfilled.
|
|
5432
5731
|
:param parent_intent_signature: A unique identifier for the built-in intent to base this intent on.
|
|
5433
|
-
:param
|
|
5732
|
+
:param q_in_connect_intent_configuration:
|
|
5733
|
+
:param qn_a_intent_configuration:
|
|
5434
5734
|
:param sample_utterances: A list of utterances that a user might say to signal the intent.
|
|
5435
5735
|
:param slot_priorities: Indicates the priority for slots. Amazon Lex prompts the user for slot values in priority order.
|
|
5436
5736
|
:param slots: A list of slots that the intent requires for fulfillment.
|
|
@@ -5445,6 +5745,7 @@ class CfnBot(
|
|
|
5445
5745
|
if __debug__:
|
|
5446
5746
|
type_hints = typing.get_type_hints(_typecheckingstub__f105b684583292473a5d75a0aba26d4641f8f29746b1658a4a7b400367c1112f)
|
|
5447
5747
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
5748
|
+
check_type(argname="argument bedrock_agent_intent_configuration", value=bedrock_agent_intent_configuration, expected_type=type_hints["bedrock_agent_intent_configuration"])
|
|
5448
5749
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
5449
5750
|
check_type(argname="argument dialog_code_hook", value=dialog_code_hook, expected_type=type_hints["dialog_code_hook"])
|
|
5450
5751
|
check_type(argname="argument fulfillment_code_hook", value=fulfillment_code_hook, expected_type=type_hints["fulfillment_code_hook"])
|
|
@@ -5455,6 +5756,7 @@ class CfnBot(
|
|
|
5455
5756
|
check_type(argname="argument kendra_configuration", value=kendra_configuration, expected_type=type_hints["kendra_configuration"])
|
|
5456
5757
|
check_type(argname="argument output_contexts", value=output_contexts, expected_type=type_hints["output_contexts"])
|
|
5457
5758
|
check_type(argname="argument parent_intent_signature", value=parent_intent_signature, expected_type=type_hints["parent_intent_signature"])
|
|
5759
|
+
check_type(argname="argument q_in_connect_intent_configuration", value=q_in_connect_intent_configuration, expected_type=type_hints["q_in_connect_intent_configuration"])
|
|
5458
5760
|
check_type(argname="argument qn_a_intent_configuration", value=qn_a_intent_configuration, expected_type=type_hints["qn_a_intent_configuration"])
|
|
5459
5761
|
check_type(argname="argument sample_utterances", value=sample_utterances, expected_type=type_hints["sample_utterances"])
|
|
5460
5762
|
check_type(argname="argument slot_priorities", value=slot_priorities, expected_type=type_hints["slot_priorities"])
|
|
@@ -5462,6 +5764,8 @@ class CfnBot(
|
|
|
5462
5764
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5463
5765
|
"name": name,
|
|
5464
5766
|
}
|
|
5767
|
+
if bedrock_agent_intent_configuration is not None:
|
|
5768
|
+
self._values["bedrock_agent_intent_configuration"] = bedrock_agent_intent_configuration
|
|
5465
5769
|
if description is not None:
|
|
5466
5770
|
self._values["description"] = description
|
|
5467
5771
|
if dialog_code_hook is not None:
|
|
@@ -5482,6 +5786,8 @@ class CfnBot(
|
|
|
5482
5786
|
self._values["output_contexts"] = output_contexts
|
|
5483
5787
|
if parent_intent_signature is not None:
|
|
5484
5788
|
self._values["parent_intent_signature"] = parent_intent_signature
|
|
5789
|
+
if q_in_connect_intent_configuration is not None:
|
|
5790
|
+
self._values["q_in_connect_intent_configuration"] = q_in_connect_intent_configuration
|
|
5485
5791
|
if qn_a_intent_configuration is not None:
|
|
5486
5792
|
self._values["qn_a_intent_configuration"] = qn_a_intent_configuration
|
|
5487
5793
|
if sample_utterances is not None:
|
|
@@ -5503,6 +5809,16 @@ class CfnBot(
|
|
|
5503
5809
|
assert result is not None, "Required property 'name' is missing"
|
|
5504
5810
|
return typing.cast(builtins.str, result)
|
|
5505
5811
|
|
|
5812
|
+
@builtins.property
|
|
5813
|
+
def bedrock_agent_intent_configuration(
|
|
5814
|
+
self,
|
|
5815
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockAgentIntentConfigurationProperty"]]:
|
|
5816
|
+
'''
|
|
5817
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intent.html#cfn-lex-bot-intent-bedrockagentintentconfiguration
|
|
5818
|
+
'''
|
|
5819
|
+
result = self._values.get("bedrock_agent_intent_configuration")
|
|
5820
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockAgentIntentConfigurationProperty"]], result)
|
|
5821
|
+
|
|
5506
5822
|
@builtins.property
|
|
5507
5823
|
def description(self) -> typing.Optional[builtins.str]:
|
|
5508
5824
|
'''A description of the intent.
|
|
@@ -5617,12 +5933,21 @@ class CfnBot(
|
|
|
5617
5933
|
result = self._values.get("parent_intent_signature")
|
|
5618
5934
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5619
5935
|
|
|
5936
|
+
@builtins.property
|
|
5937
|
+
def q_in_connect_intent_configuration(
|
|
5938
|
+
self,
|
|
5939
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.QInConnectIntentConfigurationProperty"]]:
|
|
5940
|
+
'''
|
|
5941
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intent.html#cfn-lex-bot-intent-qinconnectintentconfiguration
|
|
5942
|
+
'''
|
|
5943
|
+
result = self._values.get("q_in_connect_intent_configuration")
|
|
5944
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.QInConnectIntentConfigurationProperty"]], result)
|
|
5945
|
+
|
|
5620
5946
|
@builtins.property
|
|
5621
5947
|
def qn_a_intent_configuration(
|
|
5622
5948
|
self,
|
|
5623
5949
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.QnAIntentConfigurationProperty"]]:
|
|
5624
|
-
'''
|
|
5625
|
-
|
|
5950
|
+
'''
|
|
5626
5951
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intent.html#cfn-lex-bot-intent-qnaintentconfiguration
|
|
5627
5952
|
'''
|
|
5628
5953
|
result = self._values.get("qn_a_intent_configuration")
|
|
@@ -7207,6 +7532,115 @@ class CfnBot(
|
|
|
7207
7532
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7208
7533
|
)
|
|
7209
7534
|
|
|
7535
|
+
@jsii.data_type(
|
|
7536
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.QInConnectAssistantConfigurationProperty",
|
|
7537
|
+
jsii_struct_bases=[],
|
|
7538
|
+
name_mapping={"assistant_arn": "assistantArn"},
|
|
7539
|
+
)
|
|
7540
|
+
class QInConnectAssistantConfigurationProperty:
|
|
7541
|
+
def __init__(self, *, assistant_arn: builtins.str) -> None:
|
|
7542
|
+
'''
|
|
7543
|
+
:param assistant_arn:
|
|
7544
|
+
|
|
7545
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qinconnectassistantconfiguration.html
|
|
7546
|
+
:exampleMetadata: fixture=_generated
|
|
7547
|
+
|
|
7548
|
+
Example::
|
|
7549
|
+
|
|
7550
|
+
# The code below shows an example of how to instantiate this type.
|
|
7551
|
+
# The values are placeholders you should change.
|
|
7552
|
+
from aws_cdk import aws_lex as lex
|
|
7553
|
+
|
|
7554
|
+
q_in_connect_assistant_configuration_property = lex.CfnBot.QInConnectAssistantConfigurationProperty(
|
|
7555
|
+
assistant_arn="assistantArn"
|
|
7556
|
+
)
|
|
7557
|
+
'''
|
|
7558
|
+
if __debug__:
|
|
7559
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b795800f2047782afee729b8e1b5302584fdd2656707e156d5f47e8d06959b78)
|
|
7560
|
+
check_type(argname="argument assistant_arn", value=assistant_arn, expected_type=type_hints["assistant_arn"])
|
|
7561
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
7562
|
+
"assistant_arn": assistant_arn,
|
|
7563
|
+
}
|
|
7564
|
+
|
|
7565
|
+
@builtins.property
|
|
7566
|
+
def assistant_arn(self) -> builtins.str:
|
|
7567
|
+
'''
|
|
7568
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qinconnectassistantconfiguration.html#cfn-lex-bot-qinconnectassistantconfiguration-assistantarn
|
|
7569
|
+
'''
|
|
7570
|
+
result = self._values.get("assistant_arn")
|
|
7571
|
+
assert result is not None, "Required property 'assistant_arn' is missing"
|
|
7572
|
+
return typing.cast(builtins.str, result)
|
|
7573
|
+
|
|
7574
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7575
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7576
|
+
|
|
7577
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7578
|
+
return not (rhs == self)
|
|
7579
|
+
|
|
7580
|
+
def __repr__(self) -> str:
|
|
7581
|
+
return "QInConnectAssistantConfigurationProperty(%s)" % ", ".join(
|
|
7582
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7583
|
+
)
|
|
7584
|
+
|
|
7585
|
+
@jsii.data_type(
|
|
7586
|
+
jsii_type="aws-cdk-lib.aws_lex.CfnBot.QInConnectIntentConfigurationProperty",
|
|
7587
|
+
jsii_struct_bases=[],
|
|
7588
|
+
name_mapping={
|
|
7589
|
+
"q_in_connect_assistant_configuration": "qInConnectAssistantConfiguration",
|
|
7590
|
+
},
|
|
7591
|
+
)
|
|
7592
|
+
class QInConnectIntentConfigurationProperty:
|
|
7593
|
+
def __init__(
|
|
7594
|
+
self,
|
|
7595
|
+
*,
|
|
7596
|
+
q_in_connect_assistant_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.QInConnectAssistantConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7597
|
+
) -> None:
|
|
7598
|
+
'''
|
|
7599
|
+
:param q_in_connect_assistant_configuration:
|
|
7600
|
+
|
|
7601
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qinconnectintentconfiguration.html
|
|
7602
|
+
:exampleMetadata: fixture=_generated
|
|
7603
|
+
|
|
7604
|
+
Example::
|
|
7605
|
+
|
|
7606
|
+
# The code below shows an example of how to instantiate this type.
|
|
7607
|
+
# The values are placeholders you should change.
|
|
7608
|
+
from aws_cdk import aws_lex as lex
|
|
7609
|
+
|
|
7610
|
+
q_in_connect_intent_configuration_property = lex.CfnBot.QInConnectIntentConfigurationProperty(
|
|
7611
|
+
q_in_connect_assistant_configuration=lex.CfnBot.QInConnectAssistantConfigurationProperty(
|
|
7612
|
+
assistant_arn="assistantArn"
|
|
7613
|
+
)
|
|
7614
|
+
)
|
|
7615
|
+
'''
|
|
7616
|
+
if __debug__:
|
|
7617
|
+
type_hints = typing.get_type_hints(_typecheckingstub__54eb83f2121610d9d2b2b8e4cd4738a14b6ec1d1cc3f2d505af00be1b4b5dc0d)
|
|
7618
|
+
check_type(argname="argument q_in_connect_assistant_configuration", value=q_in_connect_assistant_configuration, expected_type=type_hints["q_in_connect_assistant_configuration"])
|
|
7619
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7620
|
+
if q_in_connect_assistant_configuration is not None:
|
|
7621
|
+
self._values["q_in_connect_assistant_configuration"] = q_in_connect_assistant_configuration
|
|
7622
|
+
|
|
7623
|
+
@builtins.property
|
|
7624
|
+
def q_in_connect_assistant_configuration(
|
|
7625
|
+
self,
|
|
7626
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.QInConnectAssistantConfigurationProperty"]]:
|
|
7627
|
+
'''
|
|
7628
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qinconnectintentconfiguration.html#cfn-lex-bot-qinconnectintentconfiguration-qinconnectassistantconfiguration
|
|
7629
|
+
'''
|
|
7630
|
+
result = self._values.get("q_in_connect_assistant_configuration")
|
|
7631
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.QInConnectAssistantConfigurationProperty"]], result)
|
|
7632
|
+
|
|
7633
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7634
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7635
|
+
|
|
7636
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7637
|
+
return not (rhs == self)
|
|
7638
|
+
|
|
7639
|
+
def __repr__(self) -> str:
|
|
7640
|
+
return "QInConnectIntentConfigurationProperty(%s)" % ", ".join(
|
|
7641
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7642
|
+
)
|
|
7643
|
+
|
|
7210
7644
|
@jsii.data_type(
|
|
7211
7645
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.QnAIntentConfigurationProperty",
|
|
7212
7646
|
jsii_struct_bases=[],
|
|
@@ -7224,7 +7658,7 @@ class CfnBot(
|
|
|
7224
7658
|
) -> None:
|
|
7225
7659
|
'''Details about the the configuration of the built-in ``Amazon.QnAIntent`` .
|
|
7226
7660
|
|
|
7227
|
-
:param bedrock_model_configuration:
|
|
7661
|
+
:param bedrock_model_configuration:
|
|
7228
7662
|
:param data_source_configuration: Contains details about the configuration of the data source used for the ``AMAZON.QnAIntent`` .
|
|
7229
7663
|
|
|
7230
7664
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnaintentconfiguration.html
|
|
@@ -7290,8 +7724,7 @@ class CfnBot(
|
|
|
7290
7724
|
def bedrock_model_configuration(
|
|
7291
7725
|
self,
|
|
7292
7726
|
) -> typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]:
|
|
7293
|
-
'''
|
|
7294
|
-
|
|
7727
|
+
'''
|
|
7295
7728
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnaintentconfiguration.html#cfn-lex-bot-qnaintentconfiguration-bedrockmodelconfiguration
|
|
7296
7729
|
'''
|
|
7297
7730
|
result = self._values.get("bedrock_model_configuration")
|
|
@@ -7442,9 +7875,8 @@ class CfnBot(
|
|
|
7442
7875
|
)
|
|
7443
7876
|
class ReplicationProperty:
|
|
7444
7877
|
def __init__(self, *, replica_regions: typing.Sequence[builtins.str]) -> None:
|
|
7445
|
-
'''
|
|
7446
|
-
|
|
7447
|
-
:param replica_regions: List of secondary regions for bot replication.
|
|
7878
|
+
'''
|
|
7879
|
+
:param replica_regions:
|
|
7448
7880
|
|
|
7449
7881
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-replication.html
|
|
7450
7882
|
:exampleMetadata: fixture=_generated
|
|
@@ -7468,8 +7900,7 @@ class CfnBot(
|
|
|
7468
7900
|
|
|
7469
7901
|
@builtins.property
|
|
7470
7902
|
def replica_regions(self) -> typing.List[builtins.str]:
|
|
7471
|
-
'''
|
|
7472
|
-
|
|
7903
|
+
'''
|
|
7473
7904
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-replication.html#cfn-lex-bot-replication-replicaregions
|
|
7474
7905
|
'''
|
|
7475
7906
|
result = self._values.get("replica_regions")
|
|
@@ -8592,6 +9023,7 @@ class CfnBot(
|
|
|
8592
9023
|
jsii_struct_bases=[],
|
|
8593
9024
|
name_mapping={
|
|
8594
9025
|
"name": "name",
|
|
9026
|
+
"composite_slot_type_setting": "compositeSlotTypeSetting",
|
|
8595
9027
|
"description": "description",
|
|
8596
9028
|
"external_source_setting": "externalSourceSetting",
|
|
8597
9029
|
"parent_slot_type_signature": "parentSlotTypeSignature",
|
|
@@ -8604,6 +9036,7 @@ class CfnBot(
|
|
|
8604
9036
|
self,
|
|
8605
9037
|
*,
|
|
8606
9038
|
name: builtins.str,
|
|
9039
|
+
composite_slot_type_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.CompositeSlotTypeSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8607
9040
|
description: typing.Optional[builtins.str] = None,
|
|
8608
9041
|
external_source_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.ExternalSourceSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8609
9042
|
parent_slot_type_signature: typing.Optional[builtins.str] = None,
|
|
@@ -8613,6 +9046,7 @@ class CfnBot(
|
|
|
8613
9046
|
'''Describes a slot type.
|
|
8614
9047
|
|
|
8615
9048
|
:param name: The name of the slot type. A slot type name must be unique withing the account.
|
|
9049
|
+
:param composite_slot_type_setting:
|
|
8616
9050
|
:param description: A description of the slot type. Use the description to help identify the slot type in lists.
|
|
8617
9051
|
:param external_source_setting: Sets the type of external information used to create the slot type.
|
|
8618
9052
|
:param parent_slot_type_signature: The built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent lot type. Only ``AMAZON.AlphaNumeric`` is supported.
|
|
@@ -8632,6 +9066,12 @@ class CfnBot(
|
|
|
8632
9066
|
name="name",
|
|
8633
9067
|
|
|
8634
9068
|
# the properties below are optional
|
|
9069
|
+
composite_slot_type_setting=lex.CfnBot.CompositeSlotTypeSettingProperty(
|
|
9070
|
+
sub_slots=[lex.CfnBot.SubSlotTypeCompositionProperty(
|
|
9071
|
+
name="name",
|
|
9072
|
+
slot_type_id="slotTypeId"
|
|
9073
|
+
)]
|
|
9074
|
+
),
|
|
8635
9075
|
description="description",
|
|
8636
9076
|
external_source_setting=lex.CfnBot.ExternalSourceSettingProperty(
|
|
8637
9077
|
grammar_slot_type_setting=lex.CfnBot.GrammarSlotTypeSettingProperty(
|
|
@@ -8671,6 +9111,7 @@ class CfnBot(
|
|
|
8671
9111
|
if __debug__:
|
|
8672
9112
|
type_hints = typing.get_type_hints(_typecheckingstub__d99d82598958085799a77f6b5114773dd5d435a8eed078da9626b631bffcfeea)
|
|
8673
9113
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
9114
|
+
check_type(argname="argument composite_slot_type_setting", value=composite_slot_type_setting, expected_type=type_hints["composite_slot_type_setting"])
|
|
8674
9115
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
8675
9116
|
check_type(argname="argument external_source_setting", value=external_source_setting, expected_type=type_hints["external_source_setting"])
|
|
8676
9117
|
check_type(argname="argument parent_slot_type_signature", value=parent_slot_type_signature, expected_type=type_hints["parent_slot_type_signature"])
|
|
@@ -8679,6 +9120,8 @@ class CfnBot(
|
|
|
8679
9120
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8680
9121
|
"name": name,
|
|
8681
9122
|
}
|
|
9123
|
+
if composite_slot_type_setting is not None:
|
|
9124
|
+
self._values["composite_slot_type_setting"] = composite_slot_type_setting
|
|
8682
9125
|
if description is not None:
|
|
8683
9126
|
self._values["description"] = description
|
|
8684
9127
|
if external_source_setting is not None:
|
|
@@ -8702,6 +9145,16 @@ class CfnBot(
|
|
|
8702
9145
|
assert result is not None, "Required property 'name' is missing"
|
|
8703
9146
|
return typing.cast(builtins.str, result)
|
|
8704
9147
|
|
|
9148
|
+
@builtins.property
|
|
9149
|
+
def composite_slot_type_setting(
|
|
9150
|
+
self,
|
|
9151
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.CompositeSlotTypeSettingProperty"]]:
|
|
9152
|
+
'''
|
|
9153
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html#cfn-lex-bot-slottype-compositeslottypesetting
|
|
9154
|
+
'''
|
|
9155
|
+
result = self._values.get("composite_slot_type_setting")
|
|
9156
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.CompositeSlotTypeSettingProperty"]], result)
|
|
9157
|
+
|
|
8705
9158
|
@builtins.property
|
|
8706
9159
|
def description(self) -> typing.Optional[builtins.str]:
|
|
8707
9160
|
'''A description of the slot type.
|
|
@@ -9575,6 +10028,74 @@ class CfnBot(
|
|
|
9575
10028
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
9576
10029
|
)
|
|
9577
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
|
|
10045
|
+
|
|
10046
|
+
Example::
|
|
10047
|
+
|
|
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
|
+
)
|
|
10056
|
+
'''
|
|
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
|
+
}
|
|
10065
|
+
|
|
10066
|
+
@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
|
|
10071
|
+
'''
|
|
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
|
|
10083
|
+
'''
|
|
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)
|
|
10087
|
+
|
|
10088
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
10089
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
10090
|
+
|
|
10091
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
10092
|
+
return not (rhs == self)
|
|
10093
|
+
|
|
10094
|
+
def __repr__(self) -> str:
|
|
10095
|
+
return "SubSlotTypeCompositionProperty(%s)" % ", ".join(
|
|
10096
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
10097
|
+
)
|
|
10098
|
+
|
|
9578
10099
|
@jsii.data_type(
|
|
9579
10100
|
jsii_type="aws-cdk-lib.aws_lex.CfnBot.TestBotAliasSettingsProperty",
|
|
9580
10101
|
jsii_struct_bases=[],
|
|
@@ -11773,7 +12294,7 @@ class CfnBotProps:
|
|
|
11773
12294
|
:param bot_locales: A list of locales for the bot.
|
|
11774
12295
|
: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.
|
|
11775
12296
|
:param description: The description of the version.
|
|
11776
|
-
:param replication:
|
|
12297
|
+
:param replication:
|
|
11777
12298
|
: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.
|
|
11778
12299
|
: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.
|
|
11779
12300
|
|
|
@@ -11928,8 +12449,7 @@ class CfnBotProps:
|
|
|
11928
12449
|
def replication(
|
|
11929
12450
|
self,
|
|
11930
12451
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBot.ReplicationProperty]]:
|
|
11931
|
-
'''
|
|
11932
|
-
|
|
12452
|
+
'''
|
|
11933
12453
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html#cfn-lex-bot-replication
|
|
11934
12454
|
'''
|
|
11935
12455
|
result = self._values.get("replication")
|
|
@@ -12736,6 +13256,30 @@ def _typecheckingstub__8d6e8ecfd93e72a571ce9aae70789ef47376517ca6ff93032b9f52162
|
|
|
12736
13256
|
"""Type checking stubs"""
|
|
12737
13257
|
pass
|
|
12738
13258
|
|
|
13259
|
+
def _typecheckingstub__8b3a636333b7f93d535a76341ae47f433f5b8e3977c00827876f48668822de3c(
|
|
13260
|
+
*,
|
|
13261
|
+
bedrock_agent_alias_id: typing.Optional[builtins.str] = None,
|
|
13262
|
+
bedrock_agent_id: typing.Optional[builtins.str] = None,
|
|
13263
|
+
) -> None:
|
|
13264
|
+
"""Type checking stubs"""
|
|
13265
|
+
pass
|
|
13266
|
+
|
|
13267
|
+
def _typecheckingstub__1abccdc5da7f7fb4c36240468d655cd5cece0e2e8040fc92ac56de013ded7afb(
|
|
13268
|
+
*,
|
|
13269
|
+
bedrock_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13270
|
+
bedrock_agent_intent_knowledge_base_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockAgentIntentKnowledgeBaseConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13271
|
+
) -> None:
|
|
13272
|
+
"""Type checking stubs"""
|
|
13273
|
+
pass
|
|
13274
|
+
|
|
13275
|
+
def _typecheckingstub__48f22f6a822326ff2e3bf1314cf0f6a4183c67623f1ef5b9637f73121f475fcc(
|
|
13276
|
+
*,
|
|
13277
|
+
bedrock_knowledge_base_arn: builtins.str,
|
|
13278
|
+
bedrock_model_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockModelSpecificationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
13279
|
+
) -> None:
|
|
13280
|
+
"""Type checking stubs"""
|
|
13281
|
+
pass
|
|
13282
|
+
|
|
12739
13283
|
def _typecheckingstub__d74b12bcbab0d07743f48d98e55d6f1d57db59ffab98fc9866f17091559d95ae(
|
|
12740
13284
|
*,
|
|
12741
13285
|
bedrock_guardrail_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -12815,6 +13359,13 @@ def _typecheckingstub__da6a0a3d3181926b6600cb1e93e0bf761a0d23d96eb57f580dcef39cc
|
|
|
12815
13359
|
"""Type checking stubs"""
|
|
12816
13360
|
pass
|
|
12817
13361
|
|
|
13362
|
+
def _typecheckingstub__06d6a14c27d603d6c2e45d96998f53066aea7a3d3c141a783eddf5559bd5ab47(
|
|
13363
|
+
*,
|
|
13364
|
+
sub_slots: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SubSlotTypeCompositionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
13365
|
+
) -> None:
|
|
13366
|
+
"""Type checking stubs"""
|
|
13367
|
+
pass
|
|
13368
|
+
|
|
12818
13369
|
def _typecheckingstub__955a721d21fa1f19bf91fc3c341e8f185dbe2e44d2e52eefdfc64abc889f0959(
|
|
12819
13370
|
*,
|
|
12820
13371
|
expression_string: builtins.str,
|
|
@@ -13085,6 +13636,7 @@ def _typecheckingstub__493166c423a1b45288ba10b5982fc7d58c8aa28aab6ecb53239e5da52
|
|
|
13085
13636
|
def _typecheckingstub__f105b684583292473a5d75a0aba26d4641f8f29746b1658a4a7b400367c1112f(
|
|
13086
13637
|
*,
|
|
13087
13638
|
name: builtins.str,
|
|
13639
|
+
bedrock_agent_intent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockAgentIntentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13088
13640
|
description: typing.Optional[builtins.str] = None,
|
|
13089
13641
|
dialog_code_hook: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.DialogCodeHookSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13090
13642
|
fulfillment_code_hook: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.FulfillmentCodeHookSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -13095,6 +13647,7 @@ def _typecheckingstub__f105b684583292473a5d75a0aba26d4641f8f29746b1658a4a7b40036
|
|
|
13095
13647
|
kendra_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.KendraConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13096
13648
|
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,
|
|
13097
13649
|
parent_intent_signature: typing.Optional[builtins.str] = None,
|
|
13650
|
+
q_in_connect_intent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.QInConnectIntentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13098
13651
|
qn_a_intent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.QnAIntentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13099
13652
|
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,
|
|
13100
13653
|
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,
|
|
@@ -13230,6 +13783,20 @@ def _typecheckingstub__dfee20d6cdf119a2c07cbe82b4eed1c4619bb7cefa041af9edd532750
|
|
|
13230
13783
|
"""Type checking stubs"""
|
|
13231
13784
|
pass
|
|
13232
13785
|
|
|
13786
|
+
def _typecheckingstub__b795800f2047782afee729b8e1b5302584fdd2656707e156d5f47e8d06959b78(
|
|
13787
|
+
*,
|
|
13788
|
+
assistant_arn: builtins.str,
|
|
13789
|
+
) -> None:
|
|
13790
|
+
"""Type checking stubs"""
|
|
13791
|
+
pass
|
|
13792
|
+
|
|
13793
|
+
def _typecheckingstub__54eb83f2121610d9d2b2b8e4cd4738a14b6ec1d1cc3f2d505af00be1b4b5dc0d(
|
|
13794
|
+
*,
|
|
13795
|
+
q_in_connect_assistant_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.QInConnectAssistantConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13796
|
+
) -> None:
|
|
13797
|
+
"""Type checking stubs"""
|
|
13798
|
+
pass
|
|
13799
|
+
|
|
13233
13800
|
def _typecheckingstub__4cc4e8b11f6d31b4bce121868461d56b7a946145ac056bc4ff22e943af84d7d2(
|
|
13234
13801
|
*,
|
|
13235
13802
|
bedrock_model_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.BedrockModelSpecificationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -13368,6 +13935,7 @@ def _typecheckingstub__ef126475ab56636b361ebc97f72cf09bd8480c4e5dad06e8da998fba1
|
|
|
13368
13935
|
def _typecheckingstub__d99d82598958085799a77f6b5114773dd5d435a8eed078da9626b631bffcfeea(
|
|
13369
13936
|
*,
|
|
13370
13937
|
name: builtins.str,
|
|
13938
|
+
composite_slot_type_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.CompositeSlotTypeSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13371
13939
|
description: typing.Optional[builtins.str] = None,
|
|
13372
13940
|
external_source_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ExternalSourceSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13373
13941
|
parent_slot_type_signature: typing.Optional[builtins.str] = None,
|
|
@@ -13447,6 +14015,14 @@ def _typecheckingstub__4b29454e1c72d163c3d5c059ab5734a392267a9f5ea3476cbc3a7c071
|
|
|
13447
14015
|
"""Type checking stubs"""
|
|
13448
14016
|
pass
|
|
13449
14017
|
|
|
14018
|
+
def _typecheckingstub__6a11ecebf71592606f12daf680d8d8cd568f03843d20fa7af9a041f1daa2d51f(
|
|
14019
|
+
*,
|
|
14020
|
+
name: builtins.str,
|
|
14021
|
+
slot_type_id: builtins.str,
|
|
14022
|
+
) -> None:
|
|
14023
|
+
"""Type checking stubs"""
|
|
14024
|
+
pass
|
|
14025
|
+
|
|
13450
14026
|
def _typecheckingstub__9e4446d39358c5287d9df3b2990e64fd6f58a3cb8c75321845b0c566e4ddd896(
|
|
13451
14027
|
*,
|
|
13452
14028
|
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,
|