Class S3Bucket
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-12-17T21:37:41.746Z")
@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
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.alpha.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.
-