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개 답변
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
전문가
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠