Attach Iot Policy to Iot Thing Group via CDK or cloudformation template

0

I am trying to attach an iot policy to an iot thing group, but it looks like CDK does not support it yet? Is there anyway to do this via CFN template or by creating an AWSCustomResource? I cannot find any resources or documentation on how to attach this policy via CFN either.

AWS
已提問 9 個月前檢視次數 297 次
1 個回答
0

Hi. It's not supported by CFN and hence not supported by CDK. Relevant discussion here: https://github.com/aws/aws-cdk/issues/26166

It's therefore necessary to use an AWSCustomResource, to call the AttachPolicy API.

profile pictureAWS
專家
Greg_B
已回答 9 個月前
profile picture
專家
已審閱 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南