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
This property is required. string - The unique name of the resource.
- args
This property is required. BotAliasArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. BotAliasArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. BotAliasArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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:
- Bot
Id This property is required. string - The unique identifier of the bot.
- Bot
Alias 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.
- Bot
Alias 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.
- Bot
Version string - The version of the bot that the bot alias references.
- Conversation
Log 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.
- Sentiment
Analysis 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.
- Bot
Id This property is required. string - The unique identifier of the bot.
- Bot
Alias []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 stringName - The name of the bot alias.
- []Bot
Alias Tag Args - A list of tags to add to the bot alias.
- Bot
Version string - 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 string
- 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.
- bot
Id This property is required. String - The unique identifier of the bot.
- bot
Alias 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.
- bot
Alias StringName - The name of the bot alias.
- List<Bot
Alias Tag> - A list of tags to add to the bot alias.
- bot
Version String - 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 String
- 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.
- bot
Id This property is required. string - The unique identifier of the bot.
- bot
Alias 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 stringName - The name of the bot alias.
- Bot
Alias Tag[] - A list of tags to add to the bot alias.
- bot
Version string - 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 string
- 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.
- bot_
id This property is required. 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[Bot
Alias 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.
- bot
Id This property is required. String - The unique identifier of the bot.
- bot
Alias 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.
- bot
Alias StringName - The name of the bot alias.
- List<Property Map>
- A list of tags to add to the bot alias.
- bot
Version String - The version of the bot that the bot alias references.
- conversation
Log 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.
- sentiment
Analysis 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.
- Bot
Alias stringId - The unique identifier of the bot alias.
- Bot
Alias 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.
- Bot
Alias stringId - 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 string
- The provider-assigned unique ID for this managed resource.
- arn String
- The Amazon Resource Name (ARN) of the bot alias.
- bot
Alias StringId - 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 String
- The provider-assigned unique ID for this managed resource.
- arn string
- The Amazon Resource Name (ARN) of the bot alias.
- bot
Alias stringId - 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 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.
- bot
Alias StringId - The unique identifier of the bot alias.
- bot
Alias "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
- S3Bucket
This property is required. Pulumi.Aws Native. Lex. Inputs. Bot Alias S3Bucket Log Destination
- S3Bucket
This property is required. BotAlias S3Bucket Log Destination
- s3Bucket
This property is required. BotAlias S3Bucket Log Destination
- s3Bucket
This property is required. BotAlias S3Bucket Log Destination
- s3_
bucket This property is required. BotAlias S3Bucket Log Destination
- s3Bucket
This property is required. Property Map
BotAliasAudioLogSetting, BotAliasAudioLogSettingArgs
- Destination
This property is required. Pulumi.Aws Native. Lex. Inputs. Bot Alias Audio Log Destination - Enabled
This property is required. bool
- Destination
This property is required. BotAlias Audio Log Destination - Enabled
This property is required. bool
- destination
This property is required. BotAlias Audio Log Destination - enabled
This property is required. Boolean
- destination
This property is required. BotAlias Audio Log Destination - enabled
This property is required. boolean
- destination
This property is required. BotAlias Audio Log Destination - enabled
This property is required. bool
- destination
This property is required. Property Map - enabled
This property is required. Boolean
BotAliasCloudWatchLogGroupLogDestination, BotAliasCloudWatchLogGroupLogDestinationArgs
- Cloud
Watch Log Group Arn This property is required. string - A string used to identify the groupArn for the Cloudwatch Log Group
- Log
Prefix This property is required. string - A string containing the value for the Log Prefix
- Cloud
Watch Log Group Arn This property is required. string - A string used to identify the groupArn for the Cloudwatch Log Group
- Log
Prefix This property is required. string - A string containing the value for the Log Prefix
- cloud
Watch Log Group Arn This property is required. String - A string used to identify the groupArn for the Cloudwatch Log Group
- log
Prefix This property is required. String - A string containing the value for the Log Prefix
- cloud
Watch Log Group Arn This property is required. string - A string used to identify the groupArn for the Cloudwatch Log Group
- log
Prefix 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
- cloud
Watch Log Group Arn This property is required. String - A string used to identify the groupArn for the Cloudwatch Log Group
- log
Prefix This property is required. String - A string containing the value for the Log Prefix
BotAliasCodeHookSpecification, BotAliasCodeHookSpecificationArgs
- Lambda
Code Hook This property is required. Pulumi.Aws Native. Lex. Inputs. Bot Alias Lambda Code Hook
- Lambda
Code Hook This property is required. BotAlias Lambda Code Hook
- lambda
Code Hook This property is required. BotAlias Lambda Code Hook
- lambda
Code Hook This property is required. BotAlias Lambda Code Hook
- lambda_
code_ hook This property is required. BotAlias Lambda Code Hook
- lambda
Code Hook This property is required. Property Map
BotAliasConversationLogSettings, BotAliasConversationLogSettingsArgs
- Audio
Log List<Pulumi.Settings Aws Native. Lex. Inputs. Bot Alias Audio Log Setting> - The Amazon S3 settings for logging audio to an S3 bucket.
- Text
Log List<Pulumi.Settings Aws Native. Lex. Inputs. Bot Alias Text Log Setting> - The Amazon CloudWatch Logs settings for logging text and metadata.
- Audio
Log []BotSettings Alias Audio Log Setting - The Amazon S3 settings for logging audio to an S3 bucket.
- Text
Log []BotSettings Alias Text Log Setting - The Amazon CloudWatch Logs settings for logging text and metadata.
- audio
Log List<BotSettings Alias Audio Log Setting> - The Amazon S3 settings for logging audio to an S3 bucket.
- text
Log List<BotSettings Alias Text Log Setting> - The Amazon CloudWatch Logs settings for logging text and metadata.
- audio
Log BotSettings Alias Audio Log Setting[] - The Amazon S3 settings for logging audio to an S3 bucket.
- text
Log 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.
- audio
Log List<Property Map>Settings - The Amazon S3 settings for logging audio to an S3 bucket.
- text
Log List<Property Map>Settings - The Amazon CloudWatch Logs settings for logging text and metadata.
BotAliasLambdaCodeHook, BotAliasLambdaCodeHookArgs
- Code
Hook Interface Version This property is required. string - The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- Lambda
Arn This property is required. string - The Amazon Resource Name (ARN) of the Lambda function.
- Code
Hook Interface Version This property is required. string - The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- Lambda
Arn This property is required. string - The Amazon Resource Name (ARN) of the Lambda function.
- code
Hook Interface Version This property is required. String - The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda
Arn This property is required. String - The Amazon Resource Name (ARN) of the Lambda function.
- code
Hook Interface Version This property is required. string - The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda
Arn 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.
- code
Hook Interface Version This property is required. String - The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda
Arn This property is required. String - The Amazon Resource Name (ARN) of the Lambda function.
BotAliasLocaleSettings, BotAliasLocaleSettingsArgs
- Enabled
This property is required. bool - Whether the Lambda code hook is enabled
- Code
Hook Pulumi.Specification Aws Native. Lex. Inputs. Bot Alias Code Hook Specification
- Enabled
This property is required. bool - Whether the Lambda code hook is enabled
- Code
Hook BotSpecification Alias Code Hook Specification
- enabled
This property is required. Boolean - Whether the Lambda code hook is enabled
- code
Hook BotSpecification Alias Code Hook Specification
- enabled
This property is required. boolean - Whether the Lambda code hook is enabled
- code
Hook BotSpecification Alias Code Hook Specification
- enabled
This property is required. bool - Whether the Lambda code hook is enabled
- code_
hook_ Botspecification Alias Code Hook Specification
- enabled
This property is required. Boolean - Whether the Lambda code hook is enabled
- code
Hook Property MapSpecification
BotAliasLocaleSettingsItem, BotAliasLocaleSettingsItemArgs
- Bot
Alias Locale Setting This property is required. Pulumi.Aws Native. Lex. Inputs. Bot Alias Locale Settings - Locale
Id This property is required. string - A string used to identify the locale
- Bot
Alias Locale Setting This property is required. BotAlias Locale Settings - Locale
Id This property is required. string - A string used to identify the locale
- bot
Alias Locale Setting This property is required. BotAlias Locale Settings - locale
Id This property is required. String - A string used to identify the locale
- bot
Alias Locale Setting This property is required. BotAlias Locale Settings - locale
Id This property is required. string - A string used to identify the locale
- bot_
alias_ locale_ setting This property is required. BotAlias Locale Settings - locale_
id This property is required. str - A string used to identify the locale
- bot
Alias Locale Setting This property is required. Property Map - locale
Id This property is required. String - A string used to identify the locale
BotAliasS3BucketLogDestination, BotAliasS3BucketLogDestinationArgs
- Log
Prefix This property is required. string - The Amazon S3 key of the deployment package.
- S3Bucket
Arn This property is required. string - The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- Kms
Key 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 This property is required. string - The Amazon S3 key of the deployment package.
- S3Bucket
Arn This property is required. string - The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- Kms
Key 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 This property is required. String - The Amazon S3 key of the deployment package.
- s3Bucket
Arn This property is required. String - The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kms
Key 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 This property is required. string - The Amazon S3 key of the deployment package.
- s3Bucket
Arn This property is required. string - The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kms
Key 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 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_ strarn - 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. String - The Amazon S3 key of the deployment package.
- s3Bucket
Arn This property is required. String - The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kms
Key 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
- Bot
Alias Status Creating - Creating
- Bot
Alias Status Available - Available
- Bot
Alias Status Deleting - Deleting
- Bot
Alias 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
- Cloud
Watch This property is required. Pulumi.Aws Native. Lex. Inputs. Bot Alias Cloud Watch Log Group Log Destination
- Cloud
Watch This property is required. BotAlias Cloud Watch Log Group Log Destination
- cloud
Watch This property is required. BotAlias Cloud Watch Log Group Log Destination
- cloud
Watch This property is required. BotAlias Cloud Watch Log Group Log Destination
- cloud_
watch This property is required. BotAlias Cloud Watch Log Group Log Destination
- cloud
Watch This property is required. Property Map
BotAliasTextLogSetting, BotAliasTextLogSettingArgs
- Destination
This property is required. Pulumi.Aws Native. Lex. Inputs. Bot Alias Text Log Destination - Enabled
This property is required. bool
- Destination
This property is required. BotAlias Text Log Destination - Enabled
This property is required. bool
- destination
This property is required. BotAlias Text Log Destination - enabled
This property is required. Boolean
- destination
This property is required. BotAlias Text Log Destination - enabled
This property is required. boolean
- destination
This property is required. BotAlias Text Log Destination - enabled
This property is required. bool
- destination
This property is required. Property Map - enabled
This property is required. Boolean
SentimentAnalysisSettingsProperties, SentimentAnalysisSettingsPropertiesArgs
- Detect
Sentiment This property is required. bool - 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
- detect
Sentiment This property is required. Boolean - Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect
Sentiment 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
- detect
Sentiment 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.