Interface CfnTemplatePropsMixin.ImageCustomActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplatePropsMixin.ImageCustomActionProperty.Jsii$Proxy
- Enclosing class:
CfnTemplatePropsMixin
@Stability(Stable)
public static interface CfnTemplatePropsMixin.ImageCustomActionProperty
extends software.amazon.jsii.JsiiSerializable
A custom action defined on an image.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.quicksight.mixins.*;
ImageCustomActionProperty imageCustomActionProperty = ImageCustomActionProperty.builder()
.actionOperations(List.of(ImageCustomActionOperationProperty.builder()
.navigationOperation(CustomActionNavigationOperationProperty.builder()
.localNavigationConfiguration(LocalNavigationConfigurationProperty.builder()
.targetSheetId("targetSheetId")
.build())
.build())
.setParametersOperation(CustomActionSetParametersOperationProperty.builder()
.parameterValueConfigurations(List.of(SetParameterValueConfigurationProperty.builder()
.destinationParameterName("destinationParameterName")
.value(DestinationParameterValueConfigurationProperty.builder()
.customValuesConfiguration(CustomValuesConfigurationProperty.builder()
.customValues(CustomParameterValuesProperty.builder()
.dateTimeValues(List.of("dateTimeValues"))
.decimalValues(List.of(123))
.integerValues(List.of(123))
.stringValues(List.of("stringValues"))
.build())
.includeNullValue(false)
.build())
.selectAllValueOptions("selectAllValueOptions")
.sourceColumn(ColumnIdentifierProperty.builder()
.columnName("columnName")
.dataSetIdentifier("dataSetIdentifier")
.build())
.sourceField("sourceField")
.sourceParameterName("sourceParameterName")
.build())
.build()))
.build())
.urlOperation(CustomActionURLOperationProperty.builder()
.urlTarget("urlTarget")
.urlTemplate("urlTemplate")
.build())
.build()))
.customActionId("customActionId")
.name("name")
.status("status")
.trigger("trigger")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplatePropsMixin.ImageCustomActionPropertystatic final classAn implementation forCfnTemplatePropsMixin.ImageCustomActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list ofImageCustomActionOperations.default StringThe ID of the custom action.default StringgetName()The name of the custom action.default StringThe status of the custom action.default StringThe trigger of theVisualCustomAction.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionOperations
A list ofImageCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTemplatePropsMixin.ImageCustomActionOperationProperty>- See Also:
-
getCustomActionId
The ID of the custom action.- See Also:
-
getName
The name of the custom action.- See Also:
-
getStatus
The status of the custom action.- See Also:
-
getTrigger
The trigger of theVisualCustomAction.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.
- See Also:
-
builder
-