Interface CfnContainerGroupDefinition.ContainerEnvironmentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerGroupDefinition.ContainerEnvironmentProperty.Jsii$Proxy
- Enclosing class:
CfnContainerGroupDefinition
@Stability(Stable)
public static interface CfnContainerGroupDefinition.ContainerEnvironmentProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.gamelift.*;
ContainerEnvironmentProperty containerEnvironmentProperty = ContainerEnvironmentProperty.builder()
.name("name")
.value("value")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainerGroupDefinition.ContainerEnvironmentPropertystatic final classAn implementation forCfnContainerGroupDefinition.ContainerEnvironmentProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The environment variable name.- See Also:
-
getValue
The environment variable value.- See Also:
-
builder
@Stability(Stable) static CfnContainerGroupDefinition.ContainerEnvironmentProperty.Builder builder()
-