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 string
- The unique name of the resource.
- args BotVersionArgs
- 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 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 string
- The unique name of the resource.
- args BotVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BotVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
The BotVersion resource accepts the following input properties:
- Bot
Id string - The unique identifier of the bot.
- Bot
Version List<Pulumi.Locale Specification 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 string - The unique identifier of the bot.
- Bot
Version []BotLocale Specification Version 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 String - The unique identifier of the bot.
- bot
Version List<BotLocale Specification 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 string - The unique identifier of the bot.
- bot
Version BotLocale Specification 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 str - The unique identifier of the bot.
- bot_
version_ Sequence[Botlocale_ specification Version 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 String - The unique identifier of the bot.
- bot
Version List<Property Map>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.
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 stringVersion
- Source
Bot stringVersion
- source
Bot StringVersion
- source
Bot stringVersion
- source
Bot StringVersion
BotVersionLocaleSpecification, BotVersionLocaleSpecificationArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.