Skip to content

(aws-cdk-lib): ConcreteDependable is not exported from aws-cdk-lib #18095

@ChrisSargent

Description

@ChrisSargent

What is the problem?

Despite still existing in @aws-cdk/core, ConcreteDependable is not exported from aws-cdk-lib and we couldn't find any documentation about this change.

As I understand it, we should no longer need to include or import directly from @aws-cdk/xxx modules

Reproduction Steps

import * as cdk from 'aws-cdk-lib';

new cdk.ConcreteDependable()

What did you expect to happen?

To be able to access ConcreteDependable on cdk.

What actually happened?

Error:

Property 'ConcreteDependable' does not exist on type 'typeof import("/Users/chrissargent/Sites/noah-main/packages/noah-infra/node_modules/aws-cdk-lib/index")'.ts(2339)

CDK CLI Version

2.1.0 (build f4f18b1)

Framework Version

No response

Node.js Version

14

OS

MacOS

Language

Typescript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

Labels

aws-cdk-libRelated to the aws-cdk-lib packageguidanceQuestion that needs advice or information.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions