Interface CfnCustomActionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCustomActionMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:56.852Z")
@Stability(Stable)
public interface CfnCustomActionMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnCustomActionPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.chatbot.*;
CfnCustomActionMixinProps cfnCustomActionMixinProps = CfnCustomActionMixinProps.builder()
.actionName("actionName")
.aliasName("aliasName")
.attachments(List.of(CustomActionAttachmentProperty.builder()
.buttonText("buttonText")
.criteria(List.of(CustomActionAttachmentCriteriaProperty.builder()
.operator("operator")
.value("value")
.variableName("variableName")
.build()))
.notificationType("notificationType")
.variables(Map.of(
"variablesKey", "variables"))
.build()))
.definition(CustomActionDefinitionProperty.builder()
.commandText("commandText")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCustomActionMixinPropsstatic final classAn implementation forCfnCustomActionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the custom action.default StringThe name used to invoke this action in a chat channel.default ObjectDefines when this custom action button should be attached to a notification.default ObjectThe definition of the command to run when invoked as an alias or as an action button.getTags()The tags to add to the configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionName
The name of the custom action.This name is included in the Amazon Resource Name (ARN).
- See Also:
-
getAliasName
The name used to invoke this action in a chat channel.For example,
@Amazon Q run my-alias.- See Also:
-
getAttachments
Defines when this custom action button should be attached to a notification.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCustomActionPropsMixin.CustomActionAttachmentProperty>- See Also:
-
getDefinition
The definition of the command to run when invoked as an alias or as an action button.Returns union: either
IResolvableorCfnCustomActionPropsMixin.CustomActionDefinitionProperty- See Also:
-
getTags
The tags to add to the configuration.- See Also:
-
builder
- Returns:
- a
CfnCustomActionMixinProps.BuilderofCfnCustomActionMixinProps
-