import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource Type definition for an Amazon Lex conversational bot performing automated tasks such as ordering a pizza, booking a hotel, and so on. */ export declare class Bot extends pulumi.CustomResource { /** * Get an existing Bot resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Bot; /** * Returns true if the given object is an instance of Bot. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Bot; /** * The Amazon Resource Name (ARN) of the bot. */ readonly arn: pulumi.Output; /** * Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change. */ readonly autoBuildBotLocales: pulumi.Output; /** * The unique identifier of the bot. */ readonly awsId: pulumi.Output; /** * The Amazon S3 location of files used to import a bot. The files must be in the import format specified in [JSON format for importing and exporting](https://docs.aws.amazon.com/lexv2/latest/dg/import-export-format.html) in the *Amazon Lex developer guide.* */ readonly botFileS3Location: pulumi.Output; /** * A list of locales for the bot. */ readonly botLocales: pulumi.Output; /** * A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the `UpdateBot` operation to update tags. To update tags, use the `TagResource` operation. */ readonly botTags: pulumi.Output; /** * By default, data stored by Amazon Lex is encrypted. The `DataPrivacy` structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot. */ readonly dataPrivacy: pulumi.Output; /** * The description of the version. */ readonly description: pulumi.Output; readonly errorLogSettings: pulumi.Output; /** * The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. * * A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. * * You can specify between 60 (1 minute) and 86,400 (24 hours) seconds. */ readonly idleSessionTtlInSeconds: pulumi.Output; /** * The name of the bot locale. */ readonly name: pulumi.Output; readonly replication: pulumi.Output; /** * The Amazon Resource Name (ARN) of the IAM role used to build and run the bot. */ readonly roleArn: pulumi.Output; /** * Specifies configuration settings for the alias used to test the bot. If the `TestBotAliasSettings` property is not specified, the settings are configured with default values. */ readonly testBotAliasSettings: pulumi.Output; /** * A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the `UpdateAlias` operation to update tags. To update tags on the test alias, use the `TagResource` operation. */ readonly testBotAliasTags: pulumi.Output; /** * Create a Bot resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BotArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Bot resource. */ export interface BotArgs { /** * Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change. */ autoBuildBotLocales?: pulumi.Input; /** * The Amazon S3 location of files used to import a bot. The files must be in the import format specified in [JSON format for importing and exporting](https://docs.aws.amazon.com/lexv2/latest/dg/import-export-format.html) in the *Amazon Lex developer guide.* */ botFileS3Location?: pulumi.Input; /** * A list of locales for the bot. */ botLocales?: pulumi.Input[]>; /** * A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the `UpdateBot` operation to update tags. To update tags, use the `TagResource` operation. */ botTags?: pulumi.Input[]>; /** * By default, data stored by Amazon Lex is encrypted. The `DataPrivacy` structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot. */ dataPrivacy: pulumi.Input; /** * The description of the version. */ description?: pulumi.Input; errorLogSettings?: pulumi.Input; /** * The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. * * A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. * * You can specify between 60 (1 minute) and 86,400 (24 hours) seconds. */ idleSessionTtlInSeconds: pulumi.Input; /** * The name of the bot locale. */ name?: pulumi.Input; replication?: pulumi.Input; /** * The Amazon Resource Name (ARN) of the IAM role used to build and run the bot. */ roleArn: pulumi.Input; /** * Specifies configuration settings for the alias used to test the bot. If the `TestBotAliasSettings` property is not specified, the settings are configured with default values. */ testBotAliasSettings?: pulumi.Input; /** * A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the `UpdateAlias` operation to update tags. To update tags on the test alias, use the `TagResource` operation. */ testBotAliasTags?: pulumi.Input[]>; }