Skip to content
v2.277.0

FilterReference Struct ​

A reference to a Filter resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_personalize as interfaces_personalize } from 'aws-cdk-lib/interfaces';
const filterReference: interfaces_personalize.FilterReference = {
  filterArn: 'filterArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_personalize as interfaces_personalize

filter_reference = interfaces_personalize.FilterReference(
    filter_arn="filterArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.personalize.*;

FilterReference filterReference = FilterReference.builder()
        .filterArn("filterArn")
        .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.Interfaces.Personalize;

var filterReference = new FilterReference {
    FilterArn = "filterArn"
};
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"

filterReference := &FilterReference{
	FilterArn: jsii.String("filterArn"),
}

Properties ​

filterArnstringfilter_arnstrfilterArnStringFilterArnstringFilterArn*string required #
The FilterArn of the Filter resource.