UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

42 lines (41 loc) 1.35 kB
import { ResourceBase } from "../../resource"; import { Value, List, MapOf } from "../../data-types"; export declare class Cors { AllowOrigins?: List<Value<string>>; AllowCredentials?: Value<boolean>; ExposeHeaders?: List<Value<string>>; AllowHeaders?: List<Value<string>>; MaxAge?: Value<number>; AllowMethods?: List<Value<string>>; constructor(properties: Cors); } export declare class BodyS3Location { Etag?: Value<string>; Bucket?: Value<string>; Version?: Value<string>; Key?: Value<string>; constructor(properties: BodyS3Location); } export interface ApiProperties { CredentialsArn?: Value<string>; Body?: MapOf<any>; DisableSchemaValidation?: Value<boolean>; CorsConfiguration?: Cors; Name?: Value<string>; Target?: Value<string>; ProtocolType?: Value<string>; FailOnWarnings?: Value<boolean>; BasePath?: Value<string>; RouteKey?: Value<string>; BodyS3Location?: BodyS3Location; Version?: Value<string>; Tags?: MapOf<any>; RouteSelectionExpression?: Value<string>; Description?: Value<string>; ApiKeySelectionExpression?: Value<string>; } export default class Inner_Api extends ResourceBase<ApiProperties> { static Cors: typeof Cors; static BodyS3Location: typeof BodyS3Location; constructor(properties: ApiProperties); }