How to add custom Policies to SQS Queue in SAM

0

Hi everyone.

Can I add my custom Policies to my SQS queue in SAM template. I have tried but SAM give me error: Properties validation failed for resource QueueTemplateSplash with message: [#: extraneous key [Role] is not permitted] extraneous key [Role] is not permitted]

I have another question can create a Policies. And reused this Policies for new SQS I create in SAM Thanks for reading

1 Risposta
0

If you want to create custom policies specific to your use case, you can write your own Amazon SQS policies and upload them using the SetQueueAttributes action.

This is how you do it. https://docs.amazonaws.cn/en_us/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html

profile picture
ESPERTO
con risposta 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande