agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
import type { IPrincipal } from '../../../aws-iam';
/**
* Returns true if the principal resolves to a Service principal in the policy document.
* Checks the policyFragment output to handle wrapped principals
* (e.g. PrincipalWithConditions, SessionTagsPrincipal).
*/
export declare function isServicePrincipal(principal: IPrincipal): boolean;
/**
* Returns true if the principal is a service principal whose service name
* is NOT in the known-valid allowlist for DynamoDB resource policies.
*/
export declare function isUnsupportedServicePrincipal(principal: IPrincipal): boolean;