Skip to content

UpdateServiceRequest

Source code in docs_src/capo_apprunner/types/update_service_request.py
class UpdateServiceRequest(TypedDict, closed=True):
    service_arn: "capo_apprunner.types.app_runner_resource_arn.AppRunnerResourceArn"
    """<p>The Amazon Resource Name (ARN) of the App Runner service that you want to update.</p>"""
    source_configuration: NotRequired[
        "capo_apprunner.types.source_configuration.SourceConfiguration"
    ]
    """<p>The source configuration to apply to the App Runner service.</p> <p>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 <code>SourceConfiguration</code> that you originally included when you created the service. Specifically, you can include either <code>CodeRepository</code> or <code>ImageRepository</code>. To update the source configuration, set the values to members of the structure that you include.</p>"""
    instance_configuration: NotRequired[
        "capo_apprunner.types.instance_configuration.InstanceConfiguration"
    ]
    """<p>The runtime configuration to apply to instances (scaling units) of your service.</p>"""
    auto_scaling_configuration_arn: NotRequired[
        "capo_apprunner.types.app_runner_resource_arn.AppRunnerResourceArn"
    ]
    """<p>The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.</p>"""
    health_check_configuration: NotRequired[
        "capo_apprunner.types.health_check_configuration.HealthCheckConfiguration"
    ]
    """<p>The settings for the health check that App Runner performs to monitor the health of the App Runner service.</p>"""
    network_configuration: NotRequired[
        "capo_apprunner.types.network_configuration.NetworkConfiguration"
    ]
    """<p>Configuration settings related to network traffic of the web application that the App Runner service runs.</p>"""
    observability_configuration: NotRequired[
        "capo_apprunner.types.service_observability_configuration.ServiceObservabilityConfiguration"
    ]
    """<p>The observability configuration of your service.</p>"""

auto_scaling_configuration_arn instance-attribute

auto_scaling_configuration_arn: NotRequired[AppRunnerResourceArn]

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

health_check_configuration instance-attribute

health_check_configuration: NotRequired[HealthCheckConfiguration]

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

instance_configuration instance-attribute

instance_configuration: NotRequired[InstanceConfiguration]

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

network_configuration instance-attribute

network_configuration: NotRequired[NetworkConfiguration]

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

observability_configuration instance-attribute

observability_configuration: NotRequired[ServiceObservabilityConfiguration]

The observability configuration of your service.

service_arn instance-attribute

service_arn: AppRunnerResourceArn

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

source_configuration instance-attribute

source_configuration: NotRequired[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.