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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    (experimental) A fluent builder for S3Bucket.

    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

    Constructors
    Modifier
    Constructor
    Description
     
    S3Bucket(IBucket bucket)
     
     
    S3Bucket(IBucket bucket, S3BucketProps props)
     
    protected
    S3Bucket(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    S3Bucket(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(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

      @Stability(Experimental) public S3Bucket(@NotNull IBucket bucket, @Nullable S3BucketProps props)
      Parameters:
      bucket - This parameter is required.
      props -
    • S3Bucket

      @Stability(Experimental) public S3Bucket(@NotNull IBucket bucket)
      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 interface IDestination
      Parameters:
      scope - This parameter is required.
      _options - This parameter is required.