UNPKG

cdk-nextjs-standalone

Version:

Deploy a NextJS app to AWS using CDK and OpenNext.

25 lines (24 loc) 778 B
import type { NextjsInvalidationOverrides } from '../'; import type { aws_cloudfront } from 'aws-cdk-lib'; import type { Construct } from 'constructs'; /** * OptionalNextjsInvalidationProps */ export interface OptionalNextjsInvalidationProps { /** * Override props for every construct. * @stability stable */ readonly overrides?: NextjsInvalidationOverrides; /** * CloudFront Distribution to invalidate. * @stability stable */ readonly distribution?: aws_cloudfront.IDistribution; /** * Constructs that should complete before invalidating CloudFront Distribution. * Useful for assets that must be deployed/updated before invalidating. * @stability stable */ readonly dependencies?: Array<Construct>; }