From b5c3f84c8be855107d3ea6738bbf8511f2ecdb8e Mon Sep 17 00:00:00 2001 From: Jan Brauer Date: Thu, 12 Nov 2020 02:50:52 +0100 Subject: [PATCH] feat(applicationautoscaling): Add KAFKA to ServiceNamespace (#11394) Add `KAFKA` to ServiceNamespace. This allows targeting MSK's autoscaling feature. Fixes https://github.com/aws/aws-cdk/issues/11366 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .../aws-applicationautoscaling/lib/scalable-target.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/@aws-cdk/aws-applicationautoscaling/lib/scalable-target.ts b/packages/@aws-cdk/aws-applicationautoscaling/lib/scalable-target.ts index 14bf3f4913b34..9549ff5c6598c 100644 --- a/packages/@aws-cdk/aws-applicationautoscaling/lib/scalable-target.ts +++ b/packages/@aws-cdk/aws-applicationautoscaling/lib/scalable-target.ts @@ -274,4 +274,9 @@ export enum ServiceNamespace { * Comprehend */ COMPREHEND = 'comprehend', + + /** + * Kafka + */ + KAFKA = 'kafka', }