Class S3Bucket
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.destinations.S3Bucket
- All Implemented Interfaces:
IDestination
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.948Z")
@Stability(Experimental)
public class S3Bucket
extends software.amazon.jsii.JsiiObject
implements IDestination
(experimental) An S3 bucket destination for data from 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_14_X) .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") .destinations(List.of(s3Destination)) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forS3Bucket
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesisfirehose.IDestination
IDestination.Jsii$Default, IDestination.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbind
(software.constructs.Construct scope, DestinationBindOptions _options) (experimental) Binds this destination to the Kinesis Data Firehose delivery stream.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
S3Bucket
protected S3Bucket(software.amazon.jsii.JsiiObjectRef objRef) -
S3Bucket
protected S3Bucket(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
S3Bucket
- Parameters:
bucket
- This parameter is required.props
-
-
S3Bucket
- Parameters:
bucket
- This parameter is required.
-
-
Method Details
-
bind
@Stability(Experimental) @NotNull public DestinationConfig bind(@NotNull software.constructs.Construct scope, @NotNull DestinationBindOptions _options) (experimental) Binds this destination to the Kinesis Data Firehose delivery stream.Implementers should use this method to bind resources to the stack and initialize values using the provided stream.
- Specified by:
bind
in interfaceIDestination
- Parameters:
scope
- This parameter is required._options
- This parameter is required.
-