FilterScopeConfigurationProperty Struct
The scope configuration for a FilterGroup .
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
| Source | |
|---|---|
| Type last changed |
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';
declare const allSheets: any;
const filterScopeConfigurationProperty: quicksight.CfnAnalysis.FilterScopeConfigurationProperty = {
allSheets: allSheets,
selectedSheets: {
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
# all_sheets: Any
filter_scope_configuration_property = quicksight.CfnAnalysis.FilterScopeConfigurationProperty(
all_sheets=all_sheets,
selected_sheets=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.*;
Object allSheets;
FilterScopeConfigurationProperty filterScopeConfigurationProperty = FilterScopeConfigurationProperty.builder()
.allSheets(allSheets)
.selectedSheets(SelectedSheetsFilterScopeConfigurationProperty.builder()
.sheetVisualScopingConfigurations(List.of(SheetVisualScopingConfigurationProperty.builder()
.scope("scope")
.sheetId("sheetId")
// the properties below are optional
.visualIds(List.of("visualIds"))
.build()))
.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 allSheets;
var filterScopeConfigurationProperty = new FilterScopeConfigurationProperty {
AllSheets = allSheets,
SelectedSheets = 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"
var allSheets interface{}
filterScopeConfigurationProperty := &FilterScopeConfigurationProperty{
AllSheets: allSheets,
SelectedSheets: &SelectedSheetsFilterScopeConfigurationProperty{
SheetVisualScopingConfigurations: []interface{}{
&SheetVisualScopingConfigurationProperty{
Scope: jsii.String("scope"),
SheetId: jsii.String("sheetId"),
// the properties below are optional
VisualIds: []*string{
jsii.String("visualIds"),
},
},
},
},
}
Properties
allSheetsoptionalanyall_sheetsoptionalAnyallSheetsoptionalObjectAllSheetsoptionalobjectAllSheetsoptionalinterface{} #The configuration that applies a filter to all sheets.
When you choose AllSheets as the value for a FilterScopeConfiguration , this filter is applied to all visuals of all sheets in an Analysis, Dashboard, or Template. The AllSheetsFilterScopeConfiguration is chosen.
selectedSheetsoptionalIResolvable | CfnAnalysis.selected_sheetsoptionaltyping.Union[IResolvable, SelectedSheetsFilterScopeConfigurationProperty]selectedSheetsoptionalIResolvableSelectedSheetsoptionalIResolvableSelectedSheetsoptionalinterface{} #The configuration for applying a filter to specific sheets.