Skip to content
v2.275.0

DestinationOptionsProperty Struct ​

Describes the destination options for a flow log.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const destinationOptionsProperty: ec2.CfnFlowLog.DestinationOptionsProperty = {
  fileFormat: 'fileFormat',
  hiveCompatiblePartitions: false,
  perHourPartition: false,
};

Properties ​

fileFormatstringfile_formatstrfileFormatStringFileFormatstringFileFormat*stringrequired#
The format for the flow log.

The default is plain-text .

hiveCompatiblePartitionsboolean | IResolvablehive_compatible_partitionstyping.Union[bool, IResolvable]hiveCompatiblePartitionsBooleanHiveCompatiblePartitionsboolHiveCompatiblePartitionsinterface{}required#
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.

The default is false .

perHourPartitionboolean | IResolvableper_hour_partitiontyping.Union[bool, IResolvable]perHourPartitionBooleanPerHourPartitionboolPerHourPartitioninterface{}required#
Indicates whether to partition the flow log per hour.

This reduces the cost and response time for queries. The default is false .