interface DestinationOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnFlowLogPropsMixin.DestinationOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnFlowLogPropsMixin_DestinationOptionsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnFlowLogPropsMixin.DestinationOptionsProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnFlowLogPropsMixin.DestinationOptionsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnFlowLogPropsMixin » 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/cfn-property-mixins';
const destinationOptionsProperty: ec2.CfnFlowLogPropsMixin.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
(optional)
The format for the flow log.
The default is plain-text .
hiveCompatiblePartitions?
Type:
boolean | IResolvable
(optional)
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
The default is false .
perHourPartition?
Type:
boolean | IResolvable
(optional)
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