Class UpdatePipelineAction
(deprecated) Action to self-mutate the pipeline.
Inherited Members
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Pipelines.dll
Syntax (csharp)
public class UpdatePipelineAction : Construct, IConstruct, IDependable, IAction
Syntax (vb)
Public Class UpdatePipelineAction
Inherits Construct
Implements IConstruct, IDependable, IAction
Remarks
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.
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;
using Amazon.CDK.AWS.CodePipeline;
using Amazon.CDK.Pipelines;
Artifact artifact;
BuildSpec buildSpec;
DockerCredential dockerCredential;
var updatePipelineAction = new UpdatePipelineAction(this, "MyUpdatePipelineAction", new UpdatePipelineActionProps {
CloudAssemblyInput = artifact,
PipelineStackHierarchicalId = "pipelineStackHierarchicalId",
// the properties below are optional
BuildSpec = buildSpec,
CdkCliVersion = "cdkCliVersion",
DockerCredentials = new [] { dockerCredential },
PipelineStackName = "pipelineStackName",
Privileged = false,
ProjectName = "projectName"
});
Synopsis
Constructors
UpdatePipelineAction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
UpdatePipelineAction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
UpdatePipelineAction(Construct, String, IUpdatePipelineActionProps) |
Properties
ActionProperties | (deprecated) Exists to implement IAction. |
Methods
Bind(Construct, IStage, IActionBindOptions) | (deprecated) Exists to implement IAction. |
OnStateChange(String, IRuleTarget, IRuleProps) | (deprecated) Exists to implement IAction. |
Constructors
UpdatePipelineAction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected UpdatePipelineAction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
UpdatePipelineAction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected UpdatePipelineAction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
UpdatePipelineAction(Construct, String, IUpdatePipelineActionProps)
public UpdatePipelineAction(Construct scope, string id, IUpdatePipelineActionProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IUpdatePipelineActionProps
Remarks
Stability: Deprecated
Properties
ActionProperties
(deprecated) Exists to implement IAction.
public virtual IActionProperties ActionProperties { get; }
Property Value
Remarks
Stability: Deprecated
Methods
Bind(Construct, IStage, IActionBindOptions)
(deprecated) Exists to implement IAction.
public virtual IActionConfig Bind(Construct scope, IStage stage, IActionBindOptions options)
Parameters
- scope Construct
- stage IStage
- options IActionBindOptions
Returns
Remarks
Stability: Deprecated
OnStateChange(String, IRuleTarget, IRuleProps)
(deprecated) Exists to implement IAction.
public virtual Rule OnStateChange(string name, IRuleTarget target = null, IRuleProps options = null)
Parameters
- name System.String
- target IRuleTarget
- options IRuleProps
Returns
Remarks
Stability: Deprecated