Skip to content

/AWS1/CL_APR=>UPDATESERVICE()

About UpdateService

Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service.

To update the tags applied to your service, use the separate actions TagResource and UntagResource.

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_SERVICEARN TYPE /AWS1/APRAPPRUNNERRESOURCEARN /AWS1/APRAPPRUNNERRESOURCEARN

The Amazon Resource Name (ARN) of the App Runner service that you want to update.

Optional arguments:

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

The source configuration to apply to the App Runner service.

You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration that you originally included when you created the service. Specifically, you can include either CodeRepository or ImageRepository. To update the source configuration, set the values to members of the structure that you include.

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

The runtime configuration to apply to instances (scaling units) of your 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 the App Runner service.

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.

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_APRUPDATESERVICERSP /AWS1/CL_APRUPDATESERVICERSP