1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lex
  5. BotVersion

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.lex.BotVersion

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

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:

BotId This property is required. string
The unique identifier of the bot.
BotVersionLocaleSpecification This property is required. List<Pulumi.AwsNative.Lex.Inputs.BotVersionLocaleSpecification>
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.
BotId This property is required. string
The unique identifier of the bot.
BotVersionLocaleSpecification This property is required. []BotVersionLocaleSpecificationArgs
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.
botId This property is required. String
The unique identifier of the bot.
botVersionLocaleSpecification This property is required. List<BotVersionLocaleSpecification>
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.
botId This property is required. string
The unique identifier of the bot.
botVersionLocaleSpecification This property is required. BotVersionLocaleSpecification[]
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[BotVersionLocaleSpecificationArgs]
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.
botId This property is required. String
The unique identifier of the bot.
botVersionLocaleSpecification 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:

BotVersionValue string
The version of the bot.
Id string
The provider-assigned unique ID for this managed resource.
BotVersion string
The version of the bot.
Id string
The provider-assigned unique ID for this managed resource.
botVersion String
The version of the bot.
id String
The provider-assigned unique ID for this managed resource.
botVersion 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.
botVersion String
The version of the bot.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

BotVersionLocaleDetails
, BotVersionLocaleDetailsArgs

SourceBotVersion This property is required. string
SourceBotVersion This property is required. string
sourceBotVersion This property is required. String
sourceBotVersion This property is required. string
source_bot_version This property is required. str
sourceBotVersion This property is required. String

BotVersionLocaleSpecification
, BotVersionLocaleSpecificationArgs

BotVersionLocaleDetails This property is required. Pulumi.AwsNative.Lex.Inputs.BotVersionLocaleDetails
LocaleId This property is required. string
BotVersionLocaleDetails This property is required. BotVersionLocaleDetails
LocaleId This property is required. string
botVersionLocaleDetails This property is required. BotVersionLocaleDetails
localeId This property is required. String
botVersionLocaleDetails This property is required. BotVersionLocaleDetails
localeId This property is required. string
bot_version_locale_details This property is required. BotVersionLocaleDetails
locale_id This property is required. str
botVersionLocaleDetails This property is required. Property Map
localeId 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.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi