# GlobalVariables

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.

- Source: [`aws-codepipeline/lib/action.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-codepipeline/lib/action.ts#L44)

## Example

TypeScript:

```ts
// OtherAction is some action type that produces variables, like EcrSourceAction
new OtherAction({
  // ...
  config: codepipeline.GlobalVariables.executionId,
  actionName: 'otherAction',
});
```

Python:

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

Java:

```java
// 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")
        );
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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"
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// OtherAction is some action type that produces variables, like EcrSourceAction
// OtherAction is some action type that produces variables, like EcrSourceAction
newOtherAction(&otherActionProps{
	// ...
	config: codepipeline.GlobalVariables_ExecutionId(),
	actionName: jsii.String("otherAction"),
})
```

## Initializer

TypeScript:

```ts
new GlobalVariables()
```

Python:

```python
GlobalVariables()
```

Java:

```java
new GlobalVariables()
```

C# / .NET:

```csharp
new GlobalVariables()
```

Golang:

```go
NewGlobalVariables()
```

## Properties

- `executionId`: string (static) — The identifier of the current pipeline execution.
