Class Cpu
(experimental) The number of CPU units reserved for each instance of your App Runner service.
Inheritance
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.AWS.AppRunner.dll
Syntax (csharp)
public class Cpu : DeputyBase
Syntax (vb)
Public Class Cpu
Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner;
var cpu = Cpu.Of("unit");
Synopsis
Constructors
Cpu(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cpu(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ONE_VCPU | (experimental) 1 vCPU. |
TWO_VCPU | (experimental) 2 vCPU. |
Unit | (experimental) The unit of CPU. |
Methods
Of(String) | (experimental) Custom CPU unit. |
Constructors
Cpu(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Cpu(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Cpu(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Cpu(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ONE_VCPU
(experimental) 1 vCPU.
public static Cpu ONE_VCPU { get; }
Property Value
Remarks
Stability: Experimental
TWO_VCPU
(experimental) 2 vCPU.
public static Cpu TWO_VCPU { get; }
Property Value
Remarks
Stability: Experimental
Unit
(experimental) The unit of CPU.
public virtual string Unit { get; }
Property Value
System.String
Remarks
Stability: Experimental
Methods
Of(String)
(experimental) Custom CPU unit.
public static Cpu Of(string unit)
Parameters
- unit System.String
custom CPU unit.
Returns