

# ImageCustomAction


A custom action defined on an image.

## Contents


**Note**  
In the following list, the required parameters are described first.

 ** ActionOperations **   <a name="QS-Type-ImageCustomAction-ActionOperations"></a>
A list of `ImageCustomActionOperations`.  
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.  
Type: Array of [ImageCustomActionOperation](API_ImageCustomActionOperation.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 2 items.  
Required: Yes

 ** CustomActionId **   <a name="QS-Type-ImageCustomAction-CustomActionId"></a>
The ID of the custom action.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Pattern: `[\w\-]+`   
Required: Yes

 ** Name **   <a name="QS-Type-ImageCustomAction-Name"></a>
The name of the custom action.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

 ** Trigger **   <a name="QS-Type-ImageCustomAction-Trigger"></a>
The trigger of the `VisualCustomAction`.  
Valid values are defined as follows:  
+  `CLICK`: Initiates a custom action by a left pointer click on a data point.
+  `MENU`: Initiates a custom action by right pointer click from the menu.
Type: String  
Valid Values: `CLICK | MENU`   
Required: Yes

 ** Status **   <a name="QS-Type-ImageCustomAction-Status"></a>
The status of the custom action.  
Type: String  
Valid Values: `ENABLED | DISABLED`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/quicksight-2018-04-01/ImageCustomAction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/quicksight-2018-04-01/ImageCustomAction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/quicksight-2018-04-01/ImageCustomAction) 