# SelectedSheetsFilterScopeConfigurationProperty

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.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
    } }
};
```

Golang:

```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

- `sheetVisualScopingConfigurations`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.SheetVisualScopingConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.SheetVisualScopingConfigurationProperty.html)[] — The sheet ID and visual IDs of the sheet and visuals that the filter is applied to.
