aws-cdk-lib.aws_lightsail.CfnContainer.EnvironmentVariableProperty

interface EnvironmentVariableProperty

LanguageType name
.NETAmazon.CDK.AWS.Lightsail.CfnContainer.EnvironmentVariableProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnContainer_EnvironmentVariableProperty
Javasoftware.amazon.awscdk.services.lightsail.CfnContainer.EnvironmentVariableProperty
Pythonaws_cdk.aws_lightsail.CfnContainer.EnvironmentVariableProperty
TypeScript aws-cdk-lib » 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 { aws_lightsail as lightsail } from 'aws-cdk-lib';
const environmentVariableProperty: lightsail.CfnContainer.EnvironmentVariableProperty = {
  value: 'value',
  variable: 'variable',
};

Properties

NameTypeDescription
value?stringThe environment variable value.
variable?stringThe environment variable key.

value?

Type: string (optional)

The environment variable value.


variable?

Type: string (optional)

The environment variable key.