interface ContainerEnvironmentProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.GameLift.CfnContainerGroupDefinitionPropsMixin.ContainerEnvironmentProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsgamelift#CfnContainerGroupDefinitionPropsMixin_ContainerEnvironmentProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.gamelift.CfnContainerGroupDefinitionPropsMixin.ContainerEnvironmentProperty |
Python | aws_cdk.cfn_property_mixins.aws_gamelift.CfnContainerGroupDefinitionPropsMixin.ContainerEnvironmentProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_gamelift » CfnContainerGroupDefinitionPropsMixin » ContainerEnvironmentProperty |
An environment variable to set inside a container, in the form of a key-value pair.
Part of: GameServerContainerDefinition , GameServerContainerDefinitionInput , SupportContainerDefinition , SupportContainerDefinitionInput
Example
// 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/cfn-property-mixins';
const containerEnvironmentProperty: gamelift.CfnContainerGroupDefinitionPropsMixin.ContainerEnvironmentProperty = {
name: 'name',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The environment variable name. |
| value? | string | The environment variable value. |
name?
Type:
string
(optional)
The environment variable name.
value?
Type:
string
(optional)
The environment variable value.

.NET
Go
Java
Python
TypeScript