CrossAccountDestinationProps

class aws_cdk.aws_logs.CrossAccountDestinationProps(*, role, target_arn, destination_name=None)

Bases: object

__init__(*, role, target_arn, destination_name=None)

Properties for a CrossAccountDestination.

Parameters
  • role (IRole) – The role to assume that grants permissions to write to ‘target’. The role must be assumable by ‘logs.{REGION}.amazonaws.com’.

  • target_arn (str) – The log destination target’s ARN.

  • destination_name (Optional[str]) – The name of the log destination. Default: Automatically generated

Attributes

destination_name

The name of the log destination.

default :default: Automatically generated

Return type

Optional[str]

role

The role to assume that grants permissions to write to ‘target’.

The role must be assumable by ‘logs.{REGION}.amazonaws.com’.

Return type

IRole

target_arn

The log destination target’s ARN.

Return type

str