Skip to content

aws-ecs: aws-cdk-lib.aws_ecs.CfnTaskDefinitionProps#inferenceAccelerators deprecation warning #34895

@rjuengling-hf

Description

@rjuengling-hf

Describe the bug

Same bug as issue #33505 but the warning message is from the L1 construct code (false warning for a deprecated property of CfnTaskDefinition not of TaskDefinition).

[WARNING] aws-cdk-lib.aws_ecs.CfnTaskDefinitionProps#inferenceAccelerators is deprecated.
  this property has been deprecated
  This API will be removed in the next major release.

Regression Issue

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

Last Known Working CDK Library Version

No response

Expected Behavior

No warning should be displayed if property is not used.

Current Behavior

See above.

Reproduction Steps

See #33505.

Possible Solution

No response

Additional Information/Context

No response

AWS CDK Library version (aws-cdk-lib)

2.203.0

AWS CDK CLI version

2.1020.0

Node.js Version

22.14.0

OS

AL2023

Language

Python

Language Version

Python 3.11

Other information

No response

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-ecsRelated to Amazon Elastic ContainerbugThis issue is a bug.effort/mediumMedium work item – several days of effortp1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions