Class DestinationOptions
Options for writing logs to a destination.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DestinationOptions : IDestinationOptions, IS3DestinationOptions
Syntax (vb)
Public Class DestinationOptions Implements IDestinationOptions, IS3DestinationOptions
Remarks
TODO: there are other destination options, currently they are only for s3 destinations (not sure if that will change)
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var destinationOptions = new DestinationOptions {
FileFormat = FlowLogFileFormat.PLAIN_TEXT,
HiveCompatiblePartitions = false,
PerHourPartition = false
};
Synopsis
Constructors
DestinationOptions() | Options for writing logs to a destination. |
Properties
FileFormat | The format for the flow log. |
HiveCompatiblePartitions | Use Hive-compatible prefixes for flow logs stored in Amazon S3. |
PerHourPartition | Partition the flow log per hour. |
Constructors
DestinationOptions()
Options for writing logs to a destination.
public DestinationOptions()
Remarks
TODO: there are other destination options, currently they are only for s3 destinations (not sure if that will change)
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var destinationOptions = new DestinationOptions {
FileFormat = FlowLogFileFormat.PLAIN_TEXT,
HiveCompatiblePartitions = false,
PerHourPartition = false
};
Properties
FileFormat
The format for the flow log.
public FlowLogFileFormat? FileFormat { get; set; }
Property Value
Remarks
Default: FlowLogFileFormat.PLAIN_TEXT
HiveCompatiblePartitions
Use Hive-compatible prefixes for flow logs stored in Amazon S3.
public bool? HiveCompatiblePartitions { get; set; }
Property Value
bool?
Remarks
Default: false
PerHourPartition
Partition the flow log per hour.
public bool? PerHourPartition { get; set; }
Property Value
bool?
Remarks
Default: false