CloudwatchDeliveryDestinationProps

class aws_cdk.mixins_preview.aws_logs.CloudwatchDeliveryDestinationProps(*, log_group, output_format=None)

Bases: object

(experimental) Properties for Cloudwatch delivery destination.

Parameters:
  • log_group (ILogGroupRef) – (experimental) Log group to deliver logs to.

  • output_format (Optional[str]) – (experimental) Format of the logs that are sent to this delivery destination.

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_logs as interfaces_logs

# log_group_ref: interfaces_logs.ILogGroupRef

cloudwatch_delivery_destination_props = logs.CloudwatchDeliveryDestinationProps(
    log_group=log_group_ref,

    # the properties below are optional
    output_format="outputFormat"
)

Attributes

log_group

(experimental) Log group to deliver logs to.

Stability:

experimental

output_format

(experimental) Format of the logs that are sent to this delivery destination.

Stability:

experimental