# EnvironmentVariableProperty

- Source: Generated at build time
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devicefarm as devicefarm } from 'aws-cdk-lib';
const environmentVariableProperty: devicefarm.CfnProject.EnvironmentVariableProperty = {
  name: 'name',
  value: 'value',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devicefarm as devicefarm

environment_variable_property = devicefarm.CfnProject.EnvironmentVariableProperty(
    name="name",
    value="value"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devicefarm.*;

EnvironmentVariableProperty environmentVariableProperty = EnvironmentVariableProperty.builder()
        .name("name")
        .value("value")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DeviceFarm;

var environmentVariableProperty = new EnvironmentVariableProperty {
    Name = "name",
    Value = "value"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

environmentVariableProperty := &EnvironmentVariableProperty{
	Name: jsii.String("name"),
	Value: jsii.String("value"),
}
```

## Properties

- `name`: string (required)

- `value`: string (required)
