-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Seeing the following warnings whenever we run a deploy using aws-cdk-lib 2.23.0:
[WARNING] aws-cdk-lib.aws_lambda.FunctionOptions#logRetention is deprecated.
use `logGroup` instead
This API will be removed in the next major release.
[WARNING] aws-cdk-lib.aws_cloudfront_origins.S3Origin is deprecated.
Use `S3BucketOrigin` or `S3StaticWebsiteOrigin` instead.
This API will be removed in the next major release.
[WARNING] aws-cdk-lib.aws_cloudfront_origins.S3Origin#bind is deprecated.
Use `S3BucketOrigin` or `S3StaticWebsiteOrigin` instead.
This API will be removed in the next major release.
Looks like the following code is causing these:
cdk-nextjs/src/NextjsRevalidation.ts
Line 173 in c23376b
| logRetention: RetentionDays.ONE_DAY, |
cdk-nextjs/src/NextjsDistribution.ts
Line 206 in c23376b
| this.s3Origin = new origins.S3Origin(this.props.staticAssetsBucket, this.props.overrides?.s3OriginProps); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels