Enum FlowLogMaxAggregationInterval
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum FlowLogMaxAggregationInterval
Syntax (vb)
Public Enum FlowLogMaxAggregationInterval
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). |
Fields
| Name | Description |
|---|---|
| ONE_MINUTE | 1 minute (60 seconds). |
| TEN_MINUTES | 10 minutes (600 seconds). |