MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / buildPolicyDocument

Function buildPolicyDocument

packages/cli/src/commands/lambda/policies.ts:171–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 * construct both produce predictable ARN patterns.
170 */
171export function buildPolicyDocument(): PolicyDocument {
172 return {
173 Version: "2012-10-17",
174 Statement: [
175 {
176 Effect: "Allow",
177 Action: allRequiredActions(),
178 Resource: "*",
179 },
180 ],
181 };
182}
183
184/**
185 * Trust policy for a CloudFormation service role (used by `policies role`).

Callers 2

runPoliciesFunction · 0.85
policies.test.tsFile · 0.85

Calls 1

allRequiredActionsFunction · 0.85

Tested by

no test coverage detected