-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
@aws-cdk/aws-logsRelated to Amazon CloudWatch LogsRelated to Amazon CloudWatch LogsbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1
Description
What is the problem?
when importing
import * as logs from "@aws-cdk/aws-logs";
new logs.ResourcePolicy(...)
fails with something like: logs
does not have property ResourcePolicy
And indeed when inspecting the PR that added it the lib/index.ts
file wasn't updated with the new export
Reproduction Steps
import * as logs from "@aws-cdk/aws-logs";
new logs.ResourcePolicy(this, "Policy");
What did you expect to happen?
The new construct should be export just like others
What actually happened?
The export was forgotten
CDK CLI Version
1.131.0
Framework Version
1.131.0
Node.js Version
16.9.0
OS
macOS
Language
Typescript
Language Version
No response
Other information
No response
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-logsRelated to Amazon CloudWatch LogsRelated to Amazon CloudWatch LogsbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1