Class UpdatePipelineAction

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.pipelines.UpdatePipelineAction
All Implemented Interfaces:
IConstruct, IDependable, IAction, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.906Z") @Stability(Deprecated) @Deprecated public class UpdatePipelineAction extends Construct implements IAction
Deprecated.
This class is part of the old API. Use the API based on the CodePipeline class instead
(deprecated) Action to self-mutate the pipeline.

Creates a CodeBuild project which will use the CDK CLI to deploy the pipeline stack.

You do not need to instantiate this action -- it will automatically be added by the pipeline.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.codebuild.*;
 import software.amazon.awscdk.services.codepipeline.*;
 import software.amazon.awscdk.pipelines.*;
 Artifact artifact;
 BuildSpec buildSpec;
 DockerCredential dockerCredential;
 UpdatePipelineAction updatePipelineAction = UpdatePipelineAction.Builder.create(this, "MyUpdatePipelineAction")
         .cloudAssemblyInput(artifact)
         .pipelineStackHierarchicalId("pipelineStackHierarchicalId")
         // the properties below are optional
         .buildSpec(buildSpec)
         .cdkCliVersion("cdkCliVersion")
         .dockerCredentials(List.of(dockerCredential))
         .pipelineStackName("pipelineStackName")
         .privileged(false)
         .projectName("projectName")
         .build();
 

  • Constructor Details

    • UpdatePipelineAction

      protected UpdatePipelineAction(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • UpdatePipelineAction

      protected UpdatePipelineAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • UpdatePipelineAction

      @Stability(Deprecated) @Deprecated public UpdatePipelineAction(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull UpdatePipelineActionProps props)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • bind

      @Stability(Deprecated) @Deprecated @NotNull public ActionConfig bind(@NotNull Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options)
      Deprecated.
      (deprecated) Exists to implement IAction.

      Specified by:
      bind in interface IAction
      Parameters:
      scope - This parameter is required.
      stage - This parameter is required.
      options - This parameter is required.
    • onStateChange

      @Stability(Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target, @Nullable RuleProps options)
      Deprecated.
      (deprecated) Exists to implement IAction.

      Specified by:
      onStateChange in interface IAction
      Parameters:
      name - This parameter is required.
      target -
      options -
    • onStateChange

      @Stability(Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target)
      Deprecated.
      (deprecated) Exists to implement IAction.

      Specified by:
      onStateChange in interface IAction
      Parameters:
      name - This parameter is required.
      target -
    • onStateChange

      @Stability(Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name)
      Deprecated.
      (deprecated) Exists to implement IAction.

      Specified by:
      onStateChange in interface IAction
      Parameters:
      name - This parameter is required.
    • getActionProperties

      @Stability(Deprecated) @Deprecated @NotNull public ActionProperties getActionProperties()
      Deprecated.
      (deprecated) Exists to implement IAction.
      Specified by:
      getActionProperties in interface IAction