Interface S3DestinationOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DestinationOptions
- All Known Implementing Classes:
DestinationOptions.Jsii$Proxy,S3DestinationOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:09.330Z")
@Stability(Stable)
public interface S3DestinationOptions
extends software.amazon.jsii.JsiiSerializable
Options for writing logs to a S3 destination.
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.ec2.*;
S3DestinationOptions s3DestinationOptions = S3DestinationOptions.builder()
.fileFormat(FlowLogFileFormat.PLAIN_TEXT)
.hiveCompatiblePartitions(false)
.perHourPartition(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forS3DestinationOptionsstatic final classAn implementation forS3DestinationOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic S3DestinationOptions.Builderbuilder()default FlowLogFileFormatThe format for the flow log.default BooleanUse Hive-compatible prefixes for flow logs stored in Amazon S3.default BooleanPartition the flow log per hour.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFileFormat
The format for the flow log.Default: FlowLogFileFormat.PLAIN_TEXT
-
getHiveCompatiblePartitions
Use Hive-compatible prefixes for flow logs stored in Amazon S3.Default: false
-
getPerHourPartition
Partition the flow log per hour.Default: false
-
builder
- Returns:
- a
S3DestinationOptions.BuilderofS3DestinationOptions
-