Skip to content

dynamodb: breaking change in .NET, resource renamed Table -> Table_ #36025

@johan-lindqvist

Description

@johan-lindqvist

Describe the bug

Table has been renamed to Table_ in .NET in v2.222.0 which is a breaking change and I assume an error since it is still named Table in other languages like TypeScript.

Regression Issue

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

Last Known Working CDK Library Version

2.221.1

Expected Behavior

Table class should be named Table and not Table_ even in .NET

Current Behavior

Table class was renamed to Table_ in 2.222.0 for .NET

Reproduction Steps

Download NuGet package, check DynamoDB namespace for Table_

Possible Solution

Rename it to what it was before the regression. Might have something to do with the code generation since when I check the typescript or golang reference pages they still have Table and not Table_

Additional Information/Context

Reference for .NET: https://docs.aws.amazon.com/cdk/api/v2/dotnet/api/Amazon.CDK.AWS.DynamoDB.Table_.html
Compare with
Reference for TypeScript: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html

AWS CDK Library version (aws-cdk-lib)

2.223.0

AWS CDK CLI version

2.1031.2 (build 779352d)

Node.js Version

v22.14.0

OS

Windows 11

Language

.NET

Language Version

.NET 9.0.306

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-dynamodbRelated to Amazon DynamoDBbugThis issue is a bug.p1potential-regressionMarking this issue as a potential regression to be checked by team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions