DestinationOptions Struct
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
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 destinationOptions: ec2.DestinationOptions = {
fileFormat: ec2.FlowLogFileFormat.PLAIN_TEXT,
hiveCompatiblePartitions: false,
perHourPartition: false,
};
Properties
fileFormatFlowLogFileFormatfile_formatFlowLogFileFormatfileFormatFlowLogFileFormatFileFormatFlowLogFileFormatFileFormatFlowLogFileFormat= FlowLogFileFormat.PLAIN_TEXT#The format for the flow log.
hiveCompatiblePartitionsbooleanhive_compatible_partitionsboolhiveCompatiblePartitionsBooleanHiveCompatiblePartitionsboolHiveCompatiblePartitions*bool= false#Use Hive-compatible prefixes for flow logs stored in Amazon S3.
perHourPartitionbooleanper_hour_partitionboolperHourPartitionBooleanPerHourPartitionboolPerHourPartition*bool= false#Partition the flow log per hour.