CommonDestinationS3Props Struct
Common properties for defining a backup, intermediary, or final S3 destination for a Amazon Data Firehose delivery stream.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_kinesisfirehose as kinesisfirehose } from 'aws-cdk-lib';
import { aws_kms as kms } from 'aws-cdk-lib';
declare const compression: kinesisfirehose.Compression;
declare const key: kms.Key;
declare const size: cdk.Size;
const commonDestinationS3Props: kinesisfirehose.CommonDestinationS3Props = {
bufferingInterval: cdk.Duration.minutes(30),
bufferingSize: size,
compression: compression,
dataOutputPrefix: 'dataOutputPrefix',
encryptionKey: key,
errorOutputPrefix: 'errorOutputPrefix',
};
Properties
bufferingIntervaloptionalDurationbuffering_intervaloptionalDurationbufferingIntervaloptionalDurationBufferingIntervaloptionalDurationBufferingIntervaloptionalDuration= Duration.seconds(300)#Minimum: Duration.seconds(0) when dynamic partitioning is disabled, Duration.seconds(60) when it is enabled Maximum: Duration.seconds(900)
bufferingSizeoptionalSizebuffering_sizeoptionalSizebufferingSizeoptionalSizeBufferingSizeoptionalSizeBufferingSizeoptionalSize#Default: Size.mebibytes(5) when record data format conversion or dynamic partitioning is disabled, Size.mebibytes(128) when it is enabled
Minimum: Size.mebibytes(1) when record data format conversion or dynamic partitioning is disabled, Size.mebibytes(64) when it is enabled Maximum: Size.mebibytes(128)
compressionoptionalCompressioncompressionoptionalCompressioncompressionoptionalCompressionCompressionoptionalCompressionCompressionoptionalCompression= UNCOMPRESSED#The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.
dataOutputPrefixoptionalstringdata_output_prefixoptionalstrdataOutputPrefixoptionalStringDataOutputPrefixoptionalstringDataOutputPrefixoptional*string= "YYYY/MM/DD/HH/"#This prefix appears immediately following the bucket name.
encryptionKeyoptionalIKeyencryption_keyoptionalIKeyencryptionKeyoptionalIKeyEncryptionKeyoptionalIKeyEncryptionKeyoptionalIKey#Default: Data is not encrypted.
errorOutputPrefixoptionalstringerror_output_prefixoptionalstrerrorOutputPrefixoptionalStringErrorOutputPrefixoptionalstringErrorOutputPrefixoptional*string#Default: See the documentation above
This prefix appears immediately following the bucket name.