getlift / lift

Expanding Serverless Framework beyond functions using the AWS CDK
MIT License
912 stars 111 forks source link

Add extension to create sqs queue policy #324

Open ghost opened 1 year ago

ghost commented 1 year ago

Example:

extensions:
    queuePolicy:
        Properties:
            PolicyDocument:
fredericbarthelet commented 1 year ago

Hi @alanjoseuk and thanks for proposing such new extension on the queue construct. Could you be a bit more descriptive of the exact use case you need to provide extension there ? As far as I understood, the current implementation does not generate any QueuePolicy, so I believe adding a brand new one in the native resources property of your service file might be sufficient. WDYT ?