aws-cdk-lib.aws_codepipeline.GlobalVariables

class GlobalVariables

LanguageType name
.NETAmazon.CDK.AWS.CodePipeline.GlobalVariables
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#GlobalVariables
Javasoftware.amazon.awscdk.services.codepipeline.GlobalVariables
Pythonaws_cdk.aws_codepipeline.GlobalVariables
TypeScript (source)aws-cdk-lib » aws_codepipeline » 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.

Example

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

Initializer

new GlobalVariables()

Properties

NameTypeDescription
static executionIdstringThe identifier of the current pipeline execution.

static executionId

Type: string

The identifier of the current pipeline execution.