We recommend new projects start with resources from the AWS provider.
aws-native.lex.BotAlias
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A Bot Alias enables you to change the version of a bot without updating applications that use the bot
Create BotAlias Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BotAlias(name: string, args: BotAliasArgs, opts?: CustomResourceOptions);@overload
def BotAlias(resource_name: str,
             args: BotAliasArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def BotAlias(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             bot_id: Optional[str] = None,
             bot_alias_locale_settings: Optional[Sequence[BotAliasLocaleSettingsItemArgs]] = None,
             bot_alias_name: Optional[str] = None,
             bot_alias_tags: Optional[Sequence[BotAliasTagArgs]] = None,
             bot_version: Optional[str] = None,
             conversation_log_settings: Optional[BotAliasConversationLogSettingsArgs] = None,
             description: Optional[str] = None,
             sentiment_analysis_settings: Optional[SentimentAnalysisSettingsPropertiesArgs] = None)func NewBotAlias(ctx *Context, name string, args BotAliasArgs, opts ...ResourceOption) (*BotAlias, error)public BotAlias(string name, BotAliasArgs args, CustomResourceOptions? opts = null)
public BotAlias(String name, BotAliasArgs args)
public BotAlias(String name, BotAliasArgs args, CustomResourceOptions options)
type: aws-native:lex:BotAlias
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BotAliasArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BotAliasArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BotAliasArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BotAliasArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BotAliasArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BotAlias Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BotAlias resource accepts the following input properties:
- BotId string
- The unique identifier of the bot.
- BotAlias List<Pulumi.Locale Settings Aws Native. Lex. Inputs. 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.
- 
List<Pulumi.Aws Native. Lex. Inputs. Bot Alias Tag> 
- A list of tags to add to the bot alias.
- BotVersion string
- The version of the bot that the bot alias references.
- ConversationLog Pulumi.Settings Aws Native. Lex. Inputs. 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. Inputs. Sentiment Analysis Settings Properties 
- Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- BotId string
- The unique identifier of the bot.
- BotAlias []BotLocale Settings Alias Locale Settings Item Args 
- 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 Tag Args 
- A list of tags to add to the bot alias.
- BotVersion string
- The version of the bot that the bot alias references.
- ConversationLog BotSettings Alias Conversation Log Settings Args 
- 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 Args 
- Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- botId String
- The unique identifier of the bot.
- 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.
- 
List<BotAlias Tag> 
- A list of tags to add to the bot alias.
- 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.
- botId string
- The unique identifier of the bot.
- 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 Tag[] 
- A list of tags to add to the bot alias.
- 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.
- bot_id str
- The unique identifier of the bot.
- bot_alias_ Sequence[Botlocale_ settings Alias Locale Settings Item Args] 
- 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.
- 
Sequence[BotAlias Tag Args] 
- A list of tags to add to the bot alias.
- bot_version str
- The version of the bot that the bot alias references.
- conversation_log_ Botsettings Alias Conversation Log Settings Args 
- 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 Args 
- Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- botId String
- The unique identifier of the bot.
- 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.
- List<Property Map>
- A list of tags to add to the bot alias.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the BotAlias resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the bot alias.
- BotAlias stringId 
- The unique identifier 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Arn string
- The Amazon Resource Name (ARN) of the bot alias.
- BotAlias stringId 
- The unique identifier 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- arn String
- The Amazon Resource Name (ARN) of the bot alias.
- botAlias StringId 
- The unique identifier 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.
- id String
- The provider-assigned unique ID for this managed resource.
- arn string
- The Amazon Resource Name (ARN) of the bot alias.
- botAlias stringId 
- The unique identifier 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.
- id string
- The provider-assigned unique ID for this managed resource.
- arn str
- The Amazon Resource Name (ARN) of the bot alias.
- bot_alias_ strid 
- The unique identifier 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.
- id str
- The provider-assigned unique ID for this managed resource.
- arn String
- The Amazon Resource Name (ARN) of the bot alias.
- botAlias StringId 
- The unique identifier 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.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
BotAliasAudioLogDestination, BotAliasAudioLogDestinationArgs          
BotAliasAudioLogSetting, BotAliasAudioLogSettingArgs          
- destination Property Map
- enabled Boolean
BotAliasCloudWatchLogGroupLogDestination, BotAliasCloudWatchLogGroupLogDestinationArgs                
- 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, BotAliasCodeHookSpecificationArgs          
BotAliasConversationLogSettings, BotAliasConversationLogSettingsArgs          
- 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, BotAliasLambdaCodeHookArgs          
- 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, BotAliasLocaleSettingsArgs        
- 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, BotAliasLocaleSettingsItemArgs          
- 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, BotAliasS3BucketLogDestinationArgs          
- 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, BotAliasStatusArgs      
- Creating
- Creating
- Available
- Available
- Deleting
- Deleting
- Failed
- Failed
- BotAlias Status Creating 
- Creating
- BotAlias Status Available 
- Available
- BotAlias Status Deleting 
- Deleting
- BotAlias Status Failed 
- Failed
- Creating
- Creating
- Available
- Available
- Deleting
- Deleting
- Failed
- Failed
- Creating
- Creating
- Available
- Available
- Deleting
- Deleting
- Failed
- Failed
- CREATING
- Creating
- AVAILABLE
- Available
- DELETING
- Deleting
- FAILED
- Failed
- "Creating"
- Creating
- "Available"
- Available
- "Deleting"
- Deleting
- "Failed"
- Failed
BotAliasTag, BotAliasTagArgs      
BotAliasTextLogDestination, BotAliasTextLogDestinationArgs          
BotAliasTextLogSetting, BotAliasTextLogSettingArgs          
- destination Property Map
- enabled Boolean
SentimentAnalysisSettingsProperties, SentimentAnalysisSettingsPropertiesArgs        
- 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.