import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Specifies a VPC flow log that captures IP traffic for a specified network interface, subnet, or VPC. To view the log data, use Amazon CloudWatch Logs (CloudWatch Logs) to help troubleshoot connection issues. For example, you can use a flow log to investigate why certain traffic isn’t reaching an instance, which can help you diagnose overly restrictive security group rules. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html">VPC Flow Logs</a> in the <em>Amazon VPC User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html">the AWS Docs</a>
*/
export function flowLog(flowLogProps) {
    return new AwsResource('AWS::EC2::FlowLog', flowLogProps, { Id: 'Id' });
}
