interface DestinationOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnFlowLogPropsMixin.DestinationOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnFlowLogPropsMixin_DestinationOptionsProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnFlowLogPropsMixin.DestinationOptionsProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnFlowLogPropsMixin.DestinationOptionsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const destinationOptionsProperty: ec2_mixins.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