Memory

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

Bases: object

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

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_alpha as apprunner_alpha

memory = apprunner_alpha.Memory.EIGHT_GB

Attributes

EIGHT_GB = <aws_cdk.aws_apprunner_alpha.Memory object>
FOUR_GB = <aws_cdk.aws_apprunner_alpha.Memory object>
HALF_GB = <aws_cdk.aws_apprunner_alpha.Memory object>
ONE_GB = <aws_cdk.aws_apprunner_alpha.Memory object>
SIX_GB = <aws_cdk.aws_apprunner_alpha.Memory object>
TEN_GB = <aws_cdk.aws_apprunner_alpha.Memory object>
THREE_GB = <aws_cdk.aws_apprunner_alpha.Memory object>
TWELVE_GB = <aws_cdk.aws_apprunner_alpha.Memory object>
TWO_GB = <aws_cdk.aws_apprunner_alpha.Memory object>
unit

(experimental) The unit of memory.

Stability:

experimental

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