AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the EnableStageTransition operation. Enables artifacts in a pipeline to transition to a stage in a pipeline.
Namespace: Amazon.CodePipeline.Model
Assembly: AWSSDK.CodePipeline.dll
Version: 3.x.y.z
public class EnableStageTransitionRequest : AmazonCodePipelineRequest IAmazonWebServiceRequest
The EnableStageTransitionRequest type exposes the following members
Name | Description | |
---|---|---|
EnableStageTransitionRequest() |
Name | Type | Description | |
---|---|---|---|
PipelineName | System.String |
Gets and sets the property PipelineName. The name of the pipeline in which you want to enable the flow of artifacts from one stage to another. |
|
StageName | System.String |
Gets and sets the property StageName. The name of the stage where you want to enable the transition of artifacts, either into the stage (inbound) or from that stage to the next stage (outbound). |
|
TransitionType | Amazon.CodePipeline.StageTransitionType |
Gets and sets the property TransitionType. Specifies whether artifacts are allowed to enter the stage and be processed by the actions in that stage (inbound) or whether already processed artifacts are allowed to transition to the next stage (outbound). |
This example enables transitions into the Beta stage of the MyFirstPipeline pipeline in AWS CodePipeline.
var client = new AmazonCodePipelineClient(); var response = client.EnableStageTransition(new EnableStageTransitionRequest { PipelineName = "MyFirstPipeline", StageName = "Beta", TransitionType = "Inbound" // Valid values are Inbound, which allows artifacts to transition into the stage and be processed by the actions in that stage, or Outbound, which allows artifacts to transition out of the stage after they have been processed by the actions in that stage. });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5