Permissions to publish to your notification topic

0

Hello,

I have a question about SNS Publish topic. I have received a error message as below:

Enter image description here

Also, I try to set policy permission to full and my account is admin Access. So, I opened case to request remove SMS Sandbox. And, AWS Team resolved.

Enter image description here

Enter image description here

Who can help me? Thanks

2개 답변
0

From the error message it looks like the role being used by Sagemaker does not have permission to publish to SNS. You need to attach a policy to the role that grants Sagemaker the ability to publish SNS messages to the relevant topic.

profile pictureAWS
전문가
답변함 2년 전
0

Hello,

Not all resources support * at the beginning of the name. So try with only * just to rule it out. But as you said in your question, you have added Admin rights, so it's probably not that.

I would first look at the SNS topic policy to ensure it's not blocking anything, then have a look at the role permissions boundary.

In some cases, I have seen the real errors "hide behind" an AccessDenied, like a wrong key och S3 giving AccessDenied instead of 404. And Creating an ECS cluster will fail on AccessDenied because its lacking tagging permission even though you can create a cluster. So an overall sanity check of the rest of your config could help.

Hope it helps!

profile picture
답변함 2년 전

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

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

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

관련 콘텐츠