enum FlowLogMaxAggregationInterval
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.FlowLogMaxAggregationInterval |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#FlowLogMaxAggregationInterval |
Java | software.amazon.awscdk.services.ec2.FlowLogMaxAggregationInterval |
Python | aws_cdk.aws_ec2.FlowLogMaxAggregationInterval |
TypeScript (source) | aws-cdk-lib » aws_ec2 » FlowLogMaxAggregationInterval |
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
Example
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
Name | Description |
---|---|
ONE_MINUTE | 1 minute (60 seconds). |
TEN_MINUTES | 10 minutes (600 seconds). |
ONE_MINUTE
1 minute (60 seconds).
TEN_MINUTES
10 minutes (600 seconds).