UNPKG

@altostra/core

Version:

Core library for shared types and logic

18 lines (17 loc) 649 B
import type { NonEmptyString } from "../../../common/CustomTypes/NonEmptyString"; import type { JSONSchema } from "../../../common/JSONSchema"; import type { AwsResourceCommon } from "../common"; import type { CloudFormationValue } from "../IntrinsicFunctions"; import type { LogicalId } from "../LogicalId"; export declare type ModelType = 'AWS::ApiGatewayV2::Model'; export interface Model extends AwsResourceCommon { Type: ModelType; Properties: ModelProperties; } export interface ModelProperties { ApiId: CloudFormationValue; Name: LogicalId; Schema: JSONSchema; ContentType: NonEmptyString; Description?: string; }