From 537f1c2a90e03a8aaa58dcbfb98c9ac2386c96a6 Mon Sep 17 00:00:00 2001 From: Kaizen Conroy Date: Wed, 15 Jan 2025 10:20:45 -0500 Subject: [PATCH] chore(toolkit): add to watch options --- .../@aws-cdk/toolkit/lib/actions/watch.ts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/packages/@aws-cdk/toolkit/lib/actions/watch.ts b/packages/@aws-cdk/toolkit/lib/actions/watch.ts index 1298e993c9fe3..aa6b8ca722125 100644 --- a/packages/@aws-cdk/toolkit/lib/actions/watch.ts +++ b/packages/@aws-cdk/toolkit/lib/actions/watch.ts @@ -8,4 +8,25 @@ export interface WatchOptions extends BaseDeployOptions { * @default - false */ readonly traceLogs?: boolean; + + /** + * The extra string to append to the User-Agent header when performing AWS SDK calls. + * + * @default - nothing extra is appended to the User-Agent header + */ + readonly extraUserAgent?: string; + + /** + * Watch the files in this list + * + * @default - [] + */ + readonly include?: string[]; + + /** + * Ignore watching the files in this list + * + * @default - [] + */ + readonly exclude?: string[]; }