class GlobalVariables
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodePipeline.GlobalVariables |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#GlobalVariables |
Java | software.amazon.awscdk.services.codepipeline.GlobalVariables |
Python | aws_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
Name | Type | Description |
---|---|---|
static execution | string | The identifier of the current pipeline execution. |
static executionId
Type:
string
The identifier of the current pipeline execution.