Skip to content

(custom-resource): Custom Resource provider is using deprecated LogFormat parameter #35002

@mjgoble

Description

@mjgoble

Describe the bug

Latest version of aws-cdk 2.206.0 has updated the custom resource provider to include a deprecated parameter LogFormat causing synth warnings when performing a cdk synth

Reverting to previous versions of cdk lib stops these warnings

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Library Version

No response

Expected Behavior

CDK synth should not show warnings about deprecated LogFormat

Current Behavior

[WARNING] aws-cdk-lib.aws_lambda.FunctionOptions#logFormat is deprecated.
  Use `loggingFormat` as a property instead.
  This API will be removed in the next major release.

Reproduction Steps

Create a CDK stack that creates a custom resource

Possible Solution

No response

Additional Information/Context

No response

AWS CDK Library version (aws-cdk-lib)

2.206.0

AWS CDK CLI version

2.1020.2

Node.js Version

n/a

OS

Linux

Language

Python

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/custom-resourcesRelated to AWS CDK Custom ResourcesbugThis issue is a bug.effort/smallSmall work item – less than a day of effortp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions