ILogsDelivery

class aws_cdk.mixins_preview.aws_logs.ILogsDelivery(*args, **kwargs)

Bases: Protocol

(experimental) Represents the delivery of vended logs to a destination.

Stability:

experimental

Methods

bind(scope, log_type, source_resource_arn)

(experimental) Binds the log delivery to a source resource and creates a delivery connection between the source and destination.

Parameters:
  • scope (IConstruct) –

    • The construct scope.

  • log_type (str) –

    • The type of logs that the delivery source will produce.

  • source_resource_arn (str) –

    • The Arn of the source resource.

Return type:

ILogsDeliveryConfig

Returns:

The delivery reference

Stability:

experimental