import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Subscription { Target ! : Value < string > ; Id ! : Value < string > ; Source ! : Value < string > ; Subject ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface SubscriptionDefinitionVersionProperties { SubscriptionDefinitionId : Value < string > ; Subscriptions : List < Subscription > ; } export default class SubscriptionDefinitionVersion extends ResourceBase < SubscriptionDefinitionVersionProperties > { static Subscription = Subscription ; constructor ( properties ) { super ( 'AWS::Greengrass::SubscriptionDefinitionVersion' , properties ) ; } }