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.98.0 (build 00b106d)", date="2024-05-08T21:35:04.440Z") @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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PipelineType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null