@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
62 lines (61 loc) • 2.41 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
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 function getBot(args: GetBotArgs, opts?: pulumi.InvokeOptions): Promise<GetBotResult>;
export interface GetBotArgs {
/**
* The unique identifier of the bot.
*/
id: string;
}
export interface GetBotResult {
/**
* The Amazon Resource Name (ARN) of the bot.
*/
readonly arn?: string;
/**
* 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?: outputs.Tag[];
/**
* 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?: outputs.lex.DataPrivacyProperties;
/**
* The description of the version.
*/
readonly description?: string;
readonly errorLogSettings?: outputs.lex.ErrorLogSettingsProperties;
/**
* The unique identifier of the bot.
*/
readonly id?: string;
/**
* 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?: number;
/**
* The name of the bot locale.
*/
readonly name?: string;
/**
* The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
*/
readonly roleArn?: string;
}
/**
* 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 function getBotOutput(args: GetBotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBotResult>;
export interface GetBotOutputArgs {
/**
* The unique identifier of the bot.
*/
id: pulumi.Input<string>;
}