-
| 
         Hello, We've using the AWS::Connector and when merging it into  I.e. we moved    MainFunction:
    # [..]
    Connectors:
      ToWrite:
        Properties:
          Destination:
            - Id: OneBucket
            - Id: OneQueue
            - Id: AnotherQueue
          Permissions:
            - WriteDuring deployment it then attempts to create   | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
| 
         Hi @kitsunde thanks for reporting this. This is expected behaviour for multi-destination connectors. For each destination connected to the source SAM will create a policy with the logical id  Let us know if that answers your question, thanks.  | 
  
Beta Was this translation helpful? Give feedback.
Hi @kitsunde thanks for reporting this.
This is expected behaviour for multi-destination connectors. For each destination connected to the source SAM will create a policy with the logical id
<source-logical-id><connector-name>PolicyDestination<destination-number>. So in your case there would be 3 different policies for the 3 different destinations.Let us know if that answers your question, thanks.