Skip to content
v2.275.0

FlowLogMaxAggregationInterval Enum ​

The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.

Example ​

ts
const vpc = new ec2.Vpc(this, 'Vpc');

vpc.addFlowLog('FlowLogS3', {
  destination: ec2.FlowLogDestination.toS3()
});

// Only reject traffic and interval every minute.
vpc.addFlowLog('FlowLogCloudWatch', {
  trafficType: ec2.FlowLogTrafficType.REJECT,
  maxAggregationInterval: ec2.FlowLogMaxAggregationInterval.ONE_MINUTE,
});

Members ​

MemberDescription
ONE_MINUTE1 minute (60 seconds).
TEN_MINUTES10 minutes (600 seconds).

Referenced by ​

  • FlowLogOptions.maxAggregationIntervalmax_aggregation_intervalmaxAggregationIntervalMaxAggregationIntervalMaxAggregationInterval