Skip to content
v2.278.0

SelectedSheetsFilterScopeConfigurationProperty Struct ​

The configuration for applying a filter to specific sheets or visuals.

You can apply this filter to multiple visuals that are on one sheet or to all visuals on a sheet.

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 selectedSheetsFilterScopeConfigurationProperty: quicksight.CfnAnalysis.SelectedSheetsFilterScopeConfigurationProperty = {
  sheetVisualScopingConfigurations: [{
    scope: 'scope',
    sheetId: 'sheetId',

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

selected_sheets_filter_scope_configuration_property = quicksight.CfnAnalysis.SelectedSheetsFilterScopeConfigurationProperty(
    sheet_visual_scoping_configurations=[quicksight.CfnAnalysis.SheetVisualScopingConfigurationProperty(
        scope="scope",
        sheet_id="sheetId",

        # the properties below are optional
        visual_ids=["visualIds"]
    )]
)
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.*;

SelectedSheetsFilterScopeConfigurationProperty selectedSheetsFilterScopeConfigurationProperty = SelectedSheetsFilterScopeConfigurationProperty.builder()
        .sheetVisualScopingConfigurations(List.of(SheetVisualScopingConfigurationProperty.builder()
                .scope("scope")
                .sheetId("sheetId")

                // the properties below are optional
                .visualIds(List.of("visualIds"))
                .build()))
        .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 selectedSheetsFilterScopeConfigurationProperty = new SelectedSheetsFilterScopeConfigurationProperty {
    SheetVisualScopingConfigurations = new [] { new SheetVisualScopingConfigurationProperty {
        Scope = "scope",
        SheetId = "sheetId",

        // the properties below are optional
        VisualIds = new [] { "visualIds" }
    } }
};
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"

selectedSheetsFilterScopeConfigurationProperty := &SelectedSheetsFilterScopeConfigurationProperty{
	SheetVisualScopingConfigurations: []interface{}{
		&SheetVisualScopingConfigurationProperty{
			Scope: jsii.String("scope"),
			SheetId: jsii.String("sheetId"),

			// the properties below are optional
			VisualIds: []*string{
				jsii.String("visualIds"),
			},
		},
	},
}

Properties ​

sheetVisualScopingConfigurationsoptionalIResolvable | IResolvable | CfnAnalysis.SheetVisualScopingConfigurationProperty[]sheet_visual_scoping_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SheetVisualScopingConfigurationProperty]]]sheetVisualScopingConfigurationsoptionalIResolvableSheetVisualScopingConfigurationsoptionalIResolvableSheetVisualScopingConfigurationsoptionalinterface{} #
The sheet ID and visual IDs of the sheet and visuals that the filter is applied to.