# LogSubscriptionDestinationConfig

Properties returned by a Subscription destination.

- Source: [`aws-logs/lib/subscription-filter.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-logs/lib/subscription-filter.ts#L32)

## 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

- `arn`: string (required) — The ARN of the subscription's destination.

- `role`: [IRole](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.IRole.html) — The role to assume to write log events to the destination.

  **Default:** No role assumed
