AWS::AppRunner::Service ImageConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS::AppRunner::Service ImageConfiguration

Describes the configuration that Amazon App Runner uses to run an App Runner service using an image pulled from a source image repository.

Syntax

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

JSON

{ "Port" : String, "RuntimeEnvironmentVariables" : [ KeyValuePair, ... ], "StartCommand" : String }

Properties

Port

The port that your application listens to in the container.

Default: 8080

Required: No

Type: String

Minimum: 0

Maximum: 51200

Pattern: .*

Update requires: No interruption

RuntimeEnvironmentVariables

Environment variables that are available to your running App Runner service. An array of key-value pairs. Keys with a prefix of AWSAPPRUNNER are reserved for system use and aren't valid.

Required: No

Type: List of KeyValuePair

Update requires: No interruption

StartCommand

An optional command that App Runner runs to start the application in the source image. If specified, this command overrides the Docker image’s default start command.

Required: No

Type: String

Pattern: [^\x0a\x0d]+

Update requires: No interruption