Interface CfnChannel.S3DestinationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannel.S3DestinationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnChannel
@Stability(Stable)
public static interface CfnChannel.S3DestinationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for delivery to a vanilla S3 bucket destination.
Exactly one of S3DestinationConfiguration and S3TablesDestinationConfiguration must be specified on the channel.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesis.*;
S3DestinationConfigurationProperty s3DestinationConfigurationProperty = S3DestinationConfigurationProperty.builder()
.storageConfiguration(S3StorageConfigurationProperty.builder()
.bucketArn("bucketArn")
.compressionType("compressionType")
.expectedBucketOwner("expectedBucketOwner")
// the properties below are optional
.outputKeyTemplate("outputKeyTemplate")
.storageClass("storageClass")
.build())
// the properties below are optional
.dataFreshnessInSeconds(123)
.deadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationProperty.builder()
.bucketArn("bucketArn")
.expectedBucketOwner("expectedBucketOwner")
// the properties below are optional
.errorOutputPrefix("errorOutputPrefix")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannel.S3DestinationConfigurationPropertystatic final classAn implementation forCfnChannel.S3DestinationConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe maximum time in seconds the channel buffers records before delivery if the minimum target file size is not reached.default ObjectConfiguration of the S3 bucket used to capture records that cannot be delivered to the primary destination.S3 storage configuration that describes the destination bucket and how delivered objects are stored.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStorageConfiguration
S3 storage configuration that describes the destination bucket and how delivered objects are stored.Returns union: either
IResolvableorCfnChannel.S3StorageConfigurationProperty- See Also:
-
getDataFreshnessInSeconds
The maximum time in seconds the channel buffers records before delivery if the minimum target file size is not reached.Default: - 300
- See Also:
-
getDeadLetterQueueS3Configuration
Configuration of the S3 bucket used to capture records that cannot be delivered to the primary destination.Returns union: either
IResolvableorCfnChannel.DeadLetterQueueS3ConfigurationProperty- See Also:
-
builder
-