S3DestinationConfigurationProperty Struct
S3 destination configuration.
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
dataFreshnessInSecondsoptionalnumberdata_freshness_in_secondsoptionalint | floatdataFreshnessInSecondsoptionalNumberDataFreshnessInSecondsoptionaldoubleDataFreshnessInSecondsoptional*float64#Data freshness in seconds.
deadLetterQueueS3IResolvable | CfnChannel.DeadLetterQueueS3Propertydead_letter_queue_s3typing.Union[IResolvable, DeadLetterQueueS3Property]deadLetterQueueS3IResolvableDeadLetterQueueS3IResolvableDeadLetterQueueS3interface{}required#Dead letter queue S3 configuration of the destination.
serviceExecutionRoleArnstringservice_execution_role_arnstrserviceExecutionRoleArnStringServiceExecutionRoleArnstringServiceExecutionRoleArn*stringrequired#The Amazon Resource Name (ARN) of an IAM role used by MSK to access S3.
storageIResolvable | CfnChannel.S3StoragePropertystoragetyping.Union[IResolvable, S3StorageProperty]storageIResolvableStorageIResolvableStorageinterface{}required#S3 storage configuration.