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; }