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.94.0 (build b380f01)",
date="2024-03-01T20:58:23.337Z")
@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 class
A builder forS3DestinationOptions
static final class
An implementation forS3DestinationOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic S3DestinationOptions.Builder
builder()
default FlowLogFileFormat
The format for the flow log.default Boolean
Use Hive-compatible prefixes for flow logs stored in Amazon S3.default Boolean
Partition 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.Builder
ofS3DestinationOptions
-