interface EnvironmentVariableProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lightsail.CfnContainerPropsMixin.EnvironmentVariableProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslightsail#CfnContainerPropsMixin_EnvironmentVariableProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnContainerPropsMixin.EnvironmentVariableProperty |
Python | aws_cdk.cfn_property_mixins.aws_lightsail.CfnContainerPropsMixin.EnvironmentVariableProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lightsail » CfnContainerPropsMixin » 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 { aws_lightsail as lightsail } from '@aws-cdk/cfn-property-mixins';
const environmentVariableProperty: lightsail.CfnContainerPropsMixin.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
Go
Java
Python
TypeScript