Skip to content
v2.274.0

LogSubscriptionDestinationConfig Struct ​

Properties returned by a Subscription destination.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as iam } from 'aws-cdk-lib';
import { aws_logs as logs } from 'aws-cdk-lib';

declare const role: iam.Role;
const logSubscriptionDestinationConfig: logs.LogSubscriptionDestinationConfig = {
  arn: 'arn',

  // the properties below are optional
  role: role,
};

Properties ​

arnstringarnstrarnStringArnstringArn*stringrequired#
The ARN of the subscription's destination.
roleIRoleroleIRoleroleIRoleRoleIRoleRoleIRole#
The role to assume to write log events to the destination.

Default: No role assumed