# SubscriptionFilterReference

A reference to a SubscriptionFilter resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as interfaces_logs } from 'aws-cdk-lib/interfaces';
const subscriptionFilterReference: interfaces_logs.SubscriptionFilterReference = {
  filterName: 'filterName',
  logGroupName: 'logGroupName',
};
```

Python:

```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_logs as interfaces_logs

subscription_filter_reference = interfaces_logs.SubscriptionFilterReference(
    filter_name="filterName",
    log_group_name="logGroupName"
)
```

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

SubscriptionFilterReference subscriptionFilterReference = SubscriptionFilterReference.builder()
        .filterName("filterName")
        .logGroupName("logGroupName")
        .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.Interfaces.Logs;

var subscriptionFilterReference = new SubscriptionFilterReference {
    FilterName = "filterName",
    LogGroupName = "logGroupName"
};
```

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"

subscriptionFilterReference := &SubscriptionFilterReference{
	FilterName: jsii.String("filterName"),
	LogGroupName: jsii.String("logGroupName"),
}
```

## Properties

- `filterName`: string (required) — The FilterName of the SubscriptionFilter resource.

- `logGroupName`: string (required) — The LogGroupName of the SubscriptionFilter resource.
