# DestinationOptionsProperty

Describes the destination options for a flow log.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `fileFormat`: string (required) — The format for the flow log.

  The default is `plain-text` .

- `hiveCompatiblePartitions`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.

  The default is `false` .

- `perHourPartition`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Indicates whether to partition the flow log per hour.

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