aws-cdk-lib.aws_logs.ILogSubscriptionDestination

interface ILogSubscriptionDestination

LanguageType name
.NETAmazon.CDK.AWS.Logs.ILogSubscriptionDestination
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslogs#ILogSubscriptionDestination
Javasoftware.amazon.awscdk.services.logs.ILogSubscriptionDestination
Pythonaws_cdk.aws_logs.ILogSubscriptionDestination
TypeScript (source)aws-cdk-lib » aws_logs » ILogSubscriptionDestination

Implemented by CrossAccountDestination, KinesisDestination, LambdaDestination

Interface for classes that can be the destination of a log Subscription.

Methods

NameDescription
bind(scope, sourceLogGroup)Return the properties required to send subscription events to this destination.

bind(scope, sourceLogGroup)

public bind(scope: Construct, sourceLogGroup: ILogGroup): LogSubscriptionDestinationConfig

Parameters

  • scope Construct
  • sourceLogGroup ILogGroup

Returns

  • LogSubscriptionDestinationConfig

Return the properties required to send subscription events to this destination.

If necessary, the destination can use the properties of the SubscriptionFilter object itself to configure its permissions to allow the subscription to write to it.

The destination may reconfigure its own permissions in response to this function call.