1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
In my case, the permissions are associated with the API Gateway method. So what I did to remove them was:
(TypeScript CDK)
const permissionsToRemove = method.node.children.filter(c => c instanceof CfnPermission);
permissionsToRemove.forEach(permission => method.node.tryRemoveChild(permission.node.id));
Where method
is a Method type from API Gateway.
répondu il y a 5 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a 8 mois
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans