KinesisDestination

class aws_cdk.aws_logs_destinations.KinesisDestination(stream)

Bases: object

Use a Kinesis stream as the destination for a log subscription.

ExampleMetadata

fixture=_generated

Example:

# 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)
Parameters

stream (IStream) –

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