class S3Bucket
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.S3Bucket |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#S3Bucket |
Java | software.amazon.awscdk.services.kinesisfirehose.S3Bucket |
Python | aws_cdk.aws_kinesisfirehose.S3Bucket |
TypeScript (source) | aws-cdk-lib » aws_kinesisfirehose » S3Bucket |
Implements
IDestination
An S3 bucket destination for data from an Amazon Data Firehose delivery stream.
Example
import * as firehose from 'aws-cdk-lib/aws-kinesisfirehose';
const bucket = new s3.Bucket(this, 'MyBucket');
const stream = new firehose.DeliveryStream(this, 'MyStream', {
destination: new firehose.S3Bucket(bucket),
});
const topicRule = new iot.TopicRule(this, 'TopicRule', {
sql: iot.IotSql.fromStringAsVer20160323("SELECT * FROM 'device/+/data'"),
actions: [
new actions.FirehosePutRecordAction(stream, {
batchMode: true,
recordSeparator: actions.FirehoseRecordSeparator.NEWLINE,
}),
],
});
Initializer
new S3Bucket(bucket: IBucket, props?: S3BucketProps)
Parameters
- bucket
IBucket - props
S3Bucket Props
Methods
| Name | Description |
|---|---|
| bind(scope, _options) | Binds this destination to the Amazon Data Firehose delivery stream. |
bind(scope, _options)
public bind(scope: Construct, _options: DestinationBindOptions): DestinationConfig
Parameters
- scope
Construct - _options
DestinationBind Options
Returns
Binds this destination to the Amazon Data Firehose delivery stream.
Implementers should use this method to bind resources to the stack and initialize values using the provided stream.

.NET
Go
Java
Python
TypeScript (