cdklabs / construct-hub

AWS CDK construct library that can be used to deploy instances of the Construct Hub in any AWS Account.
https://constructs.dev
Apache License 2.0
207 stars 27 forks source link

Fix CDK deprecations #1470

Open mrgrain opened 2 months ago

mrgrain commented 2 months ago

Description

ConstructHub uses a number of features from CDK that are marked as deprecated. You can see these when running tests or synth.

An incomplete list:

[WARNING] aws-cdk-lib.aws_acme.DnsValidatedCertificate is deprecated.
  use {@link Certificate } instead
  This API will be removed in the next major release.

[WARNING] aws-cdk-lib.aws_stepfunctions.StateMachineProps#definition is deprecated.
  use definitionBody: DefinitionBody.fromChainable()
  This API will be removed in the next major release.

[WARNING] aws-cdk-lib.aws_stepfunctions.Map#iterator is deprecated.
  - use `itemProcessor` instead.
  This API will be removed in the next major release.

Use Case

No response

Other information

No response