# FilterCrossSheetControlProperty

A control from a filter that is scoped across more than one sheet.

This represents your filter control on a sheet

- Source: Generated at build time
- Type last changed: v2.140.0 · 2 May 2024

## 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 filterCrossSheetControlProperty: quicksight.CfnAnalysis.FilterCrossSheetControlProperty = {
  filterControlId: 'filterControlId',
  sourceFilterId: 'sourceFilterId',

  // the properties below are optional
  cascadingControlConfiguration: {
    sourceControls: [{
      columnToMatch: {
        columnName: 'columnName',

        // the properties below are optional
        dataSetIdentifier: 'dataSetIdentifier',
        topicIdentifier: 'topicIdentifier',
      },
      sourceSheetControlId: 'sourceSheetControlId',
    }],
  },
};
```

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

filter_cross_sheet_control_property = quicksight.CfnAnalysis.FilterCrossSheetControlProperty(
    filter_control_id="filterControlId",
    source_filter_id="sourceFilterId",

    # the properties below are optional
    cascading_control_configuration=quicksight.CfnAnalysis.CascadingControlConfigurationProperty(
        source_controls=[quicksight.CfnAnalysis.CascadingControlSourceProperty(
            column_to_match=quicksight.CfnAnalysis.ColumnIdentifierProperty(
                column_name="columnName",

                # the properties below are optional
                data_set_identifier="dataSetIdentifier",
                topic_identifier="topicIdentifier"
            ),
            source_sheet_control_id="sourceSheetControlId"
        )]
    )
)
```

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.*;

FilterCrossSheetControlProperty filterCrossSheetControlProperty = FilterCrossSheetControlProperty.builder()
        .filterControlId("filterControlId")
        .sourceFilterId("sourceFilterId")

        // the properties below are optional
        .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder()
                .sourceControls(List.of(CascadingControlSourceProperty.builder()
                        .columnToMatch(ColumnIdentifierProperty.builder()
                                .columnName("columnName")

                                // the properties below are optional
                                .dataSetIdentifier("dataSetIdentifier")
                                .topicIdentifier("topicIdentifier")
                                .build())
                        .sourceSheetControlId("sourceSheetControlId")
                        .build()))
                .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 filterCrossSheetControlProperty = new FilterCrossSheetControlProperty {
    FilterControlId = "filterControlId",
    SourceFilterId = "sourceFilterId",

    // the properties below are optional
    CascadingControlConfiguration = new CascadingControlConfigurationProperty {
        SourceControls = new [] { new CascadingControlSourceProperty {
            ColumnToMatch = new ColumnIdentifierProperty {
                ColumnName = "columnName",

                // the properties below are optional
                DataSetIdentifier = "dataSetIdentifier",
                TopicIdentifier = "topicIdentifier"
            },
            SourceSheetControlId = "sourceSheetControlId"
        } }
    }
};
```

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"

filterCrossSheetControlProperty := &FilterCrossSheetControlProperty{
	FilterControlId: jsii.String("filterControlId"),
	SourceFilterId: jsii.String("sourceFilterId"),

	// the properties below are optional
	CascadingControlConfiguration: &CascadingControlConfigurationProperty{
		SourceControls: []interface{}{
			&CascadingControlSourceProperty{
				ColumnToMatch: &ColumnIdentifierProperty{
					ColumnName: jsii.String("columnName"),

					// the properties below are optional
					DataSetIdentifier: jsii.String("dataSetIdentifier"),
					TopicIdentifier: jsii.String("topicIdentifier"),
				},
				SourceSheetControlId: jsii.String("sourceSheetControlId"),
			},
		},
	},
}
```

## Properties

- `cascadingControlConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.CascadingControlConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.CascadingControlConfigurationProperty.html) — The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

- `filterControlId`: string (required) — The ID of the `FilterCrossSheetControl` .

- `sourceFilterId`: string (required) — The source filter ID of the `FilterCrossSheetControl` .
