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
posta 9 mesi fa297 visualizzazioni
1 Risposta
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
ESPERTO
Greg_B
con risposta 9 mesi fa
profile picture
ESPERTO
verificato 9 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