FirehoseLogsDelivery

class aws_cdk.mixins_preview.aws_logs.FirehoseLogsDelivery(stream)

Bases: object

(experimental) Delivers vended logs to a Firehose Delivery Stream.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import aws_logs as logs
from aws_cdk.interfaces import aws_kinesisfirehose as interfaces_kinesisfirehose

# delivery_stream_ref: interfaces_kinesisfirehose.IDeliveryStreamRef

firehose_logs_delivery = logs.FirehoseLogsDelivery(delivery_stream_ref)

(experimental) Creates a new Firehose delivery.

Parameters:

stream (IDeliveryStreamRef) –

  • The Kinesis Data Firehose delivery stream.

Stability:

experimental

Methods

bind(scope, log_type, source_resource_arn)

(experimental) Binds Firehose Delivery Stream to a source resource for the purposes of log delivery and creates a delivery source, a delivery destination, and a connection between them.

Parameters:
  • scope (IConstruct)

  • log_type (str)

  • source_resource_arn (str)

Stability:

experimental

Return type:

ILogsDeliveryConfig