java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.codepipeline.CfnPipelinePropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:19:57.318Z") @Stability(Stable) public class CfnPipelinePropsMixin extends Mixin implements software.constructs.IMixin
The AWS::CodePipeline::Pipeline resource creates a CodePipeline pipeline that describes how software changes go through a release process.

For more information, see What Is CodePipeline? in the CodePipeline User Guide .

For an example in YAML and JSON that contains the parameters in this reference, see Examples .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.codepipeline.*;
 import software.amazon.awscdk.*;
 Object configuration;
 IMergeStrategy mergeStrategy;
 CfnPipelinePropsMixin cfnPipelinePropsMixin = CfnPipelinePropsMixin.Builder.create(CfnPipelineMixinProps.builder()
         .artifactStore(ArtifactStoreProperty.builder()
                 .encryptionKey(EncryptionKeyProperty.builder()
                         .id("id")
                         .type("type")
                         .build())
                 .location("location")
                 .type("type")
                 .build())
         .artifactStores(List.of(ArtifactStoreMapProperty.builder()
                 .artifactStore(ArtifactStoreProperty.builder()
                         .encryptionKey(EncryptionKeyProperty.builder()
                                 .id("id")
                                 .type("type")
                                 .build())
                         .location("location")
                         .type("type")
                         .build())
                 .region("region")
                 .build()))
         .disableInboundStageTransitions(List.of(StageTransitionProperty.builder()
                 .reason("reason")
                 .stageName("stageName")
                 .build()))
         .executionMode("executionMode")
         .name("name")
         .pipelineType("pipelineType")
         .restartExecutionOnUpdate(false)
         .roleArn("roleArn")
         .stages(List.of(StageDeclarationProperty.builder()
                 .actions(List.of(ActionDeclarationProperty.builder()
                         .actionTypeId(ActionTypeIdProperty.builder()
                                 .category("category")
                                 .owner("owner")
                                 .provider("provider")
                                 .version("version")
                                 .build())
                         .commands(List.of("commands"))
                         .configuration(configuration)
                         .environmentVariables(List.of(EnvironmentVariableProperty.builder()
                                 .name("name")
                                 .type("type")
                                 .value("value")
                                 .build()))
                         .inputArtifacts(List.of(InputArtifactProperty.builder()
                                 .name("name")
                                 .build()))
                         .name("name")
                         .namespace("namespace")
                         .outputArtifacts(List.of(OutputArtifactProperty.builder()
                                 .files(List.of("files"))
                                 .name("name")
                                 .build()))
                         .outputVariables(List.of("outputVariables"))
                         .region("region")
                         .roleArn("roleArn")
                         .runOrder(123)
                         .timeoutInMinutes(123)
                         .build()))
                 .beforeEntry(BeforeEntryConditionsProperty.builder()
                         .conditions(List.of(ConditionProperty.builder()
                                 .result("result")
                                 .rules(List.of(RuleDeclarationProperty.builder()
                                         .commands(List.of("commands"))
                                         .configuration(configuration)
                                         .inputArtifacts(List.of(InputArtifactProperty.builder()
                                                 .name("name")
                                                 .build()))
                                         .name("name")
                                         .region("region")
                                         .roleArn("roleArn")
                                         .ruleTypeId(RuleTypeIdProperty.builder()
                                                 .category("category")
                                                 .owner("owner")
                                                 .provider("provider")
                                                 .version("version")
                                                 .build())
                                         .build()))
                                 .build()))
                         .build())
                 .blockers(List.of(BlockerDeclarationProperty.builder()
                         .name("name")
                         .type("type")
                         .build()))
                 .name("name")
                 .onFailure(FailureConditionsProperty.builder()
                         .conditions(List.of(ConditionProperty.builder()
                                 .result("result")
                                 .rules(List.of(RuleDeclarationProperty.builder()
                                         .commands(List.of("commands"))
                                         .configuration(configuration)
                                         .inputArtifacts(List.of(InputArtifactProperty.builder()
                                                 .name("name")
                                                 .build()))
                                         .name("name")
                                         .region("region")
                                         .roleArn("roleArn")
                                         .ruleTypeId(RuleTypeIdProperty.builder()
                                                 .category("category")
                                                 .owner("owner")
                                                 .provider("provider")
                                                 .version("version")
                                                 .build())
                                         .build()))
                                 .build()))
                         .result("result")
                         .retryConfiguration(RetryConfigurationProperty.builder()
                                 .retryMode("retryMode")
                                 .build())
                         .build())
                 .onSuccess(SuccessConditionsProperty.builder()
                         .conditions(List.of(ConditionProperty.builder()
                                 .result("result")
                                 .rules(List.of(RuleDeclarationProperty.builder()
                                         .commands(List.of("commands"))
                                         .configuration(configuration)
                                         .inputArtifacts(List.of(InputArtifactProperty.builder()
                                                 .name("name")
                                                 .build()))
                                         .name("name")
                                         .region("region")
                                         .roleArn("roleArn")
                                         .ruleTypeId(RuleTypeIdProperty.builder()
                                                 .category("category")
                                                 .owner("owner")
                                                 .provider("provider")
                                                 .version("version")
                                                 .build())
                                         .build()))
                                 .build()))
                         .build())
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .triggers(List.of(PipelineTriggerDeclarationProperty.builder()
                 .gitConfiguration(GitConfigurationProperty.builder()
                         .pullRequest(List.of(GitPullRequestFilterProperty.builder()
                                 .branches(GitBranchFilterCriteriaProperty.builder()
                                         .excludes(List.of("excludes"))
                                         .includes(List.of("includes"))
                                         .build())
                                 .events(List.of("events"))
                                 .filePaths(GitFilePathFilterCriteriaProperty.builder()
                                         .excludes(List.of("excludes"))
                                         .includes(List.of("includes"))
                                         .build())
                                 .build()))
                         .push(List.of(GitPushFilterProperty.builder()
                                 .branches(GitBranchFilterCriteriaProperty.builder()
                                         .excludes(List.of("excludes"))
                                         .includes(List.of("includes"))
                                         .build())
                                 .filePaths(GitFilePathFilterCriteriaProperty.builder()
                                         .excludes(List.of("excludes"))
                                         .includes(List.of("includes"))
                                         .build())
                                 .tags(GitTagFilterCriteriaProperty.builder()
                                         .excludes(List.of("excludes"))
                                         .includes(List.of("includes"))
                                         .build())
                                 .build()))
                         .sourceActionName("sourceActionName")
                         .build())
                 .providerType("providerType")
                 .build()))
         .variables(List.of(VariableDeclarationProperty.builder()
                 .defaultValue("defaultValue")
                 .description("description")
                 .name("name")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnPipelinePropsMixin

      protected CfnPipelinePropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnPipelinePropsMixin

      protected CfnPipelinePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnPipelinePropsMixin

      @Stability(Stable) public CfnPipelinePropsMixin(@NotNull CfnPipelineMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::CodePipeline::Pipeline.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnPipelinePropsMixin

      @Stability(Stable) public CfnPipelinePropsMixin(@NotNull CfnPipelineMixinProps props)
      Create a mixin to apply properties to AWS::CodePipeline::Pipeline.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnPipelineMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()