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

    Fields
    Modifier and Type
    Field
    Description
    static final Cpu
    (experimental) 1 vCPU.
    static final Cpu
    (experimental) 2 vCPU.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Cpu(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Cpu(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The unit of CPU.
    static Cpu
    of(String unit)
    (experimental) Custom CPU unit.

    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