EmptyVisualProperty Struct
An empty visual.
Empty visuals are used in layouts but have not been configured to show any data. A new visual created in the Quick Sight console is considered an EmptyVisual until a visual type is selected.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const emptyVisualProperty: quicksight.CfnTemplate.EmptyVisualProperty = {
visualId: 'visualId',
// the properties below are optional
actions: [{
actionOperations: [{
filterOperation: {
selectedFieldsConfiguration: {
selectedColumns: [{
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
}],
selectedFieldOptions: 'selectedFieldOptions',
selectedFields: ['selectedFields'],
},
targetVisualsConfiguration: {
sameSheetTargetVisualConfiguration: {
targetVisualOptions: 'targetVisualOptions',
targetVisuals: ['targetVisuals'],
},
},
},
navigationOperation: {
localNavigationConfiguration: {
targetSheetId: 'targetSheetId',
},
},
setParametersOperation: {
parameterValueConfigurations: [{
destinationParameterName: 'destinationParameterName',
value: {
customValuesConfiguration: {
customValues: {
dateTimeValues: ['dateTimeValues'],
decimalValues: [123],
integerValues: [123],
stringValues: ['stringValues'],
},
// the properties below are optional
includeNullValue: false,
},
selectAllValueOptions: 'selectAllValueOptions',
sourceColumn: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
sourceField: 'sourceField',
sourceParameterName: 'sourceParameterName',
},
}],
},
urlOperation: {
urlTarget: 'urlTarget',
urlTemplate: 'urlTemplate',
},
}],
customActionId: 'customActionId',
name: 'name',
trigger: 'trigger',
// the properties below are optional
status: 'status',
}],
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight
empty_visual_property = quicksight.CfnTemplate.EmptyVisualProperty(
visual_id="visualId",
# the properties below are optional
actions=[quicksight.CfnTemplate.VisualCustomActionProperty(
action_operations=[quicksight.CfnTemplate.VisualCustomActionOperationProperty(
filter_operation=quicksight.CfnTemplate.CustomActionFilterOperationProperty(
selected_fields_configuration=quicksight.CfnTemplate.FilterOperationSelectedFieldsConfigurationProperty(
selected_columns=[quicksight.CfnTemplate.ColumnIdentifierProperty(
column_name="columnName",
# the properties below are optional
data_set_identifier="dataSetIdentifier",
topic_identifier="topicIdentifier"
)],
selected_field_options="selectedFieldOptions",
selected_fields=["selectedFields"]
),
target_visuals_configuration=quicksight.CfnTemplate.FilterOperationTargetVisualsConfigurationProperty(
same_sheet_target_visual_configuration=quicksight.CfnTemplate.SameSheetTargetVisualConfigurationProperty(
target_visual_options="targetVisualOptions",
target_visuals=["targetVisuals"]
)
)
),
navigation_operation=quicksight.CfnTemplate.CustomActionNavigationOperationProperty(
local_navigation_configuration=quicksight.CfnTemplate.LocalNavigationConfigurationProperty(
target_sheet_id="targetSheetId"
)
),
set_parameters_operation=quicksight.CfnTemplate.CustomActionSetParametersOperationProperty(
parameter_value_configurations=[quicksight.CfnTemplate.SetParameterValueConfigurationProperty(
destination_parameter_name="destinationParameterName",
value=quicksight.CfnTemplate.DestinationParameterValueConfigurationProperty(
custom_values_configuration=quicksight.CfnTemplate.CustomValuesConfigurationProperty(
custom_values=quicksight.CfnTemplate.CustomParameterValuesProperty(
date_time_values=["dateTimeValues"],
decimal_values=[123],
integer_values=[123],
string_values=["stringValues"]
),
# the properties below are optional
include_null_value=False
),
select_all_value_options="selectAllValueOptions",
source_column=quicksight.CfnTemplate.ColumnIdentifierProperty(
column_name="columnName",
# the properties below are optional
data_set_identifier="dataSetIdentifier",
topic_identifier="topicIdentifier"
),
source_field="sourceField",
source_parameter_name="sourceParameterName"
)
)]
),
url_operation=quicksight.CfnTemplate.CustomActionURLOperationProperty(
url_target="urlTarget",
url_template="urlTemplate"
)
)],
custom_action_id="customActionId",
name="name",
trigger="trigger",
# the properties below are optional
status="status"
)],
data_set_identifier="dataSetIdentifier",
topic_identifier="topicIdentifier"
)
java
// 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.*;
EmptyVisualProperty emptyVisualProperty = EmptyVisualProperty.builder()
.visualId("visualId")
// the properties below are optional
.actions(List.of(VisualCustomActionProperty.builder()
.actionOperations(List.of(VisualCustomActionOperationProperty.builder()
.filterOperation(CustomActionFilterOperationProperty.builder()
.selectedFieldsConfiguration(FilterOperationSelectedFieldsConfigurationProperty.builder()
.selectedColumns(List.of(ColumnIdentifierProperty.builder()
.columnName("columnName")
// the properties below are optional
.dataSetIdentifier("dataSetIdentifier")
.topicIdentifier("topicIdentifier")
.build()))
.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")
.sourceColumn(ColumnIdentifierProperty.builder()
.columnName("columnName")
// the properties below are optional
.dataSetIdentifier("dataSetIdentifier")
.topicIdentifier("topicIdentifier")
.build())
.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()))
.dataSetIdentifier("dataSetIdentifier")
.topicIdentifier("topicIdentifier")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var emptyVisualProperty = new EmptyVisualProperty {
VisualId = "visualId",
// the properties below are optional
Actions = new [] { new VisualCustomActionProperty {
ActionOperations = new [] { new VisualCustomActionOperationProperty {
FilterOperation = new CustomActionFilterOperationProperty {
SelectedFieldsConfiguration = new FilterOperationSelectedFieldsConfigurationProperty {
SelectedColumns = new [] { new ColumnIdentifierProperty {
ColumnName = "columnName",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier",
TopicIdentifier = "topicIdentifier"
} },
SelectedFieldOptions = "selectedFieldOptions",
SelectedFields = new [] { "selectedFields" }
},
TargetVisualsConfiguration = new FilterOperationTargetVisualsConfigurationProperty {
SameSheetTargetVisualConfiguration = new SameSheetTargetVisualConfigurationProperty {
TargetVisualOptions = "targetVisualOptions",
TargetVisuals = new [] { "targetVisuals" }
}
}
},
NavigationOperation = new CustomActionNavigationOperationProperty {
LocalNavigationConfiguration = new LocalNavigationConfigurationProperty {
TargetSheetId = "targetSheetId"
}
},
SetParametersOperation = new CustomActionSetParametersOperationProperty {
ParameterValueConfigurations = new [] { new SetParameterValueConfigurationProperty {
DestinationParameterName = "destinationParameterName",
Value = new DestinationParameterValueConfigurationProperty {
CustomValuesConfiguration = new CustomValuesConfigurationProperty {
CustomValues = new CustomParameterValuesProperty {
DateTimeValues = new [] { "dateTimeValues" },
DecimalValues = new [] { 123 },
IntegerValues = new [] { 123 },
StringValues = new [] { "stringValues" }
},
// the properties below are optional
IncludeNullValue = false
},
SelectAllValueOptions = "selectAllValueOptions",
SourceColumn = new ColumnIdentifierProperty {
ColumnName = "columnName",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier",
TopicIdentifier = "topicIdentifier"
},
SourceField = "sourceField",
SourceParameterName = "sourceParameterName"
}
} }
},
UrlOperation = new CustomActionURLOperationProperty {
UrlTarget = "urlTarget",
UrlTemplate = "urlTemplate"
}
} },
CustomActionId = "customActionId",
Name = "name",
Trigger = "trigger",
// the properties below are optional
Status = "status"
} },
DataSetIdentifier = "dataSetIdentifier",
TopicIdentifier = "topicIdentifier"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
emptyVisualProperty := &EmptyVisualProperty{
VisualId: jsii.String("visualId"),
// the properties below are optional
Actions: []interface{}{
&VisualCustomActionProperty{
ActionOperations: []interface{}{
&VisualCustomActionOperationProperty{
FilterOperation: &CustomActionFilterOperationProperty{
SelectedFieldsConfiguration: &FilterOperationSelectedFieldsConfigurationProperty{
SelectedColumns: []interface{}{
&ColumnIdentifierProperty{
ColumnName: jsii.String("columnName"),
// the properties below are optional
DataSetIdentifier: jsii.String("dataSetIdentifier"),
TopicIdentifier: jsii.String("topicIdentifier"),
},
},
SelectedFieldOptions: jsii.String("selectedFieldOptions"),
SelectedFields: []*string{
jsii.String("selectedFields"),
},
},
TargetVisualsConfiguration: &FilterOperationTargetVisualsConfigurationProperty{
SameSheetTargetVisualConfiguration: &SameSheetTargetVisualConfigurationProperty{
TargetVisualOptions: jsii.String("targetVisualOptions"),
TargetVisuals: []*string{
jsii.String("targetVisuals"),
},
},
},
},
NavigationOperation: &CustomActionNavigationOperationProperty{
LocalNavigationConfiguration: &LocalNavigationConfigurationProperty{
TargetSheetId: jsii.String("targetSheetId"),
},
},
SetParametersOperation: &CustomActionSetParametersOperationProperty{
ParameterValueConfigurations: []interface{}{
&SetParameterValueConfigurationProperty{
DestinationParameterName: jsii.String("destinationParameterName"),
Value: &DestinationParameterValueConfigurationProperty{
CustomValuesConfiguration: &CustomValuesConfigurationProperty{
CustomValues: &CustomParameterValuesProperty{
DateTimeValues: []*string{
jsii.String("dateTimeValues"),
},
DecimalValues: []interface{}{
jsii.Number(123),
},
IntegerValues: []interface{}{
jsii.Number(123),
},
StringValues: []*string{
jsii.String("stringValues"),
},
},
// the properties below are optional
IncludeNullValue: jsii.Boolean(false),
},
SelectAllValueOptions: jsii.String("selectAllValueOptions"),
SourceColumn: &ColumnIdentifierProperty{
ColumnName: jsii.String("columnName"),
// the properties below are optional
DataSetIdentifier: jsii.String("dataSetIdentifier"),
TopicIdentifier: jsii.String("topicIdentifier"),
},
SourceField: jsii.String("sourceField"),
SourceParameterName: jsii.String("sourceParameterName"),
},
},
},
},
UrlOperation: &CustomActionURLOperationProperty{
UrlTarget: jsii.String("urlTarget"),
UrlTemplate: jsii.String("urlTemplate"),
},
},
},
CustomActionId: jsii.String("customActionId"),
Name: jsii.String("name"),
Trigger: jsii.String("trigger"),
// the properties below are optional
Status: jsii.String("status"),
},
},
DataSetIdentifier: jsii.String("dataSetIdentifier"),
TopicIdentifier: jsii.String("topicIdentifier"),
}
Properties
actionsoptionalIResolvable | IResolvable | CfnTemplate.actionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, VisualCustomActionProperty]]]actionsoptionalIResolvableActionsoptionalIResolvableActionsoptionalinterface{} #The list of custom actions that are configured for a visual.
dataSetIdentifieroptionalstringdata_set_identifieroptionalstrdataSetIdentifieroptionalStringDataSetIdentifieroptionalstringDataSetIdentifieroptional*string = "" #The data set that is used in the empty visual.
Every visual requires a dataset to render.
topicIdentifieroptionalstringtopic_identifieroptionalstrtopicIdentifieroptionalStringTopicIdentifieroptionalstringTopicIdentifieroptional*string #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.