java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.destinations.alpha.S3Bucket
All Implemented Interfaces:
IDestination, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.921Z") @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:

 import software.amazon.awscdk.services.kinesisfirehose.alpha.*;
 import software.amazon.awscdk.services.kinesisfirehose.destinations.alpha.*;
 Bucket bucket = new Bucket(this, "MyBucket");
 DeliveryStream stream = DeliveryStream.Builder.create(this, "MyStream")
         .destination(new S3Bucket(bucket))
         .build();
 TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule")
         .sql(IotSql.fromStringAsVer20160323("SELECT * FROM 'device/+/data'"))
         .actions(List.of(
             FirehosePutRecordAction.Builder.create(stream)
                     .batchMode(true)
                     .recordSeparator(FirehoseRecordSeparator.NEWLINE)
                     .build()))
         .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.alpha.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.