import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class SubnetMapping { SubnetId ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface FirewallProperties { FirewallName : Value < string > ; FirewallPolicyArn : Value < string > ; VpcId : Value < string > ; SubnetMappings : List < SubnetMapping > ; DeleteProtection ? : Value < boolean > ; SubnetChangeProtection ? : Value < boolean > ; FirewallPolicyChangeProtection ? : Value < boolean > ; Description ? : Value < string > ; Tags ? : List < ResourceTag > ; } export default class Firewall extends ResourceBase < FirewallProperties > { static SubnetMapping = SubnetMapping ; constructor ( properties ) { super ( 'AWS::NetworkFirewall::Firewall' , properties ) ; } }