Interface CfnContainerGroupDefinition.MemoryLimitsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerGroupDefinition.MemoryLimitsProperty.Jsii$Proxy
- Enclosing class:
CfnContainerGroupDefinition
@Stability(Stable)
public static interface CfnContainerGroupDefinition.MemoryLimitsProperty
extends software.amazon.jsii.JsiiSerializable
Specifies how much memory is available to the container.
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.*;
MemoryLimitsProperty memoryLimitsProperty = MemoryLimitsProperty.builder()
.hardLimit(123)
.softLimit(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainerGroupDefinition.MemoryLimitsPropertystatic final classAn implementation forCfnContainerGroupDefinition.MemoryLimitsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHardLimit
The hard limit of memory to reserve for the container.- See Also:
-
getSoftLimit
The amount of memory that is reserved for the container.- See Also:
-
builder
-