aws-cdk-lib 2.196.1__py3-none-any.whl → 2.198.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 (43) hide show
  1. aws_cdk/__init__.py +2 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.196.1.jsii.tgz → aws-cdk-lib@2.198.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +90 -1
  5. aws_cdk/aws_apigatewayv2/__init__.py +866 -0
  6. aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
  7. aws_cdk/aws_appsync/__init__.py +31 -21
  8. aws_cdk/aws_autoscaling/__init__.py +2 -1
  9. aws_cdk/aws_bedrock/__init__.py +32 -26
  10. aws_cdk/aws_cloudfront/__init__.py +9 -3
  11. aws_cdk/aws_cloudwatch/__init__.py +756 -29
  12. aws_cdk/aws_codebuild/__init__.py +19 -0
  13. aws_cdk/aws_codepipeline/__init__.py +44 -7
  14. aws_cdk/aws_datasync/__init__.py +850 -833
  15. aws_cdk/aws_datazone/__init__.py +615 -2
  16. aws_cdk/aws_deadline/__init__.py +162 -4
  17. aws_cdk/aws_dsql/__init__.py +35 -1
  18. aws_cdk/aws_ec2/__init__.py +291 -7
  19. aws_cdk/aws_ecs/__init__.py +38 -19
  20. aws_cdk/aws_ecs_patterns/__init__.py +15 -9
  21. aws_cdk/aws_elasticache/__init__.py +5 -5
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
  23. aws_cdk/aws_gamelift/__init__.py +103 -17
  24. aws_cdk/aws_gameliftstreams/__init__.py +6 -6
  25. aws_cdk/aws_lex/__init__.py +1245 -172
  26. aws_cdk/aws_mediapackagev2/__init__.py +11 -10
  27. aws_cdk/aws_omics/__init__.py +939 -100
  28. aws_cdk/aws_pcs/__init__.py +126 -0
  29. aws_cdk/aws_rds/__init__.py +42 -15
  30. aws_cdk/aws_rolesanywhere/__init__.py +14 -13
  31. aws_cdk/aws_route53resolver/__init__.py +0 -41
  32. aws_cdk/aws_sagemaker/__init__.py +38 -12
  33. aws_cdk/aws_ses/__init__.py +192 -4
  34. aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
  35. aws_cdk/aws_synthetics/__init__.py +137 -3
  36. aws_cdk/aws_wafv2/__init__.py +4 -4
  37. aws_cdk/aws_workspaces/__init__.py +41 -0
  38. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/METADATA +2 -2
  39. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/RECORD +43 -43
  40. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/LICENSE +0 -0
  41. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/NOTICE +0 -0
  42. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/WHEEL +0 -0
  43. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/top_level.txt +0 -0
@@ -8882,6 +8882,7 @@ class CfnBot(
8882
8882
  "description": "description",
8883
8883
  "multiple_values_setting": "multipleValuesSetting",
8884
8884
  "obfuscation_setting": "obfuscationSetting",
8885
+ "sub_slot_setting": "subSlotSetting",
8885
8886
  },
8886
8887
  )
8887
8888
  class SlotProperty:
@@ -8894,6 +8895,7 @@ class CfnBot(
8894
8895
  description: typing.Optional[builtins.str] = None,
8895
8896
  multiple_values_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.MultipleValuesSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8896
8897
  obfuscation_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.ObfuscationSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8898
+ sub_slot_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SubSlotSettingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8897
8899
  ) -> None:
8898
8900
  '''Specifies the definition of a slot.
8899
8901
 
@@ -8905,6 +8907,7 @@ class CfnBot(
8905
8907
  :param description: The description of the slot.
8906
8908
  :param multiple_values_setting: Indicates whether a slot can return multiple values.
8907
8909
  :param obfuscation_setting: Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs. Use obfuscated slots to protect information such as personally identifiable information (PII) in logs.
8910
+ :param sub_slot_setting:
8908
8911
 
8909
8912
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html
8910
8913
  :exampleMetadata: fixture=_generated
@@ -8921,6 +8924,7 @@ class CfnBot(
8921
8924
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
8922
8925
  check_type(argname="argument multiple_values_setting", value=multiple_values_setting, expected_type=type_hints["multiple_values_setting"])
8923
8926
  check_type(argname="argument obfuscation_setting", value=obfuscation_setting, expected_type=type_hints["obfuscation_setting"])
8927
+ check_type(argname="argument sub_slot_setting", value=sub_slot_setting, expected_type=type_hints["sub_slot_setting"])
8924
8928
  self._values: typing.Dict[builtins.str, typing.Any] = {
8925
8929
  "name": name,
8926
8930
  "slot_type_name": slot_type_name,
@@ -8932,6 +8936,8 @@ class CfnBot(
8932
8936
  self._values["multiple_values_setting"] = multiple_values_setting
8933
8937
  if obfuscation_setting is not None:
8934
8938
  self._values["obfuscation_setting"] = obfuscation_setting
8939
+ if sub_slot_setting is not None:
8940
+ self._values["sub_slot_setting"] = sub_slot_setting
8935
8941
 
8936
8942
  @builtins.property
8937
8943
  def name(self) -> builtins.str:
@@ -9007,6 +9013,16 @@ class CfnBot(
9007
9013
  result = self._values.get("obfuscation_setting")
9008
9014
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.ObfuscationSettingProperty"]], result)
9009
9015
 
9016
+ @builtins.property
9017
+ def sub_slot_setting(
9018
+ self,
9019
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotSettingProperty"]]:
9020
+ '''
9021
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html#cfn-lex-bot-slot-subslotsetting
9022
+ '''
9023
+ result = self._values.get("sub_slot_setting")
9024
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotSettingProperty"]], result)
9025
+
9010
9026
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
9011
9027
  return isinstance(rhs, self.__class__) and rhs._values == self._values
9012
9028
 
@@ -9868,32 +9884,25 @@ class CfnBot(
9868
9884
  )
9869
9885
 
9870
9886
  @jsii.data_type(
9871
- jsii_type="aws-cdk-lib.aws_lex.CfnBot.StillWaitingResponseSpecificationProperty",
9887
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SpecificationsProperty",
9872
9888
  jsii_struct_bases=[],
9873
9889
  name_mapping={
9874
- "frequency_in_seconds": "frequencyInSeconds",
9875
- "message_groups_list": "messageGroupsList",
9876
- "timeout_in_seconds": "timeoutInSeconds",
9877
- "allow_interrupt": "allowInterrupt",
9890
+ "slot_type_id": "slotTypeId",
9891
+ "value_elicitation_setting": "valueElicitationSetting",
9878
9892
  },
9879
9893
  )
9880
- class StillWaitingResponseSpecificationProperty:
9894
+ class SpecificationsProperty:
9881
9895
  def __init__(
9882
9896
  self,
9883
9897
  *,
9884
- frequency_in_seconds: jsii.Number,
9885
- message_groups_list: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.MessageGroupProperty", typing.Dict[builtins.str, typing.Any]]]]],
9886
- timeout_in_seconds: jsii.Number,
9887
- allow_interrupt: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
9898
+ slot_type_id: builtins.str,
9899
+ value_elicitation_setting: typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SubSlotValueElicitationSettingProperty", typing.Dict[builtins.str, typing.Any]]],
9888
9900
  ) -> None:
9889
- '''Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
9890
-
9891
- :param frequency_in_seconds: How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
9892
- :param message_groups_list: One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
9893
- :param timeout_in_seconds: If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
9894
- :param allow_interrupt: Indicates that the user can interrupt the response by speaking while the message is being played.
9901
+ '''
9902
+ :param slot_type_id:
9903
+ :param value_elicitation_setting:
9895
9904
 
9896
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html
9905
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-specifications.html
9897
9906
  :exampleMetadata: fixture=_generated
9898
9907
 
9899
9908
  Example::
@@ -9902,188 +9911,1225 @@ class CfnBot(
9902
9911
  # The values are placeholders you should change.
9903
9912
  from aws_cdk import aws_lex as lex
9904
9913
 
9905
- still_waiting_response_specification_property = lex.CfnBot.StillWaitingResponseSpecificationProperty(
9906
- frequency_in_seconds=123,
9907
- message_groups_list=[lex.CfnBot.MessageGroupProperty(
9908
- message=lex.CfnBot.MessageProperty(
9909
- custom_payload=lex.CfnBot.CustomPayloadProperty(
9910
- value="value"
9914
+ specifications_property = lex.CfnBot.SpecificationsProperty(
9915
+ slot_type_id="slotTypeId",
9916
+ value_elicitation_setting=lex.CfnBot.SubSlotValueElicitationSettingProperty(
9917
+ default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty(
9918
+ default_value_list=[lex.CfnBot.SlotDefaultValueProperty(
9919
+ default_value="defaultValue"
9920
+ )]
9921
+ ),
9922
+ prompt_specification=lex.CfnBot.PromptSpecificationProperty(
9923
+ max_retries=123,
9924
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
9925
+ message=lex.CfnBot.MessageProperty(
9926
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
9927
+ value="value"
9928
+ ),
9929
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
9930
+ title="title",
9931
+
9932
+ # the properties below are optional
9933
+ buttons=[lex.CfnBot.ButtonProperty(
9934
+ text="text",
9935
+ value="value"
9936
+ )],
9937
+ image_url="imageUrl",
9938
+ subtitle="subtitle"
9939
+ ),
9940
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
9941
+ value="value"
9942
+ ),
9943
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
9944
+ value="value"
9945
+ )
9946
+ ),
9947
+
9948
+ # the properties below are optional
9949
+ variations=[lex.CfnBot.MessageProperty(
9950
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
9951
+ value="value"
9952
+ ),
9953
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
9954
+ title="title",
9955
+
9956
+ # the properties below are optional
9957
+ buttons=[lex.CfnBot.ButtonProperty(
9958
+ text="text",
9959
+ value="value"
9960
+ )],
9961
+ image_url="imageUrl",
9962
+ subtitle="subtitle"
9963
+ ),
9964
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
9965
+ value="value"
9966
+ ),
9967
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
9968
+ value="value"
9969
+ )
9970
+ )]
9971
+ )],
9972
+
9973
+ # the properties below are optional
9974
+ allow_interrupt=False,
9975
+ message_selection_strategy="messageSelectionStrategy",
9976
+ prompt_attempts_specification={
9977
+ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty(
9978
+ allowed_input_types=lex.CfnBot.AllowedInputTypesProperty(
9979
+ allow_audio_input=False,
9980
+ allow_dtmf_input=False
9981
+ ),
9982
+
9983
+ # the properties below are optional
9984
+ allow_interrupt=False,
9985
+ audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty(
9986
+ start_timeout_ms=123,
9987
+
9988
+ # the properties below are optional
9989
+ audio_specification=lex.CfnBot.AudioSpecificationProperty(
9990
+ end_timeout_ms=123,
9991
+ max_length_ms=123
9992
+ ),
9993
+ dtmf_specification=lex.CfnBot.DTMFSpecificationProperty(
9994
+ deletion_character="deletionCharacter",
9995
+ end_character="endCharacter",
9996
+ end_timeout_ms=123,
9997
+ max_length=123
9998
+ )
9999
+ ),
10000
+ text_input_specification=lex.CfnBot.TextInputSpecificationProperty(
10001
+ start_timeout_ms=123
10002
+ )
10003
+ )
10004
+ }
10005
+ ),
10006
+ sample_utterances=[lex.CfnBot.SampleUtteranceProperty(
10007
+ utterance="utterance"
10008
+ )],
10009
+ wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty(
10010
+ continue_response=lex.CfnBot.ResponseSpecificationProperty(
10011
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10012
+ message=lex.CfnBot.MessageProperty(
10013
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10014
+ value="value"
10015
+ ),
10016
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10017
+ title="title",
10018
+
10019
+ # the properties below are optional
10020
+ buttons=[lex.CfnBot.ButtonProperty(
10021
+ text="text",
10022
+ value="value"
10023
+ )],
10024
+ image_url="imageUrl",
10025
+ subtitle="subtitle"
10026
+ ),
10027
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10028
+ value="value"
10029
+ ),
10030
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10031
+ value="value"
10032
+ )
10033
+ ),
10034
+
10035
+ # the properties below are optional
10036
+ variations=[lex.CfnBot.MessageProperty(
10037
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10038
+ value="value"
10039
+ ),
10040
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10041
+ title="title",
10042
+
10043
+ # the properties below are optional
10044
+ buttons=[lex.CfnBot.ButtonProperty(
10045
+ text="text",
10046
+ value="value"
10047
+ )],
10048
+ image_url="imageUrl",
10049
+ subtitle="subtitle"
10050
+ ),
10051
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10052
+ value="value"
10053
+ ),
10054
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10055
+ value="value"
10056
+ )
10057
+ )]
10058
+ )],
10059
+
10060
+ # the properties below are optional
10061
+ allow_interrupt=False
9911
10062
  ),
9912
- image_response_card=lex.CfnBot.ImageResponseCardProperty(
9913
- title="title",
10063
+ waiting_response=lex.CfnBot.ResponseSpecificationProperty(
10064
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10065
+ message=lex.CfnBot.MessageProperty(
10066
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10067
+ value="value"
10068
+ ),
10069
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10070
+ title="title",
10071
+
10072
+ # the properties below are optional
10073
+ buttons=[lex.CfnBot.ButtonProperty(
10074
+ text="text",
10075
+ value="value"
10076
+ )],
10077
+ image_url="imageUrl",
10078
+ subtitle="subtitle"
10079
+ ),
10080
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10081
+ value="value"
10082
+ ),
10083
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10084
+ value="value"
10085
+ )
10086
+ ),
10087
+
10088
+ # the properties below are optional
10089
+ variations=[lex.CfnBot.MessageProperty(
10090
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10091
+ value="value"
10092
+ ),
10093
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10094
+ title="title",
10095
+
10096
+ # the properties below are optional
10097
+ buttons=[lex.CfnBot.ButtonProperty(
10098
+ text="text",
10099
+ value="value"
10100
+ )],
10101
+ image_url="imageUrl",
10102
+ subtitle="subtitle"
10103
+ ),
10104
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10105
+ value="value"
10106
+ ),
10107
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10108
+ value="value"
10109
+ )
10110
+ )]
10111
+ )],
10112
+
10113
+ # the properties below are optional
10114
+ allow_interrupt=False
10115
+ ),
10116
+
10117
+ # the properties below are optional
10118
+ is_active=False,
10119
+ still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty(
10120
+ frequency_in_seconds=123,
10121
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10122
+ message=lex.CfnBot.MessageProperty(
10123
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10124
+ value="value"
10125
+ ),
10126
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10127
+ title="title",
10128
+
10129
+ # the properties below are optional
10130
+ buttons=[lex.CfnBot.ButtonProperty(
10131
+ text="text",
10132
+ value="value"
10133
+ )],
10134
+ image_url="imageUrl",
10135
+ subtitle="subtitle"
10136
+ ),
10137
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10138
+ value="value"
10139
+ ),
10140
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10141
+ value="value"
10142
+ )
10143
+ ),
10144
+
10145
+ # the properties below are optional
10146
+ variations=[lex.CfnBot.MessageProperty(
10147
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10148
+ value="value"
10149
+ ),
10150
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10151
+ title="title",
10152
+
10153
+ # the properties below are optional
10154
+ buttons=[lex.CfnBot.ButtonProperty(
10155
+ text="text",
10156
+ value="value"
10157
+ )],
10158
+ image_url="imageUrl",
10159
+ subtitle="subtitle"
10160
+ ),
10161
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10162
+ value="value"
10163
+ ),
10164
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10165
+ value="value"
10166
+ )
10167
+ )]
10168
+ )],
10169
+ timeout_in_seconds=123,
10170
+
10171
+ # the properties below are optional
10172
+ allow_interrupt=False
10173
+ )
10174
+ )
10175
+ )
10176
+ )
10177
+ '''
10178
+ if __debug__:
10179
+ type_hints = typing.get_type_hints(_typecheckingstub__84831b306cf7254dc35fff23cffebed9b612832f61edaf61cf5455c684e3fe37)
10180
+ check_type(argname="argument slot_type_id", value=slot_type_id, expected_type=type_hints["slot_type_id"])
10181
+ check_type(argname="argument value_elicitation_setting", value=value_elicitation_setting, expected_type=type_hints["value_elicitation_setting"])
10182
+ self._values: typing.Dict[builtins.str, typing.Any] = {
10183
+ "slot_type_id": slot_type_id,
10184
+ "value_elicitation_setting": value_elicitation_setting,
10185
+ }
10186
+
10187
+ @builtins.property
10188
+ def slot_type_id(self) -> builtins.str:
10189
+ '''
10190
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-specifications.html#cfn-lex-bot-specifications-slottypeid
10191
+ '''
10192
+ result = self._values.get("slot_type_id")
10193
+ assert result is not None, "Required property 'slot_type_id' is missing"
10194
+ return typing.cast(builtins.str, result)
10195
+
10196
+ @builtins.property
10197
+ def value_elicitation_setting(
10198
+ self,
10199
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotValueElicitationSettingProperty"]:
10200
+ '''
10201
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-specifications.html#cfn-lex-bot-specifications-valueelicitationsetting
10202
+ '''
10203
+ result = self._values.get("value_elicitation_setting")
10204
+ assert result is not None, "Required property 'value_elicitation_setting' is missing"
10205
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnBot.SubSlotValueElicitationSettingProperty"], result)
10206
+
10207
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
10208
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
10209
+
10210
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
10211
+ return not (rhs == self)
10212
+
10213
+ def __repr__(self) -> str:
10214
+ return "SpecificationsProperty(%s)" % ", ".join(
10215
+ k + "=" + repr(v) for k, v in self._values.items()
10216
+ )
10217
+
10218
+ @jsii.data_type(
10219
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.StillWaitingResponseSpecificationProperty",
10220
+ jsii_struct_bases=[],
10221
+ name_mapping={
10222
+ "frequency_in_seconds": "frequencyInSeconds",
10223
+ "message_groups_list": "messageGroupsList",
10224
+ "timeout_in_seconds": "timeoutInSeconds",
10225
+ "allow_interrupt": "allowInterrupt",
10226
+ },
10227
+ )
10228
+ class StillWaitingResponseSpecificationProperty:
10229
+ def __init__(
10230
+ self,
10231
+ *,
10232
+ frequency_in_seconds: jsii.Number,
10233
+ message_groups_list: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.MessageGroupProperty", typing.Dict[builtins.str, typing.Any]]]]],
10234
+ timeout_in_seconds: jsii.Number,
10235
+ allow_interrupt: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10236
+ ) -> None:
10237
+ '''Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
10238
+
10239
+ :param frequency_in_seconds: How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
10240
+ :param message_groups_list: One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
10241
+ :param timeout_in_seconds: If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
10242
+ :param allow_interrupt: Indicates that the user can interrupt the response by speaking while the message is being played.
10243
+
10244
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html
10245
+ :exampleMetadata: fixture=_generated
10246
+
10247
+ Example::
10248
+
10249
+ # The code below shows an example of how to instantiate this type.
10250
+ # The values are placeholders you should change.
10251
+ from aws_cdk import aws_lex as lex
10252
+
10253
+ still_waiting_response_specification_property = lex.CfnBot.StillWaitingResponseSpecificationProperty(
10254
+ frequency_in_seconds=123,
10255
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10256
+ message=lex.CfnBot.MessageProperty(
10257
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10258
+ value="value"
10259
+ ),
10260
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10261
+ title="title",
10262
+
10263
+ # the properties below are optional
10264
+ buttons=[lex.CfnBot.ButtonProperty(
10265
+ text="text",
10266
+ value="value"
10267
+ )],
10268
+ image_url="imageUrl",
10269
+ subtitle="subtitle"
10270
+ ),
10271
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10272
+ value="value"
10273
+ ),
10274
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10275
+ value="value"
10276
+ )
10277
+ ),
10278
+
10279
+ # the properties below are optional
10280
+ variations=[lex.CfnBot.MessageProperty(
10281
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10282
+ value="value"
10283
+ ),
10284
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10285
+ title="title",
10286
+
10287
+ # the properties below are optional
10288
+ buttons=[lex.CfnBot.ButtonProperty(
10289
+ text="text",
10290
+ value="value"
10291
+ )],
10292
+ image_url="imageUrl",
10293
+ subtitle="subtitle"
10294
+ ),
10295
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10296
+ value="value"
10297
+ ),
10298
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10299
+ value="value"
10300
+ )
10301
+ )]
10302
+ )],
10303
+ timeout_in_seconds=123,
10304
+
10305
+ # the properties below are optional
10306
+ allow_interrupt=False
10307
+ )
10308
+ '''
10309
+ if __debug__:
10310
+ type_hints = typing.get_type_hints(_typecheckingstub__4b29454e1c72d163c3d5c059ab5734a392267a9f5ea3476cbc3a7c07126ce2e5)
10311
+ check_type(argname="argument frequency_in_seconds", value=frequency_in_seconds, expected_type=type_hints["frequency_in_seconds"])
10312
+ check_type(argname="argument message_groups_list", value=message_groups_list, expected_type=type_hints["message_groups_list"])
10313
+ check_type(argname="argument timeout_in_seconds", value=timeout_in_seconds, expected_type=type_hints["timeout_in_seconds"])
10314
+ check_type(argname="argument allow_interrupt", value=allow_interrupt, expected_type=type_hints["allow_interrupt"])
10315
+ self._values: typing.Dict[builtins.str, typing.Any] = {
10316
+ "frequency_in_seconds": frequency_in_seconds,
10317
+ "message_groups_list": message_groups_list,
10318
+ "timeout_in_seconds": timeout_in_seconds,
10319
+ }
10320
+ if allow_interrupt is not None:
10321
+ self._values["allow_interrupt"] = allow_interrupt
10322
+
10323
+ @builtins.property
10324
+ def frequency_in_seconds(self) -> jsii.Number:
10325
+ '''How often a message should be sent to the user.
10326
+
10327
+ Minimum of 1 second, maximum of 5 minutes.
10328
+
10329
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-frequencyinseconds
10330
+ '''
10331
+ result = self._values.get("frequency_in_seconds")
10332
+ assert result is not None, "Required property 'frequency_in_seconds' is missing"
10333
+ return typing.cast(jsii.Number, result)
10334
+
10335
+ @builtins.property
10336
+ def message_groups_list(
10337
+ self,
10338
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.MessageGroupProperty"]]]:
10339
+ '''One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
10340
+
10341
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-messagegroupslist
10342
+ '''
10343
+ result = self._values.get("message_groups_list")
10344
+ assert result is not None, "Required property 'message_groups_list' is missing"
10345
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.MessageGroupProperty"]]], result)
10346
+
10347
+ @builtins.property
10348
+ def timeout_in_seconds(self) -> jsii.Number:
10349
+ '''If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
10350
+
10351
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-timeoutinseconds
10352
+ '''
10353
+ result = self._values.get("timeout_in_seconds")
10354
+ assert result is not None, "Required property 'timeout_in_seconds' is missing"
10355
+ return typing.cast(jsii.Number, result)
10356
+
10357
+ @builtins.property
10358
+ def allow_interrupt(
10359
+ self,
10360
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
10361
+ '''Indicates that the user can interrupt the response by speaking while the message is being played.
10362
+
10363
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-allowinterrupt
10364
+ '''
10365
+ result = self._values.get("allow_interrupt")
10366
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
10367
+
10368
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
10369
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
10370
+
10371
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
10372
+ return not (rhs == self)
10373
+
10374
+ def __repr__(self) -> str:
10375
+ return "StillWaitingResponseSpecificationProperty(%s)" % ", ".join(
10376
+ k + "=" + repr(v) for k, v in self._values.items()
10377
+ )
10378
+
10379
+ @jsii.data_type(
10380
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SubSlotSettingProperty",
10381
+ jsii_struct_bases=[],
10382
+ name_mapping={
10383
+ "expression": "expression",
10384
+ "slot_specifications": "slotSpecifications",
10385
+ },
10386
+ )
10387
+ class SubSlotSettingProperty:
10388
+ def __init__(
10389
+ self,
10390
+ *,
10391
+ expression: typing.Optional[builtins.str] = None,
10392
+ slot_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SpecificationsProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
10393
+ ) -> None:
10394
+ '''
10395
+ :param expression:
10396
+ :param slot_specifications:
10397
+
10398
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html
10399
+ :exampleMetadata: fixture=_generated
10400
+
10401
+ Example::
10402
+
10403
+ # The code below shows an example of how to instantiate this type.
10404
+ # The values are placeholders you should change.
10405
+ from aws_cdk import aws_lex as lex
10406
+
10407
+ sub_slot_setting_property = lex.CfnBot.SubSlotSettingProperty(
10408
+ expression="expression",
10409
+ slot_specifications={
10410
+ "slot_specifications_key": lex.CfnBot.SpecificationsProperty(
10411
+ slot_type_id="slotTypeId",
10412
+ value_elicitation_setting=lex.CfnBot.SubSlotValueElicitationSettingProperty(
10413
+ default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty(
10414
+ default_value_list=[lex.CfnBot.SlotDefaultValueProperty(
10415
+ default_value="defaultValue"
10416
+ )]
10417
+ ),
10418
+ prompt_specification=lex.CfnBot.PromptSpecificationProperty(
10419
+ max_retries=123,
10420
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10421
+ message=lex.CfnBot.MessageProperty(
10422
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10423
+ value="value"
10424
+ ),
10425
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10426
+ title="title",
10427
+
10428
+ # the properties below are optional
10429
+ buttons=[lex.CfnBot.ButtonProperty(
10430
+ text="text",
10431
+ value="value"
10432
+ )],
10433
+ image_url="imageUrl",
10434
+ subtitle="subtitle"
10435
+ ),
10436
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10437
+ value="value"
10438
+ ),
10439
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10440
+ value="value"
10441
+ )
10442
+ ),
10443
+
10444
+ # the properties below are optional
10445
+ variations=[lex.CfnBot.MessageProperty(
10446
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10447
+ value="value"
10448
+ ),
10449
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10450
+ title="title",
10451
+
10452
+ # the properties below are optional
10453
+ buttons=[lex.CfnBot.ButtonProperty(
10454
+ text="text",
10455
+ value="value"
10456
+ )],
10457
+ image_url="imageUrl",
10458
+ subtitle="subtitle"
10459
+ ),
10460
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10461
+ value="value"
10462
+ ),
10463
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10464
+ value="value"
10465
+ )
10466
+ )]
10467
+ )],
10468
+
10469
+ # the properties below are optional
10470
+ allow_interrupt=False,
10471
+ message_selection_strategy="messageSelectionStrategy",
10472
+ prompt_attempts_specification={
10473
+ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty(
10474
+ allowed_input_types=lex.CfnBot.AllowedInputTypesProperty(
10475
+ allow_audio_input=False,
10476
+ allow_dtmf_input=False
10477
+ ),
10478
+
10479
+ # the properties below are optional
10480
+ allow_interrupt=False,
10481
+ audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty(
10482
+ start_timeout_ms=123,
10483
+
10484
+ # the properties below are optional
10485
+ audio_specification=lex.CfnBot.AudioSpecificationProperty(
10486
+ end_timeout_ms=123,
10487
+ max_length_ms=123
10488
+ ),
10489
+ dtmf_specification=lex.CfnBot.DTMFSpecificationProperty(
10490
+ deletion_character="deletionCharacter",
10491
+ end_character="endCharacter",
10492
+ end_timeout_ms=123,
10493
+ max_length=123
10494
+ )
10495
+ ),
10496
+ text_input_specification=lex.CfnBot.TextInputSpecificationProperty(
10497
+ start_timeout_ms=123
10498
+ )
10499
+ )
10500
+ }
10501
+ ),
10502
+ sample_utterances=[lex.CfnBot.SampleUtteranceProperty(
10503
+ utterance="utterance"
10504
+ )],
10505
+ wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty(
10506
+ continue_response=lex.CfnBot.ResponseSpecificationProperty(
10507
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10508
+ message=lex.CfnBot.MessageProperty(
10509
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10510
+ value="value"
10511
+ ),
10512
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10513
+ title="title",
10514
+
10515
+ # the properties below are optional
10516
+ buttons=[lex.CfnBot.ButtonProperty(
10517
+ text="text",
10518
+ value="value"
10519
+ )],
10520
+ image_url="imageUrl",
10521
+ subtitle="subtitle"
10522
+ ),
10523
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10524
+ value="value"
10525
+ ),
10526
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10527
+ value="value"
10528
+ )
10529
+ ),
10530
+
10531
+ # the properties below are optional
10532
+ variations=[lex.CfnBot.MessageProperty(
10533
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10534
+ value="value"
10535
+ ),
10536
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10537
+ title="title",
10538
+
10539
+ # the properties below are optional
10540
+ buttons=[lex.CfnBot.ButtonProperty(
10541
+ text="text",
10542
+ value="value"
10543
+ )],
10544
+ image_url="imageUrl",
10545
+ subtitle="subtitle"
10546
+ ),
10547
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10548
+ value="value"
10549
+ ),
10550
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10551
+ value="value"
10552
+ )
10553
+ )]
10554
+ )],
10555
+
10556
+ # the properties below are optional
10557
+ allow_interrupt=False
10558
+ ),
10559
+ waiting_response=lex.CfnBot.ResponseSpecificationProperty(
10560
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10561
+ message=lex.CfnBot.MessageProperty(
10562
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10563
+ value="value"
10564
+ ),
10565
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10566
+ title="title",
10567
+
10568
+ # the properties below are optional
10569
+ buttons=[lex.CfnBot.ButtonProperty(
10570
+ text="text",
10571
+ value="value"
10572
+ )],
10573
+ image_url="imageUrl",
10574
+ subtitle="subtitle"
10575
+ ),
10576
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10577
+ value="value"
10578
+ ),
10579
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10580
+ value="value"
10581
+ )
10582
+ ),
10583
+
10584
+ # the properties below are optional
10585
+ variations=[lex.CfnBot.MessageProperty(
10586
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10587
+ value="value"
10588
+ ),
10589
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10590
+ title="title",
10591
+
10592
+ # the properties below are optional
10593
+ buttons=[lex.CfnBot.ButtonProperty(
10594
+ text="text",
10595
+ value="value"
10596
+ )],
10597
+ image_url="imageUrl",
10598
+ subtitle="subtitle"
10599
+ ),
10600
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10601
+ value="value"
10602
+ ),
10603
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10604
+ value="value"
10605
+ )
10606
+ )]
10607
+ )],
10608
+
10609
+ # the properties below are optional
10610
+ allow_interrupt=False
10611
+ ),
10612
+
10613
+ # the properties below are optional
10614
+ is_active=False,
10615
+ still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty(
10616
+ frequency_in_seconds=123,
10617
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10618
+ message=lex.CfnBot.MessageProperty(
10619
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10620
+ value="value"
10621
+ ),
10622
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10623
+ title="title",
10624
+
10625
+ # the properties below are optional
10626
+ buttons=[lex.CfnBot.ButtonProperty(
10627
+ text="text",
10628
+ value="value"
10629
+ )],
10630
+ image_url="imageUrl",
10631
+ subtitle="subtitle"
10632
+ ),
10633
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10634
+ value="value"
10635
+ ),
10636
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10637
+ value="value"
10638
+ )
10639
+ ),
10640
+
10641
+ # the properties below are optional
10642
+ variations=[lex.CfnBot.MessageProperty(
10643
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10644
+ value="value"
10645
+ ),
10646
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10647
+ title="title",
10648
+
10649
+ # the properties below are optional
10650
+ buttons=[lex.CfnBot.ButtonProperty(
10651
+ text="text",
10652
+ value="value"
10653
+ )],
10654
+ image_url="imageUrl",
10655
+ subtitle="subtitle"
10656
+ ),
10657
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10658
+ value="value"
10659
+ ),
10660
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10661
+ value="value"
10662
+ )
10663
+ )]
10664
+ )],
10665
+ timeout_in_seconds=123,
10666
+
10667
+ # the properties below are optional
10668
+ allow_interrupt=False
10669
+ )
10670
+ )
10671
+ )
10672
+ )
10673
+ }
10674
+ )
10675
+ '''
10676
+ if __debug__:
10677
+ type_hints = typing.get_type_hints(_typecheckingstub__19d0e1038157e6cad6b2db8680524f4b2b70d95e8f3f45ad9f237785993ba49b)
10678
+ check_type(argname="argument expression", value=expression, expected_type=type_hints["expression"])
10679
+ check_type(argname="argument slot_specifications", value=slot_specifications, expected_type=type_hints["slot_specifications"])
10680
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
10681
+ if expression is not None:
10682
+ self._values["expression"] = expression
10683
+ if slot_specifications is not None:
10684
+ self._values["slot_specifications"] = slot_specifications
10685
+
10686
+ @builtins.property
10687
+ def expression(self) -> typing.Optional[builtins.str]:
10688
+ '''
10689
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html#cfn-lex-bot-subslotsetting-expression
10690
+ '''
10691
+ result = self._values.get("expression")
10692
+ return typing.cast(typing.Optional[builtins.str], result)
10693
+
10694
+ @builtins.property
10695
+ def slot_specifications(
10696
+ self,
10697
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnBot.SpecificationsProperty"]]]]:
10698
+ '''
10699
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html#cfn-lex-bot-subslotsetting-slotspecifications
10700
+ '''
10701
+ result = self._values.get("slot_specifications")
10702
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnBot.SpecificationsProperty"]]]], result)
10703
+
10704
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
10705
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
10706
+
10707
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
10708
+ return not (rhs == self)
10709
+
10710
+ def __repr__(self) -> str:
10711
+ return "SubSlotSettingProperty(%s)" % ", ".join(
10712
+ k + "=" + repr(v) for k, v in self._values.items()
10713
+ )
10714
+
10715
+ @jsii.data_type(
10716
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SubSlotTypeCompositionProperty",
10717
+ jsii_struct_bases=[],
10718
+ name_mapping={"name": "name", "slot_type_id": "slotTypeId"},
10719
+ )
10720
+ class SubSlotTypeCompositionProperty:
10721
+ def __init__(self, *, name: builtins.str, slot_type_id: builtins.str) -> None:
10722
+ '''Subslot type composition.
10723
+
10724
+ :param name: Name of a constituent sub slot inside a composite slot.
10725
+ :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.
10726
+
10727
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html
10728
+ :exampleMetadata: fixture=_generated
10729
+
10730
+ Example::
10731
+
10732
+ # The code below shows an example of how to instantiate this type.
10733
+ # The values are placeholders you should change.
10734
+ from aws_cdk import aws_lex as lex
10735
+
10736
+ sub_slot_type_composition_property = lex.CfnBot.SubSlotTypeCompositionProperty(
10737
+ name="name",
10738
+ slot_type_id="slotTypeId"
10739
+ )
10740
+ '''
10741
+ if __debug__:
10742
+ type_hints = typing.get_type_hints(_typecheckingstub__6a11ecebf71592606f12daf680d8d8cd568f03843d20fa7af9a041f1daa2d51f)
10743
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
10744
+ check_type(argname="argument slot_type_id", value=slot_type_id, expected_type=type_hints["slot_type_id"])
10745
+ self._values: typing.Dict[builtins.str, typing.Any] = {
10746
+ "name": name,
10747
+ "slot_type_id": slot_type_id,
10748
+ }
10749
+
10750
+ @builtins.property
10751
+ def name(self) -> builtins.str:
10752
+ '''Name of a constituent sub slot inside a composite slot.
10753
+
10754
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html#cfn-lex-bot-subslottypecomposition-name
10755
+ '''
10756
+ result = self._values.get("name")
10757
+ assert result is not None, "Required property 'name' is missing"
10758
+ return typing.cast(builtins.str, result)
10759
+
10760
+ @builtins.property
10761
+ def slot_type_id(self) -> builtins.str:
10762
+ '''The unique identifier assigned to a slot type.
10763
+
10764
+ This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.
10765
+
10766
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html#cfn-lex-bot-subslottypecomposition-slottypeid
10767
+ '''
10768
+ result = self._values.get("slot_type_id")
10769
+ assert result is not None, "Required property 'slot_type_id' is missing"
10770
+ return typing.cast(builtins.str, result)
10771
+
10772
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
10773
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
10774
+
10775
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
10776
+ return not (rhs == self)
10777
+
10778
+ def __repr__(self) -> str:
10779
+ return "SubSlotTypeCompositionProperty(%s)" % ", ".join(
10780
+ k + "=" + repr(v) for k, v in self._values.items()
10781
+ )
10782
+
10783
+ @jsii.data_type(
10784
+ jsii_type="aws-cdk-lib.aws_lex.CfnBot.SubSlotValueElicitationSettingProperty",
10785
+ jsii_struct_bases=[],
10786
+ name_mapping={
10787
+ "default_value_specification": "defaultValueSpecification",
10788
+ "prompt_specification": "promptSpecification",
10789
+ "sample_utterances": "sampleUtterances",
10790
+ "wait_and_continue_specification": "waitAndContinueSpecification",
10791
+ },
10792
+ )
10793
+ class SubSlotValueElicitationSettingProperty:
10794
+ def __init__(
10795
+ self,
10796
+ *,
10797
+ default_value_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SlotDefaultValueSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
10798
+ prompt_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.PromptSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
10799
+ 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,
10800
+ wait_and_continue_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.WaitAndContinueSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
10801
+ ) -> None:
10802
+ '''
10803
+ :param default_value_specification:
10804
+ :param prompt_specification:
10805
+ :param sample_utterances:
10806
+ :param wait_and_continue_specification:
10807
+
10808
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html
10809
+ :exampleMetadata: fixture=_generated
10810
+
10811
+ Example::
10812
+
10813
+ # The code below shows an example of how to instantiate this type.
10814
+ # The values are placeholders you should change.
10815
+ from aws_cdk import aws_lex as lex
10816
+
10817
+ sub_slot_value_elicitation_setting_property = lex.CfnBot.SubSlotValueElicitationSettingProperty(
10818
+ default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty(
10819
+ default_value_list=[lex.CfnBot.SlotDefaultValueProperty(
10820
+ default_value="defaultValue"
10821
+ )]
10822
+ ),
10823
+ prompt_specification=lex.CfnBot.PromptSpecificationProperty(
10824
+ max_retries=123,
10825
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10826
+ message=lex.CfnBot.MessageProperty(
10827
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10828
+ value="value"
10829
+ ),
10830
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10831
+ title="title",
10832
+
10833
+ # the properties below are optional
10834
+ buttons=[lex.CfnBot.ButtonProperty(
10835
+ text="text",
10836
+ value="value"
10837
+ )],
10838
+ image_url="imageUrl",
10839
+ subtitle="subtitle"
10840
+ ),
10841
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10842
+ value="value"
10843
+ ),
10844
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10845
+ value="value"
10846
+ )
10847
+ ),
10848
+
10849
+ # the properties below are optional
10850
+ variations=[lex.CfnBot.MessageProperty(
10851
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10852
+ value="value"
10853
+ ),
10854
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10855
+ title="title",
10856
+
10857
+ # the properties below are optional
10858
+ buttons=[lex.CfnBot.ButtonProperty(
10859
+ text="text",
10860
+ value="value"
10861
+ )],
10862
+ image_url="imageUrl",
10863
+ subtitle="subtitle"
10864
+ ),
10865
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10866
+ value="value"
10867
+ ),
10868
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10869
+ value="value"
10870
+ )
10871
+ )]
10872
+ )],
10873
+
10874
+ # the properties below are optional
10875
+ allow_interrupt=False,
10876
+ message_selection_strategy="messageSelectionStrategy",
10877
+ prompt_attempts_specification={
10878
+ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty(
10879
+ allowed_input_types=lex.CfnBot.AllowedInputTypesProperty(
10880
+ allow_audio_input=False,
10881
+ allow_dtmf_input=False
10882
+ ),
10883
+
10884
+ # the properties below are optional
10885
+ allow_interrupt=False,
10886
+ audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty(
10887
+ start_timeout_ms=123,
10888
+
10889
+ # the properties below are optional
10890
+ audio_specification=lex.CfnBot.AudioSpecificationProperty(
10891
+ end_timeout_ms=123,
10892
+ max_length_ms=123
10893
+ ),
10894
+ dtmf_specification=lex.CfnBot.DTMFSpecificationProperty(
10895
+ deletion_character="deletionCharacter",
10896
+ end_character="endCharacter",
10897
+ end_timeout_ms=123,
10898
+ max_length=123
10899
+ )
10900
+ ),
10901
+ text_input_specification=lex.CfnBot.TextInputSpecificationProperty(
10902
+ start_timeout_ms=123
10903
+ )
10904
+ )
10905
+ }
10906
+ ),
10907
+ sample_utterances=[lex.CfnBot.SampleUtteranceProperty(
10908
+ utterance="utterance"
10909
+ )],
10910
+ wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty(
10911
+ continue_response=lex.CfnBot.ResponseSpecificationProperty(
10912
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10913
+ message=lex.CfnBot.MessageProperty(
10914
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10915
+ value="value"
10916
+ ),
10917
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10918
+ title="title",
10919
+
10920
+ # the properties below are optional
10921
+ buttons=[lex.CfnBot.ButtonProperty(
10922
+ text="text",
10923
+ value="value"
10924
+ )],
10925
+ image_url="imageUrl",
10926
+ subtitle="subtitle"
10927
+ ),
10928
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10929
+ value="value"
10930
+ ),
10931
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10932
+ value="value"
10933
+ )
10934
+ ),
10935
+
10936
+ # the properties below are optional
10937
+ variations=[lex.CfnBot.MessageProperty(
10938
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10939
+ value="value"
10940
+ ),
10941
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10942
+ title="title",
10943
+
10944
+ # the properties below are optional
10945
+ buttons=[lex.CfnBot.ButtonProperty(
10946
+ text="text",
10947
+ value="value"
10948
+ )],
10949
+ image_url="imageUrl",
10950
+ subtitle="subtitle"
10951
+ ),
10952
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10953
+ value="value"
10954
+ ),
10955
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10956
+ value="value"
10957
+ )
10958
+ )]
10959
+ )],
10960
+
10961
+ # the properties below are optional
10962
+ allow_interrupt=False
10963
+ ),
10964
+ waiting_response=lex.CfnBot.ResponseSpecificationProperty(
10965
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
10966
+ message=lex.CfnBot.MessageProperty(
10967
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10968
+ value="value"
10969
+ ),
10970
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10971
+ title="title",
10972
+
10973
+ # the properties below are optional
10974
+ buttons=[lex.CfnBot.ButtonProperty(
10975
+ text="text",
10976
+ value="value"
10977
+ )],
10978
+ image_url="imageUrl",
10979
+ subtitle="subtitle"
10980
+ ),
10981
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
10982
+ value="value"
10983
+ ),
10984
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
10985
+ value="value"
10986
+ )
10987
+ ),
10988
+
10989
+ # the properties below are optional
10990
+ variations=[lex.CfnBot.MessageProperty(
10991
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
10992
+ value="value"
10993
+ ),
10994
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
10995
+ title="title",
10996
+
10997
+ # the properties below are optional
10998
+ buttons=[lex.CfnBot.ButtonProperty(
10999
+ text="text",
11000
+ value="value"
11001
+ )],
11002
+ image_url="imageUrl",
11003
+ subtitle="subtitle"
11004
+ ),
11005
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11006
+ value="value"
11007
+ ),
11008
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11009
+ value="value"
11010
+ )
11011
+ )]
11012
+ )],
9914
11013
 
9915
- # the properties below are optional
9916
- buttons=[lex.CfnBot.ButtonProperty(
9917
- text="text",
9918
- value="value"
9919
- )],
9920
- image_url="imageUrl",
9921
- subtitle="subtitle"
9922
- ),
9923
- plain_text_message=lex.CfnBot.PlainTextMessageProperty(
9924
- value="value"
9925
- ),
9926
- ssml_message=lex.CfnBot.SSMLMessageProperty(
9927
- value="value"
9928
- )
11014
+ # the properties below are optional
11015
+ allow_interrupt=False
9929
11016
  ),
9930
11017
 
9931
11018
  # the properties below are optional
9932
- variations=[lex.CfnBot.MessageProperty(
9933
- custom_payload=lex.CfnBot.CustomPayloadProperty(
9934
- value="value"
9935
- ),
9936
- image_response_card=lex.CfnBot.ImageResponseCardProperty(
9937
- title="title",
11019
+ is_active=False,
11020
+ still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty(
11021
+ frequency_in_seconds=123,
11022
+ message_groups_list=[lex.CfnBot.MessageGroupProperty(
11023
+ message=lex.CfnBot.MessageProperty(
11024
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11025
+ value="value"
11026
+ ),
11027
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11028
+ title="title",
11029
+
11030
+ # the properties below are optional
11031
+ buttons=[lex.CfnBot.ButtonProperty(
11032
+ text="text",
11033
+ value="value"
11034
+ )],
11035
+ image_url="imageUrl",
11036
+ subtitle="subtitle"
11037
+ ),
11038
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11039
+ value="value"
11040
+ ),
11041
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11042
+ value="value"
11043
+ )
11044
+ ),
9938
11045
 
9939
11046
  # the properties below are optional
9940
- buttons=[lex.CfnBot.ButtonProperty(
9941
- text="text",
9942
- value="value"
9943
- )],
9944
- image_url="imageUrl",
9945
- subtitle="subtitle"
9946
- ),
9947
- plain_text_message=lex.CfnBot.PlainTextMessageProperty(
9948
- value="value"
9949
- ),
9950
- ssml_message=lex.CfnBot.SSMLMessageProperty(
9951
- value="value"
9952
- )
9953
- )]
9954
- )],
9955
- timeout_in_seconds=123,
11047
+ variations=[lex.CfnBot.MessageProperty(
11048
+ custom_payload=lex.CfnBot.CustomPayloadProperty(
11049
+ value="value"
11050
+ ),
11051
+ image_response_card=lex.CfnBot.ImageResponseCardProperty(
11052
+ title="title",
9956
11053
 
9957
- # the properties below are optional
9958
- allow_interrupt=False
11054
+ # the properties below are optional
11055
+ buttons=[lex.CfnBot.ButtonProperty(
11056
+ text="text",
11057
+ value="value"
11058
+ )],
11059
+ image_url="imageUrl",
11060
+ subtitle="subtitle"
11061
+ ),
11062
+ plain_text_message=lex.CfnBot.PlainTextMessageProperty(
11063
+ value="value"
11064
+ ),
11065
+ ssml_message=lex.CfnBot.SSMLMessageProperty(
11066
+ value="value"
11067
+ )
11068
+ )]
11069
+ )],
11070
+ timeout_in_seconds=123,
11071
+
11072
+ # the properties below are optional
11073
+ allow_interrupt=False
11074
+ )
11075
+ )
9959
11076
  )
9960
11077
  '''
9961
11078
  if __debug__:
9962
- type_hints = typing.get_type_hints(_typecheckingstub__4b29454e1c72d163c3d5c059ab5734a392267a9f5ea3476cbc3a7c07126ce2e5)
9963
- check_type(argname="argument frequency_in_seconds", value=frequency_in_seconds, expected_type=type_hints["frequency_in_seconds"])
9964
- check_type(argname="argument message_groups_list", value=message_groups_list, expected_type=type_hints["message_groups_list"])
9965
- check_type(argname="argument timeout_in_seconds", value=timeout_in_seconds, expected_type=type_hints["timeout_in_seconds"])
9966
- check_type(argname="argument allow_interrupt", value=allow_interrupt, expected_type=type_hints["allow_interrupt"])
9967
- self._values: typing.Dict[builtins.str, typing.Any] = {
9968
- "frequency_in_seconds": frequency_in_seconds,
9969
- "message_groups_list": message_groups_list,
9970
- "timeout_in_seconds": timeout_in_seconds,
9971
- }
9972
- if allow_interrupt is not None:
9973
- self._values["allow_interrupt"] = allow_interrupt
11079
+ type_hints = typing.get_type_hints(_typecheckingstub__0c4bd628f2e9787ccab08e521e3770db72db937863bc4842368f8edad1fe7b45)
11080
+ check_type(argname="argument default_value_specification", value=default_value_specification, expected_type=type_hints["default_value_specification"])
11081
+ check_type(argname="argument prompt_specification", value=prompt_specification, expected_type=type_hints["prompt_specification"])
11082
+ check_type(argname="argument sample_utterances", value=sample_utterances, expected_type=type_hints["sample_utterances"])
11083
+ check_type(argname="argument wait_and_continue_specification", value=wait_and_continue_specification, expected_type=type_hints["wait_and_continue_specification"])
11084
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
11085
+ if default_value_specification is not None:
11086
+ self._values["default_value_specification"] = default_value_specification
11087
+ if prompt_specification is not None:
11088
+ self._values["prompt_specification"] = prompt_specification
11089
+ if sample_utterances is not None:
11090
+ self._values["sample_utterances"] = sample_utterances
11091
+ if wait_and_continue_specification is not None:
11092
+ self._values["wait_and_continue_specification"] = wait_and_continue_specification
9974
11093
 
9975
11094
  @builtins.property
9976
- def frequency_in_seconds(self) -> jsii.Number:
9977
- '''How often a message should be sent to the user.
9978
-
9979
- Minimum of 1 second, maximum of 5 minutes.
9980
-
9981
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-frequencyinseconds
11095
+ def default_value_specification(
11096
+ self,
11097
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SlotDefaultValueSpecificationProperty"]]:
9982
11098
  '''
9983
- result = self._values.get("frequency_in_seconds")
9984
- assert result is not None, "Required property 'frequency_in_seconds' is missing"
9985
- return typing.cast(jsii.Number, result)
11099
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html#cfn-lex-bot-subslotvalueelicitationsetting-defaultvaluespecification
11100
+ '''
11101
+ result = self._values.get("default_value_specification")
11102
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.SlotDefaultValueSpecificationProperty"]], result)
9986
11103
 
9987
11104
  @builtins.property
9988
- def message_groups_list(
11105
+ def prompt_specification(
9989
11106
  self,
9990
- ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.MessageGroupProperty"]]]:
9991
- '''One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
9992
-
9993
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-messagegroupslist
11107
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.PromptSpecificationProperty"]]:
9994
11108
  '''
9995
- result = self._values.get("message_groups_list")
9996
- assert result is not None, "Required property 'message_groups_list' is missing"
9997
- return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.MessageGroupProperty"]]], result)
9998
-
9999
- @builtins.property
10000
- def timeout_in_seconds(self) -> jsii.Number:
10001
- '''If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
10002
-
10003
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-timeoutinseconds
11109
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html#cfn-lex-bot-subslotvalueelicitationsetting-promptspecification
10004
11110
  '''
10005
- result = self._values.get("timeout_in_seconds")
10006
- assert result is not None, "Required property 'timeout_in_seconds' is missing"
10007
- return typing.cast(jsii.Number, result)
11111
+ result = self._values.get("prompt_specification")
11112
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.PromptSpecificationProperty"]], result)
10008
11113
 
10009
11114
  @builtins.property
10010
- def allow_interrupt(
11115
+ def sample_utterances(
10011
11116
  self,
10012
- ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
10013
- '''Indicates that the user can interrupt the response by speaking while the message is being played.
10014
-
10015
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html#cfn-lex-bot-stillwaitingresponsespecification-allowinterrupt
11117
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.SampleUtteranceProperty"]]]]:
10016
11118
  '''
10017
- result = self._values.get("allow_interrupt")
10018
- return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
10019
-
10020
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
10021
- return isinstance(rhs, self.__class__) and rhs._values == self._values
10022
-
10023
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
10024
- return not (rhs == self)
10025
-
10026
- def __repr__(self) -> str:
10027
- return "StillWaitingResponseSpecificationProperty(%s)" % ", ".join(
10028
- k + "=" + repr(v) for k, v in self._values.items()
10029
- )
10030
-
10031
- @jsii.data_type(
10032
- jsii_type="aws-cdk-lib.aws_lex.CfnBot.SubSlotTypeCompositionProperty",
10033
- jsii_struct_bases=[],
10034
- name_mapping={"name": "name", "slot_type_id": "slotTypeId"},
10035
- )
10036
- class SubSlotTypeCompositionProperty:
10037
- def __init__(self, *, name: builtins.str, slot_type_id: builtins.str) -> None:
10038
- '''Subslot type composition.
10039
-
10040
- :param name: Name of a constituent sub slot inside a composite slot.
10041
- :param slot_type_id: The unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.
10042
-
10043
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html
10044
- :exampleMetadata: fixture=_generated
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
- )
11119
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html#cfn-lex-bot-subslotvalueelicitationsetting-sampleutterances
10056
11120
  '''
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
- }
11121
+ result = self._values.get("sample_utterances")
11122
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBot.SampleUtteranceProperty"]]]], result)
10065
11123
 
10066
11124
  @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
11125
+ def wait_and_continue_specification(
11126
+ self,
11127
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.WaitAndContinueSpecificationProperty"]]:
10071
11128
  '''
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
11129
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotvalueelicitationsetting.html#cfn-lex-bot-subslotvalueelicitationsetting-waitandcontinuespecification
10083
11130
  '''
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)
11131
+ result = self._values.get("wait_and_continue_specification")
11132
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.WaitAndContinueSpecificationProperty"]], result)
10087
11133
 
10088
11134
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
10089
11135
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -10092,7 +11138,7 @@ class CfnBot(
10092
11138
  return not (rhs == self)
10093
11139
 
10094
11140
  def __repr__(self) -> str:
10095
- return "SubSlotTypeCompositionProperty(%s)" % ", ".join(
11141
+ return "SubSlotValueElicitationSettingProperty(%s)" % ", ".join(
10096
11142
  k + "=" + repr(v) for k, v in self._values.items()
10097
11143
  )
10098
11144
 
@@ -13928,6 +14974,7 @@ def _typecheckingstub__ef126475ab56636b361ebc97f72cf09bd8480c4e5dad06e8da998fba1
13928
14974
  description: typing.Optional[builtins.str] = None,
13929
14975
  multiple_values_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.MultipleValuesSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13930
14976
  obfuscation_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.ObfuscationSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
14977
+ sub_slot_setting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SubSlotSettingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13931
14978
  ) -> None:
13932
14979
  """Type checking stubs"""
13933
14980
  pass
@@ -14005,6 +15052,14 @@ def _typecheckingstub__7982c47931169a42f1aa99bdc61da96e42f63e5371b26a267f1cdadef
14005
15052
  """Type checking stubs"""
14006
15053
  pass
14007
15054
 
15055
+ def _typecheckingstub__84831b306cf7254dc35fff23cffebed9b612832f61edaf61cf5455c684e3fe37(
15056
+ *,
15057
+ slot_type_id: builtins.str,
15058
+ value_elicitation_setting: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SubSlotValueElicitationSettingProperty, typing.Dict[builtins.str, typing.Any]]],
15059
+ ) -> None:
15060
+ """Type checking stubs"""
15061
+ pass
15062
+
14008
15063
  def _typecheckingstub__4b29454e1c72d163c3d5c059ab5734a392267a9f5ea3476cbc3a7c07126ce2e5(
14009
15064
  *,
14010
15065
  frequency_in_seconds: jsii.Number,
@@ -14015,6 +15070,14 @@ def _typecheckingstub__4b29454e1c72d163c3d5c059ab5734a392267a9f5ea3476cbc3a7c071
14015
15070
  """Type checking stubs"""
14016
15071
  pass
14017
15072
 
15073
+ def _typecheckingstub__19d0e1038157e6cad6b2db8680524f4b2b70d95e8f3f45ad9f237785993ba49b(
15074
+ *,
15075
+ expression: typing.Optional[builtins.str] = None,
15076
+ slot_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SpecificationsProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15077
+ ) -> None:
15078
+ """Type checking stubs"""
15079
+ pass
15080
+
14018
15081
  def _typecheckingstub__6a11ecebf71592606f12daf680d8d8cd568f03843d20fa7af9a041f1daa2d51f(
14019
15082
  *,
14020
15083
  name: builtins.str,
@@ -14023,6 +15086,16 @@ def _typecheckingstub__6a11ecebf71592606f12daf680d8d8cd568f03843d20fa7af9a041f1d
14023
15086
  """Type checking stubs"""
14024
15087
  pass
14025
15088
 
15089
+ def _typecheckingstub__0c4bd628f2e9787ccab08e521e3770db72db937863bc4842368f8edad1fe7b45(
15090
+ *,
15091
+ default_value_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.SlotDefaultValueSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15092
+ prompt_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.PromptSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15093
+ 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,
15094
+ wait_and_continue_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBot.WaitAndContinueSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15095
+ ) -> None:
15096
+ """Type checking stubs"""
15097
+ pass
15098
+
14026
15099
  def _typecheckingstub__9e4446d39358c5287d9df3b2990e64fd6f58a3cb8c75321845b0c566e4ddd896(
14027
15100
  *,
14028
15101
  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,