Interface S3BucketProps
- All Superinterfaces:
CommonDestinationProps
,CommonDestinationS3Props
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
S3BucketProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-17T19:20:40.056Z")
@Stability(Deprecated)
@Deprecated
public interface S3BucketProps
extends software.amazon.jsii.JsiiSerializable, CommonDestinationS3Props, CommonDestinationProps
Deprecated.
(deprecated) Props for defining an S3 destination of a Kinesis Data Firehose delivery stream.
Example:
Bucket bucket; // Provide a Lambda function that will transform records before delivery, with custom // buffering and retry configuration Function lambdaFunction = Function.Builder.create(this, "Processor") .runtime(Runtime.NODEJS_LATEST) .handler("index.handler") .code(Code.fromAsset(join(__dirname, "process-records"))) .build(); LambdaFunctionProcessor lambdaProcessor = LambdaFunctionProcessor.Builder.create(lambdaFunction) .bufferInterval(Duration.minutes(5)) .bufferSize(Size.mebibytes(5)) .retries(5) .build(); S3Bucket s3Destination = S3Bucket.Builder.create(bucket) .processor(lambdaProcessor) .build(); DeliveryStream.Builder.create(this, "Delivery Stream") .destination(s3Destination) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.kinesisfirehose.destinations.alpha.CommonDestinationProps
getLoggingConfig, getProcessor, getRole, getS3Backup
Methods inherited from interface software.amazon.awscdk.services.kinesisfirehose.destinations.alpha.CommonDestinationS3Props
getBufferingInterval, getBufferingSize, getCompression, getDataOutputPrefix, getEncryptionKey, getErrorOutputPrefix
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
Deprecated.- Returns:
- a
S3BucketProps.Builder
ofS3BucketProps
-