CodeBuildActionType

class aws_cdk.aws_codepipeline_actions.CodeBuildActionType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

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

The default is Build.

ExampleMetadata:

infused

Example:

# project: codebuild.PipelineProject

source_output = codepipeline.Artifact()
test_action = codepipeline_actions.CodeBuildAction(
    action_name="IntegrationTest",
    project=project,
    input=source_output,
    type=codepipeline_actions.CodeBuildActionType.TEST
)

Attributes

BUILD

The action will have the Build Category.

This is the default.

TEST

The action will have the Test Category.