apprunner_update_service: Update an App Runner service

View source: R/apprunner_operations.R

apprunner_update_serviceR Documentation

Update an App Runner service

Description

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.

See https://www.paws-r-sdk.com/docs/apprunner_update_service/ for full documentation.

Usage

apprunner_update_service(
  ServiceArn,
  SourceConfiguration = NULL,
  InstanceConfiguration = NULL,
  AutoScalingConfigurationArn = NULL,
  HealthCheckConfiguration = NULL,
  NetworkConfiguration = NULL,
  ObservabilityConfiguration = NULL
)

Arguments

ServiceArn

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

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.

InstanceConfiguration

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

AutoScalingConfigurationArn

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

HealthCheckConfiguration

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

NetworkConfiguration

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

ObservabilityConfiguration

The observability configuration of your service.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.