Skip to content
v2.278.0

FilterOperationSelectedFieldsConfigurationProperty Struct ​

The configuration of selected fields in the CustomActionFilterOperation .

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

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 filterOperationSelectedFieldsConfigurationProperty: quicksight.CfnAnalysis.FilterOperationSelectedFieldsConfigurationProperty = {
  selectedColumns: [{
    columnName: 'columnName',

    // the properties below are optional
    dataSetIdentifier: 'dataSetIdentifier',
    topicIdentifier: 'topicIdentifier',
  }],
  selectedFieldOptions: 'selectedFieldOptions',
  selectedFields: ['selectedFields'],
};
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

filter_operation_selected_fields_configuration_property = quicksight.CfnAnalysis.FilterOperationSelectedFieldsConfigurationProperty(
    selected_columns=[quicksight.CfnAnalysis.ColumnIdentifierProperty(
        column_name="columnName",

        # the properties below are optional
        data_set_identifier="dataSetIdentifier",
        topic_identifier="topicIdentifier"
    )],
    selected_field_options="selectedFieldOptions",
    selected_fields=["selectedFields"]
)
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.*;

FilterOperationSelectedFieldsConfigurationProperty filterOperationSelectedFieldsConfigurationProperty = 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();
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 filterOperationSelectedFieldsConfigurationProperty = new FilterOperationSelectedFieldsConfigurationProperty {
    SelectedColumns = new [] { new ColumnIdentifierProperty {
        ColumnName = "columnName",

        // the properties below are optional
        DataSetIdentifier = "dataSetIdentifier",
        TopicIdentifier = "topicIdentifier"
    } },
    SelectedFieldOptions = "selectedFieldOptions",
    SelectedFields = new [] { "selectedFields" }
};
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"

filterOperationSelectedFieldsConfigurationProperty := &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"),
	},
}

Properties ​

selectedColumnsoptionalIResolvable | IResolvable | CfnAnalysis.ColumnIdentifierProperty[]selected_columnsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ColumnIdentifierProperty]]]selectedColumnsoptionalIResolvableSelectedColumnsoptionalIResolvableSelectedColumnsoptionalinterface{} #
The selected columns of a dataset.
selectedFieldOptionsoptionalstringselected_field_optionsoptionalstrselectedFieldOptionsoptionalStringSelectedFieldOptionsoptionalstringSelectedFieldOptionsoptional*string #
A structure that contains the options that choose which fields are filtered in the `CustomActionFilterOperation` .

Valid values are defined as follows:

  • ALL_FIELDS : Applies the filter operation to all fields.
selectedFieldsoptionalstring[]selected_fieldsoptionaltyping.List[str]selectedFieldsoptionalList<String>SelectedFieldsoptionalstring[]SelectedFieldsoptional*[]*string #
Chooses the fields that are filtered in `CustomActionFilterOperation` .