@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:51.782Z") @Stability(value=Experimental) public interface CommonDestinationProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.kinesisfirehose.*;
import software.amazon.awscdk.services.kinesisfirehose.destinations.*;
import software.amazon.awscdk.services.kms.*;
import software.amazon.awscdk.services.logs.*;
import software.amazon.awscdk.services.s3.*;
Bucket bucket;
Compression compression;
IDataProcessor dataProcessor;
Duration duration;
Key key;
LogGroup logGroup;
Role role;
Size size;
CommonDestinationProps commonDestinationProps = CommonDestinationProps.builder()
.logging(false)
.logGroup(logGroup)
.processor(dataProcessor)
.role(role)
.s3Backup(DestinationS3BackupProps.builder()
.bucket(bucket)
.bufferingInterval(duration)
.bufferingSize(size)
.compression(compression)
.dataOutputPrefix("dataOutputPrefix")
.encryptionKey(key)
.errorOutputPrefix("errorOutputPrefix")
.logging(false)
.logGroup(logGroup)
.mode(BackupMode.ALL)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CommonDestinationProps.Builder
A builder for
CommonDestinationProps |
static class |
CommonDestinationProps.Jsii$Proxy
An implementation for
CommonDestinationProps |
| Modifier and Type | Method and Description |
|---|---|
static CommonDestinationProps.Builder |
builder() |
default Boolean |
getLogging()
(experimental) If true, log errors when data transformation or data delivery fails.
|
default ILogGroup |
getLogGroup()
(experimental) The CloudWatch log group where log streams will be created to hold error logs.
|
default IDataProcessor |
getProcessor()
(experimental) The data transformation that should be performed on the data before writing to the destination.
|
default IRole |
getRole()
(experimental) The IAM role associated with this destination.
|
default DestinationS3BackupProps |
getS3Backup()
(experimental) The configuration for backing up source records to S3.
|
@Stability(value=Experimental) @Nullable default Boolean getLogging()
If logGroup is provided, this will be implicitly set to true.
Default: true - errors are logged.
@Stability(value=Experimental) @Nullable default ILogGroup getLogGroup()
Default: - if `logging` is set to `true`, a log group will be created for you.
@Stability(value=Experimental) @Nullable default IDataProcessor getProcessor()
Default: - no data transformation will occur.
@Stability(value=Experimental) @Nullable default IRole getRole()
Assumed by Kinesis Data Firehose to invoke processors and write to destinations
Default: - a role will be created with default permissions.
@Stability(value=Experimental) @Nullable default DestinationS3BackupProps getS3Backup()
Default: - source records will not be backed up to S3.
@Stability(value=Experimental) static CommonDestinationProps.Builder builder()
CommonDestinationProps.Builder of CommonDestinationPropsCopyright © 2022. All rights reserved.