Interface CfnFlowLog.DestinationOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlowLog.DestinationOptionsProperty.Jsii$Proxy
- Enclosing class:
- CfnFlowLog
@Stability(Stable)
public static interface CfnFlowLog.DestinationOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Describes the destination options for a flow log.
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.*;
DestinationOptionsProperty destinationOptionsProperty = DestinationOptionsProperty.builder()
.fileFormat("fileFormat")
.hiveCompatiblePartitions(false)
.perHourPartition(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlowLog.DestinationOptionsPropertystatic final classAn implementation forCfnFlowLog.DestinationOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The format for the flow log.Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.Indicates whether to 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.The default is
plain-text. -
getHiveCompatiblePartitions
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.The default is
false. -
getPerHourPartition
Indicates whether to partition the flow log per hour.This reduces the cost and response time for queries. The default is
false. -
builder
-