| Modifier and Type | Method and Description |
|---|---|
S3Bucket.Builder |
bufferingInterval(Duration bufferingInterval)
(experimental) The length of time that Firehose buffers incoming data before delivering it to the S3 bucket.
|
S3Bucket.Builder |
bufferingSize(Size bufferingSize)
(experimental) The size of the buffer that Kinesis Data Firehose uses for incoming data before delivering it to the S3 bucket.
|
S3Bucket |
build() |
S3Bucket.Builder |
compression(Compression compression)
(experimental) The type of compression that Kinesis Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket.
|
static S3Bucket.Builder |
create(IBucket bucket) |
S3Bucket.Builder |
dataOutputPrefix(String dataOutputPrefix)
(experimental) A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3.
|
S3Bucket.Builder |
encryptionKey(IKey encryptionKey)
(experimental) The AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket.
|
S3Bucket.Builder |
errorOutputPrefix(String errorOutputPrefix)
(experimental) A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3.
|
S3Bucket.Builder |
logging(Boolean logging)
(experimental) If true, log errors when data transformation or data delivery fails.
|
S3Bucket.Builder |
logGroup(ILogGroup logGroup)
(experimental) The CloudWatch log group where log streams will be created to hold error logs.
|
S3Bucket.Builder |
processor(IDataProcessor processor)
(experimental) The data transformation that should be performed on the data before writing to the destination.
|
S3Bucket.Builder |
role(IRole role)
(experimental) The IAM role associated with this destination.
|
S3Bucket.Builder |
s3Backup(DestinationS3BackupProps s3Backup)
(experimental) The configuration for backing up source records to S3.
|
@Stability(value=Experimental) public static S3Bucket.Builder create(IBucket bucket)
bucket - This parameter is required.S3Bucket.Builder.@Stability(value=Experimental) public S3Bucket.Builder bufferingInterval(Duration bufferingInterval)
Minimum: Duration.seconds(60) Maximum: Duration.seconds(900)
Default: Duration.seconds(300)
bufferingInterval - The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder bufferingSize(Size bufferingSize)
Minimum: Size.mebibytes(1) Maximum: Size.mebibytes(128)
Default: Size.mebibytes(5)
bufferingSize - The size of the buffer that Kinesis Data Firehose uses for incoming data before delivering it to the S3 bucket. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder compression(Compression compression)
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
compression - The type of compression that Kinesis Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder dataOutputPrefix(String dataOutputPrefix)
This prefix appears immediately following the bucket name.
Default: "YYYY/MM/DD/HH"
dataOutputPrefix - A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder encryptionKey(IKey encryptionKey)
Default: - Data is not encrypted.
encryptionKey - The AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder errorOutputPrefix(String errorOutputPrefix)
This prefix appears immediately following the bucket name.
Default: "YYYY/MM/DD/HH"
errorOutputPrefix - A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder logging(Boolean logging)
If logGroup is provided, this will be implicitly set to true.
Default: true - errors are logged.
logging - If true, log errors when data transformation or data delivery fails. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder logGroup(ILogGroup logGroup)
Default: - if `logging` is set to `true`, a log group will be created for you.
logGroup - The CloudWatch log group where log streams will be created to hold error logs. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder processor(IDataProcessor processor)
Default: - no data transformation will occur.
processor - The data transformation that should be performed on the data before writing to the destination. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder role(IRole role)
Assumed by Kinesis Data Firehose to invoke processors and write to destinations
Default: - a role will be created with default permissions.
role - The IAM role associated with this destination. This parameter is required.this@Stability(value=Experimental) public S3Bucket.Builder s3Backup(DestinationS3BackupProps s3Backup)
Default: - source records will not be backed up to S3.
s3Backup - The configuration for backing up source records to S3. This parameter is required.thisCopyright © 2022. All rights reserved.