Memory

class aws_cdk.aws_apprunner.Memory(*args: Any, **kwargs)

Bases: object

(experimental) The amount of memory reserved for each instance of your App Runner service.

Stability

experimental

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apprunner as apprunner

memory = apprunner.Memory.FOUR_GB

Attributes

FOUR_GB = <aws_cdk.aws_apprunner.Memory object>
THREE_GB = <aws_cdk.aws_apprunner.Memory object>
TWO_GB = <aws_cdk.aws_apprunner.Memory object>
unit

(experimental) The unit of memory.

Stability

experimental

Return type

str

Static Methods

classmethod of(unit)

(experimental) Custom Memory unit.

Parameters

unit (str) – custom Memory unit.

See

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

Stability

experimental

Return type

Memory