cloudformation-declarations
Version:
TypeScript declarations and helpers for writing CloudFormation templates in TS or JS.
23 lines (22 loc) • 536 B
TypeScript
export interface SpecFile {
ResourceTypes: SpecTypes;
PropertyTypes: SpecTypes;
}
export interface SpecTypes {
[name: string]: SpecType;
}
export interface SpecType {
Documentation: string;
Properties: {
[name: string]: SpecProperty;
};
}
export interface SpecProperty {
Documentation: string;
UpdateType: 'Mutable' | 'Immutable' | 'Conditional';
Required: boolean;
PrimitiveType?: string;
Type?: string;
ItemType?: string;
PrimitiveItemType?: string;
}