UNPKG

@aws/cloudfront-hosting-toolkit

Version:

CloudFront Hosting Toolkit offers the convenience of a managed frontend hosting service while retaining full control over the hosting and deployment infrastructure to make it your own.

56 lines (55 loc) 1.12 kB
#!/usr/bin/env node export interface CDKCommand { label: string; cmd: any; } export type CommonAttributes = { domainName?: string; hostedZoneId?: string; }; export type HostingConfiguration = ({ repoUrl: string; branchName: string; framework: string; } & CommonAttributes) | ({ s3bucket: string; s3path: string; } & CommonAttributes); export interface IChoice { title: string; value: string; } export interface IConnection { arn: string; name: string; region: string; } export interface IHosting { domain: string; source: string; type: string; pipeline: string; } export interface Dictionary<T> { [key: string]: T; } export interface PackageJson { dependencies?: Record<string, string>; devDependencies?: Record<string, string>; scripts?: Record<string, string>; } export declare const FrontendFramework: { REACT: string; VUE: string; ANGULAR: string; NEXT: string; BASIC: string; }; export interface CNAMES { key: string; value: any; } export interface PromptItems { title: string; value: string; }