Skip to content
v2.278.0

SessionPinningFilter Class ​

SessionPinningFilter.

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');
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_rds as rds

session_pinning_filter = rds.SessionPinningFilter.of("filterName")
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.rds.*;

SessionPinningFilter sessionPinningFilter = SessionPinningFilter.of("filterName");
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.RDS;

var sessionPinningFilter = SessionPinningFilter.Of("filterName");
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"

sessionPinningFilter := awscdk.Aws_rds.SessionPinningFilter_Of(jsii.String("filterName"))

Properties ​

EXCLUDE_VARIABLE_SETSSessionPinningFilterEXCLUDE_VARIABLE_SETSSessionPinningFilterEXCLUDE_VARIABLE_SETSSessionPinningFilterEXCLUDE_VARIABLE_SETSSessionPinningFilterEXCLUDE_VARIABLE_SETSSessionPinningFilter static #
You can opt out of session pinning for the following kinds of application statements:.
  • Setting session variables and configuration settings.
filterNamestringfilter_namestrfilterNameStringFilterNamestringFilterName*string #
Filter name.

Methods ​

of(filterName: string): SessionPinningFilter // chainable@staticmethod def of(filter_name: str) -> SessionPinningFilterpublic static SessionPinningFilter of(String filterName)public static SessionPinningFilter Of(string filterName)func Of(FilterName *string) SessionPinningFilter static #
custom filter.