Class StackSteps
Instructions for additional steps that are run at stack level.
Inheritance
System.Object
StackSteps
Implements
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Pipelines.dll
Syntax (csharp)
public class StackSteps : Object, IStackSteps
Syntax (vb)
Public Class StackSteps
Inherits Object
Implements IStackSteps
Remarks
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;
using Amazon.CDK.Pipelines;
Stack stack;
Step step;
var stackSteps = new StackSteps {
Stack = stack,
// the properties below are optional
ChangeSet = new [] { step },
Post = new [] { step },
Pre = new [] { step }
};
Synopsis
Constructors
StackSteps() |
Properties
ChangeSet | Steps that execute after stack is prepared but before stack is deployed. |
Post | Steps that execute after stack is deployed. |
Pre | Steps that execute before stack is prepared. |
Stack | The stack you want the steps to run in. |
Constructors
StackSteps()
public StackSteps()
Properties
ChangeSet
Steps that execute after stack is prepared but before stack is deployed.
public Step[] ChangeSet { get; set; }
Property Value
Step[]
Remarks
Default: - no additional steps
Post
Steps that execute after stack is deployed.
public Step[] Post { get; set; }
Property Value
Step[]
Remarks
Default: - no additional steps
Pre
Steps that execute before stack is prepared.
public Step[] Pre { get; set; }
Property Value
Step[]
Remarks
Default: - no additional steps