()
| 189 | * be a confusingly-overscoped runtime role no human should attach. |
| 190 | */ |
| 191 | export function buildRoleTrustPolicy(): TrustPolicyDocument { |
| 192 | return { |
| 193 | Version: "2012-10-17", |
| 194 | Statement: [ |
| 195 | { |
| 196 | Effect: "Allow", |
| 197 | Principal: { Service: "cloudformation.amazonaws.com" }, |
| 198 | Action: "sts:AssumeRole", |
| 199 | }, |
| 200 | ], |
| 201 | }; |
| 202 | } |
| 203 | |
| 204 | export interface PoliciesArgs { |
| 205 | verb: PoliciesVerb; |
no outgoing calls
no test coverage detected