Class StageDeploymentProps
Properties for a StageDeployment
.
Inheritance
System.Object
StageDeploymentProps
Implements
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StageDeploymentProps : Object, IStageDeploymentProps
Syntax (vb)
Public Class StageDeploymentProps
Inherits Object
Implements IStageDeploymentProps
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 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
StageDeploymentProps() |
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()
public StageDeploymentProps()
Properties
Post
Additional steps to run after all of the stacks in the stage.
public Step[] Post { get; set; }
Property Value
Step[]
Remarks
Default: - No additional steps
Pre
Additional steps to run before any of the stacks in the stage.
public Step[] Pre { get; set; }
Property Value
Step[]
Remarks
Default: - No additional steps
StackSteps
Instructions for additional steps that are run at the stack level.
public IStackSteps[] StackSteps { get; set; }
Property Value
Remarks
Default: - No additional instructions
StageName
Stage name to use in the pipeline.
public string StageName { get; set; }
Property Value
System.String
Remarks
Default: - Use Stage's construct ID