From 713b6d5f91d6796b50a78b13a59f66f5485574ca Mon Sep 17 00:00:00 2001 From: Kaizen Conroy <36202692+kaizencc@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:58:53 -0500 Subject: [PATCH] chore(toolkit): add to watch options (#32950) Options for `watch` in the programmatic toolkit ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .../@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[]; }