diff --git a/packages/aws-cdk-lib/core/lib/assets.ts b/packages/aws-cdk-lib/core/lib/assets.ts index f03e89e23cbfa..99c9202b968ca 100644 --- a/packages/aws-cdk-lib/core/lib/assets.ts +++ b/packages/aws-cdk-lib/core/lib/assets.ts @@ -112,7 +112,7 @@ export interface FileAssetSource { * * The command should produce the location of a ZIP file on `stdout`. * - * @default - Exactly one of `directory` and `executable` is required + * @default - Exactly one of `fileName` and `executable` is required */ readonly executable?: string[]; @@ -121,7 +121,7 @@ export interface FileAssetSource { * source resides. This can be a path to a file or a directory, depending on the * packaging type. * - * @default - Exactly one of `directory` and `executable` is required + * @default - Exactly one of `fileName` and `executable` is required */ readonly fileName?: string; @@ -386,4 +386,4 @@ export interface DockerCacheOption { * }; */ readonly params?: { [key: string]: string }; -} \ No newline at end of file +}