This repository has been archived on 2026-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
next-deploy/packages/aws-domain/types.d.ts

21 lines
528 B
TypeScript

import { PathPatternConfig } from '@next-deploy/aws-cloudfront/types';
type AwsDomainInputs = {
domain: string;
region?: string;
privateZone?: boolean;
domainType?: DomainType;
defaultCloudfrontInputs?: PathPatternConfig;
subdomains: Record<string, SubDomain>;
};
type SubDomain = {
id: string;
domain: string;
distributionId: string;
url: string;
type: SubDomainType;
};
type SubDomainType = 'awsCloudFront' | 'awsS3Website' | 'awsApiGateway' | 'awsAppSync';
type DomainType = 'www' | 'apex' | 'both';