AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Information about an environment variable for a build project or a build.

Inheritance Hierarchy

System.Object
  Amazon.CodeBuild.Model.EnvironmentVariable

Namespace: Amazon.CodeBuild.Model
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z

Syntax

C#
public class EnvironmentVariable

The EnvironmentVariable type exposes the following members

Constructors

NameDescription
Public Method EnvironmentVariable()

Properties

NameTypeDescription
Public Property Name System.String

Gets and sets the property Name.

The name or key of the environment variable.

Public Property Type Amazon.CodeBuild.EnvironmentVariableType

Gets and sets the property Type.

The type of environment variable. Valid values include:

  • PARAMETER_STORE: An environment variable stored in Amazon EC2 Systems Manager Parameter Store.

  • PLAINTEXT: An environment variable in plaintext format.

Public Property Value System.String

Gets and sets the property Value.

The value of the environment variable.

We strongly discourage using environment variables to store sensitive values, especially AWS secret key IDs and secret access keys. Environment variables can be displayed in plain text using tools such as the AWS CodeBuild console and the AWS Command Line Interface (AWS CLI).

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms