diff --git a/packages/@aws-cdk/custom-resource-handlers/package.json b/packages/@aws-cdk/custom-resource-handlers/package.json index 0ce1e385cc422..aea85e06909c2 100644 --- a/packages/@aws-cdk/custom-resource-handlers/package.json +++ b/packages/@aws-cdk/custom-resource-handlers/package.json @@ -63,8 +63,7 @@ "@aws-sdk/client-synthetics": "3.421.0", "@aws-sdk/client-ecr": "3.421.0", "@aws-sdk/client-s3": "3.421.0", - "@aws-sdk/client-cloudwatch": "3.421.0", - "aws-sdk": "^2.1596.0" + "@aws-sdk/client-cloudwatch": "3.421.0" }, "repository": { "url": "https://github.com/aws/aws-cdk.git", diff --git a/packages/@aws-cdk/custom-resource-handlers/test/aws-eks/compare-log.test.ts b/packages/@aws-cdk/custom-resource-handlers/test/aws-eks/compare-log.test.ts index 18ea3d9234c40..f91e465e71e11 100644 --- a/packages/@aws-cdk/custom-resource-handlers/test/aws-eks/compare-log.test.ts +++ b/packages/@aws-cdk/custom-resource-handlers/test/aws-eks/compare-log.test.ts @@ -1,5 +1,5 @@ /* eslint-disable import/no-extraneous-dependencies */ -import * as aws from 'aws-sdk'; +import { CreateClusterRequest, LogType } from '@aws-sdk/client-eks'; import { compareLoggingProps } from '../../lib/aws-eks/cluster-resource-handler/compareLogging'; /** @@ -30,8 +30,8 @@ enum ClusterLoggingTypes { describe('compareLoggingProps', () => { - type Props = Partial; - const oldEnabledTypes: aws.EKS.LogTypes = [ClusterLoggingTypes.API, ClusterLoggingTypes.AUDIT]; + type Props = Partial; + const oldEnabledTypes: LogType[] = [ClusterLoggingTypes.API, ClusterLoggingTypes.AUDIT]; test('when newProps.logging.clusterLogging is undefined, should disable all types with enabled:true in oldProps', () => { const oldProps: Props = {