patterns/cross-region-cross-account-pattern/security/account_1/eu-central-1-rules.yaml [11:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: String

Resources:

  # This IAM role allows EventBridge to assume the permissions necessary to send events
  # from the source event buses to the destination event bus.
  SourceToDestinationEventBusRole:
    Type: "AWS::IAM::Role"
    Properties:
      AssumeRolePolicyDocument:
        Version: 2012-10-17
        Statement:
          - Effect: Allow
            Principal:
              Service:
                - events.amazonaws.com
            Action:
              - "sts:AssumeRole"
      Path: /
      Policies:
        - PolicyName: PutEventsOnDestinationEventBus
          PolicyDocument:
            Version: 2012-10-17
            Statement:
              - Effect: Allow
                Action: "events:PutEvents"
                Resource:
                  - !Ref SecurityEventBusArn
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



patterns/cross-region-cross-account-pattern/security/account_1/us-east-1-rules.yaml [15:42]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: String

Resources:

  # This IAM role allows EventBridge to assume the permissions necessary to send events
  # from the source event buses to the destination event bus.
  SourceToDestinationEventBusRole:
    Type: "AWS::IAM::Role"
    Properties:
      AssumeRolePolicyDocument:
        Version: 2012-10-17
        Statement:
          - Effect: Allow
            Principal:
              Service:
                - events.amazonaws.com
            Action:
              - "sts:AssumeRole"
      Path: /
      Policies:
        - PolicyName: PutEventsOnDestinationEventBus
          PolicyDocument:
            Version: 2012-10-17
            Statement:
              - Effect: Allow
                Action: "events:PutEvents"
                Resource:
                  - !Ref SecurityEventBusArn
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



