UNPKG

cloudformation-declarations

Version:

TypeScript declarations and helpers for writing CloudFormation templates in TS or JS.

25 lines (22 loc) 681 B
export interface StackPolicy { Statement: Array<StackPolicy.Statement>; } export namespace StackPolicy { export interface Statement { Effect: 'Deny' | 'Allow'; Action?: Action | Array<Action>; NotAction?: Action | Array<Action>; Principal: '*'; Resource?: string | Array<string>; NotResource?: string | Array<string>; Condition?: { StringEquals?: { [s: string]: Array<string>; }; StringLike?: { [s: string]: Array<string>; } } } export type Action = 'Update:Modify' | 'Update:Replace' | 'Update:Delete' | 'Update:*'; }