# EnvironmentVariableProperty

`EnvironmentVariable` is a property of the [Container](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-container.html) property. It describes the environment variables of a container on a container service which are key-value parameters that provide dynamic configuration of the application or script run by the container.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

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

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_lightsail as lightsail

environment_variable_property = lightsail.CfnContainer.EnvironmentVariableProperty(
    value="value",
    variable="variable"
)
```

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.lightsail.*;

EnvironmentVariableProperty environmentVariableProperty = EnvironmentVariableProperty.builder()
        .value("value")
        .variable("variable")
        .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.Lightsail;

var environmentVariableProperty = new EnvironmentVariableProperty {
    Value = "value",
    Variable = "variable"
};
```

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{
	Value: jsii.String("value"),
	Variable: jsii.String("variable"),
}
```

## Properties

- `value`: string — The environment variable value.

- `variable`: string — The environment variable key.
