codepipeline & codestart notification: unable to associate the source for the code pipeline on a notification #27078
Labels
@aws-cdk/aws-codepipeline
Related to AWS CodePipeline
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
We are trying to create Code Pipeline and associate notifications to the code pipeline. Code pipelines got created sucessfully but when trying to associate a notification to it there are multiple issue and also the
notification-rule-source.d.ts
interface is confusing as well.described 4 options here with 4 different version of soruce
option 1 : source: pipeline.pipeline,
option 2 : source: pipeline.pipeline.bindAsNotificationRuleSource(this),
option 3 : source: notificationRuleSourceConfig,
option 4 : source: pipelineSource,
code-pipeline.ts
notification-rule-source-d.ts
Expected Behavior
expected to associate pipeline seamlessly to the notification.
Current Behavior
it's throwing bunch of errors.
Reproduction Steps
create a code pipeline and try to attach a code star notification to it using the pipeline object once it's created.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
aws@0.3.80 cdk
Framework Version
No response
Node.js Version
18
OS
mac os
Language
Typescript
Language Version
typescript 8.15
Other information
No response
The text was updated successfully, but these errors were encountered: