aws-cdk-lib.aws_ec2.CfnFlowLog.DestinationOptionsProperty

interface DestinationOptionsProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnFlowLog.DestinationOptionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnFlowLog_DestinationOptionsProperty
Javasoftware.amazon.awscdk.services.ec2.CfnFlowLog.DestinationOptionsProperty
Pythonaws_cdk.aws_ec2.CfnFlowLog.DestinationOptionsProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnFlowLog » DestinationOptionsProperty

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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const destinationOptionsProperty: ec2.CfnFlowLog.DestinationOptionsProperty = {
  fileFormat: 'fileFormat',
  hiveCompatiblePartitions: false,
  perHourPartition: false,
};

Properties

NameTypeDescription
fileFormatstringThe format for the flow log.
hiveCompatiblePartitionsboolean | IResolvableIndicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
perHourPartitionboolean | IResolvableIndicates whether to partition the flow log per hour.

fileFormat

Type: string

The format for the flow log.

The default is plain-text .


hiveCompatiblePartitions

Type: boolean | IResolvable

Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.

The default is false .


perHourPartition

Type: boolean | IResolvable

Indicates whether to partition the flow log per hour.

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