AWS Native is in preview. AWS Classic is fully supported.
aws-native.lex.BotAlias
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
A Bot Alias enables you to change the version of a bot without updating applications that use the bot
Create BotAlias Resource
new BotAlias(name: string, args: BotAliasArgs, opts?: CustomResourceOptions);
@overload
def BotAlias(resource_name: str,
opts: Optional[ResourceOptions] = None,
bot_alias_locale_settings: Optional[Sequence[BotAliasLocaleSettingsItemArgs]] = None,
bot_alias_name: Optional[str] = None,
bot_alias_tags: Optional[Sequence[BotAliasTagArgs]] = None,
bot_id: Optional[str] = None,
bot_version: Optional[str] = None,
conversation_log_settings: Optional[BotAliasConversationLogSettingsArgs] = None,
description: Optional[str] = None,
sentiment_analysis_settings: Optional[SentimentAnalysisSettingsPropertiesArgs] = None)
@overload
def BotAlias(resource_name: str,
args: BotAliasArgs,
opts: Optional[ResourceOptions] = 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.
- 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
The BotAlias resource accepts the following input properties:
- Bot
Id string - Bot
Alias List<Pulumi.Locale Settings Aws Native. Lex. Inputs. Bot Alias Locale Settings Item> - Bot
Alias stringName - List<Pulumi.
Aws Native. Lex. Inputs. Bot Alias Tag> A list of tags to add to the bot alias.
- Bot
Version string - Conversation
Log Pulumi.Settings Aws Native. Lex. Inputs. Bot Alias Conversation Log Settings - Description string
- 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 string - Bot
Alias []BotLocale Settings Alias Locale Settings Item Args - Bot
Alias stringName - []Bot
Alias Tag Args A list of tags to add to the bot alias.
- Bot
Version string - Conversation
Log BotSettings Alias Conversation Log Settings Args - Description string
- Sentiment
Analysis SentimentSettings Analysis Settings Properties Args Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- bot
Id String - bot
Alias List<BotLocale Settings Alias Locale Settings Item> - bot
Alias StringName - List<Bot
Alias Tag> A list of tags to add to the bot alias.
- bot
Version String - conversation
Log BotSettings Alias Conversation Log Settings - description String
- sentiment
Analysis SentimentSettings Analysis Settings Properties Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- bot
Id string - bot
Alias BotLocale Settings Alias Locale Settings Item[] - bot
Alias stringName - Bot
Alias Tag[] A list of tags to add to the bot alias.
- bot
Version string - conversation
Log BotSettings Alias Conversation Log Settings - description string
- sentiment
Analysis SentimentSettings Analysis Settings Properties Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- bot_
id str - bot_
alias_ Sequence[Botlocale_ settings Alias Locale Settings Item Args] - bot_
alias_ strname - Sequence[Bot
Alias Tag Args] A list of tags to add to the bot alias.
- bot_
version str - conversation_
log_ Botsettings Alias Conversation Log Settings Args - description str
- sentiment_
analysis_ Sentimentsettings Analysis Settings Properties Args Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- bot
Id String - bot
Alias List<Property Map>Locale Settings - bot
Alias StringName - List<Property Map>
A list of tags to add to the bot alias.
- bot
Version String - conversation
Log Property MapSettings - description String
- 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
- Bot
Alias stringId - Bot
Alias Pulumi.Status Aws Native. Lex. Bot Alias Status - Id string
The provider-assigned unique ID for this managed resource.
- Arn string
- Bot
Alias stringId - Bot
Alias BotStatus Alias Status - Id string
The provider-assigned unique ID for this managed resource.
- arn String
- bot
Alias StringId - bot
Alias BotStatus Alias Status - id String
The provider-assigned unique ID for this managed resource.
- arn string
- bot
Alias stringId - bot
Alias BotStatus Alias Status - id string
The provider-assigned unique ID for this managed resource.
- arn str
- bot_
alias_ strid - bot_
alias_ Botstatus Alias Status - id str
The provider-assigned unique ID for this managed resource.
- arn String
- bot
Alias StringId - bot
Alias "Creating" | "Available" | "Deleting" | "Failed"Status - id String
The provider-assigned unique ID for this managed resource.
Supporting Types
BotAliasAudioLogDestination, BotAliasAudioLogDestinationArgs
BotAliasAudioLogSetting, BotAliasAudioLogSettingArgs
- destination Property Map
- enabled Boolean
BotAliasCloudWatchLogGroupLogDestination, BotAliasCloudWatchLogGroupLogDestinationArgs
- Cloud
Watch stringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- Log
Prefix string A string containing the value for the Log Prefix
- Cloud
Watch stringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- Log
Prefix string A string containing the value for the Log Prefix
- cloud
Watch StringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- log
Prefix String A string containing the value for the Log Prefix
- cloud
Watch stringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- log
Prefix 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
- cloud
Watch StringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- log
Prefix String A string containing the value for the Log Prefix
BotAliasCodeHookSpecification, BotAliasCodeHookSpecificationArgs
BotAliasConversationLogSettings, BotAliasConversationLogSettingsArgs
BotAliasLambdaCodeHook, BotAliasLambdaCodeHookArgs
- Code
Hook stringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- Lambda
Arn string The Amazon Resource Name (ARN) of the Lambda function.
- Code
Hook stringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- Lambda
Arn string The Amazon Resource Name (ARN) of the Lambda function.
- code
Hook StringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda
Arn String The Amazon Resource Name (ARN) of the Lambda function.
- code
Hook stringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda
Arn 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.
- code
Hook StringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda
Arn String The Amazon Resource Name (ARN) of the Lambda function.
BotAliasLocaleSettings, BotAliasLocaleSettingsArgs
- Enabled bool
Whether the Lambda code hook is enabled
- Code
Hook Pulumi.Specification Aws Native. Lex. Inputs. Bot 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
- code
Hook BotSpecification Alias Code Hook Specification
- enabled boolean
Whether the Lambda code hook is enabled
- code
Hook 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
- code
Hook Property MapSpecification
BotAliasLocaleSettingsItem, BotAliasLocaleSettingsItemArgs
- Bot
Alias Pulumi.Locale Setting Aws Native. Lex. Inputs. Bot Alias Locale Settings - Locale
Id string A string used to identify the locale
- Bot
Alias BotLocale Setting Alias Locale Settings - Locale
Id string A string used to identify the locale
- bot
Alias BotLocale Setting Alias Locale Settings - locale
Id String A string used to identify the locale
- bot
Alias BotLocale Setting Alias Locale Settings - locale
Id 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
- bot
Alias Property MapLocale Setting - locale
Id String A string used to identify the locale
BotAliasS3BucketLogDestination, BotAliasS3BucketLogDestinationArgs
- Log
Prefix string The Amazon S3 key of the deployment package.
- S3Bucket
Arn 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 string The Amazon S3 key of the deployment package.
- S3Bucket
Arn 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 String The Amazon S3 key of the deployment package.
- s3Bucket
Arn 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 string The Amazon S3 key of the deployment package.
- s3Bucket
Arn 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 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.
- log
Prefix String The Amazon S3 key of the deployment package.
- s3Bucket
Arn 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
BotAliasTextLogSetting, BotAliasTextLogSettingArgs
- destination Property Map
- enabled Boolean
SentimentAnalysisSettingsProperties, SentimentAnalysisSettingsPropertiesArgs
- Detect
Sentiment bool Enable to call Amazon Comprehend for Sentiment natively within Lex
- Detect
Sentiment bool Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect
Sentiment Boolean Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect
Sentiment boolean Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect_
sentiment bool Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect
Sentiment Boolean Enable to call Amazon Comprehend for Sentiment natively within Lex
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.