Class GlobalVariables
The CodePipeline variables that are global, not bound to a specific action.
Inheritance
System.Object
GlobalVariables
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.AWS.CodePipeline.dll
Syntax (csharp)
public class GlobalVariables : DeputyBase
Syntax (vb)
Public Class GlobalVariables
Inherits DeputyBase
Remarks
This class defines a bunch of static fields that represent the different variables. These can be used can be used in any action configuration.
ExampleMetadata: fixture=action infused
Examples
// OtherAction is some action type that produces variables, like EcrSourceAction
// OtherAction is some action type that produces variables, like EcrSourceAction
new OtherAction(new OtherActionProps {
// ...
Config = GlobalVariables.ExecutionId,
ActionName = "otherAction"
});
Synopsis
Constructors
GlobalVariables() | |
GlobalVariables(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
GlobalVariables(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ExecutionId | The identifier of the current pipeline execution. |
Constructors
GlobalVariables()
public GlobalVariables()
GlobalVariables(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected GlobalVariables(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
GlobalVariables(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected GlobalVariables(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ExecutionId
The identifier of the current pipeline execution.
public static string ExecutionId { get; }
Property Value
System.String