interface DestinationOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnFlowLog.DestinationOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnFlowLog_DestinationOptionsProperty |
Java | software.amazon.awscdk.services.ec2.CfnFlowLog.DestinationOptionsProperty |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| file | string | The format for the flow log. |
| hive | boolean | IResolvable | Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. |
| per | boolean | IResolvable | Indicates 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 .

.NET
Go
Java
Python
TypeScript