Show / Hide Table of Contents

Class DestinationOptions

Options for writing logs to a destination.

Inheritance
object
DestinationOptions
Implements
IDestinationOptions
IS3DestinationOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

FlowLogFileFormat?

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

Implements

IDestinationOptions
IS3DestinationOptions
Back to top Generated by DocFX