Skip to content

/AWS1/CL_APR=>CREATESERVICE()

About CreateService

Create an App Runner service. After the service is created, the action also automatically starts a deployment.

This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.

Method Signature

IMPORTING

Required arguments:

IV_SERVICENAME TYPE /AWS1/APRSERVICENAME /AWS1/APRSERVICENAME

A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.

IO_SOURCECONFIGURATION TYPE REF TO /AWS1/CL_APRSOURCECONF /AWS1/CL_APRSOURCECONF

The source to deploy to the App Runner service. It can be a code or an image repository.

Optional arguments:

IO_INSTANCECONFIGURATION TYPE REF TO /AWS1/CL_APRINSTANCECONF /AWS1/CL_APRINSTANCECONF

The runtime configuration of instances (scaling units) of your service.

IT_TAGS TYPE /AWS1/CL_APRTAG=>TT_TAGLIST TT_TAGLIST

An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.

IO_ENCRYPTIONCONFIGURATION TYPE REF TO /AWS1/CL_APRENCRYPTIONCONF /AWS1/CL_APRENCRYPTIONCONF

An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key.

IO_HEALTHCHECKCONFIGURATION TYPE REF TO /AWS1/CL_APRHEALTHCHECKCONF /AWS1/CL_APRHEALTHCHECKCONF

The settings for the health check that App Runner performs to monitor the health of the App Runner service.

IV_AUTOSCALINGCONFARN TYPE /AWS1/APRAPPRUNNERRESOURCEARN /AWS1/APRAPPRUNNERRESOURCEARN

The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.

Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3

Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability

IO_NETWORKCONFIGURATION TYPE REF TO /AWS1/CL_APRNETWORKCONF /AWS1/CL_APRNETWORKCONF

Configuration settings related to network traffic of the web application that the App Runner service runs.

IO_OBSERVABILITYCONF TYPE REF TO /AWS1/CL_APRSVCOBSERVABILITY00 /AWS1/CL_APRSVCOBSERVABILITY00

The observability configuration of your service.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_APRCREATESERVICERSP /AWS1/CL_APRCREATESERVICERSP