Interface IStackSteps
Instructions for additional steps that are run at stack level.
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStackSteps
Syntax (vb)
Public Interface 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
Properties
Change |
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. |
Properties
ChangeSet
Steps that execute after stack is prepared but before stack is deployed.
virtual Step[] ChangeSet { get; }
Property Value
Step[]
Remarks
Default: - no additional steps
Post
Steps that execute after stack is deployed.
virtual Step[] Post { get; }
Property Value
Step[]
Remarks
Default: - no additional steps
Pre
Steps that execute before stack is prepared.
virtual Step[] Pre { get; }
Property Value
Step[]
Remarks
Default: - no additional steps