# CfnDeliverySourceProps

Properties for defining a `CfnDeliverySource`.

Extends: CfnDeliverySourceProps
Used as props by: CfnDeliverySource

- Source: Generated code
- Type last changed: v2.260.0 · 16 Jun 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const cfnDeliverySourceProps: logs.CfnDeliverySourceProps = {
  name: 'name',

  // the properties below are optional
  deliverySourceConfiguration: {
    deliverySourceConfigurationKey: 'deliverySourceConfiguration',
  },
  logType: 'logType',
  resourceArn: 'resourceArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `deliverySourceConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — A map of key-value pairs to configure the delivery source.

  Both keys and values must be between 1 and 255 characters in length.

- `logType`: string — The type of log that the source is sending.

  For valid values for this parameter, see the documentation for the source service.

- `name`: string (required) — The unique name of the delivery source.

- `resourceArn`: string — The ARN of the AWS resource that is generating and sending logs.

  For example, `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to the delivery source.

  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
