aws-cdk-lib.aws_quicksight.CfnAnalysis.EmptyVisualProperty

interface EmptyVisualProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnAnalysis.EmptyVisualProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_EmptyVisualProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnAnalysis.EmptyVisualProperty
Pythonaws_cdk.aws_quicksight.CfnAnalysis.EmptyVisualProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnAnalysis » EmptyVisualProperty

An empty visual.

Empty visuals are used in layouts but have not been configured to show any data. A new visual created in the Amazon QuickSight console is considered an EmptyVisual until a visual type is selected.

Example

// 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.CfnAnalysis.EmptyVisualProperty = {
  dataSetIdentifier: 'dataSetIdentifier',
  visualId: 'visualId',

  // the properties below are optional
  actions: [{
    actionOperations: [{
      filterOperation: {
        selectedFieldsConfiguration: {
          selectedColumns: [{
            columnName: 'columnName',
            dataSetIdentifier: 'dataSetIdentifier',
          }],
          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',
              dataSetIdentifier: 'dataSetIdentifier',
            },
            sourceField: 'sourceField',
            sourceParameterName: 'sourceParameterName',
          },
        }],
      },
      urlOperation: {
        urlTarget: 'urlTarget',
        urlTemplate: 'urlTemplate',
      },
    }],
    customActionId: 'customActionId',
    name: 'name',
    trigger: 'trigger',

    // the properties below are optional
    status: 'status',
  }],
};

Properties

NameTypeDescription
dataSetIdentifierstringThe data set that is used in the empty visual.
visualIdstringThe unique identifier of a visual.
actions?IResolvable | IResolvable | VisualCustomActionProperty[]The list of custom actions that are configured for a visual.

dataSetIdentifier

Type: string

The data set that is used in the empty visual.

Every visual requires a dataset to render.


visualId

Type: 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.


actions?

Type: IResolvable | IResolvable | VisualCustomActionProperty[] (optional)

The list of custom actions that are configured for a visual.