@aws-cdk_aws-apprunner-alpha.Memory

class Memory ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.AppRunner.Alpha.Memory
Gogithub.com/aws/aws-cdk-go/awscdkapprunneralpha/v2#Memory
Javasoftware.amazon.awscdk.services.apprunner.alpha.Memory
Pythonaws_cdk.aws_apprunner_alpha.Memory
TypeScript (source)@aws-cdk/aws-apprunner-alpha ยป Memory

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 * as apprunner_alpha from '@aws-cdk/aws-apprunner-alpha';
const memory = apprunner_alpha.Memory.EIGHT_GB;

Properties

NameTypeDescription
unit๐Ÿ”นstringThe unit of memory.
static EIGHT_GB๐Ÿ”นMemory8 GB(for 4 vCPU).
static FOUR_GB๐Ÿ”นMemory4 GB(for 1 or 2 vCPU).
static HALF_GB๐Ÿ”นMemory0.5 GB(for 0.25 vCPU).
static ONE_GB๐Ÿ”นMemory1 GB(for 0.25 or 0.5 vCPU).
static SIX_GB๐Ÿ”นMemory6 GB(for 2 vCPU).
static TEN_GB๐Ÿ”นMemory10 GB(for 4 vCPU).
static THREE_GB๐Ÿ”นMemory3 GB(for 1 vCPU).
static TWELVE_GB๐Ÿ”นMemory12 GB(for 4 vCPU).
static TWO_GB๐Ÿ”นMemory2 GB(for 1 vCPU).

unit๐Ÿ”น

Type: string

The unit of memory.


static EIGHT_GB๐Ÿ”น

Type: Memory

8 GB(for 4 vCPU).


static FOUR_GB๐Ÿ”น

Type: Memory

4 GB(for 1 or 2 vCPU).


static HALF_GB๐Ÿ”น

Type: Memory

0.5 GB(for 0.25 vCPU).


static ONE_GB๐Ÿ”น

Type: Memory

1 GB(for 0.25 or 0.5 vCPU).


static SIX_GB๐Ÿ”น

Type: Memory

6 GB(for 2 vCPU).


static TEN_GB๐Ÿ”น

Type: Memory

10 GB(for 4 vCPU).


static THREE_GB๐Ÿ”น

Type: Memory

3 GB(for 1 vCPU).


static TWELVE_GB๐Ÿ”น

Type: Memory

12 GB(for 4 vCPU).


static TWO_GB๐Ÿ”น

Type: Memory

2 GB(for 1 vCPU).

Methods

NameDescription
static of(unit)๐Ÿ”นCustom Memory unit.

static of(unit)๐Ÿ”น

public static of(unit: string): Memory

Parameters

  • unit string โ€” custom Memory unit.

Returns

  • Memory

Custom Memory unit.

See also: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-memory