CodePipelineActionFactoryResult Struct
The result of adding actions to the pipeline.
| Source | pipelines/lib/codepipeline/codepipeline-action-factory.ts |
|---|
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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codebuild as codebuild
from aws_cdk import pipelines
# project: codebuild.Project
code_pipeline_action_factory_result = pipelines.CodePipelineActionFactoryResult(
run_orders_consumed=123,
# the properties below are optional
project=project
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
import software.amazon.awscdk.pipelines.*;
Project project;
CodePipelineActionFactoryResult codePipelineActionFactoryResult = CodePipelineActionFactoryResult.builder()
.runOrdersConsumed(123)
// the properties below are optional
.project(project)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;
using Amazon.CDK.Pipelines;
Project project;
var codePipelineActionFactoryResult = new CodePipelineActionFactoryResult {
RunOrdersConsumed = 123,
// the properties below are optional
Project = project
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
var project Project
codePipelineActionFactoryResult := &CodePipelineActionFactoryResult{
RunOrdersConsumed: jsii.Number(123),
// the properties below are optional
Project: project,
}
Properties
projectoptionalIProjectprojectoptionalIProjectprojectoptionalIProjectProjectoptionalIProjectProjectoptionalIProject #If a CodeBuild project got created, the project.
Default: This factory did not create a CodeBuild project
runOrdersConsumednumberrun_orders_consumedint | floatrunOrdersConsumedNumberRunOrdersConsumeddoubleRunOrdersConsumed*float64 required #How many RunOrders were consumed.
If you add 1 action, return the value 1 here.