Interface DestinationOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,S3DestinationOptions
- All Known Implementing Classes:
DestinationOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:19.390Z")
@Stability(Stable)
public interface DestinationOptions
extends software.amazon.jsii.JsiiSerializable, S3DestinationOptions
Options for writing logs to a destination.
TODO: there are other destination options, currently they are only for s3 destinations (not sure if that will change)
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.*;
DestinationOptions destinationOptions = DestinationOptions.builder()
.fileFormat(FlowLogFileFormat.PLAIN_TEXT)
.hiveCompatiblePartitions(false)
.perHourPartition(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDestinationOptionsstatic final classAn implementation forDestinationOptions -
Method Summary
Static MethodsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.ec2.S3DestinationOptions
getFileFormat, getHiveCompatiblePartitions, getPerHourPartition
-
Method Details
-
builder
- Returns:
- a
DestinationOptions.BuilderofDestinationOptions
-