LogSubscriptionDestinationConfig

class aws_cdk.aws_logs.LogSubscriptionDestinationConfig(*, arn, role=None)

Bases: object

__init__(*, arn, role=None)

Properties returned by a Subscription destination.

Parameters
  • arn (str) – The ARN of the subscription’s destination.

  • role (Optional[IRole]) – The role to assume to write log events to the destination. Default: No role assumed

Attributes

arn

The ARN of the subscription’s destination.

Return type

str

role

The role to assume to write log events to the destination.

default :default: No role assumed

Return type

Optional[IRole]