@altostra/core
Version:
Core library for shared types and logic
17 lines (16 loc) • 869 B
TypeScript
import type { Dict } from "../common/Types";
import type { CloudFormationResourceType } from "./CloudFormationResourceType";
export interface CloudFormationCustomResource {
Type: CloudFormationResourceType;
Properties: object;
}
export declare const isCloudFormationCustomResource: import("@altostra/type-validations").ObjectOfTypeValidation<{
Type: CloudFormationResourceType;
Properties: Record<string | number | symbol, unknown> | undefined;
}>;
export declare type CloudFormationCustomResourcesMap = Dict<CloudFormationCustomResource>;
export declare const isCloudFormationCustomResourcesMap: import("@altostra/type-validations").TypeValidation<Record<string, {
Type: CloudFormationResourceType;
Properties: Record<string | number | symbol, unknown> | undefined;
}>>;
export declare function isCloudFormationLogicalId(id: unknown): boolean;