Class Cpu
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apprunner.Cpu
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.044Z")
@Stability(Experimental)
public class Cpu
extends software.amazon.jsii.JsiiObject
(experimental) The number of CPU units 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.*; Cpu cpu = Cpu.of("unit");
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
-
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
-
ONE_VCPU
(experimental) 1 vCPU. -
TWO_VCPU
(experimental) 2 vCPU.
-
-
Constructor Details
-
Cpu
protected Cpu(software.amazon.jsii.JsiiObjectRef objRef) -
Cpu
protected Cpu(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
(experimental) Custom CPU unit.- Parameters:
unit
- custom CPU unit. This parameter is required.- See Also:
-
getUnit
(experimental) The unit of CPU.
-