interface VariableDeclarationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodePipeline.CfnPipeline.VariableDeclarationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#CfnPipeline_VariableDeclarationProperty |
![]() | software.amazon.awscdk.services.codepipeline.CfnPipeline.VariableDeclarationProperty |
![]() | aws_cdk.aws_codepipeline.CfnPipeline.VariableDeclarationProperty |
![]() | aws-cdk-lib » aws_codepipeline » CfnPipeline » VariableDeclarationProperty |
A variable declared at the pipeline level.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
const variableDeclarationProperty: codepipeline.CfnPipeline.VariableDeclarationProperty = {
name: 'name',
// the properties below are optional
defaultValue: 'defaultValue',
description: 'description',
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of a pipeline-level variable. |
default | string | The value of a pipeline-level variable. |
description? | string | The description of a pipeline-level variable. |
name
Type:
string
The name of a pipeline-level variable.
defaultValue?
Type:
string
(optional)
The value of a pipeline-level variable.
description?
Type:
string
(optional)
The description of a pipeline-level variable.
It's used to add additional context about the variable, and not being used at time when pipeline executes.