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
preguntada hace 9 meses297 visualizaciones
1 Respuesta
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
EXPERTO
Greg_B
respondido hace 9 meses
profile picture
EXPERTO
revisado hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas