UNPKG

@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)

45 lines (44 loc) 1.53 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Definition of AWS::Chatbot::CustomAction Resource Type */ export declare function getCustomAction(args: GetCustomActionArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomActionResult>; export interface GetCustomActionArgs { /** * The fully defined ARN of the custom action. */ customActionArn: string; } export interface GetCustomActionResult { /** * The name used to invoke this action in a chat channel. For example, `@Amazon Q run my-alias` . */ readonly aliasName?: string; /** * Defines when this custom action button should be attached to a notification. */ readonly attachments?: outputs.chatbot.CustomActionAttachment[]; /** * The fully defined ARN of the custom action. */ readonly customActionArn?: string; /** * The definition of the command to run when invoked as an alias or as an action button. */ readonly definition?: outputs.chatbot.CustomActionDefinition; /** * The tags to add to the configuration. */ readonly tags?: outputs.Tag[]; } /** * Definition of AWS::Chatbot::CustomAction Resource Type */ export declare function getCustomActionOutput(args: GetCustomActionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomActionResult>; export interface GetCustomActionOutputArgs { /** * The fully defined ARN of the custom action. */ customActionArn: pulumi.Input<string>; }