简体   繁体   中英

How do I inject raw CloudFormation into AWS SAM templayte.yml ? Want to setup SQS FIFO as event source for lambda

AWS SAM currently does not support SQS FIFO queues as event store for lambda. FIFO queues as event stores are fairly new to AWS however with CloudFormation I should be able to achieve the desired outcome. So how do I inject raw CloudFormation into the SAM template.yaml

The AWS::Serverless transform leaves all CloudFormation resource types outside of the AWS::Serverless namespace unmodified:

Transform: AWS::Serverless-2016-10-31
Resources:
  FifoQueue:
    Type: AWS::SQS::Queue
    Properties:
      FifoQueue: true

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM