Interface CommonDestinationS3Props
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DestinationS3BackupProps,S3BucketProps
- All Known Implementing Classes:
CommonDestinationS3Props.Jsii$Proxy,DestinationS3BackupProps.Jsii$Proxy,S3BucketProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.kinesisfirehose.*;
import software.amazon.awscdk.services.kms.*;
Compression compression;
Key key;
Size size;
CommonDestinationS3Props commonDestinationS3Props = CommonDestinationS3Props.builder()
.bufferingInterval(Duration.minutes(30))
.bufferingSize(size)
.compression(compression)
.dataOutputPrefix("dataOutputPrefix")
.encryptionKey(key)
.errorOutputPrefix("errorOutputPrefix")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCommonDestinationS3Propsstatic final classAn implementation forCommonDestinationS3Props -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default DurationThe length of time that Firehose buffers incoming data before delivering it to the S3 bucket.default SizeThe size of the buffer that Amazon Data Firehose uses for incoming data before delivering it to the S3 bucket.default CompressionThe type of compression that Amazon Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket.default StringA prefix that Amazon Data Firehose evaluates and adds to records before writing them to S3.default IKeyThe AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket.default StringA prefix that Amazon Data Firehose evaluates and adds to failed records before writing them to S3.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBufferingInterval
The length of time that Firehose buffers incoming data before delivering it to the S3 bucket.Minimum: Duration.seconds(0) Maximum: Duration.seconds(900)
Default: Duration.seconds(300)
-
getBufferingSize
The size of the buffer that Amazon Data Firehose uses for incoming data before delivering it to the S3 bucket.Minimum: Size.mebibytes(1) when record data format conversion is disabled, Size.mebibytes(64) when it is enabled Maximum: Size.mebibytes(128)
Default: Size.mebibytes(5) when record data format conversion is disabled, Size.mebibytes(128) when it is enabled
-
getCompression
The type of compression that Amazon Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket.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.
Default: - UNCOMPRESSED
-
getDataOutputPrefix
A prefix that Amazon Data Firehose evaluates and adds to records before writing them to S3.This prefix appears immediately following the bucket name.
Default: "YYYY/MM/DD/HH"
- See Also:
-
getEncryptionKey
The AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket.Default: - Data is not encrypted.
-
getErrorOutputPrefix
A prefix that Amazon Data Firehose evaluates and adds to failed records before writing them to S3.This prefix appears immediately following the bucket name.
Default: "YYYY/MM/DD/HH"
- See Also:
-
builder
- Returns:
- a
CommonDestinationS3Props.BuilderofCommonDestinationS3Props
-