We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for bot versions, 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.
resource "aws-native_lex_bot_version" "name" {
# resource properties
}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
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 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(object)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 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 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.
Look up Existing BotVersion Resource
Get an existing BotVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): BotVersion@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> BotVersionfunc GetBotVersion(ctx *Context, name string, id IDInput, state *BotVersionState, opts ...ResourceOption) (*BotVersion, error)public static BotVersion Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static BotVersion get(String name, Output<String> id, CustomResourceOptions options)resources: existingBotVersion: type: aws-native:lex:BotVersion get: id: ${id}import {
to = aws-native_lex_bot_version.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state BotVersionState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
BotVersionLocaleDetails, BotVersionLocaleDetailsArgs
The version of a bot used for a bot locale.
- Source
Bot stringVersion
- 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.
published on Wednesday, Nov 18, 2026 by Pulumi