Class DestinationOptions
Options for writing logs to a destination.
Inheritance
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DestinationOptions : Object, IDestinationOptions, IS3DestinationOptions
Syntax (vb)
Public Class DestinationOptions
Inherits Object
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
Destination |
Properties
File |
The format for the flow log. |
Hive |
Use Hive-compatible prefixes for flow logs stored in Amazon S3. |
Per |
Partition the flow log per hour. |
Constructors
DestinationOptions()
public DestinationOptions()
Properties
FileFormat
The format for the flow log.
public Nullable<FlowLogFileFormat> FileFormat { get; set; }
Property Value
System.
Remarks
Default: FlowLogFileFormat.PLAIN_TEXT
HiveCompatiblePartitions
Use Hive-compatible prefixes for flow logs stored in Amazon S3.
public Nullable<bool> HiveCompatiblePartitions { get; set; }
Property Value
System.
Remarks
Default: false
PerHourPartition
Partition the flow log per hour.
public Nullable<bool> PerHourPartition { get; set; }
Property Value
System.
Remarks
Default: false