patterns/multi-bus-multi-account-pattern/purple-service-account/purple-service-app/template.yaml [95:123]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  PurpleServiceSubscriberE1:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: purple_s_e1/
      Events:
        PurpleE1Rule:
          Type: EventBridgeRule
          Properties:
            EventBusName: !Ref PurpleServiceEventBus
            Pattern:
              source:
                - com.exampleCorp.BlueService
              detail-type:
                - Event1

  PurpleServiceSubscriberE3:
    Type: AWS::Serverless::Function 
    Properties:
      CodeUri: purple_s_e3/
      Events:
        PurpleE3Rule:
          Type: EventBridgeRule
          Properties:
            EventBusName: !Ref PurpleServiceEventBus
            Pattern:
              source:
                - com.exampleCorp.OrangeService
              detail-type:
                - Event3
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



patterns/single-bus-multi-account-pattern/purple-service-account/purple-service-app/template.yaml [50:78]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  PurpleServiceSubscriberE1:
    Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
    Properties:
      CodeUri: purple_s_e1/
      Events:
        PurpleE1Rule:
          Type: EventBridgeRule
          Properties:
            EventBusName: !Ref PurpleServiceEventBus
            Pattern:
              source:
                - com.exampleCorp.BlueService
              detail-type:
                - Event1

  PurpleServiceSubscriberE3:
    Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
    Properties:
      CodeUri: purple_s_e3/
      Events:
        PurpleE3Rule:
          Type: EventBridgeRule
          Properties:
            EventBusName: !Ref PurpleServiceEventBus
            Pattern:
              source:
                - com.exampleCorp.OrangeService
              detail-type:
                - Event3
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



