import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Entry { Cidr ! : Value < string > ; Description ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface PrefixListProperties { PrefixListName : Value < string > ; AddressFamily : Value < string > ; MaxEntries : Value < number > ; Tags ? : List < ResourceTag > ; Entries ? : List < Entry > ; } export default class PrefixList extends ResourceBase < PrefixListProperties > { static Entry = Entry ; constructor ( properties ) { super ( 'AWS::EC2::PrefixList' , properties ) ; } }