We recommend new projects start with resources from the AWS provider.
aws-native.lex.BotVersion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A version is a numbered snapshot of your work that you can publish for use in different parts of your workflow, such as development, beta deployment, and production.
Create BotVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BotVersion(name: string, args: BotVersionArgs, opts?: CustomResourceOptions);
@overload
def BotVersion(resource_name: str,
args: BotVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BotVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
bot_id: Optional[str] = None,
bot_version_locale_specification: Optional[Sequence[BotVersionLocaleSpecificationArgs]] = None,
description: Optional[str] = None)
func NewBotVersion(ctx *Context, name string, args BotVersionArgs, opts ...ResourceOption) (*BotVersion, error)
public BotVersion(string name, BotVersionArgs args, CustomResourceOptions? opts = null)
public BotVersion(String name, BotVersionArgs args)
public BotVersion(String name, BotVersionArgs args, CustomResourceOptions options)
type: aws-native:lex:BotVersion
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. BotVersionArgs - 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. BotVersionArgs - 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. BotVersionArgs - 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. BotVersionArgs - 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. BotVersionArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BotVersion 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 BotVersion resource accepts the following input properties:
- Bot
Id This property is required. string - The unique identifier of the bot.
- Bot
Version Locale Specification This property is required. List<Pulumi.Aws Native. Lex. Inputs. Bot Version Locale Specification> - Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
- Description string
- The description of the version.
- Bot
Id This property is required. string - The unique identifier of the bot.
- Bot
Version Locale Specification This property is required. []BotVersion Locale Specification Args - Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
- Description string
- The description of the version.
- bot
Id This property is required. String - The unique identifier of the bot.
- bot
Version Locale Specification This property is required. List<BotVersion Locale Specification> - Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
- description String
- The description of the version.
- bot
Id This property is required. string - The unique identifier of the bot.
- bot
Version Locale Specification This property is required. BotVersion Locale Specification[] - Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
- description string
- The description of the version.
- bot_
id This property is required. str - The unique identifier of the bot.
- bot_
version_ locale_ specification This property is required. Sequence[BotVersion Locale Specification Args] - Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
- description str
- The description of the version.
- bot
Id This property is required. String - The unique identifier of the bot.
- bot
Version Locale Specification This property is required. List<Property Map> - Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
- description String
- The description of the version.
Outputs
All input properties are implicitly available as output properties. Additionally, the BotVersion resource produces the following output properties:
- Bot
Version stringValue - The version of the bot.
- Id string
- The provider-assigned unique ID for this managed resource.
- Bot
Version string - The version of the bot.
- Id string
- The provider-assigned unique ID for this managed resource.
- bot
Version String - The version of the bot.
- id String
- The provider-assigned unique ID for this managed resource.
- bot
Version string - The version of the bot.
- id string
- The provider-assigned unique ID for this managed resource.
- bot_
version str - The version of the bot.
- id str
- The provider-assigned unique ID for this managed resource.
- bot
Version String - The version of the bot.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
BotVersionLocaleDetails, BotVersionLocaleDetailsArgs
- Source
Bot Version This property is required. string
- Source
Bot Version This property is required. string
- source
Bot Version This property is required. String
- source
Bot Version This property is required. string
- source_
bot_ version This property is required. str
- source
Bot Version This property is required. String
BotVersionLocaleSpecification, BotVersionLocaleSpecificationArgs
- Bot
Version Locale Details This property is required. Pulumi.Aws Native. Lex. Inputs. Bot Version Locale Details - Locale
Id This property is required. string
- Bot
Version Locale Details This property is required. BotVersion Locale Details - Locale
Id This property is required. string
- bot
Version Locale Details This property is required. BotVersion Locale Details - locale
Id This property is required. String
- bot
Version Locale Details This property is required. BotVersion Locale Details - locale
Id This property is required. string
- bot_
version_ locale_ details This property is required. BotVersion Locale Details - locale_
id This property is required. str
- bot
Version Locale Details This property is required. Property Map - locale
Id This property is required. String
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.