interface ILogSubscriptionDestination
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Logs.ILogSubscriptionDestination |
Java | software.amazon.awscdk.services.logs.ILogSubscriptionDestination |
Python | aws_cdk.aws_logs.ILogSubscriptionDestination |
TypeScript (source) | @aws-cdk/aws-logs » ILogSubscriptionDestination |
Implemented by
Kinesis
, Lambda
, Cross
Interface for classes that can be the destination of a log Subscription.
Methods
Name | Description |
---|---|
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
Returns
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.