1回答
- 新しい順
- 投票が多い順
- コメントが多い順
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.
回答済み 5ヶ月前
関連するコンテンツ
- AWS公式更新しました 1年前