aws-cdk-lib.aws_quicksight.CfnTemplate.VisualCustomActionOperationProperty

interface VisualCustomActionOperationProperty

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

The operation that is defined by the custom action.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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 visualCustomActionOperationProperty: quicksight.CfnTemplate.VisualCustomActionOperationProperty = {
  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',
  },
};

Properties

NameTypeDescription
filterOperation?IResolvable | CustomActionFilterOperationPropertyThe filter operation that filters data included in a visual or in an entire sheet.
navigationOperation?IResolvable | CustomActionNavigationOperationPropertyThe navigation operation that navigates between different sheets in the same analysis.
setParametersOperation?IResolvable | CustomActionSetParametersOperationPropertyThe set parameter operation that sets parameters in custom action.
urlOperation?IResolvable | CustomActionURLOperationPropertyThe URL operation that opens a link to another webpage.

filterOperation?

Type: IResolvable | CustomActionFilterOperationProperty (optional)

The filter operation that filters data included in a visual or in an entire sheet.


navigationOperation?

Type: IResolvable | CustomActionNavigationOperationProperty (optional)

The navigation operation that navigates between different sheets in the same analysis.


setParametersOperation?

Type: IResolvable | CustomActionSetParametersOperationProperty (optional)

The set parameter operation that sets parameters in custom action.


urlOperation?

Type: IResolvable | CustomActionURLOperationProperty (optional)

The URL operation that opens a link to another webpage.