Interface IS3DestinationOptions
Options for writing logs to a S3 destination.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IS3DestinationOptions
Syntax (vb)
Public Interface IS3DestinationOptions
Remarks
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 s3DestinationOptions = new S3DestinationOptions {
FileFormat = FlowLogFileFormat.PLAIN_TEXT,
HiveCompatiblePartitions = false,
PerHourPartition = false
};
Synopsis
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. |
Properties
FileFormat
The format for the flow log.
FlowLogFileFormat? FileFormat { get; }
Property Value
Remarks
Default: FlowLogFileFormat.PLAIN_TEXT
HiveCompatiblePartitions
Use Hive-compatible prefixes for flow logs stored in Amazon S3.
bool? HiveCompatiblePartitions { get; }
Property Value
bool?
Remarks
Default: false
PerHourPartition
Partition the flow log per hour.
bool? PerHourPartition { get; }
Property Value
bool?
Remarks
Default: false