(aws-codepipeline-actions): custom-action-registration and common are not exported in index.ts #17039
Labels
@aws-cdk/aws-codepipeline-actions
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
in-progress
This issue is being actively worked on.
p1
What is the problem?
When you want to create your own custom action, you need to register it. Using
CustomActionRegistration
fromcustom-action-registration.ts
makes this easy, and it's already exported from that ts file. However, to use it as part of the@aws-cdk/aws-codepipeline-action
module, that class needs to be exported on theindex.ts
file in that directory. Currently, the contents ofcustom-action-registration.ts
are not exported from theindex.ts
. This is also true forsourceArtifactBounds
anddeployArtifactBounds
from thecommon.ts
file.Reproduction Steps
Module '"@aws-cdk/aws-codepipeline-actions"' has no exported member 'CustomActionRegistration'.
Module '"@aws-cdk/aws-codepipeline-actions"' has no exported member 'sourceArtifactBounds'.
Module '"@aws-cdk/aws-codepipeline-actions"' has no exported member 'deployArtifactBounds'.
What did you expect to happen?
Expected the content of
custom-action-registration.ts
andcommon.ts
in the@aws-cdk/aws-codepipeline-actions
module to be available in the library module.What actually happened?
The content of
custom-action-registration.ts
andcommon.ts
in the@aws-cdk/aws-codepipeline-actions
module are not in the library module because they are not exported in theindex.ts
CDK CLI Version
1.128.0
Framework Version
No response
Node.js Version
v16.11.1
OS
os x
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: