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>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]func LookupBotAlias(ctx *Context, args *LookupBotAliasArgs, opts ...InvokeOption) (*LookupBotAliasResult, error)
func LookupBotAliasOutput(ctx *Context, args *LookupBotAliasOutputArgs, opts ...InvokeOption) LookupBotAliasResultOutput> 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)
}public static CompletableFuture<GetBotAliasResult> getBotAlias(GetBotAliasArgs args, InvokeOptions options)
public static Output<GetBotAliasResult> getBotAlias(GetBotAliasArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:lex:getBotAlias
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BotAlias stringId 
- The unique identifier of the bot alias.
- BotId string
- The unique identifier of the bot.
- BotAlias stringId 
- The unique identifier of the bot alias.
- BotId string
- The unique identifier of the bot.
- botAlias StringId 
- The unique identifier of the bot alias.
- botId String
- The unique identifier of the bot.
- botAlias stringId 
- The unique identifier of the bot alias.
- botId string
- The unique identifier of the bot.
- bot_alias_ strid 
- The unique identifier of the bot alias.
- bot_id str
- The unique identifier of the bot.
- botAlias StringId 
- The unique identifier of the bot alias.
- botId 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.
- BotAlias stringId 
- The unique identifier of the bot alias.
- BotAlias List<Pulumi.Locale Settings Aws Native. Lex. Outputs. Bot Alias Locale Settings Item> 
- Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
- BotAlias stringName 
- The name of the bot alias.
- BotAlias Pulumi.Status Aws Native. Lex. Bot Alias Status 
- 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.
- ConversationLog Pulumi.Settings Aws Native. Lex. Outputs. Bot Alias Conversation Log Settings 
- 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.
- SentimentAnalysis Pulumi.Settings Aws Native. Lex. Outputs. Sentiment Analysis Settings Properties 
- 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.
- BotAlias stringId 
- The unique identifier of the bot alias.
- BotAlias []BotLocale Settings Alias Locale Settings Item 
- Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
- BotAlias stringName 
- The name of the bot alias.
- BotAlias BotStatus Alias Status 
- 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.
- ConversationLog BotSettings Alias Conversation Log Settings 
- 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.
- SentimentAnalysis SentimentSettings Analysis Settings Properties 
- 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.
- botAlias StringId 
- The unique identifier of the bot alias.
- botAlias List<BotLocale Settings Alias Locale Settings Item> 
- Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
- botAlias StringName 
- The name of the bot alias.
- botAlias BotStatus Alias Status 
- 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.
- conversationLog BotSettings Alias Conversation Log Settings 
- 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.
- sentimentAnalysis SentimentSettings Analysis Settings Properties 
- 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.
- botAlias stringId 
- The unique identifier of the bot alias.
- botAlias BotLocale Settings Alias Locale Settings Item[] 
- Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
- botAlias stringName 
- The name of the bot alias.
- botAlias BotStatus Alias Status 
- 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.
- conversationLog BotSettings Alias Conversation Log Settings 
- 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.
- sentimentAnalysis SentimentSettings Analysis Settings Properties 
- 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_ strid 
- The unique identifier of the bot alias.
- bot_alias_ Sequence[Botlocale_ settings Alias Locale Settings Item] 
- Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
- bot_alias_ strname 
- The name of the bot alias.
- bot_alias_ Botstatus Alias Status 
- 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_ Botsettings Alias Conversation Log Settings 
- 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_ Sentimentsettings Analysis Settings Properties 
- 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.
- botAlias StringId 
- The unique identifier of the bot alias.
- botAlias List<Property Map>Locale Settings 
- Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
- botAlias StringName 
- The name of the bot alias.
- botAlias "Creating" | "Available" | "Deleting" | "Failed"Status 
- 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.
- conversationLog Property MapSettings 
- 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.
- sentimentAnalysis Property MapSettings 
- Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
Supporting Types
BotAliasAudioLogDestination    
BotAliasAudioLogSetting    
- destination Property Map
- enabled Boolean
BotAliasCloudWatchLogGroupLogDestination       
- CloudWatch stringLog Group Arn 
- A string used to identify the groupArn for the Cloudwatch Log Group
- LogPrefix string
- A string containing the value for the Log Prefix
- CloudWatch stringLog Group Arn 
- A string used to identify the groupArn for the Cloudwatch Log Group
- LogPrefix string
- A string containing the value for the Log Prefix
- cloudWatch StringLog Group Arn 
- A string used to identify the groupArn for the Cloudwatch Log Group
- logPrefix String
- A string containing the value for the Log Prefix
- cloudWatch stringLog Group Arn 
- A string used to identify the groupArn for the Cloudwatch Log Group
- logPrefix string
- A string containing the value for the Log Prefix
- cloud_watch_ strlog_ group_ arn 
- A string used to identify the groupArn for the Cloudwatch Log Group
- log_prefix str
- A string containing the value for the Log Prefix
- cloudWatch StringLog Group Arn 
- A string used to identify the groupArn for the Cloudwatch Log Group
- logPrefix String
- A string containing the value for the Log Prefix
BotAliasCodeHookSpecification    
BotAliasConversationLogSettings    
- AudioLog List<Pulumi.Settings Aws Native. Lex. Inputs. Bot Alias Audio Log Setting> 
- The Amazon S3 settings for logging audio to an S3 bucket.
- TextLog List<Pulumi.Settings Aws Native. Lex. Inputs. Bot Alias Text Log Setting> 
- The Amazon CloudWatch Logs settings for logging text and metadata.
- AudioLog []BotSettings Alias Audio Log Setting 
- The Amazon S3 settings for logging audio to an S3 bucket.
- TextLog []BotSettings Alias Text Log Setting 
- The Amazon CloudWatch Logs settings for logging text and metadata.
- audioLog List<BotSettings Alias Audio Log Setting> 
- The Amazon S3 settings for logging audio to an S3 bucket.
- textLog List<BotSettings Alias Text Log Setting> 
- The Amazon CloudWatch Logs settings for logging text and metadata.
- audioLog BotSettings Alias Audio Log Setting[] 
- The Amazon S3 settings for logging audio to an S3 bucket.
- textLog BotSettings Alias Text Log Setting[] 
- The Amazon CloudWatch Logs settings for logging text and metadata.
- audio_log_ Sequence[Botsettings Alias Audio Log Setting] 
- The Amazon S3 settings for logging audio to an S3 bucket.
- text_log_ Sequence[Botsettings Alias Text Log Setting] 
- The Amazon CloudWatch Logs settings for logging text and metadata.
- audioLog List<Property Map>Settings 
- The Amazon S3 settings for logging audio to an S3 bucket.
- textLog List<Property Map>Settings 
- The Amazon CloudWatch Logs settings for logging text and metadata.
BotAliasLambdaCodeHook    
- CodeHook stringInterface Version 
- The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- LambdaArn string
- The Amazon Resource Name (ARN) of the Lambda function.
- CodeHook stringInterface Version 
- The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- LambdaArn string
- The Amazon Resource Name (ARN) of the Lambda function.
- codeHook StringInterface Version 
- The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambdaArn String
- The Amazon Resource Name (ARN) of the Lambda function.
- codeHook stringInterface Version 
- The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambdaArn string
- The Amazon Resource Name (ARN) of the Lambda function.
- code_hook_ strinterface_ version 
- The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda_arn str
- The Amazon Resource Name (ARN) of the Lambda function.
- codeHook StringInterface Version 
- The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambdaArn String
- The Amazon Resource Name (ARN) of the Lambda function.
BotAliasLocaleSettings   
- Enabled bool
- Whether the Lambda code hook is enabled
- CodeHook Pulumi.Specification Aws Native. Lex. Inputs. Bot Alias Code Hook Specification 
- Enabled bool
- Whether the Lambda code hook is enabled
- CodeHook BotSpecification Alias Code Hook Specification 
- enabled Boolean
- Whether the Lambda code hook is enabled
- codeHook BotSpecification Alias Code Hook Specification 
- enabled boolean
- Whether the Lambda code hook is enabled
- codeHook BotSpecification Alias Code Hook Specification 
- enabled bool
- Whether the Lambda code hook is enabled
- code_hook_ Botspecification Alias Code Hook Specification 
- enabled Boolean
- Whether the Lambda code hook is enabled
- codeHook Property MapSpecification 
BotAliasLocaleSettingsItem    
- BotAlias Pulumi.Locale Setting Aws Native. Lex. Inputs. Bot Alias Locale Settings 
- LocaleId string
- A string used to identify the locale
- BotAlias BotLocale Setting Alias Locale Settings 
- LocaleId string
- A string used to identify the locale
- botAlias BotLocale Setting Alias Locale Settings 
- localeId String
- A string used to identify the locale
- botAlias BotLocale Setting Alias Locale Settings 
- localeId string
- A string used to identify the locale
- bot_alias_ Botlocale_ setting Alias Locale Settings 
- locale_id str
- A string used to identify the locale
- botAlias Property MapLocale Setting 
- localeId String
- A string used to identify the locale
BotAliasS3BucketLogDestination    
- LogPrefix string
- The Amazon S3 key of the deployment package.
- S3BucketArn string
- The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- KmsKey stringArn 
- The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
- LogPrefix string
- The Amazon S3 key of the deployment package.
- S3BucketArn string
- The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- KmsKey stringArn 
- The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
- logPrefix String
- The Amazon S3 key of the deployment package.
- s3BucketArn String
- The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kmsKey StringArn 
- The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
- logPrefix string
- The Amazon S3 key of the deployment package.
- s3BucketArn string
- The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kmsKey stringArn 
- 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 str
- The Amazon S3 key of the deployment package.
- s3_bucket_ strarn 
- The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kms_key_ strarn 
- The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
- logPrefix String
- The Amazon S3 key of the deployment package.
- s3BucketArn String
- The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kmsKey StringArn 
- 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    
BotAliasTextLogSetting    
- destination Property Map
- enabled Boolean
SentimentAnalysisSettingsProperties   
- DetectSentiment bool
- Enable to call Amazon Comprehend for Sentiment natively within Lex
- DetectSentiment bool
- Enable to call Amazon Comprehend for Sentiment natively within Lex
- detectSentiment Boolean
- Enable to call Amazon Comprehend for Sentiment natively within Lex
- detectSentiment boolean
- Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect_sentiment bool
- Enable to call Amazon Comprehend for Sentiment natively within Lex
- detectSentiment 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