AWS::AppRunner::Service InstanceConfiguration - AWS CloudFormation

AWS::AppRunner::Service InstanceConfiguration

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

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Cpu" : String, "InstanceRoleArn" : String, "Memory" : String }

YAML

Cpu: String InstanceRoleArn: String Memory: String

Properties

Cpu

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

Default: 1 vCPU

Required: No

Type: String

Minimum: 4

Maximum: 6

Pattern: 1024|2048|(1|2) vCPU

Update requires: No interruption

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 AWS APIs.

Required: No

Type: String

Minimum: 29

Maximum: 1024

Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):iam::[0-9]{12}:(role|role\/service-role)\/[\w+=,.@\-/]{1,1000}

Update requires: No interruption

Memory

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

Default: 2 GB

Required: No

Type: String

Minimum: 4

Maximum: 4

Pattern: 2048|3072|4096|(2|3|4) GB

Update requires: No interruption