Enum Class PipelineType

java.lang.Object
java.lang.Enum<PipelineType>
software.amazon.awscdk.services.codepipeline.PipelineType
All Implemented Interfaces:
Serializable, Comparable<PipelineType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.110.0 (build 336b265)", date="2025-04-22T23:08:09.286Z") @Stability(Stable) public enum PipelineType extends Enum<PipelineType>
Pipeline types.

Example:

 CodeStarConnectionsSourceAction sourceAction;
 CodeBuildAction buildAction;
 Pipeline.Builder.create(this, "Pipeline")
         .pipelineType(PipelineType.V2)
         .stages(List.of(StageProps.builder()
                 .stageName("Source")
                 .actions(List.of(sourceAction))
                 .build(), StageProps.builder()
                 .stageName("Build")
                 .actions(List.of(buildAction))
                 .build()))
         .triggers(List.of(TriggerProps.builder()
                 .providerType(ProviderType.CODE_STAR_SOURCE_CONNECTION)
                 .gitConfiguration(GitConfiguration.builder()
                         .sourceAction(sourceAction)
                         .pushFilter(List.of(GitPushFilter.builder()
                                 .tagsExcludes(List.of("exclude1", "exclude2"))
                                 .tagsIncludes(List.of("include*"))
                                 .build()))
                         .build())
                 .build()))
         .build();
 
  • Enum Constant Details

    • V1

      @Stability(Stable) public static final PipelineType V1
      V1 type.
    • V2

      @Stability(Stable) public static final PipelineType V2
      V2 type.
  • Method Details

    • values

      public static PipelineType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PipelineType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null