AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateService operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppRunner.AmazonAppRunnerRequest
      Amazon.AppRunner.Model.UpdateServiceRequest

Namespace: Amazon.AppRunner.Model
Assembly: AWSSDK.AppRunner.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateServiceRequest : AmazonAppRunnerRequest
         IAmazonWebServiceRequest

The UpdateServiceRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateServiceRequest()

Properties

NameTypeDescription
Public Property AutoScalingConfigurationArn System.String

Gets and sets the property AutoScalingConfigurationArn.

The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.

Public Property HealthCheckConfiguration Amazon.AppRunner.Model.HealthCheckConfiguration

Gets and sets the property HealthCheckConfiguration.

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

Public Property InstanceConfiguration Amazon.AppRunner.Model.InstanceConfiguration

Gets and sets the property InstanceConfiguration.

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

Public Property NetworkConfiguration Amazon.AppRunner.Model.NetworkConfiguration

Gets and sets the property NetworkConfiguration.

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

Public Property ObservabilityConfiguration Amazon.AppRunner.Model.ServiceObservabilityConfiguration

Gets and sets the property ObservabilityConfiguration.

The observability configuration of your service.

Public Property ServiceArn System.String

Gets and sets the property ServiceArn.

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

Public Property SourceConfiguration Amazon.AppRunner.Model.SourceConfiguration

Gets and sets the property SourceConfiguration.

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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5