GlobalVariables

class aws_cdk.aws_codepipeline.GlobalVariables

Bases: object

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.

ExampleMetadata:

fixture=action infused

Example:

# OtherAction is some action type that produces variables, like EcrSourceAction
OtherAction(
    # ...
    config=codepipeline.GlobalVariables.execution_id,
    action_name="otherAction"
)

Attributes

EXECUTION_ID = '#{codepipeline.PipelineExecutionId}'