SlotValueProperty Struct
The value to set in a slot.
| Source | |
|---|---|
| Type last changed |
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 slotValueProperty: lex.CfnBot.SlotValueProperty = {
interpretedValue: 'interpretedValue',
};
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
slot_value_property = lex.CfnBot.SlotValueProperty(
interpreted_value="interpretedValue"
)
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.*;
SlotValueProperty slotValueProperty = SlotValueProperty.builder()
.interpretedValue("interpretedValue")
.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 slotValueProperty = new SlotValueProperty {
InterpretedValue = "interpretedValue"
};
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"
slotValueProperty := &SlotValueProperty{
InterpretedValue: jsii.String("interpretedValue"),
}
Properties
interpretedValueoptionalstringinterpreted_valueoptionalstrinterpretedValueoptionalStringInterpretedValueoptionalstringInterpretedValueoptional*string #The value that Amazon Lex determines for the slot.
The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.