# SessionPinningFilter

SessionPinningFilter.

- Source: [`aws-rds/lib/proxy.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-rds/lib/proxy.ts#L67)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const sessionPinningFilter = rds.SessionPinningFilter.of('filterName');
```

## Properties

- `EXCLUDE_VARIABLE_SETS`: [SessionPinningFilter](/cdk/api/v2/docs/aws-cdk-lib.aws_rds.SessionPinningFilter.html) (static) — You can opt out of session pinning for the following kinds of application statements:.

  - Setting session variables and configuration settings.

- `filterName`: string — Filter name.

## Methods

- `of(filterName: string): SessionPinningFilter // chainable` (static) — custom filter.
