Interface CfnDashboard.CustomContentVisualProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDashboard.CustomContentVisualProperty.Jsii$Proxy
- Enclosing class:
- CfnDashboard
@Stability(Stable)
public static interface CfnDashboard.CustomContentVisualProperty
extends software.amazon.jsii.JsiiSerializable
A visual that contains custom content.
For more information, see Using custom visual content in the Amazon QuickSight User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
CustomContentVisualProperty customContentVisualProperty = CustomContentVisualProperty.builder()
.dataSetIdentifier("dataSetIdentifier")
.visualId("visualId")
// the properties below are optional
.actions(List.of(VisualCustomActionProperty.builder()
.actionOperations(List.of(VisualCustomActionOperationProperty.builder()
.filterOperation(CustomActionFilterOperationProperty.builder()
.selectedFieldsConfiguration(FilterOperationSelectedFieldsConfigurationProperty.builder()
.selectedFieldOptions("selectedFieldOptions")
.selectedFields(List.of("selectedFields"))
.build())
.targetVisualsConfiguration(FilterOperationTargetVisualsConfigurationProperty.builder()
.sameSheetTargetVisualConfiguration(SameSheetTargetVisualConfigurationProperty.builder()
.targetVisualOptions("targetVisualOptions")
.targetVisuals(List.of("targetVisuals"))
.build())
.build())
.build())
.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())
// the properties below are optional
.includeNullValue(false)
.build())
.selectAllValueOptions("selectAllValueOptions")
.sourceField("sourceField")
.sourceParameterName("sourceParameterName")
.build())
.build()))
.build())
.urlOperation(CustomActionURLOperationProperty.builder()
.urlTarget("urlTarget")
.urlTemplate("urlTemplate")
.build())
.build()))
.customActionId("customActionId")
.name("name")
.trigger("trigger")
// the properties below are optional
.status("status")
.build()))
.chartConfiguration(CustomContentConfigurationProperty.builder()
.contentType("contentType")
.contentUrl("contentUrl")
.imageScaling("imageScaling")
.build())
.subtitle(VisualSubtitleLabelOptionsProperty.builder()
.formatText(LongFormatTextProperty.builder()
.plainText("plainText")
.richText("richText")
.build())
.visibility("visibility")
.build())
.title(VisualTitleLabelOptionsProperty.builder()
.formatText(ShortFormatTextProperty.builder()
.plainText("plainText")
.richText("richText")
.build())
.visibility("visibility")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDashboard.CustomContentVisualPropertystatic final classAn implementation forCfnDashboard.CustomContentVisualProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe list of custom actions that are configured for a visual.default ObjectThe configuration of aCustomContentVisual.The dataset that is used to create the custom content visual.default ObjectThe subtitle that is displayed on the visual.default ObjectgetTitle()The title that is displayed on the visual.The unique identifier of a visual.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataSetIdentifier
The dataset that is used to create the custom content visual.You can't create a visual without a dataset.
-
getVisualId
The unique identifier of a visual.This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
-
getActions
The list of custom actions that are configured for a visual. -
getChartConfiguration
The configuration of aCustomContentVisual. -
getSubtitle
The subtitle that is displayed on the visual. -
getTitle
The title that is displayed on the visual. -
builder
-