import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Target { TargetType ? : Value < string > ; TargetAddress ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface NotificationRuleProperties { EventTypeIds : List < Value < string > > ; Status ? : Value < string > ; DetailType : Value < string > ; Resource : Value < string > ; Targets : List < Target > ; Tags ? : { [ key ] : any ; } ; Name : Value < string > ; } export default class NotificationRule extends ResourceBase < NotificationRuleProperties > { static Target = Target ; constructor ( properties ) { super ( 'AWS::CodeStarNotifications::NotificationRule' , properties ) ; } }