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달 전

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

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

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