enum CodeBuildActionType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodePipeline.Actions.CodeBuildActionType |
Java | software.amazon.awscdk.services.codepipeline.actions.CodeBuildActionType |
Python | aws_cdk.aws_codepipeline_actions.CodeBuildActionType |
TypeScript (source) | @aws-cdk/aws-codepipeline-actions » CodeBuildActionType |
The type of the CodeBuild action that determines its CodePipeline Category - Build, or Test.
The default is Build.
Example
declare const project: codebuild.PipelineProject;
const sourceOutput = new codepipeline.Artifact();
const testAction = new codepipeline_actions.CodeBuildAction({
actionName: 'IntegrationTest',
project,
input: sourceOutput,
type: codepipeline_actions.CodeBuildActionType.TEST, // default is BUILD
});
Members
Name | Description |
---|---|
BUILD | The action will have the Build Category. |
TEST | The action will have the Test Category. |
BUILD
The action will have the Build Category.
This is the default.
TEST
The action will have the Test Category.