import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class SubscriptionDefinitionVersion { Subscriptions ! : List < Subscription > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Subscription { Target ! : Value < string > ; Id ! : Value < string > ; Source ! : Value < string > ; Subject ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface SubscriptionDefinitionProperties { InitialVersion ? : SubscriptionDefinitionVersion ; Tags ? : { [ key ] : any ; } ; Name : Value < string > ; } export default class SubscriptionDefinition extends ResourceBase < SubscriptionDefinitionProperties > { static SubscriptionDefinitionVersion = SubscriptionDefinitionVersion ; static Subscription = Subscription ; constructor ( properties ) { super ( 'AWS::Greengrass::SubscriptionDefinition' , properties ) ; } }