LambdaDestination(fn, *, add_permissions=None)¶
Use a Lambda Function as the destination for a log subscription.
bool]) – Whether or not to add Lambda Permissions. Default: true
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.