Skip to content

/AWS1/CL_APRIMAGECONFIGURATION

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

CONSTRUCTOR

IMPORTING

Optional arguments:

it_runtimeenvironmentvaria00 TYPE /AWS1/CL_APRRUNTIMEENVIRONME00=>TT_RUNTIMEENVIRONMENTVARIABLES TT_RUNTIMEENVIRONMENTVARIABLES

Environment variables that are available to your running App Runner service. An array of key-value pairs.

iv_startcommand TYPE /AWS1/APRSTARTCOMMAND /AWS1/APRSTARTCOMMAND

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.

iv_port TYPE /AWS1/APRSTRING /AWS1/APRSTRING

The port that your application listens to in the container.

Default: 8080

it_runtimeenvironmentsecrets TYPE /AWS1/CL_APRRUNTIMEENVIRONME01=>TT_RUNTIMEENVIRONMENTSECRETS TT_RUNTIMEENVIRONMENTSECRETS

An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.

  • If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.

  • Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.


Queryable Attributes

RuntimeEnvironmentVariables

Environment variables that are available to your running App Runner service. An array of key-value pairs.

Accessible with the following methods

Method Description
GET_RUNTIMEENVIRONMENTVARI00() Getter for RUNTIMEENVIRONMENTVARIABLES, with configurable de
ASK_RUNTIMEENVIRONMENTVARI00() Getter for RUNTIMEENVIRONMENTVARIABLES w/ exceptions if fiel
HAS_RUNTIMEENVIRONMENTVARI00() Determine if RUNTIMEENVIRONMENTVARIABLES has a value

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.

Accessible with the following methods

Method Description
GET_STARTCOMMAND() Getter for STARTCOMMAND, with configurable default
ASK_STARTCOMMAND() Getter for STARTCOMMAND w/ exceptions if field has no value
HAS_STARTCOMMAND() Determine if STARTCOMMAND has a value

Port

The port that your application listens to in the container.

Default: 8080

Accessible with the following methods

Method Description
GET_PORT() Getter for PORT, with configurable default
ASK_PORT() Getter for PORT w/ exceptions if field has no value
HAS_PORT() Determine if PORT has a value

RuntimeEnvironmentSecrets

An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.

  • If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.

  • Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.

Accessible with the following methods

Method Description
GET_RUNTIMEENVIRONMENTSECR00() Getter for RUNTIMEENVIRONMENTSECRETS, with configurable defa
ASK_RUNTIMEENVIRONMENTSECR00() Getter for RUNTIMEENVIRONMENTSECRETS w/ exceptions if field
HAS_RUNTIMEENVIRONMENTSECR00() Determine if RUNTIMEENVIRONMENTSECRETS has a value