interface EnvironmentVariableProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lightsail.CfnContainer.EnvironmentVariableProperty |
Java | software.amazon.awscdk.services.lightsail.CfnContainer.EnvironmentVariableProperty |
Python | aws_cdk.aws_lightsail.CfnContainer.EnvironmentVariableProperty |
TypeScript | @aws-cdk/aws-lightsail » CfnContainer » EnvironmentVariableProperty |
EnvironmentVariable is a property of the Container 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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lightsail from '@aws-cdk/aws-lightsail';
const environmentVariableProperty: lightsail.CfnContainer.EnvironmentVariableProperty = {
value: 'value',
variable: 'variable',
};
Properties
| Name | Type | Description |
|---|---|---|
| value? | string | The environment variable value. |
| variable? | string | The environment variable key. |
value?
Type:
string
(optional)
The environment variable value.
variable?
Type:
string
(optional)
The environment variable key.

.NET
Java
Python
TypeScript