import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class EndPoint { KinesisStreamConfig ! : KinesisStreamConfig ; StreamType ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class KinesisStreamConfig { RoleArn ! : Value < string > ; StreamArn ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface RealtimeLogConfigProperties { EndPoints : List < EndPoint > ; Fields : List < Value < string > > ; Name : Value < string > ; SamplingRate : Value < number > ; } export default class RealtimeLogConfig extends ResourceBase < RealtimeLogConfigProperties > { static EndPoint = EndPoint ; static KinesisStreamConfig = KinesisStreamConfig ; constructor ( properties ) { super ( 'AWS::CloudFront::RealtimeLogConfig' , properties ) ; } }