CodePipelineActionFactoryResult

class aws_cdk.pipelines.CodePipelineActionFactoryResult(*, run_orders_consumed, project=None)

Bases: object

The result of adding actions to the pipeline.

Parameters
  • run_orders_consumed (Union[int, float]) – How many RunOrders were consumed. If you add 1 action, return the value 1 here.

  • project (Optional[IProject]) – If a CodeBuild project got created, the project. Default: - This factory did not create a CodeBuild project

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_codebuild as codebuild
import aws_cdk.pipelines as pipelines

# project: codebuild.Project

code_pipeline_action_factory_result = pipelines.CodePipelineActionFactoryResult(
    run_orders_consumed=123,

    # the properties below are optional
    project=project
)

Attributes

project

If a CodeBuild project got created, the project.

Default
  • This factory did not create a CodeBuild project

Return type

Optional[IProject]

run_orders_consumed

How many RunOrders were consumed.

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

Return type

Union[int, float]