import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Greengrass { GroupArn ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class GatewayCapabilitySummary { CapabilityNamespace ! : Value < string > ; CapabilityConfiguration ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class GatewayPlatform { Greengrass ! : Greengrass ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface GatewayProperties { GatewayName : Value < string > ; GatewayPlatform : GatewayPlatform ; Tags ? : List < ResourceTag > ; GatewayCapabilitySummaries ? : List < GatewayCapabilitySummary > ; } export default class Gateway extends ResourceBase < GatewayProperties > { static Greengrass = Greengrass ; static GatewayCapabilitySummary = GatewayCapabilitySummary ; static GatewayPlatform = GatewayPlatform ; constructor ( properties ) { super ( 'AWS::IoTSiteWise::Gateway' , properties ) ; } }