@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
90 lines (89 loc) • 2.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Provides details about a specific Lex (V1) Bot associated with an Amazon Connect instance.
*
* ## Example Usage
*
* ### By name
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.connect.getBotAssociation({
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
* lexBot: {
* name: "Test",
* },
* });
* ```
*/
export declare function getBotAssociation(args: GetBotAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetBotAssociationResult>;
/**
* A collection of arguments for invoking getBotAssociation.
*/
export interface GetBotAssociationArgs {
/**
* Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
*/
instanceId: string;
/**
* Configuration information of an Amazon Lex (V1) bot. Detailed below.
*/
lexBot: inputs.connect.GetBotAssociationLexBot;
/**
* 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 getBotAssociation.
*/
export interface GetBotAssociationResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instanceId: string;
readonly lexBot: outputs.connect.GetBotAssociationLexBot;
readonly region: string;
}
/**
* Provides details about a specific Lex (V1) Bot associated with an Amazon Connect instance.
*
* ## Example Usage
*
* ### By name
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.connect.getBotAssociation({
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
* lexBot: {
* name: "Test",
* },
* });
* ```
*/
export declare function getBotAssociationOutput(args: GetBotAssociationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBotAssociationResult>;
/**
* A collection of arguments for invoking getBotAssociation.
*/
export interface GetBotAssociationOutputArgs {
/**
* Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
*/
instanceId: pulumi.Input<string>;
/**
* Configuration information of an Amazon Lex (V1) bot. Detailed below.
*/
lexBot: pulumi.Input<inputs.connect.GetBotAssociationLexBotArgs>;
/**
* 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>;
}