AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodePipeline.AmazonCodePipelineRequest
      Amazon.CodePipeline.Model.EnableStageTransitionRequest

Namespace: Amazon.CodePipeline.Model
Assembly: AWSSDK.CodePipeline.dll
Version: 3.x.y.z

Syntax

C#
public class EnableStageTransitionRequest : AmazonCodePipelineRequest
         IAmazonWebServiceRequest

The EnableStageTransitionRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property 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).

Public Property 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).

Examples

This example enables transitions into the Beta stage of the MyFirstPipeline pipeline in AWS CodePipeline.

Enable transitions into or out of a stage


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.
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5