Class GlobalVariables

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codepipeline.GlobalVariables
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:27.241Z") @Stability(Stable) public class GlobalVariables extends software.amazon.jsii.JsiiObject
The CodePipeline variables that are global, not bound to a specific action.

This class defines a bunch of static fields that represent the different variables. These can be used can be used in any action configuration.

Example:

 // 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")
         );
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The identifier of the current pipeline execution.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    GlobalVariables(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    GlobalVariables(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • EXECUTION_ID

      @Stability(Stable) public static final String EXECUTION_ID
      The identifier of the current pipeline execution.
  • Constructor Details

    • GlobalVariables

      protected GlobalVariables(software.amazon.jsii.JsiiObjectRef objRef)
    • GlobalVariables

      protected GlobalVariables(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • GlobalVariables

      @Stability(Stable) public GlobalVariables()