Skip to content
v2.277.0

SubscriptionFilterReference Struct ​

A reference to a SubscriptionFilter resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

filterNamestringfilter_namestrfilterNameStringFilterNamestringFilterName*string required #
The FilterName of the SubscriptionFilter resource.
logGroupNamestringlog_group_namestrlogGroupNameStringLogGroupNamestringLogGroupName*string required #
The LogGroupName of the SubscriptionFilter resource.