Skip to content
v2.275.0

CodeBuildActionType Enum ​

The type of the CodeBuild action that determines its CodePipeline Category - Build, or Test.

The default is Build.

Example ​

ts
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 ​

MemberDescription
BUILDThe action will have the Build Category.
TESTThe action will have the Test Category.

Referenced by ​