@nolanrigo/cloudformation
Version:
TypeScript-based imperative way to define AWS CloudFormation templates
32 lines (31 loc) • 708 B
TypeScript
import Parameter from "./parameter";
import Resource from "./resource";
import { Condition } from "./data-types";
import Output from "./output";
export interface Template {
AWSTemplateFormatVersion?: string;
Description?: string;
Metadata?: {
[key: string]: any;
};
Parameters?: {
[key: string]: Parameter;
};
Mappings?: {
[key: string]: {
[key: string]: {
[key: string]: string | number | string[];
};
};
};
Conditions?: {
[key: string]: Condition;
};
Transform?: any;
Resources?: {
[key: string]: Resource;
};
Outputs?: {
[key: string]: Output;
};
}