Properties for a StageDeployment.
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStageDeploymentProps
Syntax (vb)
Public Interface IStageDeploymentProps
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 stageDeploymentProps = new StageDeploymentProps {
Post = new [] { step },
Pre = new [] { step },
StackSteps = new [] { new StackSteps {
Stack = stack,
// the properties below are optional
ChangeSet = new [] { step },
Post = new [] { step },
Pre = new [] { step }
} },
StageName = "stageName"
};
Synopsis
Properties
| Post | Additional steps to run after all of the stacks in the stage. |
| Pre | Additional steps to run before any of the stacks in the stage. |
| StackSteps | Instructions for additional steps that are run at the stack level. |
| StageName | Stage name to use in the pipeline. |
Properties
Post
Pre
StackSteps
Instructions for additional steps that are run at the stack level.
IStackSteps[]? StackSteps { get; }