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

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

There is a newer version: 2.173.2-alpha.0
Show newest version
package software.amazon.awscdk.services.apprunner.alpha;

/**
 * (experimental) The amount of memory reserved for each instance of your App Runner service.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.40.0 (build 9713b9d)", date = "2021-10-22T12:23:06.327Z")
@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 {
        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));
        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));
        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) 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) 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) 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