SampleValueProperty Struct
Defines one of the values for a slot type.
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 sampleValueProperty: lex.CfnBot.SampleValueProperty = {
value: 'value',
};
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
sample_value_property = lex.CfnBot.SampleValueProperty(
value="value"
)
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.*;
SampleValueProperty sampleValueProperty = SampleValueProperty.builder()
.value("value")
.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 sampleValueProperty = new SampleValueProperty {
Value = "value"
};
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"
sampleValueProperty := &SampleValueProperty{
Value: jsii.String("value"),
}
Properties
The value that can be used for a slot type.