1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
beantwortet vor 5 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr