Class FlowLogMaxAggregationInterval
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
Inheritance
System.Object
FlowLogMaxAggregationInterval
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class FlowLogMaxAggregationInterval : Enum
Syntax (vb)
Public NotInheritable Class FlowLogMaxAggregationInterval
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
var vpc = new Vpc(this, "Vpc");
vpc.AddFlowLog("FlowLogS3", new FlowLogOptions {
Destination = FlowLogDestination.ToS3()
});
// Only reject traffic and interval every minute.
vpc.AddFlowLog("FlowLogCloudWatch", new FlowLogOptions {
TrafficType = FlowLogTrafficType.REJECT,
MaxAggregationInterval = FlowLogMaxAggregationInterval.ONE_MINUTE
});
Synopsis
Fields
ONE_MINUTE | 1 minute (60 seconds). |
TEN_MINUTES | 10 minutes (600 seconds). |
value__ |
Fields
ONE_MINUTE
1 minute (60 seconds).
public const FlowLogMaxAggregationInterval ONE_MINUTE
Field Value
Type | Description |
---|---|
FlowLogMaxAggregationInterval |
TEN_MINUTES
10 minutes (600 seconds).
public const FlowLogMaxAggregationInterval TEN_MINUTES
Field Value
Type | Description |
---|---|
FlowLogMaxAggregationInterval |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |