Interface CommonDestinationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
S3BucketProps
- All Known Implementing Classes:
CommonDestinationProps.Jsii$Proxy,S3BucketProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:54.636Z")
@Stability(Stable)
public interface CommonDestinationProps
extends software.amazon.jsii.JsiiSerializable
Generic properties for defining a delivery stream destination.
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.iam.*;
import software.amazon.awscdk.services.kinesisfirehose.*;
import software.amazon.awscdk.services.kms.*;
import software.amazon.awscdk.services.s3.*;
Bucket bucket;
Compression compression;
IDataProcessor dataProcessor;
Key key;
ILoggingConfig loggingConfig;
Role role;
Size size;
CommonDestinationProps commonDestinationProps = CommonDestinationProps.builder()
.loggingConfig(loggingConfig)
.processor(dataProcessor)
.processors(List.of(dataProcessor))
.role(role)
.s3Backup(DestinationS3BackupProps.builder()
.bucket(bucket)
.bufferingInterval(Duration.minutes(30))
.bufferingSize(size)
.compression(compression)
.dataOutputPrefix("dataOutputPrefix")
.encryptionKey(key)
.errorOutputPrefix("errorOutputPrefix")
.loggingConfig(loggingConfig)
.mode(BackupMode.ALL)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCommonDestinationPropsstatic final classAn implementation forCommonDestinationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ILoggingConfigConfiguration that determines whether to log errors during data transformation or delivery failures, and specifies the CloudWatch log group for storing error logs.default IDataProcessorDeprecated.default List<IDataProcessor> The data transformation that should be performed on the data before writing to the destination.default IRolegetRole()The IAM role associated with this destination.default DestinationS3BackupPropsThe configuration for backing up source records to S3.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLoggingConfig
Configuration that determines whether to log errors during data transformation or delivery failures, and specifies the CloudWatch log group for storing error logs.Default: - errors will be logged and a log group will be created for you.
-
getProcessor
Deprecated.Useprocessorsinstead.(deprecated) The data transformation that should be performed on the data before writing to the destination.Default: - no data transformation will occur.
-
getProcessors
The data transformation that should be performed on the data before writing to the destination.Default: - no data transformation will occur.
-
getRole
The IAM role associated with this destination.Assumed by Amazon Data Firehose to invoke processors and write to destinations
Default: - a role will be created with default permissions.
-
getS3Backup
The configuration for backing up source records to S3.Default: - source records will not be backed up to S3.
-
builder
- Returns:
- a
CommonDestinationProps.BuilderofCommonDestinationProps
-
processorsinstead.