Class CodeBuildActionType
The type of the CodeBuild action that determines its CodePipeline Category - Build, or Test.
Inheritance
System.Object
CodeBuildActionType
Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class CodeBuildActionType : Enum
Syntax (vb)
Public NotInheritable Class CodeBuildActionType
Inherits
Enum
Remarks
The default is Build.
ExampleMetadata: infused
Examples
PipelineProject project;
var sourceOutput = new Artifact();
var testAction = new CodeBuildAction(new CodeBuildActionProps {
ActionName = "IntegrationTest",
Project = project,
Input = sourceOutput,
Type = CodeBuildActionType.TEST
});
Synopsis
Fields
BUILD | The action will have the Build Category. |
TEST | The action will have the Test Category. |
value__ |
Fields
BUILD
The action will have the Build Category.
public const CodeBuildActionType BUILD
Field Value
Type | Description |
---|---|
CodeBuildActionType |
Remarks
This is the default.
TEST
The action will have the Test Category.
public const CodeBuildActionType TEST
Field Value
Type | Description |
---|---|
CodeBuildActionType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |