Skip to content

/AWS1/CL_APRINSTANCECONF

Describes the runtime configuration of an App Runner service instance (scaling unit).

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_CPU TYPE /AWS1/APRCPU /AWS1/APRCPU

The number of CPU units reserved for each instance of your App Runner service.

Default: 1 vCPU

IV_MEMORY TYPE /AWS1/APRMEMORY /AWS1/APRMEMORY

The amount of memory, in MB or GB, reserved for each instance of your App Runner service.

Default: 2 GB

IV_INSTANCEROLEARN TYPE /AWS1/APRROLEARN /AWS1/APRROLEARN

The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls any Amazon Web Services APIs.


Queryable Attributes

Cpu

The number of CPU units reserved for each instance of your App Runner service.

Default: 1 vCPU

Accessible with the following methods

Method Description
GET_CPU() Getter for CPU, with configurable default
ASK_CPU() Getter for CPU w/ exceptions if field has no value
HAS_CPU() Determine if CPU has a value

Memory

The amount of memory, in MB or GB, reserved for each instance of your App Runner service.

Default: 2 GB

Accessible with the following methods

Method Description
GET_MEMORY() Getter for MEMORY, with configurable default
ASK_MEMORY() Getter for MEMORY w/ exceptions if field has no value
HAS_MEMORY() Determine if MEMORY has a value

InstanceRoleArn

The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls any Amazon Web Services APIs.

Accessible with the following methods

Method Description
GET_INSTANCEROLEARN() Getter for INSTANCEROLEARN, with configurable default
ASK_INSTANCEROLEARN() Getter for INSTANCEROLEARN w/ exceptions if field has no val
HAS_INSTANCEROLEARN() Determine if INSTANCEROLEARN has a value