# S3DestinationConfigurationProperty

S3 destination configuration.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const s3DestinationConfigurationProperty: msk.CfnChannel.S3DestinationConfigurationProperty = {
  deadLetterQueueS3: {
    bucketArn: 'bucketArn',
    errorOutputPrefix: 'errorOutputPrefix',

    // the properties below are optional
    expectedBucketOwner: 'expectedBucketOwner',
  },
  serviceExecutionRoleArn: 'serviceExecutionRoleArn',
  storage: {
    bucketArn: 'bucketArn',
    compressionType: 'compressionType',
    storageClass: 'storageClass',

    // the properties below are optional
    expectedBucketOwner: 'expectedBucketOwner',
    outputKeyTemplate: 'outputKeyTemplate',
    outputPrefix: 'outputPrefix',
  },

  // the properties below are optional
  dataFreshnessInSeconds: 123,
};
```

## Properties

- `dataFreshnessInSeconds`: number — Data freshness in seconds.

- `deadLetterQueueS3`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnChannel.DeadLetterQueueS3Property](/cdk/api/v2/docs/aws-cdk-lib.aws_msk.CfnChannel.DeadLetterQueueS3Property.html) (required) — Dead letter queue S3 configuration of the destination.

- `serviceExecutionRoleArn`: string (required) — The Amazon Resource Name (ARN) of an IAM role used by MSK to access S3.

- `storage`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnChannel.S3StorageProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_msk.CfnChannel.S3StorageProperty.html) (required) — S3 storage configuration.
