Skip to content
v2.274.0

ContainerEnvironmentProperty Struct ​

An environment variable to set inside a container, in the form of a key-value pair.

Part of: GameServerContainerDefinition , GameServerContainerDefinitionInput , SupportContainerDefinition , SupportContainerDefinitionInput

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const containerEnvironmentProperty: gamelift.CfnContainerGroupDefinition.ContainerEnvironmentProperty = {
  name: 'name',
  value: 'value',
};

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
The environment variable name.
valuestringvaluestrvalueStringValuestringValue*stringrequired#
The environment variable value.