All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.apprunner.alpha.Memory Maven / Gradle / Ivy

package software.amazon.awscdk.services.apprunner.alpha;

/**
 * (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;
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-12-17T21:37:41.222Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.apprunner.alpha.$Module.class, fqn = "@aws-cdk/aws-apprunner-alpha.Memory") public class Memory extends software.amazon.jsii.JsiiObject { protected Memory(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected Memory(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } static { EIGHT_GB = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "EIGHT_GB", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class)); FOUR_GB = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "FOUR_GB", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class)); HALF_GB = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "HALF_GB", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class)); ONE_GB = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "ONE_GB", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class)); SIX_GB = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "SIX_GB", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class)); TEN_GB = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "TEN_GB", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class)); THREE_GB = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "THREE_GB", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class)); TWELVE_GB = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "TWELVE_GB", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class)); TWO_GB = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "TWO_GB", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class)); } /** * (experimental) Custom Memory unit. *

* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-memory * @param unit custom Memory unit. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.Memory of(final @org.jetbrains.annotations.NotNull java.lang.String unit) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.apprunner.alpha.Memory.class, "of", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Memory.class), new Object[] { java.util.Objects.requireNonNull(unit, "unit is required") }); } /** * (experimental) 8 GB(for 4 vCPU). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Memory EIGHT_GB; /** * (experimental) 4 GB(for 1 or 2 vCPU). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Memory FOUR_GB; /** * (experimental) 0.5 GB(for 0.25 vCPU). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Memory HALF_GB; /** * (experimental) 1 GB(for 0.25 or 0.5 vCPU). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Memory ONE_GB; /** * (experimental) 6 GB(for 2 vCPU). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Memory SIX_GB; /** * (experimental) 10 GB(for 4 vCPU). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Memory TEN_GB; /** * (experimental) 3 GB(for 1 vCPU). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Memory THREE_GB; /** * (experimental) 12 GB(for 4 vCPU). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Memory TWELVE_GB; /** * (experimental) 2 GB(for 1 vCPU). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Memory TWO_GB; /** * (experimental) The unit of memory. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getUnit() { return software.amazon.jsii.Kernel.get(this, "unit", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy