diff --git a/packages/@aws-cdk/aws-codepipeline-actions/lib/action.ts b/packages/@aws-cdk/aws-codepipeline-actions/lib/action.ts index 514ebd9cc70bc..f6efb8bc4fdf9 100644 --- a/packages/@aws-cdk/aws-codepipeline-actions/lib/action.ts +++ b/packages/@aws-cdk/aws-codepipeline-actions/lib/action.ts @@ -34,7 +34,7 @@ export abstract class Action implements codepipeline.IAction { const rule = new events.Rule(this.scope, name, options); rule.addTarget(target); rule.addEventPattern({ - detailType: [ 'CodePipeline Stage Execution State Change' ], + detailType: [ 'CodePipeline Action Execution State Change' ], source: [ 'aws.codepipeline' ], resources: [ this.pipeline.pipelineArn ], detail: { diff --git a/packages/@aws-cdk/aws-codepipeline-actions/test/integ.pipeline-events.expected.json b/packages/@aws-cdk/aws-codepipeline-actions/test/integ.pipeline-events.expected.json index 5d136e655cc8b..050b8e6ef57dd 100644 --- a/packages/@aws-cdk/aws-codepipeline-actions/test/integ.pipeline-events.expected.json +++ b/packages/@aws-cdk/aws-codepipeline-actions/test/integ.pipeline-events.expected.json @@ -484,7 +484,7 @@ "Properties": { "EventPattern": { "detail-type": [ - "CodePipeline Stage Execution State Change" + "CodePipeline Action Execution State Change" ], "source": [ "aws.codepipeline"