From f7a527edd6e9a7247360adaeb13d70d4aa6abf26 Mon Sep 17 00:00:00 2001 From: Stephen Kuenzli Date: Thu, 12 Dec 2024 12:07:40 -0700 Subject: [PATCH] (fix) Adjust imports so they are compatible back to node16. Fixes #32 --- src/s3.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/s3.ts b/src/s3.ts index 74c18ec..2d660cc 100644 --- a/src/s3.ts +++ b/src/s3.ts @@ -7,8 +7,7 @@ import { ServicePrincipal, } from 'aws-cdk-lib/aws-iam'; import * as s3 from 'aws-cdk-lib/aws-s3'; -import { BucketEncryption } from 'aws-cdk-lib/aws-s3'; -import { IBucket } from 'aws-cdk-lib/aws-s3/lib/bucket'; +import { IBucket, BucketEncryption } from 'aws-cdk-lib/aws-s3'; import { IConstruct } from 'constructs'; import * as aws_iam_utils from './aws-iam-utils'; import { AccessCapability, IAccessSpec, IAWSServiceAccessGenerator, K9PolicyFactory } from './k9policy';