UNPKG

@altostra/core

Version:

Core library for shared types and logic

13 lines (12 loc) 573 B
import type { CloudFormationValue, Numeric } from "./common"; import type { Split } from "./Split"; export declare const FN_SELECT = "Fn::Select"; export declare type SelectKey = typeof FN_SELECT; export interface Select { 'Fn::Select': [ index: CloudFormationValue<Numeric>, listOfObject: CloudFormationValue[] | Split ]; } export declare const isSelect: import("@altostra/type-validations").ObjectOfTypeValidation<Select>; export declare function mkSelect(index: CloudFormationValue<Numeric>, listOfObject: CloudFormationValue[] | Split): Select;