

# EnvironmentVariable


The environment variables for the action.

## Contents


 ** name **   <a name="CodePipeline-Type-EnvironmentVariable-name"></a>
The environment variable name in the key-value pair.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[A-Za-z0-9_]+`   
Required: Yes

 ** value **   <a name="CodePipeline-Type-EnvironmentVariable-value"></a>
The environment variable value in the key-value pair.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2000.  
Pattern: `.*`   
Required: Yes

 ** type **   <a name="CodePipeline-Type-EnvironmentVariable-type"></a>
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.  
Type: String  
Valid Values: `PLAINTEXT | SECRETS_MANAGER`   
Required: No

## See Also


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/codepipeline-2015-07-09/EnvironmentVariable) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/codepipeline-2015-07-09/EnvironmentVariable) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/codepipeline-2015-07-09/EnvironmentVariable) 