Interface CfnChannelPropsMixin.S3DestinationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannelPropsMixin.S3DestinationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnChannelPropsMixin
@Stability(Stable)
public static interface CfnChannelPropsMixin.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.cfnpropertymixins.services.kinesis.*;
S3DestinationConfigurationProperty s3DestinationConfigurationProperty = S3DestinationConfigurationProperty.builder()
.dataFreshnessInSeconds(123)
.deadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationProperty.builder()
.bucketArn("bucketArn")
.errorOutputPrefix("errorOutputPrefix")
.expectedBucketOwner("expectedBucketOwner")
.build())
.storageConfiguration(S3StorageConfigurationProperty.builder()
.bucketArn("bucketArn")
.compressionType("compressionType")
.expectedBucketOwner("expectedBucketOwner")
.outputKeyTemplate("outputKeyTemplate")
.storageClass("storageClass")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannelPropsMixin.S3DestinationConfigurationPropertystatic final classAn implementation forCfnChannelPropsMixin.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.default ObjectS3 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
-
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
IResolvableorCfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty- See Also:
-
getStorageConfiguration
S3 storage configuration that describes the destination bucket and how delivered objects are stored.Returns union: either
IResolvableorCfnChannelPropsMixin.S3StorageConfigurationProperty- See Also:
-
builder
-