ConfigurationProperty Struct
A structure that contains configuration data.
| 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_chime as chime } from 'aws-cdk-lib';
const configurationProperty: chime.CfnAppInstanceBot.ConfigurationProperty = {
lex: {
lexBotAliasArn: 'lexBotAliasArn',
localeId: 'localeId',
// the properties below are optional
invokedBy: {
standardMessages: 'standardMessages',
targetedMessages: 'targetedMessages',
},
respondsTo: 'respondsTo',
welcomeIntent: 'welcomeIntent',
},
};
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_chime as chime
configuration_property = chime.CfnAppInstanceBot.ConfigurationProperty(
lex=chime.CfnAppInstanceBot.LexConfigurationProperty(
lex_bot_alias_arn="lexBotAliasArn",
locale_id="localeId",
# the properties below are optional
invoked_by=chime.CfnAppInstanceBot.InvokedByProperty(
standard_messages="standardMessages",
targeted_messages="targetedMessages"
),
responds_to="respondsTo",
welcome_intent="welcomeIntent"
)
)
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.chime.*;
ConfigurationProperty configurationProperty = ConfigurationProperty.builder()
.lex(LexConfigurationProperty.builder()
.lexBotAliasArn("lexBotAliasArn")
.localeId("localeId")
// the properties below are optional
.invokedBy(InvokedByProperty.builder()
.standardMessages("standardMessages")
.targetedMessages("targetedMessages")
.build())
.respondsTo("respondsTo")
.welcomeIntent("welcomeIntent")
.build())
.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.Chime;
var configurationProperty = new ConfigurationProperty {
Lex = new LexConfigurationProperty {
LexBotAliasArn = "lexBotAliasArn",
LocaleId = "localeId",
// the properties below are optional
InvokedBy = new InvokedByProperty {
StandardMessages = "standardMessages",
TargetedMessages = "targetedMessages"
},
RespondsTo = "respondsTo",
WelcomeIntent = "welcomeIntent"
}
};
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"
configurationProperty := &ConfigurationProperty{
Lex: &LexConfigurationProperty{
LexBotAliasArn: jsii.String("lexBotAliasArn"),
LocaleId: jsii.String("localeId"),
// the properties below are optional
InvokedBy: &InvokedByProperty{
StandardMessages: jsii.String("standardMessages"),
TargetedMessages: jsii.String("targetedMessages"),
},
RespondsTo: jsii.String("respondsTo"),
WelcomeIntent: jsii.String("welcomeIntent"),
},
}
Properties
lexIResolvable | CfnAppInstanceBot.lextyping.Union[IResolvable, LexConfigurationProperty]lexIResolvableLexIResolvableLexinterface{} required #The configuration for an Amazon Lex V2 bot.