Class Memory
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apprunner.alpha.Memory
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:18.738Z")
@Stability(Experimental)
public class Memory
extends software.amazon.jsii.JsiiObject
(experimental) The amount of memory reserved for each instance of your App Runner service.
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.apprunner.alpha.*; Memory memory = Memory.EIGHT_GB;
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Memory
(experimental) 8 GB(for 4 vCPU).static final Memory
(experimental) 4 GB(for 1 or 2 vCPU).static final Memory
(experimental) 0.5 GB(for 0.25 vCPU).static final Memory
(experimental) 1 GB(for 0.25 or 0.5 vCPU).static final Memory
(experimental) 6 GB(for 2 vCPU).static final Memory
(experimental) 10 GB(for 4 vCPU).static final Memory
(experimental) 3 GB(for 1 vCPU).static final Memory
(experimental) 12 GB(for 4 vCPU).static final Memory
(experimental) 2 GB(for 1 vCPU). -
Constructor Summary
-
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
EIGHT_GB
(experimental) 8 GB(for 4 vCPU). -
FOUR_GB
(experimental) 4 GB(for 1 or 2 vCPU). -
HALF_GB
(experimental) 0.5 GB(for 0.25 vCPU). -
ONE_GB
(experimental) 1 GB(for 0.25 or 0.5 vCPU). -
SIX_GB
(experimental) 6 GB(for 2 vCPU). -
TEN_GB
(experimental) 10 GB(for 4 vCPU). -
THREE_GB
(experimental) 3 GB(for 1 vCPU). -
TWELVE_GB
(experimental) 12 GB(for 4 vCPU). -
TWO_GB
(experimental) 2 GB(for 1 vCPU).
-
-
Constructor Details
-
Memory
protected Memory(software.amazon.jsii.JsiiObjectRef objRef) -
Memory
protected Memory(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
(experimental) Custom Memory unit.- Parameters:
unit
- custom Memory unit. This parameter is required.- See Also:
-
getUnit
(experimental) The unit of memory.
-