1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lex
  5. getBotAlias

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.lex.getBotAlias

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

A Bot Alias enables you to change the version of a bot without updating applications that use the bot

Using getBotAlias

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getBotAlias(args: GetBotAliasArgs, opts?: InvokeOptions): Promise<GetBotAliasResult>
function getBotAliasOutput(args: GetBotAliasOutputArgs, opts?: InvokeOptions): Output<GetBotAliasResult>
Copy
def get_bot_alias(bot_alias_id: Optional[str] = None,
                  bot_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetBotAliasResult
def get_bot_alias_output(bot_alias_id: Optional[pulumi.Input[str]] = None,
                  bot_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetBotAliasResult]
Copy
func LookupBotAlias(ctx *Context, args *LookupBotAliasArgs, opts ...InvokeOption) (*LookupBotAliasResult, error)
func LookupBotAliasOutput(ctx *Context, args *LookupBotAliasOutputArgs, opts ...InvokeOption) LookupBotAliasResultOutput
Copy

> Note: This function is named LookupBotAlias in the Go SDK.

public static class GetBotAlias 
{
    public static Task<GetBotAliasResult> InvokeAsync(GetBotAliasArgs args, InvokeOptions? opts = null)
    public static Output<GetBotAliasResult> Invoke(GetBotAliasInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBotAliasResult> getBotAlias(GetBotAliasArgs args, InvokeOptions options)
public static Output<GetBotAliasResult> getBotAlias(GetBotAliasArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:lex:getBotAlias
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BotAliasId This property is required. string
The unique identifier of the bot alias.
BotId This property is required. string
The unique identifier of the bot.
BotAliasId This property is required. string
The unique identifier of the bot alias.
BotId This property is required. string
The unique identifier of the bot.
botAliasId This property is required. String
The unique identifier of the bot alias.
botId This property is required. String
The unique identifier of the bot.
botAliasId This property is required. string
The unique identifier of the bot alias.
botId This property is required. string
The unique identifier of the bot.
bot_alias_id This property is required. str
The unique identifier of the bot alias.
bot_id This property is required. str
The unique identifier of the bot.
botAliasId This property is required. String
The unique identifier of the bot alias.
botId This property is required. String
The unique identifier of the bot.

getBotAlias Result

The following output properties are available:

Arn string
The Amazon Resource Name (ARN) of the bot alias.
BotAliasId string
The unique identifier of the bot alias.
BotAliasLocaleSettings List<Pulumi.AwsNative.Lex.Outputs.BotAliasLocaleSettingsItem>
Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
BotAliasName string
The name of the bot alias.
BotAliasStatus Pulumi.AwsNative.Lex.BotAliasStatus
The current status of the bot alias. When the status is Available the alias is ready for use with your bot.
BotVersion string
The version of the bot that the bot alias references.
ConversationLogSettings Pulumi.AwsNative.Lex.Outputs.BotAliasConversationLogSettings
Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .
Description string
The description of the bot alias.
SentimentAnalysisSettings Pulumi.AwsNative.Lex.Outputs.SentimentAnalysisSettingsProperties
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
Arn string
The Amazon Resource Name (ARN) of the bot alias.
BotAliasId string
The unique identifier of the bot alias.
BotAliasLocaleSettings []BotAliasLocaleSettingsItem
Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
BotAliasName string
The name of the bot alias.
BotAliasStatus BotAliasStatus
The current status of the bot alias. When the status is Available the alias is ready for use with your bot.
BotVersion string
The version of the bot that the bot alias references.
ConversationLogSettings BotAliasConversationLogSettings
Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .
Description string
The description of the bot alias.
SentimentAnalysisSettings SentimentAnalysisSettingsProperties
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
arn String
The Amazon Resource Name (ARN) of the bot alias.
botAliasId String
The unique identifier of the bot alias.
botAliasLocaleSettings List<BotAliasLocaleSettingsItem>
Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
botAliasName String
The name of the bot alias.
botAliasStatus BotAliasStatus
The current status of the bot alias. When the status is Available the alias is ready for use with your bot.
botVersion String
The version of the bot that the bot alias references.
conversationLogSettings BotAliasConversationLogSettings
Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .
description String
The description of the bot alias.
sentimentAnalysisSettings SentimentAnalysisSettingsProperties
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
arn string
The Amazon Resource Name (ARN) of the bot alias.
botAliasId string
The unique identifier of the bot alias.
botAliasLocaleSettings BotAliasLocaleSettingsItem[]
Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
botAliasName string
The name of the bot alias.
botAliasStatus BotAliasStatus
The current status of the bot alias. When the status is Available the alias is ready for use with your bot.
botVersion string
The version of the bot that the bot alias references.
conversationLogSettings BotAliasConversationLogSettings
Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .
description string
The description of the bot alias.
sentimentAnalysisSettings SentimentAnalysisSettingsProperties
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
arn str
The Amazon Resource Name (ARN) of the bot alias.
bot_alias_id str
The unique identifier of the bot alias.
bot_alias_locale_settings Sequence[BotAliasLocaleSettingsItem]
Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
bot_alias_name str
The name of the bot alias.
bot_alias_status BotAliasStatus
The current status of the bot alias. When the status is Available the alias is ready for use with your bot.
bot_version str
The version of the bot that the bot alias references.
conversation_log_settings BotAliasConversationLogSettings
Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .
description str
The description of the bot alias.
sentiment_analysis_settings SentimentAnalysisSettingsProperties
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
arn String
The Amazon Resource Name (ARN) of the bot alias.
botAliasId String
The unique identifier of the bot alias.
botAliasLocaleSettings List<Property Map>
Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
botAliasName String
The name of the bot alias.
botAliasStatus "Creating" | "Available" | "Deleting" | "Failed"
The current status of the bot alias. When the status is Available the alias is ready for use with your bot.
botVersion String
The version of the bot that the bot alias references.
conversationLogSettings Property Map
Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .
description String
The description of the bot alias.
sentimentAnalysisSettings Property Map
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.

Supporting Types

BotAliasAudioLogDestination

S3Bucket This property is required. BotAliasS3BucketLogDestination
s3Bucket This property is required. BotAliasS3BucketLogDestination
s3Bucket This property is required. BotAliasS3BucketLogDestination
s3_bucket This property is required. BotAliasS3BucketLogDestination
s3Bucket This property is required. Property Map

BotAliasAudioLogSetting

Destination This property is required. Pulumi.AwsNative.Lex.Inputs.BotAliasAudioLogDestination
Enabled This property is required. bool
Destination This property is required. BotAliasAudioLogDestination
Enabled This property is required. bool
destination This property is required. BotAliasAudioLogDestination
enabled This property is required. Boolean
destination This property is required. BotAliasAudioLogDestination
enabled This property is required. boolean
destination This property is required. BotAliasAudioLogDestination
enabled This property is required. bool
destination This property is required. Property Map
enabled This property is required. Boolean

BotAliasCloudWatchLogGroupLogDestination

CloudWatchLogGroupArn This property is required. string
A string used to identify the groupArn for the Cloudwatch Log Group
LogPrefix This property is required. string
A string containing the value for the Log Prefix
CloudWatchLogGroupArn This property is required. string
A string used to identify the groupArn for the Cloudwatch Log Group
LogPrefix This property is required. string
A string containing the value for the Log Prefix
cloudWatchLogGroupArn This property is required. String
A string used to identify the groupArn for the Cloudwatch Log Group
logPrefix This property is required. String
A string containing the value for the Log Prefix
cloudWatchLogGroupArn This property is required. string
A string used to identify the groupArn for the Cloudwatch Log Group
logPrefix This property is required. string
A string containing the value for the Log Prefix
cloud_watch_log_group_arn This property is required. str
A string used to identify the groupArn for the Cloudwatch Log Group
log_prefix This property is required. str
A string containing the value for the Log Prefix
cloudWatchLogGroupArn This property is required. String
A string used to identify the groupArn for the Cloudwatch Log Group
logPrefix This property is required. String
A string containing the value for the Log Prefix

BotAliasCodeHookSpecification

LambdaCodeHook This property is required. BotAliasLambdaCodeHook
lambdaCodeHook This property is required. BotAliasLambdaCodeHook
lambdaCodeHook This property is required. BotAliasLambdaCodeHook
lambda_code_hook This property is required. BotAliasLambdaCodeHook
lambdaCodeHook This property is required. Property Map

BotAliasConversationLogSettings

AudioLogSettings List<Pulumi.AwsNative.Lex.Inputs.BotAliasAudioLogSetting>
The Amazon S3 settings for logging audio to an S3 bucket.
TextLogSettings List<Pulumi.AwsNative.Lex.Inputs.BotAliasTextLogSetting>
The Amazon CloudWatch Logs settings for logging text and metadata.
AudioLogSettings []BotAliasAudioLogSetting
The Amazon S3 settings for logging audio to an S3 bucket.
TextLogSettings []BotAliasTextLogSetting
The Amazon CloudWatch Logs settings for logging text and metadata.
audioLogSettings List<BotAliasAudioLogSetting>
The Amazon S3 settings for logging audio to an S3 bucket.
textLogSettings List<BotAliasTextLogSetting>
The Amazon CloudWatch Logs settings for logging text and metadata.
audioLogSettings BotAliasAudioLogSetting[]
The Amazon S3 settings for logging audio to an S3 bucket.
textLogSettings BotAliasTextLogSetting[]
The Amazon CloudWatch Logs settings for logging text and metadata.
audio_log_settings Sequence[BotAliasAudioLogSetting]
The Amazon S3 settings for logging audio to an S3 bucket.
text_log_settings Sequence[BotAliasTextLogSetting]
The Amazon CloudWatch Logs settings for logging text and metadata.
audioLogSettings List<Property Map>
The Amazon S3 settings for logging audio to an S3 bucket.
textLogSettings List<Property Map>
The Amazon CloudWatch Logs settings for logging text and metadata.

BotAliasLambdaCodeHook

CodeHookInterfaceVersion This property is required. string
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
LambdaArn This property is required. string
The Amazon Resource Name (ARN) of the Lambda function.
CodeHookInterfaceVersion This property is required. string
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
LambdaArn This property is required. string
The Amazon Resource Name (ARN) of the Lambda function.
codeHookInterfaceVersion This property is required. String
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
lambdaArn This property is required. String
The Amazon Resource Name (ARN) of the Lambda function.
codeHookInterfaceVersion This property is required. string
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
lambdaArn This property is required. string
The Amazon Resource Name (ARN) of the Lambda function.
code_hook_interface_version This property is required. str
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
lambda_arn This property is required. str
The Amazon Resource Name (ARN) of the Lambda function.
codeHookInterfaceVersion This property is required. String
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
lambdaArn This property is required. String
The Amazon Resource Name (ARN) of the Lambda function.

BotAliasLocaleSettings

Enabled This property is required. bool
Whether the Lambda code hook is enabled
CodeHookSpecification Pulumi.AwsNative.Lex.Inputs.BotAliasCodeHookSpecification
Enabled This property is required. bool
Whether the Lambda code hook is enabled
CodeHookSpecification BotAliasCodeHookSpecification
enabled This property is required. Boolean
Whether the Lambda code hook is enabled
codeHookSpecification BotAliasCodeHookSpecification
enabled This property is required. boolean
Whether the Lambda code hook is enabled
codeHookSpecification BotAliasCodeHookSpecification
enabled This property is required. bool
Whether the Lambda code hook is enabled
code_hook_specification BotAliasCodeHookSpecification
enabled This property is required. Boolean
Whether the Lambda code hook is enabled
codeHookSpecification Property Map

BotAliasLocaleSettingsItem

BotAliasLocaleSetting This property is required. Pulumi.AwsNative.Lex.Inputs.BotAliasLocaleSettings
LocaleId This property is required. string
A string used to identify the locale
BotAliasLocaleSetting This property is required. BotAliasLocaleSettings
LocaleId This property is required. string
A string used to identify the locale
botAliasLocaleSetting This property is required. BotAliasLocaleSettings
localeId This property is required. String
A string used to identify the locale
botAliasLocaleSetting This property is required. BotAliasLocaleSettings
localeId This property is required. string
A string used to identify the locale
bot_alias_locale_setting This property is required. BotAliasLocaleSettings
locale_id This property is required. str
A string used to identify the locale
botAliasLocaleSetting This property is required. Property Map
localeId This property is required. String
A string used to identify the locale

BotAliasS3BucketLogDestination

LogPrefix This property is required. string
The Amazon S3 key of the deployment package.
S3BucketArn This property is required. string
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
KmsKeyArn string
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
LogPrefix This property is required. string
The Amazon S3 key of the deployment package.
S3BucketArn This property is required. string
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
KmsKeyArn string
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
logPrefix This property is required. String
The Amazon S3 key of the deployment package.
s3BucketArn This property is required. String
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
kmsKeyArn String
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
logPrefix This property is required. string
The Amazon S3 key of the deployment package.
s3BucketArn This property is required. string
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
kmsKeyArn string
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
log_prefix This property is required. str
The Amazon S3 key of the deployment package.
s3_bucket_arn This property is required. str
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
kms_key_arn str
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
logPrefix This property is required. String
The Amazon S3 key of the deployment package.
s3BucketArn This property is required. String
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
kmsKeyArn String
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.

BotAliasStatus

BotAliasTextLogDestination

cloudWatch This property is required. Property Map

BotAliasTextLogSetting

Destination This property is required. Pulumi.AwsNative.Lex.Inputs.BotAliasTextLogDestination
Enabled This property is required. bool
Destination This property is required. BotAliasTextLogDestination
Enabled This property is required. bool
destination This property is required. BotAliasTextLogDestination
enabled This property is required. Boolean
destination This property is required. BotAliasTextLogDestination
enabled This property is required. boolean
destination This property is required. BotAliasTextLogDestination
enabled This property is required. bool
destination This property is required. Property Map
enabled This property is required. Boolean

SentimentAnalysisSettingsProperties

DetectSentiment This property is required. bool
Enable to call Amazon Comprehend for Sentiment natively within Lex
DetectSentiment This property is required. bool
Enable to call Amazon Comprehend for Sentiment natively within Lex
detectSentiment This property is required. Boolean
Enable to call Amazon Comprehend for Sentiment natively within Lex
detectSentiment This property is required. boolean
Enable to call Amazon Comprehend for Sentiment natively within Lex
detect_sentiment This property is required. bool
Enable to call Amazon Comprehend for Sentiment natively within Lex
detectSentiment This property is required. Boolean
Enable to call Amazon Comprehend for Sentiment natively within Lex

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi