@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
110 lines (109 loc) • 2.98 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides details about a specific Amazon Lex Bot Alias.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const orderFlowersProd = aws.lex.getBotAlias({
* botName: "OrderFlowers",
* name: "OrderFlowersProd",
* });
* ```
*/
export declare function getBotAlias(args: GetBotAliasArgs, opts?: pulumi.InvokeOptions): Promise<GetBotAliasResult>;
/**
* A collection of arguments for invoking getBotAlias.
*/
export interface GetBotAliasArgs {
/**
* Name of the bot.
*/
botName: string;
/**
* Name of the bot alias. The name is case sensitive.
*/
name: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
}
/**
* A collection of values returned by getBotAlias.
*/
export interface GetBotAliasResult {
/**
* ARN of the bot alias.
*/
readonly arn: string;
/**
* Name of the bot.
*/
readonly botName: string;
/**
* Version of the bot that the alias points to.
*/
readonly botVersion: string;
/**
* Checksum of the bot alias.
*/
readonly checksum: string;
/**
* Date that the bot alias was created.
*/
readonly createdDate: string;
/**
* Description of the alias.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
*/
readonly lastUpdatedDate: string;
/**
* Name of the alias. The name is not case sensitive.
*/
readonly name: string;
readonly region: string;
}
/**
* Provides details about a specific Amazon Lex Bot Alias.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const orderFlowersProd = aws.lex.getBotAlias({
* botName: "OrderFlowers",
* name: "OrderFlowersProd",
* });
* ```
*/
export declare function getBotAliasOutput(args: GetBotAliasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBotAliasResult>;
/**
* A collection of arguments for invoking getBotAlias.
*/
export interface GetBotAliasOutputArgs {
/**
* Name of the bot.
*/
botName: pulumi.Input<string>;
/**
* Name of the bot alias. The name is case sensitive.
*/
name: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
}