interface EnvironmentVariableProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodePipeline.CfnPipeline.EnvironmentVariableProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#CfnPipeline_EnvironmentVariableProperty |
Java | software.amazon.awscdk.services.codepipeline.CfnPipeline.EnvironmentVariableProperty |
Python | aws_cdk.aws_codepipeline.CfnPipeline.EnvironmentVariableProperty |
TypeScript | aws-cdk-lib » aws_codepipeline » CfnPipeline » EnvironmentVariableProperty |
The environment variables for the action.
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 environmentVariableProperty: codepipeline.CfnPipeline.EnvironmentVariableProperty = {
name: 'name',
value: 'value',
// the properties below are optional
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The environment variable name in the key-value pair. |
| value | string | The environment variable value in the key-value pair. |
| type? | string | Specifies the type of use for the environment variable value. |
name
Type:
string
The environment variable name in the key-value pair.
value
Type:
string
The environment variable value in the key-value pair.
type?
Type:
string
(optional)
Specifies the type of use for the environment variable value.
The value can be either PLAINTEXT or SECRETS_MANAGER . If the value is SECRETS_MANAGER , provide the Secrets reference in the EnvironmentVariable value.

.NET
Go
Java
Python
TypeScript