Documentation ¶
Index ¶
- func CfnBotAlias_CFN_RESOURCE_TYPE_NAME() *string
- func CfnBotAlias_IsCfnElement(x interface{}) *bool
- func CfnBotAlias_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnBotAlias_IsConstruct(x interface{}) *bool
- func CfnBotVersion_CFN_RESOURCE_TYPE_NAME() *string
- func CfnBotVersion_IsCfnElement(x interface{}) *bool
- func CfnBotVersion_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnBotVersion_IsConstruct(x interface{}) *bool
- func CfnBot_CFN_RESOURCE_TYPE_NAME() *string
- func CfnBot_IsCfnElement(x interface{}) *bool
- func CfnBot_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnBot_IsConstruct(x interface{}) *bool
- func CfnResourcePolicy_CFN_RESOURCE_TYPE_NAME() *string
- func CfnResourcePolicy_IsCfnElement(x interface{}) *bool
- func CfnResourcePolicy_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnResourcePolicy_IsConstruct(x interface{}) *bool
- func NewCfnBotAlias_Override(c CfnBotAlias, scope constructs.Construct, id *string, props *CfnBotAliasProps)
- func NewCfnBotVersion_Override(c CfnBotVersion, scope constructs.Construct, id *string, ...)
- func NewCfnBot_Override(c CfnBot, scope constructs.Construct, id *string, props *CfnBotProps)
- func NewCfnResourcePolicy_Override(c CfnResourcePolicy, scope constructs.Construct, id *string, ...)
- type CfnBot
- type CfnBotAlias
- type CfnBotAliasProps
- type CfnBotAlias_AudioLogDestinationProperty
- type CfnBotAlias_AudioLogSettingProperty
- type CfnBotAlias_BotAliasLocaleSettingsItemProperty
- type CfnBotAlias_BotAliasLocaleSettingsProperty
- type CfnBotAlias_CloudWatchLogGroupLogDestinationProperty
- type CfnBotAlias_CodeHookSpecificationProperty
- type CfnBotAlias_ConversationLogSettingsProperty
- type CfnBotAlias_LambdaCodeHookProperty
- type CfnBotAlias_S3BucketLogDestinationProperty
- type CfnBotAlias_TextLogDestinationProperty
- type CfnBotAlias_TextLogSettingProperty
- type CfnBotProps
- type CfnBotVersion
- type CfnBotVersionProps
- type CfnBotVersion_BotVersionLocaleDetailsProperty
- type CfnBotVersion_BotVersionLocaleSpecificationProperty
- type CfnBot_BotLocaleProperty
- type CfnBot_ButtonProperty
- type CfnBot_CustomPayloadProperty
- type CfnBot_DialogCodeHookSettingProperty
- type CfnBot_ExternalSourceSettingProperty
- type CfnBot_FulfillmentCodeHookSettingProperty
- type CfnBot_FulfillmentStartResponseSpecificationProperty
- type CfnBot_FulfillmentUpdateResponseSpecificationProperty
- type CfnBot_FulfillmentUpdatesSpecificationProperty
- type CfnBot_GrammarSlotTypeSettingProperty
- type CfnBot_GrammarSlotTypeSourceProperty
- type CfnBot_ImageResponseCardProperty
- type CfnBot_InputContextProperty
- type CfnBot_IntentClosingSettingProperty
- type CfnBot_IntentConfirmationSettingProperty
- type CfnBot_IntentProperty
- type CfnBot_KendraConfigurationProperty
- type CfnBot_MessageGroupProperty
- type CfnBot_MessageProperty
- type CfnBot_MultipleValuesSettingProperty
- type CfnBot_ObfuscationSettingProperty
- type CfnBot_OutputContextProperty
- type CfnBot_PlainTextMessageProperty
- type CfnBot_PostFulfillmentStatusSpecificationProperty
- type CfnBot_PromptSpecificationProperty
- type CfnBot_ResponseSpecificationProperty
- type CfnBot_S3LocationProperty
- type CfnBot_SSMLMessageProperty
- type CfnBot_SampleUtteranceProperty
- type CfnBot_SampleValueProperty
- type CfnBot_SlotDefaultValueProperty
- type CfnBot_SlotDefaultValueSpecificationProperty
- type CfnBot_SlotPriorityProperty
- type CfnBot_SlotProperty
- type CfnBot_SlotTypeProperty
- type CfnBot_SlotTypeValueProperty
- type CfnBot_SlotValueElicitationSettingProperty
- type CfnBot_SlotValueRegexFilterProperty
- type CfnBot_SlotValueSelectionSettingProperty
- type CfnBot_StillWaitingResponseSpecificationProperty
- type CfnBot_VoiceSettingsProperty
- type CfnBot_WaitAndContinueSpecificationProperty
- type CfnResourcePolicy
- type CfnResourcePolicyProps
- type CfnResourcePolicy_PolicyProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnBotAlias_CFN_RESOURCE_TYPE_NAME ¶
func CfnBotAlias_CFN_RESOURCE_TYPE_NAME() *string
func CfnBotAlias_IsCfnElement ¶
func CfnBotAlias_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnBotAlias_IsCfnResource ¶
func CfnBotAlias_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnBotAlias_IsConstruct ¶
func CfnBotAlias_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnBotVersion_CFN_RESOURCE_TYPE_NAME ¶
func CfnBotVersion_CFN_RESOURCE_TYPE_NAME() *string
func CfnBotVersion_IsCfnElement ¶
func CfnBotVersion_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnBotVersion_IsCfnResource ¶
func CfnBotVersion_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnBotVersion_IsConstruct ¶
func CfnBotVersion_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnBot_CFN_RESOURCE_TYPE_NAME ¶
func CfnBot_CFN_RESOURCE_TYPE_NAME() *string
func CfnBot_IsCfnElement ¶
func CfnBot_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnBot_IsCfnResource ¶
func CfnBot_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnBot_IsConstruct ¶
func CfnBot_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnResourcePolicy_CFN_RESOURCE_TYPE_NAME ¶
func CfnResourcePolicy_CFN_RESOURCE_TYPE_NAME() *string
func CfnResourcePolicy_IsCfnElement ¶
func CfnResourcePolicy_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnResourcePolicy_IsCfnResource ¶
func CfnResourcePolicy_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnResourcePolicy_IsConstruct ¶
func CfnResourcePolicy_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewCfnBotAlias_Override ¶
func NewCfnBotAlias_Override(c CfnBotAlias, scope constructs.Construct, id *string, props *CfnBotAliasProps)
Create a new `AWS::Lex::BotAlias`.
func NewCfnBotVersion_Override ¶
func NewCfnBotVersion_Override(c CfnBotVersion, scope constructs.Construct, id *string, props *CfnBotVersionProps)
Create a new `AWS::Lex::BotVersion`.
func NewCfnBot_Override ¶
func NewCfnBot_Override(c CfnBot, scope constructs.Construct, id *string, props *CfnBotProps)
Create a new `AWS::Lex::Bot`.
func NewCfnResourcePolicy_Override ¶
func NewCfnResourcePolicy_Override(c CfnResourcePolicy, scope constructs.Construct, id *string, props *CfnResourcePolicyProps)
Create a new `AWS::Lex::ResourcePolicy`.
Types ¶
type CfnBot ¶
type CfnBot interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttrId() *string AutoBuildBotLocales() interface{} SetAutoBuildBotLocales(val interface{}) BotFileS3Location() interface{} SetBotFileS3Location(val interface{}) BotLocales() interface{} SetBotLocales(val interface{}) BotTags() interface{} SetBotTags(val interface{}) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string DataPrivacy() interface{} SetDataPrivacy(val interface{}) Description() *string SetDescription(val *string) IdleSessionTtlInSeconds() *float64 SetIdleSessionTtlInSeconds(val *float64) LogicalId() *string Name() *string SetName(val *string) Node() constructs.Node Ref() *string RoleArn() *string SetRoleArn(val *string) Stack() awscdk.Stack TestBotAliasTags() interface{} SetTestBotAliasTags(val interface{}) UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Lex::Bot`.
Specifies an Amazon Lex conversational bot.
You must configure an intent based on the AMAZON.FallbackIntent built-in intent. If you don't add one, creating the bot will fail.
TODO: EXAMPLE
func NewCfnBot ¶
func NewCfnBot(scope constructs.Construct, id *string, props *CfnBotProps) CfnBot
Create a new `AWS::Lex::Bot`.
type CfnBotAlias ¶
type CfnBotAlias interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttrBotAliasId() *string AttrBotAliasStatus() *string BotAliasLocaleSettings() interface{} SetBotAliasLocaleSettings(val interface{}) BotAliasName() *string SetBotAliasName(val *string) BotAliasTags() interface{} SetBotAliasTags(val interface{}) BotId() *string SetBotId(val *string) BotVersion() *string SetBotVersion(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string ConversationLogSettings() interface{} SetConversationLogSettings(val interface{}) CreationStack() *[]*string Description() *string SetDescription(val *string) LogicalId() *string Node() constructs.Node Ref() *string SentimentAnalysisSettings() interface{} SetSentimentAnalysisSettings(val interface{}) Stack() awscdk.Stack UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Lex::BotAlias`.
Specifies an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.
For example, you can specify an alias called "PROD" that your applications use to call the Amazon Lex bot.
TODO: EXAMPLE
func NewCfnBotAlias ¶
func NewCfnBotAlias(scope constructs.Construct, id *string, props *CfnBotAliasProps) CfnBotAlias
Create a new `AWS::Lex::BotAlias`.
type CfnBotAliasProps ¶
type CfnBotAliasProps struct { // The name of the bot alias. BotAliasName *string `json:"botAliasName"` // The unique identifier of the bot. BotId *string `json:"botId"` // Maps configuration information to a specific locale. // // You can use this parameter to specify a specific Lambda function to run different functions in different locales. BotAliasLocaleSettings interface{} `json:"botAliasLocaleSettings"` // An array of key-value pairs to apply to this resource. // // You can only add tags when you specify an alias. // // For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . BotAliasTags interface{} `json:"botAliasTags"` // The version of the bot that the bot alias references. BotVersion *string `json:"botVersion"` // Specifies whether Amazon Lex logs text and audio for conversations with the bot. // // When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 . ConversationLogSettings interface{} `json:"conversationLogSettings"` // The description of the bot alias. Description *string `json:"description"` // Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. SentimentAnalysisSettings interface{} `json:"sentimentAnalysisSettings"` }
Properties for defining a `CfnBotAlias`.
TODO: EXAMPLE
type CfnBotAlias_AudioLogDestinationProperty ¶
type CfnBotAlias_AudioLogDestinationProperty struct {
// The S3 bucket location where audio logs are stored.
S3Bucket interface{} `json:"s3Bucket"`
}
Specifies the S3 bucket location where audio logs are stored.
TODO: EXAMPLE
type CfnBotAlias_AudioLogSettingProperty ¶
type CfnBotAlias_AudioLogSettingProperty struct { // The location of audio log files collected when conversation logging is enabled for a bot. Destination interface{} `json:"destination"` // Determines whether audio logging in enabled for the bot. Enabled interface{} `json:"enabled"` }
Settings for logging audio of conversations between Amazon Lex and a user.
You specify whether to log audio and the Amazon S3 bucket where the audio file is stored.
TODO: EXAMPLE
type CfnBotAlias_BotAliasLocaleSettingsItemProperty ¶
type CfnBotAlias_BotAliasLocaleSettingsItemProperty struct { // Specifies settings that are unique to a locale. BotAliasLocaleSetting interface{} `json:"botAliasLocaleSetting"` // The unique identifier of the locale. LocaleId *string `json:"localeId"` }
Specifies settings that are unique to a locale.
For example, you can use different Lambda function depending on the bot's locale.
TODO: EXAMPLE
type CfnBotAlias_BotAliasLocaleSettingsProperty ¶
type CfnBotAlias_BotAliasLocaleSettingsProperty struct { // Determines whether the locale is enabled for the bot. // // If the value is false, the locale isn't available for use. Enabled interface{} `json:"enabled"` // Specifies the Lambda function that should be used in the locale. CodeHookSpecification interface{} `json:"codeHookSpecification"` }
Specifies settings that are unique to a locale.
For example, you can use different Lambda function depending on the bot's locale.
TODO: EXAMPLE
type CfnBotAlias_CloudWatchLogGroupLogDestinationProperty ¶
type CfnBotAlias_CloudWatchLogGroupLogDestinationProperty struct { // The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered. CloudWatchLogGroupArn *string `json:"cloudWatchLogGroupArn"` // The prefix of the log stream name within the log group that you specified. LogPrefix *string `json:"logPrefix"` }
The Amazon CloudWatch Logs log group where the text and metadata logs are delivered.
The log group must exist before you enable logging.
TODO: EXAMPLE
type CfnBotAlias_CodeHookSpecificationProperty ¶
type CfnBotAlias_CodeHookSpecificationProperty struct {
// Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.
LambdaCodeHook interface{} `json:"lambdaCodeHook"`
}
Contains information about code hooks that Amazon Lex calls during a conversation.
TODO: EXAMPLE
type CfnBotAlias_ConversationLogSettingsProperty ¶
type CfnBotAlias_ConversationLogSettingsProperty struct { // The Amazon S3 settings for logging audio to an S3 bucket. AudioLogSettings interface{} `json:"audioLogSettings"` // The Amazon CloudWatch Logs settings for logging text and metadata. TextLogSettings interface{} `json:"textLogSettings"` }
Configures conversation logging that saves audio, text, and metadata for the conversations with your users.
TODO: EXAMPLE
type CfnBotAlias_LambdaCodeHookProperty ¶
type CfnBotAlias_LambdaCodeHookProperty struct { // The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. CodeHookInterfaceVersion *string `json:"codeHookInterfaceVersion"` // The Amazon Resource Name (ARN) of the Lambda function. LambdaArn *string `json:"lambdaArn"` }
Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.
TODO: EXAMPLE
type CfnBotAlias_S3BucketLogDestinationProperty ¶
type CfnBotAlias_S3BucketLogDestinationProperty struct { // The S3 prefix to assign to audio log files. LogPrefix *string `json:"logPrefix"` // The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored. S3BucketArn *string `json:"s3BucketArn"` // The Amazon Resource Name (ARN) of an AWS Key Management Service key for encrypting audio log files stored in an S3 bucket. KmsKeyArn *string `json:"kmsKeyArn"` }
Specifies an Amazon S3 bucket for logging audio conversations.
TODO: EXAMPLE
type CfnBotAlias_TextLogDestinationProperty ¶
type CfnBotAlias_TextLogDestinationProperty struct { }
Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
TODO: EXAMPLE
type CfnBotAlias_TextLogSettingProperty ¶
type CfnBotAlias_TextLogSettingProperty struct { // Defines the Amazon CloudWatch Logs destination log group for conversation text logs. Destination interface{} `json:"destination"` // Determines whether conversation logs should be stored for an alias. Enabled interface{} `json:"enabled"` }
Defines settings to enable conversation logs.
TODO: EXAMPLE
type CfnBotProps ¶
type CfnBotProps struct { // Provides information on additional privacy protections Amazon Lex should use with the bot's data. DataPrivacy interface{} `json:"dataPrivacy"` // The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. // // A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. // // You can specify between 60 (1 minute) and 86,400 (24 hours) seconds. IdleSessionTtlInSeconds *float64 `json:"idleSessionTtlInSeconds"` // The name of the field to filter the list of bots. Name *string `json:"name"` // The Amazon Resource Name (ARN) of the IAM role used to build and run the bot. RoleArn *string `json:"roleArn"` // Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change. AutoBuildBotLocales interface{} `json:"autoBuildBotLocales"` // The Amazon S3 location of files used to import a bot. // // The files must be in the import format specified in [JSON format for importing and exporting](https://docs.aws.amazon.com/lexv2/latest/dg/import-export-format.html) in the *Amazon Lex developer guide.* BotFileS3Location interface{} `json:"botFileS3Location"` // A list of locales for the bot. BotLocales interface{} `json:"botLocales"` // 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. BotTags interface{} `json:"botTags"` // The description of the version. Description *string `json:"description"` // 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. TestBotAliasTags interface{} `json:"testBotAliasTags"` }
Properties for defining a `CfnBot`.
TODO: EXAMPLE
type CfnBotVersion ¶
type CfnBotVersion interface { awscdk.CfnResource awscdk.IInspectable AttrBotVersion() *string BotId() *string SetBotId(val *string) BotVersionLocaleSpecification() interface{} SetBotVersionLocaleSpecification(val interface{}) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string Description() *string SetDescription(val *string) LogicalId() *string Node() constructs.Node Ref() *string Stack() awscdk.Stack UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Lex::BotVersion`.
Specifies a new version of the bot based on the `DRAFT` version. If the `DRAFT` version of this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version, it returns the last created version.
When you specify the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1.
TODO: EXAMPLE
func NewCfnBotVersion ¶
func NewCfnBotVersion(scope constructs.Construct, id *string, props *CfnBotVersionProps) CfnBotVersion
Create a new `AWS::Lex::BotVersion`.
type CfnBotVersionProps ¶
type CfnBotVersionProps struct { // The unique identifier of the bot. BotId *string `json:"botId"` // Specifies the locales that Amazon Lex adds to this version. // // You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version. BotVersionLocaleSpecification interface{} `json:"botVersionLocaleSpecification"` // The description of the version. Description *string `json:"description"` }
Properties for defining a `CfnBotVersion`.
TODO: EXAMPLE
type CfnBotVersion_BotVersionLocaleDetailsProperty ¶
type CfnBotVersion_BotVersionLocaleDetailsProperty struct { // The version of a bot used for a bot locale. SourceBotVersion *string `json:"sourceBotVersion"` }
The version of a bot used for a bot locale.
TODO: EXAMPLE
type CfnBotVersion_BotVersionLocaleSpecificationProperty ¶
type CfnBotVersion_BotVersionLocaleSpecificationProperty struct { // `CfnBotVersion.BotVersionLocaleSpecificationProperty.BotVersionLocaleDetails`. BotVersionLocaleDetails interface{} `json:"botVersionLocaleDetails"` // `CfnBotVersion.BotVersionLocaleSpecificationProperty.LocaleId`. LocaleId *string `json:"localeId"` }
TODO: EXAMPLE
type CfnBot_BotLocaleProperty ¶
type CfnBot_BotLocaleProperty struct { // The identifier of the language and locale that the bot will be used in. // // The string must match one of the supported locales. LocaleId *string `json:"localeId"` // Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents. You must configure an AMAZON.FallbackIntent. AMAZON.KendraSearchIntent is only inserted if it is configured for the bot. NluConfidenceThreshold *float64 `json:"nluConfidenceThreshold"` // A description of the bot locale. // // Use this to help identify the bot locale in lists. Description *string `json:"description"` // One or more intents defined for the locale. Intents interface{} `json:"intents"` // One or more slot types defined for the locale. SlotTypes interface{} `json:"slotTypes"` // Identifies the Amazon Polly voice used for audio interaction with the user. VoiceSettings interface{} `json:"voiceSettings"` }
Provides configuration information for a locale.
TODO: EXAMPLE
type CfnBot_ButtonProperty ¶
type CfnBot_ButtonProperty struct { // The text that appears on the button. // // Use this to tell the user the value that is returned when they choose this button. Text *string `json:"text"` // The value returned to Amazon Lex when the user chooses this button. // // This must be one of the slot values configured for the slot. Value *string `json:"value"` }
Describes a button to use on a response card used to gather slot values from a user.
TODO: EXAMPLE
type CfnBot_CustomPayloadProperty ¶
type CfnBot_CustomPayloadProperty struct { // The string that is sent to your application. Value *string `json:"value"` }
A custom response string that Amazon Lex sends to your application.
You define the content and structure of the string.
TODO: EXAMPLE
type CfnBot_DialogCodeHookSettingProperty ¶
type CfnBot_DialogCodeHookSettingProperty struct {
// Indicates whether an intent uses the dialog code hook during a conversation with a user.
Enabled interface{} `json:"enabled"`
}
Specifies whether an intent uses the dialog code hook during conversations with a user.
TODO: EXAMPLE
type CfnBot_ExternalSourceSettingProperty ¶
type CfnBot_ExternalSourceSettingProperty struct {
// `CfnBot.ExternalSourceSettingProperty.GrammarSlotTypeSetting`.
GrammarSlotTypeSetting interface{} `json:"grammarSlotTypeSetting"`
}
TODO: EXAMPLE
type CfnBot_FulfillmentCodeHookSettingProperty ¶
type CfnBot_FulfillmentCodeHookSettingProperty struct { // Indicates whether a Lambda function should be invoked for fulfill a specific intent. Enabled interface{} `json:"enabled"` // Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. // // Fulfillment updates can be used only with streaming conversations. FulfillmentUpdatesSpecification interface{} `json:"fulfillmentUpdatesSpecification"` // Provides settings for messages sent to the user for after the Lambda fulfillment function completes. // // Post-fulfillment messages can be sent for both streaming and non-streaming conversations. PostFulfillmentStatusSpecification interface{} `json:"postFulfillmentStatusSpecification"` }
Determines if a Lambda function should be invoked for a specific intent.
TODO: EXAMPLE
type CfnBot_FulfillmentStartResponseSpecificationProperty ¶
type CfnBot_FulfillmentStartResponseSpecificationProperty struct { // The delay between when the Lambda fulfillment function starts running and the start message is played. // // If the Lambda function returns before the delay is over, the start message isn't played. DelayInSeconds *float64 `json:"delayInSeconds"` // One to 5 message groups that contain start messages. // // Amazon Lex chooses one of the messages to play to the user. MessageGroups interface{} `json:"messageGroups"` // Determines whether the user can interrupt the start message while it is playing. AllowInterrupt interface{} `json:"allowInterrupt"` }
Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
TODO: EXAMPLE
type CfnBot_FulfillmentUpdateResponseSpecificationProperty ¶
type CfnBot_FulfillmentUpdateResponseSpecificationProperty struct { // The frequency that a message is sent to the user. // // When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda function returns before the first period ends, an update message is not played to the user. FrequencyInSeconds *float64 `json:"frequencyInSeconds"` // One to 5 message groups that contain update messages. // // Amazon Lex chooses one of the messages to play to the user. MessageGroups interface{} `json:"messageGroups"` // Determines whether the user can interrupt an update message while it is playing. AllowInterrupt interface{} `json:"allowInterrupt"` }
Provides information for updating the user on the progress of fulfilling an intent.
TODO: EXAMPLE
type CfnBot_FulfillmentUpdatesSpecificationProperty ¶
type CfnBot_FulfillmentUpdatesSpecificationProperty struct { // Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent. // // If the active field is set to true, the `startResponse` , `updateResponse` , and `timeoutInSeconds` fields are required. Active interface{} `json:"active"` // Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running. StartResponse interface{} `json:"startResponse"` // The length of time that the fulfillment Lambda function should run before it times out. TimeoutInSeconds *float64 `json:"timeoutInSeconds"` // Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running. UpdateResponse interface{} `json:"updateResponse"` }
Provides information for updating the user on the progress of fulfilling an intent.
TODO: EXAMPLE
type CfnBot_GrammarSlotTypeSettingProperty ¶
type CfnBot_GrammarSlotTypeSettingProperty struct {
// `CfnBot.GrammarSlotTypeSettingProperty.Source`.
Source interface{} `json:"source"`
}
TODO: EXAMPLE
type CfnBot_GrammarSlotTypeSourceProperty ¶
type CfnBot_GrammarSlotTypeSourceProperty struct { // `CfnBot.GrammarSlotTypeSourceProperty.S3BucketName`. S3BucketName *string `json:"s3BucketName"` // `CfnBot.GrammarSlotTypeSourceProperty.S3ObjectKey`. S3ObjectKey *string `json:"s3ObjectKey"` // `CfnBot.GrammarSlotTypeSourceProperty.KmsKeyArn`. KmsKeyArn *string `json:"kmsKeyArn"` }
TODO: EXAMPLE
type CfnBot_ImageResponseCardProperty ¶
type CfnBot_ImageResponseCardProperty struct { // The title to display on the response card. // // The format of the title is determined by the platform displaying the response card. Title *string `json:"title"` // A list of buttons that should be displayed on the response card. // // The arrangement of the buttons is determined by the platform that displays the buttons. Buttons interface{} `json:"buttons"` // The URL of an image to display on the response card. // // The image URL must be publicly available so that the platform displaying the response card has access to the image. ImageUrl *string `json:"imageUrl"` // The subtitle to display on the response card. // // The format of the subtitle is determined by the platform displaying the response card. Subtitle *string `json:"subtitle"` }
A card that is shown to the user by a messaging platform.
You define the contents of the card, the card is displayed by the platform.
When you use a response card, the response from the user is constrained to the text associated with a button on the card.
TODO: EXAMPLE
type CfnBot_InputContextProperty ¶
type CfnBot_InputContextProperty struct { // The name of the context. Name *string `json:"name"` }
The name of a context that must be active for an intent to be selected by Amazon Lex .
TODO: EXAMPLE
type CfnBot_IntentClosingSettingProperty ¶
type CfnBot_IntentClosingSettingProperty struct { // The response that Amazon Lex sends to the user when the intent is complete. ClosingResponse interface{} `json:"closingResponse"` // Specifies whether an intent's closing response is used. // // When this field is false, the closing response isn't sent to the user and no closing input from the user is used. If the IsActive field isn't specified, the default is true. IsActive interface{} `json:"isActive"` }
Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
TODO: EXAMPLE
type CfnBot_IntentConfirmationSettingProperty ¶
type CfnBot_IntentConfirmationSettingProperty struct { // When the user answers "no" to the question defined in PromptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled. DeclinationResponse interface{} `json:"declinationResponse"` // Prompts the user to confirm the intent. // // This question should have a yes or no answer. PromptSpecification interface{} `json:"promptSpecification"` // Specifies whether the intent's confirmation is sent to the user. // // When this field is false, confirmation and declination responses aren't sent and processing continues as if the responses aren't present. If the active field isn't specified, the default is true. IsActive interface{} `json:"isActive"` }
Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
TODO: EXAMPLE
type CfnBot_IntentProperty ¶
type CfnBot_IntentProperty struct { // 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. Name *string `json:"name"` // A description of the intent. // // Use the description to help identify the intent in lists. Description *string `json:"description"` // Specifies that Amazon Lex invokes the alias Lambda function for each user input. // // You can invoke this Lambda function to personalize user interaction. DialogCodeHook interface{} `json:"dialogCodeHook"` // 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. FulfillmentCodeHook interface{} `json:"fulfillmentCodeHook"` // A list of contexts that must be active for this intent to be considered by Amazon Lex . InputContexts interface{} `json:"inputContexts"` // Sets the response that Amazon Lex sends to the user when the intent is closed. IntentClosingSetting interface{} `json:"intentClosingSetting"` // Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent. // // If the user answers "no," the settings contain a statement that is sent to the user to end the intent. IntentConfirmationSetting interface{} `json:"intentConfirmationSetting"` // Configuration information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called with Amazon Lex can't determine another intent to invoke. KendraConfiguration interface{} `json:"kendraConfiguration"` // A list of contexts that the intent activates when it is fulfilled. OutputContexts interface{} `json:"outputContexts"` // A unique identifier for the built-in intent to base this intent on. ParentIntentSignature *string `json:"parentIntentSignature"` // A list of utterances that a user might say to signal the intent. SampleUtterances interface{} `json:"sampleUtterances"` // Indicates the priority for slots. // // Amazon Lex prompts the user for slot values in priority order. SlotPriorities interface{} `json:"slotPriorities"` // A list of slots that the intent requires for fulfillment. Slots interface{} `json:"slots"` }
Represents an action that the user wants to perform.
TODO: EXAMPLE
type CfnBot_KendraConfigurationProperty ¶
type CfnBot_KendraConfigurationProperty struct { // The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot. KendraIndex *string `json:"kendraIndex"` // A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. // // The filter is in the format defined by Amazon Kendra. QueryFilterString *string `json:"queryFilterString"` // Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index. QueryFilterStringEnabled interface{} `json:"queryFilterStringEnabled"` }
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.
TODO: EXAMPLE
type CfnBot_MessageGroupProperty ¶
type CfnBot_MessageGroupProperty struct { // The primary message that Amazon Lex should send to the user. Message interface{} `json:"message"` // Message variations to send to the user. // // When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. Variations interface{} `json:"variations"` }
Provides one or more messages that Amazon Lex should send to the user.
TODO: EXAMPLE
type CfnBot_MessageProperty ¶
type CfnBot_MessageProperty struct { // A message in a custom format defined by the client application. CustomPayload interface{} `json:"customPayload"` // A message that defines a response card that the client application can show to the user. ImageResponseCard interface{} `json:"imageResponseCard"` // A message in plain text format. PlainTextMessage interface{} `json:"plainTextMessage"` // A message in Speech Synthesis Markup Language (SSML) format. SsmlMessage interface{} `json:"ssmlMessage"` }
The object that provides message text and it's type.
TODO: EXAMPLE
type CfnBot_MultipleValuesSettingProperty ¶
type CfnBot_MultipleValuesSettingProperty struct { // Indicates whether a slot can return multiple values. // // When true, the slot may return more than one value in a response. When false, the slot returns only a single value. If AllowMultipleValues is not set, the default value is false. // // Multi-value slots are only available in the en-US locale. AllowMultipleValues interface{} `json:"allowMultipleValues"` }
Indicates whether a slot can return multiple values.
TODO: EXAMPLE
type CfnBot_ObfuscationSettingProperty ¶
type CfnBot_ObfuscationSettingProperty struct { // Value that determines whether Amazon Lex obscures slot values in conversation logs. // // The default is to obscure the values. ObfuscationSettingType *string `json:"obfuscationSettingType"` }
Determines whether Amazon Lex obscures slot values in conversation logs.
TODO: EXAMPLE
type CfnBot_OutputContextProperty ¶
type CfnBot_OutputContextProperty struct { // The name of the output context. Name *string `json:"name"` // The amount of time, in seconds, that the output context should remain active. // // The time is figured from the first time the context is sent to the user. TimeToLiveInSeconds *float64 `json:"timeToLiveInSeconds"` // The number of conversation turns that the output context should remain active. // // The number of turns is counted from the first time that the context is sent to the user. TurnsToLive *float64 `json:"turnsToLive"` }
Describes a session context that is activated when an intent is fulfilled.
TODO: EXAMPLE
type CfnBot_PlainTextMessageProperty ¶
type CfnBot_PlainTextMessageProperty struct { // The message to send to the user. Value *string `json:"value"` }
Defines an ASCII text message to send to the user.
TODO: EXAMPLE
type CfnBot_PostFulfillmentStatusSpecificationProperty ¶
type CfnBot_PostFulfillmentStatusSpecificationProperty struct { // Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't successful. FailureResponse interface{} `json:"failureResponse"` // Specifies a list of message groups that Amazon Lex uses to respond when the fulfillment is successful. SuccessResponse interface{} `json:"successResponse"` // Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't completed within the timeout period. TimeoutResponse interface{} `json:"timeoutResponse"` }
Provides a setting that determines whether the post-fulfillment response is sent to the user.
For more information, see [Post-fulfillment response](https://docs.aws.amazon.com/latest/dg/streaming-progress.html#progress-complete) in the *Amazon Lex developer guide* .
TODO: EXAMPLE
type CfnBot_PromptSpecificationProperty ¶
type CfnBot_PromptSpecificationProperty struct { // The maximum number of times the bot tries to elicit a response from the user using this prompt. MaxRetries *float64 `json:"maxRetries"` // A collection of responses that Amazon Lex can send to the user. // // Amazon Lex chooses the actual response to send at runtime. MessageGroupsList interface{} `json:"messageGroupsList"` // Indicates whether the user can interrupt a speech prompt from the bot. AllowInterrupt interface{} `json:"allowInterrupt"` }
Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.
TODO: EXAMPLE
type CfnBot_ResponseSpecificationProperty ¶
type CfnBot_ResponseSpecificationProperty struct { // A collection of responses that Amazon Lex can send to the user. // // Amazon Lex chooses the actual response to send at runtime. MessageGroupsList interface{} `json:"messageGroupsList"` // Indicates whether the user can interrupt a speech response from Amazon Lex . AllowInterrupt interface{} `json:"allowInterrupt"` }
Specifies a list of message groups that Amazon Lex uses to respond to user input.
TODO: EXAMPLE
type CfnBot_S3LocationProperty ¶
type CfnBot_S3LocationProperty struct { // The S3 bucket name. S3Bucket *string `json:"s3Bucket"` // The path and file name to the object in the S3 bucket. S3ObjectKey *string `json:"s3ObjectKey"` // The version of the object in the S3 bucket. S3ObjectVersion *string `json:"s3ObjectVersion"` }
Defines an Amazon S3 bucket location.
TODO: EXAMPLE
type CfnBot_SSMLMessageProperty ¶
type CfnBot_SSMLMessageProperty struct { // The SSML text that defines the prompt. Value *string `json:"value"` }
Defines a Speech Synthesis Markup Language (SSML) prompt.
TODO: EXAMPLE
type CfnBot_SampleUtteranceProperty ¶
type CfnBot_SampleUtteranceProperty struct { // The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents. Utterance *string `json:"utterance"` }
A sample utterance that invokes and intent or responds to a slot elicitation prompt.
TODO: EXAMPLE
type CfnBot_SampleValueProperty ¶
type CfnBot_SampleValueProperty struct { // The value that can be used for a slot type. Value *string `json:"value"` }
Defines one of the values for a slot type.
TODO: EXAMPLE
type CfnBot_SlotDefaultValueProperty ¶
type CfnBot_SlotDefaultValueProperty struct { // The default value to use when a user doesn't provide a value for a slot. DefaultValue *string `json:"defaultValue"` }
Specifies the default value to use when a user doesn't provide a value for a slot.
TODO: EXAMPLE
type CfnBot_SlotDefaultValueSpecificationProperty ¶
type CfnBot_SlotDefaultValueSpecificationProperty struct { // A list of default values. // // Amazon Lex chooses the default value to use in the order that they are presented in the list. DefaultValueList interface{} `json:"defaultValueList"` }
Defines a list of values that Amazon Lex should use as the default value for a slot.
TODO: EXAMPLE
type CfnBot_SlotPriorityProperty ¶
type CfnBot_SlotPriorityProperty struct { // The priority that Amazon Lex should apply to the slot. Priority *float64 `json:"priority"` // The name of the slot. SlotName *string `json:"slotName"` }
Sets the priority that Amazon Lex should use when eliciting slots values from a user.
TODO: EXAMPLE
type CfnBot_SlotProperty ¶
type CfnBot_SlotProperty struct { // The name of the slot. Name *string `json:"name"` // The name of the slot type that this slot is based on. // // The slot type defines the acceptable values for the slot. SlotTypeName *string `json:"slotTypeName"` // Determines the slot resolution strategy that Amazon Lex uses to return slot type values. // // The field can be set to one of the following values: // // - OriginalValue - Returns the value entered by the user, if the user value is similar to a slot value. // - TopResolution - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. // // If you don't specify the valueSelectionStrategy, the default is OriginalValue. ValueElicitationSetting interface{} `json:"valueElicitationSetting"` // A description of the slot type. Description *string `json:"description"` // Determines whether the slot can return multiple values to the application. MultipleValuesSetting interface{} `json:"multipleValuesSetting"` // 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. ObfuscationSetting interface{} `json:"obfuscationSetting"` }
Specifies the definition of a slot.
Amazon Lex elicits slot values from uses to fulfill the user's intent.
TODO: EXAMPLE
type CfnBot_SlotTypeProperty ¶
type CfnBot_SlotTypeProperty struct { // The name of the slot type. // // A slot type name must be unique withing the account. Name *string `json:"name"` // A description of the slot type. // // Use the description to help identify the slot type in lists. Description *string `json:"description"` // `CfnBot.SlotTypeProperty.ExternalSourceSetting`. ExternalSourceSetting interface{} `json:"externalSourceSetting"` // 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. ParentSlotTypeSignature *string `json:"parentSlotTypeSignature"` // A list of SlotTypeValue objects that defines the values that the slot type can take. // // Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for the slot. SlotTypeValues interface{} `json:"slotTypeValues"` // Determines the slot resolution strategy that Amazon Lex uses to return slot type values. // // The field can be set to one of the following values: // // - OriginalValue - Returns the value entered by the user, if the user value is similar to a slot value. // - TopResolution - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. // // If you don't specify the valueSelectionStrategy, the default is OriginalValue. ValueSelectionSetting interface{} `json:"valueSelectionSetting"` }
Describes a slot type.
TODO: EXAMPLE
type CfnBot_SlotTypeValueProperty ¶
type CfnBot_SlotTypeValueProperty struct { // The value of the slot type entry. SampleValue interface{} `json:"sampleValue"` // Additional values related to the slot type entry. Synonyms interface{} `json:"synonyms"` }
Each slot type can have a set of values.
The `SlotTypeValue` represents a value that the slot type can take.
TODO: EXAMPLE
type CfnBot_SlotValueElicitationSettingProperty ¶
type CfnBot_SlotValueElicitationSettingProperty struct { // Specifies whether the slot is required or optional. SlotConstraint *string `json:"slotConstraint"` // A list of default values for a slot. // // Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values. DefaultValueSpecification interface{} `json:"defaultValueSpecification"` // The prompt that Amazon Lex uses to elicit the slot value from the user. PromptSpecification interface{} `json:"promptSpecification"` // If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. // // This is optional. In most cases Amazon Lex is capable of understanding user utterances. SampleUtterances interface{} `json:"sampleUtterances"` // Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input. WaitAndContinueSpecification interface{} `json:"waitAndContinueSpecification"` }
Settings that you can use for eliciting a slot value.
TODO: EXAMPLE
type CfnBot_SlotValueRegexFilterProperty ¶
type CfnBot_SlotValueRegexFilterProperty struct { // A regular expression used to validate the value of a slot. // // Use a standard regular expression. Amazon Lex supports the following characters in the regular expression: // // - A-Z, a-z // - 0-9 // - Unicode characters ("\ u<Unicode>") // // Represent Unicode characters with four digits, for example "]u0041" or "\ u005A". // // The following regular expression operators are not supported: // // - Infinite repeaters: *, +, or {x,} with no upper bound // - Wild card (.) Pattern *string `json:"pattern"` }
Provides a regular expression used to validate the value of a slot.
TODO: EXAMPLE
type CfnBot_SlotValueSelectionSettingProperty ¶
type CfnBot_SlotValueSelectionSettingProperty struct { // Determines the slot resolution strategy that Amazon Lex uses to return slot type values. // // The field can be set to one of the following values: // // - OriginalValue - Returns the value entered by the user, if the user value is similar to a slot value. // - TopResolution - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. // // If you don't specify the valueSelectionStrategy, the default is OriginalValue. ResolutionStrategy *string `json:"resolutionStrategy"` // A regular expression used to validate the value of a slot. RegexFilter interface{} `json:"regexFilter"` }
Contains settings used by Amazon Lex to select a slot value.
TODO: EXAMPLE
type CfnBot_StillWaitingResponseSpecificationProperty ¶
type CfnBot_StillWaitingResponseSpecificationProperty struct { // How often a message should be sent to the user. // // Minimum of 1 second, maximum of 5 minutes. FrequencyInSeconds *float64 `json:"frequencyInSeconds"` // A collection of responses that Amazon Lex can send to the user. // // Amazon Lex chooses the actual response to send at runtime. MessageGroupsList interface{} `json:"messageGroupsList"` // If Amazon Lex waits longer than this length of time for a response, it will stop sending messages. TimeoutInSeconds *float64 `json:"timeoutInSeconds"` // Indicates that the user can interrupt the response by speaking while the message is being played. AllowInterrupt interface{} `json:"allowInterrupt"` }
Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
TODO: EXAMPLE
type CfnBot_VoiceSettingsProperty ¶
type CfnBot_VoiceSettingsProperty struct { // The Amazon Polly voice used for voice interaction with the user. VoiceId *string `json:"voiceId"` }
Identifies the Amazon Polly voice used for audio interaction with the user.
TODO: EXAMPLE
type CfnBot_WaitAndContinueSpecificationProperty ¶
type CfnBot_WaitAndContinueSpecificationProperty struct { // The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation. ContinueResponse interface{} `json:"continueResponse"` // The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue. WaitingResponse interface{} `json:"waitingResponse"` // Specifies whether the bot will wait for a user to respond. // // When this field is false, wait and continue responses for a slot aren't used and the bot expects an appropriate response within the configured timeout. If the IsActive field isn't specified, the default is true. IsActive interface{} `json:"isActive"` // A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user. StillWaitingResponse interface{} `json:"stillWaitingResponse"` }
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
TODO: EXAMPLE
type CfnResourcePolicy ¶
type CfnResourcePolicy interface { awscdk.CfnResource awscdk.IInspectable AttrId() *string AttrRevisionId() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() constructs.Node Policy() interface{} SetPolicy(val interface{}) Ref() *string ResourceArn() *string SetResourceArn(val *string) Stack() awscdk.Stack UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Lex::ResourcePolicy`.
Specifies a new resource policy with the specified policy statements.
TODO: EXAMPLE
func NewCfnResourcePolicy ¶
func NewCfnResourcePolicy(scope constructs.Construct, id *string, props *CfnResourcePolicyProps) CfnResourcePolicy
Create a new `AWS::Lex::ResourcePolicy`.
type CfnResourcePolicyProps ¶
type CfnResourcePolicyProps struct { // A resource policy to add to the resource. // // The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow IAM syntax. If the policy isn't valid, Amazon Lex returns a validation exception. Policy interface{} `json:"policy"` // The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. ResourceArn *string `json:"resourceArn"` }
Properties for defining a `CfnResourcePolicy`.
TODO: EXAMPLE
type CfnResourcePolicy_PolicyProperty ¶
type CfnResourcePolicy_PolicyProperty struct { }
TODO: EXAMPLE