We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.chatbot.getCustomAction
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Definition of AWS::Chatbot::CustomAction Resource Type
Using getCustomAction
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCustomAction(args: GetCustomActionArgs, opts?: InvokeOptions): Promise<GetCustomActionResult>
function getCustomActionOutput(args: GetCustomActionOutputArgs, opts?: InvokeOptions): Output<GetCustomActionResult>
def get_custom_action(custom_action_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomActionResult
def get_custom_action_output(custom_action_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomActionResult]
func LookupCustomAction(ctx *Context, args *LookupCustomActionArgs, opts ...InvokeOption) (*LookupCustomActionResult, error)
func LookupCustomActionOutput(ctx *Context, args *LookupCustomActionOutputArgs, opts ...InvokeOption) LookupCustomActionResultOutput
> Note: This function is named LookupCustomAction
in the Go SDK.
public static class GetCustomAction
{
public static Task<GetCustomActionResult> InvokeAsync(GetCustomActionArgs args, InvokeOptions? opts = null)
public static Output<GetCustomActionResult> Invoke(GetCustomActionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomActionResult> getCustomAction(GetCustomActionArgs args, InvokeOptions options)
public static Output<GetCustomActionResult> getCustomAction(GetCustomActionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:chatbot:getCustomAction
arguments:
# arguments dictionary
The following arguments are supported:
- Custom
Action stringArn - The fully defined ARN of the custom action.
- Custom
Action stringArn - The fully defined ARN of the custom action.
- custom
Action StringArn - The fully defined ARN of the custom action.
- custom
Action stringArn - The fully defined ARN of the custom action.
- custom_
action_ strarn - The fully defined ARN of the custom action.
- custom
Action StringArn - The fully defined ARN of the custom action.
getCustomAction Result
The following output properties are available:
- Alias
Name string - The name used to invoke this action in a chat channel. For example,
@Amazon Q run my-alias
. - Attachments
List<Pulumi.
Aws Native. Chatbot. Outputs. Custom Action Attachment> - Defines when this custom action button should be attached to a notification.
- Custom
Action stringArn - The fully defined ARN of the custom action.
- Definition
Pulumi.
Aws Native. Chatbot. Outputs. Custom Action Definition - The definition of the command to run when invoked as an alias or as an action button.
- List<Pulumi.
Aws Native. Outputs. Tag> - The tags to add to the configuration.
- Alias
Name string - The name used to invoke this action in a chat channel. For example,
@Amazon Q run my-alias
. - Attachments
[]Custom
Action Attachment - Defines when this custom action button should be attached to a notification.
- Custom
Action stringArn - The fully defined ARN of the custom action.
- Definition
Custom
Action Definition - The definition of the command to run when invoked as an alias or as an action button.
- Tag
- The tags to add to the configuration.
- alias
Name String - The name used to invoke this action in a chat channel. For example,
@Amazon Q run my-alias
. - attachments
List<Custom
Action Attachment> - Defines when this custom action button should be attached to a notification.
- custom
Action StringArn - The fully defined ARN of the custom action.
- definition
Custom
Action Definition - The definition of the command to run when invoked as an alias or as an action button.
- List<Tag>
- The tags to add to the configuration.
- alias
Name string - The name used to invoke this action in a chat channel. For example,
@Amazon Q run my-alias
. - attachments
Custom
Action Attachment[] - Defines when this custom action button should be attached to a notification.
- custom
Action stringArn - The fully defined ARN of the custom action.
- definition
Custom
Action Definition - The definition of the command to run when invoked as an alias or as an action button.
- Tag[]
- The tags to add to the configuration.
- alias_
name str - The name used to invoke this action in a chat channel. For example,
@Amazon Q run my-alias
. - attachments
Sequence[Custom
Action Attachment] - Defines when this custom action button should be attached to a notification.
- custom_
action_ strarn - The fully defined ARN of the custom action.
- definition
Custom
Action Definition - The definition of the command to run when invoked as an alias or as an action button.
- Sequence[root_Tag]
- The tags to add to the configuration.
- alias
Name String - The name used to invoke this action in a chat channel. For example,
@Amazon Q run my-alias
. - attachments List<Property Map>
- Defines when this custom action button should be attached to a notification.
- custom
Action StringArn - The fully defined ARN of the custom action.
- definition Property Map
- The definition of the command to run when invoked as an alias or as an action button.
- List<Property Map>
- The tags to add to the configuration.
Supporting Types
CustomActionAttachment
- string
- The text of the button that appears on the notification.
- Criteria
List<Pulumi.
Aws Native. Chatbot. Inputs. Custom Action Attachment Criteria> - The criteria for when a button should be shown based on values in the notification.
- Notification
Type string - The type of notification that the custom action should be attached to.
- Variables Dictionary<string, string>
- The variables to extract from the notification.
- string
- The text of the button that appears on the notification.
- Criteria
[]Custom
Action Attachment Criteria - The criteria for when a button should be shown based on values in the notification.
- Notification
Type string - The type of notification that the custom action should be attached to.
- Variables map[string]string
- The variables to extract from the notification.
- String
- The text of the button that appears on the notification.
- criteria
List<Custom
Action Attachment Criteria> - The criteria for when a button should be shown based on values in the notification.
- notification
Type String - The type of notification that the custom action should be attached to.
- variables Map<String,String>
- The variables to extract from the notification.
- string
- The text of the button that appears on the notification.
- criteria
Custom
Action Attachment Criteria[] - The criteria for when a button should be shown based on values in the notification.
- notification
Type string - The type of notification that the custom action should be attached to.
- variables {[key: string]: string}
- The variables to extract from the notification.
- str
- The text of the button that appears on the notification.
- criteria
Sequence[Custom
Action Attachment Criteria] - The criteria for when a button should be shown based on values in the notification.
- notification_
type str - The type of notification that the custom action should be attached to.
- variables Mapping[str, str]
- The variables to extract from the notification.
- String
- The text of the button that appears on the notification.
- criteria List<Property Map>
- The criteria for when a button should be shown based on values in the notification.
- notification
Type String - The type of notification that the custom action should be attached to.
- variables Map<String>
- The variables to extract from the notification.
CustomActionAttachmentCriteria
- Operator
Pulumi.
Aws Native. Chatbot. Custom Action Attachment Criteria Operator - The operation to perform on the named variable.
- Variable
Name string - The name of the variable to operate on.
- Value string
- A value that is compared with the actual value of the variable based on the behavior of the operator.
- Operator
Custom
Action Attachment Criteria Operator - The operation to perform on the named variable.
- Variable
Name string - The name of the variable to operate on.
- Value string
- A value that is compared with the actual value of the variable based on the behavior of the operator.
- operator
Custom
Action Attachment Criteria Operator - The operation to perform on the named variable.
- variable
Name String - The name of the variable to operate on.
- value String
- A value that is compared with the actual value of the variable based on the behavior of the operator.
- operator
Custom
Action Attachment Criteria Operator - The operation to perform on the named variable.
- variable
Name string - The name of the variable to operate on.
- value string
- A value that is compared with the actual value of the variable based on the behavior of the operator.
- operator
Custom
Action Attachment Criteria Operator - The operation to perform on the named variable.
- variable_
name str - The name of the variable to operate on.
- value str
- A value that is compared with the actual value of the variable based on the behavior of the operator.
- operator "HAS_VALUE" | "EQUALS"
- The operation to perform on the named variable.
- variable
Name String - The name of the variable to operate on.
- value String
- A value that is compared with the actual value of the variable based on the behavior of the operator.
CustomActionAttachmentCriteriaOperator
CustomActionDefinition
- Command
Text string - The command string to run which may include variables by prefixing with a dollar sign ($).
- Command
Text string - The command string to run which may include variables by prefixing with a dollar sign ($).
- command
Text String - The command string to run which may include variables by prefixing with a dollar sign ($).
- command
Text string - The command string to run which may include variables by prefixing with a dollar sign ($).
- command_
text str - The command string to run which may include variables by prefixing with a dollar sign ($).
- command
Text String - The command string to run which may include variables by prefixing with a dollar sign ($).
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi