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.101.0 (build b95fe5d)", date="2024-07-12T19:34:01.006Z") @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();
 
  • Method Details

    • getFileFormat

      @Stability(Stable) @Nullable default FlowLogFileFormat getFileFormat()
      The format for the flow log.

      Default: FlowLogFileFormat.PLAIN_TEXT

    • getHiveCompatiblePartitions

      @Stability(Stable) @Nullable default Boolean getHiveCompatiblePartitions()
      Use Hive-compatible prefixes for flow logs stored in Amazon S3.

      Default: false

    • getPerHourPartition

      @Stability(Stable) @Nullable default Boolean getPerHourPartition()
      Partition the flow log per hour.

      Default: false

    • builder

      @Stability(Stable) static S3DestinationOptions.Builder builder()
      Returns:
      a S3DestinationOptions.Builder of S3DestinationOptions