Skip to content
v2.278.0

AdvancedRecognitionSettingProperty Struct ​

Provides settings that enable advanced recognition settings for slot values.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const advancedRecognitionSettingProperty: lex.CfnBot.AdvancedRecognitionSettingProperty = {
  audioRecognitionStrategy: 'audioRecognitionStrategy',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex

advanced_recognition_setting_property = lex.CfnBot.AdvancedRecognitionSettingProperty(
    audio_recognition_strategy="audioRecognitionStrategy"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;

AdvancedRecognitionSettingProperty advancedRecognitionSettingProperty = AdvancedRecognitionSettingProperty.builder()
        .audioRecognitionStrategy("audioRecognitionStrategy")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;

var advancedRecognitionSettingProperty = new AdvancedRecognitionSettingProperty {
    AudioRecognitionStrategy = "audioRecognitionStrategy"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

advancedRecognitionSettingProperty := &AdvancedRecognitionSettingProperty{
	AudioRecognitionStrategy: jsii.String("audioRecognitionStrategy"),
}

Properties ​

audioRecognitionStrategyoptionalstringaudio_recognition_strategyoptionalstraudioRecognitionStrategyoptionalStringAudioRecognitionStrategyoptionalstringAudioRecognitionStrategyoptional*string #
Enables using the slot values as a custom vocabulary for recognizing user utterances.