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

26 lines
536 B
TypeScript

import { DomainType } from 'aws-component/types';
type AwsDomainInputs = {
domain: string;
region?: string;
privateZone?: boolean;
domainType?: DomainType;
defaultCloudfrontInputs?: any;
subdomains: SubDomain[];
};
type SubDomain = {
id: string;
domain: string;
distributionId: string;
url: string;
type: SubDomainType;
};
type Credentials = {
accessKeyId: string;
secretAccessKey: string;
sessionToken?: string;
};
type SubDomainType = 'awsCloudFront' | 'awsS3Website' | 'awsApiGateway' | 'awsAppSync';