ILogSubscriptionDestination

class aws_cdk.aws_logs.ILogSubscriptionDestination(*args, **kwargs)

Bases: typing_extensions.Protocol

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

__init__(*args, **kwargs)

Methods

bind(scope, source_log_group)

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.

Parameters
Return type

LogSubscriptionDestinationConfig