Use a Kinesis stream as the destination for a log subscription.
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_kinesis as kinesis import aws_cdk.aws_logs_destinations as logs_destinations # stream is of type Stream kinesis_destination = logs_destinations.KinesisDestination(stream)
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.