import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Metadata { Key ! : Value < string > ; Value ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class EventFilter { Source ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class EventIntegrationAssociation { ClientAssociationMetadata ? : List < Metadata > ; ClientId ? : Value < string > ; EventBridgeRuleName ? : Value < string > ; EventIntegrationAssociationArn ? : Value < string > ; EventIntegrationAssociationId ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface EventIntegrationProperties { Description ? : Value < string > ; Name : Value < string > ; EventBridgeBus : Value < string > ; EventFilter : EventFilter ; Tags ? : List < ResourceTag > ; } export default class EventIntegration extends ResourceBase < EventIntegrationProperties > { static Metadata = Metadata ; static EventFilter = EventFilter ; static EventIntegrationAssociation = EventIntegrationAssociation ; constructor ( properties ) { super ( 'AWS::AppIntegrations::EventIntegration' , properties ) ; } }