@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:33.548Z") @Stability(value=Experimental) public interface S3BucketProps extends software.amazon.jsii.JsiiSerializable, CommonDestinationS3Props, CommonDestinationProps
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_12_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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
S3BucketProps.Builder
A builder for
S3BucketProps |
static class |
S3BucketProps.Jsii$Proxy
An implementation for
S3BucketProps |
| Modifier and Type | Method and Description |
|---|---|
static S3BucketProps.Builder |
builder() |
getBufferingInterval, getBufferingSize, getCompression, getDataOutputPrefix, getEncryptionKey, getErrorOutputPrefixgetLogging, getLogGroup, getProcessor, getRole, getS3Backup@Stability(value=Experimental) static S3BucketProps.Builder builder()
builder in interface CommonDestinationPropsbuilder in interface CommonDestinationS3PropsS3BucketProps.Builder of S3BucketPropsCopyright © 2022. All rights reserved.