import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class PortRange { From ? : Value < number > ; To ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Icmp { Code ? : Value < number > ; Type ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface NetworkAclEntryProperties { CidrBlock ? : Value < string > ; Egress ? : Value < boolean > ; Icmp ? : Icmp ; Ipv6CidrBlock ? : Value < string > ; NetworkAclId : Value < string > ; PortRange ? : PortRange ; Protocol : Value < number > ; RuleAction : Value < string > ; RuleNumber : Value < number > ; } export default class NetworkAclEntry extends ResourceBase < NetworkAclEntryProperties > { static PortRange = PortRange ; static Icmp = Icmp ; constructor ( properties ) { super ( 'AWS::EC2::NetworkAclEntry' , properties ) ; } }