Skip to content
v2.273.0

CodePipelineActionFactoryResult Struct ​

The result of adding actions to the pipeline.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
import { pipelines } from 'aws-cdk-lib';

declare const project: codebuild.Project;
const codePipelineActionFactoryResult: pipelines.CodePipelineActionFactoryResult = {
  runOrdersConsumed: 123,

  // the properties below are optional
  project: project,
};

Properties ​

projectIProjectprojectIProjectprojectIProjectProjectIProjectProjectIProject= This factory did not create a Co…#
If a CodeBuild project got created, the project.
default

Default: This factory did not create a CodeBuild project

runOrdersConsumednumberrun_orders_consumedint | floatrunOrdersConsumedNumberRunOrdersConsumeddoubleRunOrdersConsumed*float64required#
How many RunOrders were consumed.

If you add 1 action, return the value 1 here.