import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class PlayerLatencyPolicy { PolicyDurationSeconds ? : Value < number > ; MaximumIndividualPlayerLatencyMilliseconds ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Destination { DestinationArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class FilterConfiguration { AllowedLocations ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class PriorityConfiguration { PriorityOrder ? : List < Value < string > > ; LocationOrder ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface GameSessionQueueProperties { TimeoutInSeconds ? : Value < number > ; PlayerLatencyPolicies ? : List < PlayerLatencyPolicy > ; Destinations ? : List < Destination > ; NotificationTarget ? : Value < string > ; FilterConfiguration ? : FilterConfiguration ; CustomEventData ? : Value < string > ; Name : Value < string > ; PriorityConfiguration ? : PriorityConfiguration ; } export default class GameSessionQueue extends ResourceBase < GameSessionQueueProperties > { static PlayerLatencyPolicy = PlayerLatencyPolicy ; static Destination = Destination ; static FilterConfiguration = FilterConfiguration ; static PriorityConfiguration = PriorityConfiguration ; constructor ( properties ) { super ( 'AWS::GameLift::GameSessionQueue' , properties ) ; } }