Class CfnBotAliasPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotAliasPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:00.948Z")
@Stability(Stable)
public class CfnBotAliasPropsMixin
extends Mixin
implements software.constructs.IMixin
Amazon Lex V2 is the only supported version in CloudFormation .
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lex.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
Object sentimentAnalysisSettings;
CfnBotAliasPropsMixin cfnBotAliasPropsMixin = CfnBotAliasPropsMixin.Builder.create(CfnBotAliasMixinProps.builder()
.botAliasLocaleSettings(List.of(BotAliasLocaleSettingsItemProperty.builder()
.botAliasLocaleSetting(BotAliasLocaleSettingsProperty.builder()
.codeHookSpecification(CodeHookSpecificationProperty.builder()
.lambdaCodeHook(LambdaCodeHookProperty.builder()
.codeHookInterfaceVersion("codeHookInterfaceVersion")
.lambdaArn("lambdaArn")
.build())
.build())
.enabled(false)
.build())
.localeId("localeId")
.build()))
.botAliasName("botAliasName")
.botAliasTags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.botId("botId")
.botVersion("botVersion")
.conversationLogSettings(ConversationLogSettingsProperty.builder()
.audioLogSettings(List.of(AudioLogSettingProperty.builder()
.destination(AudioLogDestinationProperty.builder()
.s3Bucket(S3BucketLogDestinationProperty.builder()
.kmsKeyArn("kmsKeyArn")
.logPrefix("logPrefix")
.s3BucketArn("s3BucketArn")
.build())
.build())
.enabled(false)
.build()))
.textLogSettings(List.of(TextLogSettingProperty.builder()
.destination(TextLogDestinationProperty.builder()
.cloudWatch(CloudWatchLogGroupLogDestinationProperty.builder()
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.logPrefix("logPrefix")
.build())
.build())
.enabled(false)
.build()))
.build())
.description("description")
.sentimentAnalysisSettings(sentimentAnalysisSettings)
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceSpecifies the S3 bucket location where audio logs are stored.static interfaceSettings for logging audio of conversations between Amazon Lex and a user.static interfaceSpecifies settings that are unique to a locale.static interfaceSpecifies settings that are unique to a locale.static final classA fluent builder forCfnBotAliasPropsMixin.static interfaceThe Amazon CloudWatch Logs log group where the text and metadata logs are delivered.static interfaceContains information about code hooks that Amazon Lex calls during a conversation.static interfaceConfigures conversation logging that saves audio, text, and metadata for the conversations with your users.static interfaceSpecifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.static interfaceSpecifies an Amazon S3 bucket for logging audio conversations.static interfaceDetermines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.static interfaceDefines the Amazon CloudWatch Logs destination log group for conversation text logs.static interfaceDefines settings to enable text conversation logs.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Lex::BotAlias.CfnBotAliasPropsMixin(CfnBotAliasMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Lex::BotAlias.protectedCfnBotAliasPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnBotAliasPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnBotAliasMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnBotAliasPropsMixin
protected CfnBotAliasPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnBotAliasPropsMixin
protected CfnBotAliasPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnBotAliasPropsMixin
@Stability(Stable) public CfnBotAliasPropsMixin(@NotNull CfnBotAliasMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Lex::BotAlias.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnBotAliasPropsMixin
Create a mixin to apply properties toAWS::Lex::BotAlias.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-