Properties for a StageDeployment.
Inheritance
StageDeploymentProps
Implements
Inherited Members
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StageDeploymentProps : IStageDeploymentProps
Syntax (vb)
Public Class StageDeploymentProps Implements 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
Constructors
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. |
Constructors
StageDeploymentProps()
Properties for a StageDeployment.
public StageDeploymentProps()
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"
};
Properties
Post
Additional steps to run after all of the stacks in the stage.
public Step[]? Post { get; set; }
Property Value
Step[]
Pre
Additional steps to run before any of the stacks in the stage.
public Step[]? Pre { get; set; }
Property Value
Step[]
StackSteps
Instructions for additional steps that are run at the stack level.
public IStackSteps[]? StackSteps { get; set; }