@richkang/cdk-construct-network-firewall-textfile-rules
Version:
A simple AWS VPC Firewall with one stateless rule and one stateful rule to meet the AWS Config Network Firewall Conformance.
17 lines (16 loc) • 711 B
TypeScript
/// <reference types="node" />
import * as cdk from 'aws-cdk-lib';
import { CfnRuleGroup } from 'aws-cdk-lib/aws-networkfirewall';
import { Construct } from 'constructs';
import * as fs from 'fs';
export interface FirewallDistributedVpcProps {
vpc: cdk.aws_ec2.IVpc;
subnetList: Array<cdk.aws_ec2.ISubnet>;
rulesFile?: Array<fs.PathOrFileDescriptor>;
}
export declare class FirewallDistributedVpc extends Construct {
private vpc;
constructor(scope: Construct, id: string, props: FirewallDistributedVpcProps);
getHomeNet(): string;
getRulesSourcePropertyFromFile(filenameList: Array<fs.PathOrFileDescriptor>, rulesVariable: CfnRuleGroup.RuleVariablesProperty): Array<CfnRuleGroup>;
}