@altostra/core
Version:
Core library for shared types and logic
27 lines (26 loc) • 765 B
TypeScript
import type { CloudFormationString } from "../IntrinsicFunctions";
export interface EndpointConfiguration {
Types: ['EDGE' | 'PRIVATE' | 'REGIONAL'];
}
export interface AccessLogSetting {
DestinationArn?: CloudFormationString;
Format: string;
}
export interface CanarySetting {
DeploymentId: string;
PercentTraffic: number;
StageVariableOverrides: Record<string, string>;
UseStageCache: boolean;
}
export interface MethodSetting {
CacheDataEncrypted?: boolean;
CacheTtlInSeconds?: number;
CachingEnabled?: boolean;
DataTraceEnabled?: boolean;
HttpMethod: string;
LoggingLevel?: string;
MetricsEnabled?: boolean;
ResourcePath: string;
ThrottlingBurstLimit?: number;
ThrottlingRateLimit?: number;
}