openapi: 3.0.0 info: version: '2020-05-15' x-release: v4 title: 'AWS App Runner Amazon App Runner AWS App Runner API #X Amz Target=AppRunner.UpdateService API' description: App Runner

App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to provision and configure Amazon Web Services resources.

App Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations, high performance, scalability, and security.

For more information about App Runner, see the App Runner Developer Guide. For release information, see the App Runner Release Notes.

To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for Amazon Web Services.

Endpoints

For a list of Region-specific endpoints that App Runner supports, see App Runner endpoints and quotas in the Amazon Web Services General Reference.

x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: apprunner x-aws-signingName: apprunner x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/apprunner-2020-05-15.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://apprunner.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS App Runner multi-region endpoint - url: https://apprunner.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS App Runner multi-region endpoint - url: http://apprunner.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS App Runner endpoint for China (Beijing) and China (Ningxia) - url: https://apprunner.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS App Runner endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=AppRunner.UpdateService' paths: /#X-Amz-Target=AppRunner.UpdateService: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: UpdateService 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.

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.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/UpdateServiceResponse' '480': description: InvalidRequestException content: application/json: schema: $ref: '#/components/schemas/InvalidRequestException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InvalidStateException content: application/json: schema: $ref: '#/components/schemas/InvalidStateException' '483': description: InternalServiceErrorException content: application/json: schema: $ref: '#/components/schemas/InternalServiceErrorException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateServiceRequest' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - AppRunner.UpdateService tags: - '#X Amz Target=AppRunner.UpdateService' components: schemas: KmsKeyArn: type: string pattern: arn:aws(-[\w]+)*:kms:[a-z\-]+-[0-9]{1}:[0-9]{12}:key\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} minLength: 0 maxLength: 256 ServiceObservabilityConfiguration: type: object required: - ObservabilityEnabled properties: ObservabilityEnabled: allOf: - $ref: '#/components/schemas/Boolean' - description: When true, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn is specified. ObservabilityConfigurationArn: allOf: - $ref: '#/components/schemas/AppRunnerResourceArn' - description: '

The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when ObservabilityEnabled is true.

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

Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing

' description: Describes the observability configuration of an App Runner service. These are additional observability features, like tracing, that you choose to enable. They're configured in a separate resource that you associate with your service. ConfigurationSource: type: string enum: - REPOSITORY - API HealthCheckHealthyThreshold: type: integer minimum: 1 maximum: 20 NetworkConfiguration: type: object properties: EgressConfiguration: allOf: - $ref: '#/components/schemas/EgressConfiguration' - description: Network configuration settings for outbound message traffic. IngressConfiguration: allOf: - $ref: '#/components/schemas/IngressConfiguration' - description: Network configuration settings for inbound message traffic. description: Describes configuration settings related to network traffic of an App Runner service. Consists of embedded objects for each configurable network feature. Boolean: type: boolean Runtime: type: string enum: - PYTHON_3 - NODEJS_12 - NODEJS_14 - CORRETTO_8 - CORRETTO_11 - NODEJS_16 - GO_1 - DOTNET_6 - PHP_81 - RUBY_31 String: type: string pattern: .* minLength: 0 maxLength: 51200 ImageConfiguration: type: object properties: RuntimeEnvironmentVariables: allOf: - $ref: '#/components/schemas/RuntimeEnvironmentVariables' - description: Environment variables that are available to your running App Runner service. An array of key-value pairs. StartCommand: allOf: - $ref: '#/components/schemas/StartCommand' - description: An optional command that App Runner runs to start the application in the source image. If specified, this command overrides the Docker image’s default start command. Port: allOf: - $ref: '#/components/schemas/String' - description: '

The port that your application listens to in the container.

Default: 8080

' RuntimeEnvironmentSecrets: allOf: - $ref: '#/components/schemas/RuntimeEnvironmentSecrets' - description:

An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.

description: Describes the configuration that App Runner uses to run an App Runner service using an image pulled from a source image repository. UUID: type: string pattern: '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}' minLength: 36 maxLength: 36 Service: type: object required: - ServiceName - ServiceId - ServiceArn - CreatedAt - UpdatedAt - Status - SourceConfiguration - InstanceConfiguration - AutoScalingConfigurationSummary - NetworkConfiguration properties: ServiceName: allOf: - $ref: '#/components/schemas/ServiceName' - description: The customer-provided service name. ServiceId: allOf: - $ref: '#/components/schemas/ServiceId' - description: An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region. ServiceArn: allOf: - $ref: '#/components/schemas/AppRunnerResourceArn' - description: The Amazon Resource Name (ARN) of this service. ServiceUrl: allOf: - $ref: '#/components/schemas/String' - description: A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application. CreatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The time when the App Runner service was created. It's in the Unix time stamp format. UpdatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The time when the App Runner service was last updated at. It's in the Unix time stamp format. DeletedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The time when the App Runner service was deleted. It's in the Unix time stamp format. Status: allOf: - $ref: '#/components/schemas/ServiceStatus' - description:

The current state of the App Runner service. These particular values mean the following.

SourceConfiguration: allOf: - $ref: '#/components/schemas/SourceConfiguration' - description: The source deployed to the App Runner service. It can be a code or an image repository. InstanceConfiguration: allOf: - $ref: '#/components/schemas/InstanceConfiguration' - description: The runtime configuration of instances (scaling units) of this service. EncryptionConfiguration: allOf: - $ref: '#/components/schemas/EncryptionConfiguration' - description: The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or an Amazon Web Services managed key. HealthCheckConfiguration: allOf: - $ref: '#/components/schemas/HealthCheckConfiguration' - description: The settings for the health check that App Runner performs to monitor the health of this service. AutoScalingConfigurationSummary: allOf: - $ref: '#/components/schemas/AutoScalingConfigurationSummary' - description: Summary information for the App Runner automatic scaling configuration resource that's associated with this service. NetworkConfiguration: allOf: - $ref: '#/components/schemas/NetworkConfiguration' - description: Configuration settings related to network traffic of the web application that this service runs. ObservabilityConfiguration: allOf: - $ref: '#/components/schemas/ServiceObservabilityConfiguration' - description: The observability configuration of this service. description:

Describes an App Runner service. It can describe a service in any state, including deleted services.

This type contains the full information about a service, including configuration details. It's returned by the CreateService, DescribeService, and DeleteService actions. A subset of this information is returned by the ListServices action using the ServiceSummary type.

NullableBoolean: type: boolean RuntimeEnvironmentVariables: type: object additionalProperties: $ref: '#/components/schemas/RuntimeEnvironmentVariablesValue' ImageIdentifier: type: string pattern: ([0-9]{12}.dkr.ecr.[a-z\-]+-[0-9]{1}.amazonaws.com\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(:([\w\d+\-=._:\/@])+|@([\w\d\:]+))?)|(^public\.ecr\.aws\/.+\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(:([\w\d+\-=._:\/@])+|@([\w\d\:]+))?) minLength: 1 maxLength: 1024 HealthCheckTimeout: type: integer minimum: 1 maximum: 20 CodeRepository: type: object required: - RepositoryUrl - SourceCodeVersion properties: RepositoryUrl: allOf: - $ref: '#/components/schemas/String' - description: The location of the repository that contains the source code. SourceCodeVersion: allOf: - $ref: '#/components/schemas/SourceCodeVersion' - description: The version that should be used within the source code repository. CodeConfiguration: allOf: - $ref: '#/components/schemas/CodeConfiguration' - description:

Configuration for building and running the service from a source code repository.

CodeConfiguration is required only for CreateService request.

description: Describes a source code repository. AuthenticationConfiguration: type: object properties: ConnectionArn: allOf: - $ref: '#/components/schemas/AppRunnerResourceArn' - description: The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories. AccessRoleArn: allOf: - $ref: '#/components/schemas/RoleArn' - description: The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories). description: Describes resources needed to authenticate access to some source repositories. The specific resource depends on the repository provider. ServiceStatus: type: string enum: - CREATE_FAILED - RUNNING - DELETED - DELETE_FAILED - PAUSED - OPERATION_IN_PROGRESS ServiceId: type: string pattern: '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}' minLength: 32 maxLength: 32 SourceCodeVersion: type: object required: - Type - Value properties: Type: allOf: - $ref: '#/components/schemas/SourceCodeVersionType' - description:

The type of version identifier.

For a git-based repository, branches represent versions.

Value: allOf: - $ref: '#/components/schemas/String' - description:

A source code version.

For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.

description: Identifies a version of code that App Runner refers to within a source code repository. EncryptionConfiguration: type: object required: - KmsKey properties: KmsKey: allOf: - $ref: '#/components/schemas/KmsKeyArn' - description: The ARN of the KMS key that's used for encryption. description: Describes a custom encryption key that App Runner uses to encrypt copies of the source repository and service logs. UpdateServiceResponse: type: object required: - Service - OperationId properties: Service: allOf: - $ref: '#/components/schemas/Service' - description: A description of the App Runner service updated by this request. All configuration values in the returned Service structure reflect configuration changes that are being applied by this request. OperationId: allOf: - $ref: '#/components/schemas/UUID' - description: The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress. IngressConfiguration: type: object properties: IsPubliclyAccessible: allOf: - $ref: '#/components/schemas/Boolean' - description: 'Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True. To make the service privately accessible, from only within an Amazon VPC set it to False. ' description: Network configuration settings for inbound network traffic. HealthCheckConfiguration: type: object properties: Protocol: allOf: - $ref: '#/components/schemas/HealthCheckProtocol' - description: '

The IP protocol that App Runner uses to perform health checks for your service.

If you set Protocol to HTTP, App Runner sends health check requests to the HTTP path specified by Path.

Default: TCP

' Path: allOf: - $ref: '#/components/schemas/HealthCheckPath' - description: '

The URL that health check requests are sent to.

Path is only applicable when you set Protocol to HTTP.

Default: "/"

' Interval: allOf: - $ref: '#/components/schemas/HealthCheckInterval' - description: '

The time interval, in seconds, between health checks.

Default: 5

' Timeout: allOf: - $ref: '#/components/schemas/HealthCheckTimeout' - description: '

The time, in seconds, to wait for a health check response before deciding it failed.

Default: 2

' HealthyThreshold: allOf: - $ref: '#/components/schemas/HealthCheckHealthyThreshold' - description: '

The number of consecutive checks that must succeed before App Runner decides that the service is healthy.

Default: 1

' UnhealthyThreshold: allOf: - $ref: '#/components/schemas/HealthCheckUnhealthyThreshold' - description: '

The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.

Default: 5

' description: Describes the settings for the health check that App Runner performs to monitor the health of a service. HealthCheckInterval: type: integer minimum: 1 maximum: 20 ServiceName: type: string pattern: '[A-Za-z0-9][A-Za-z0-9-_]{3,39}' minLength: 4 maxLength: 40 BuildCommand: type: string pattern: '[^\x0a\x0d]+' format: password HealthCheckUnhealthyThreshold: type: integer minimum: 1 maximum: 20 AutoScalingConfigurationName: type: string pattern: '[A-Za-z0-9][A-Za-z0-9\-_]{3,31}' minLength: 4 maxLength: 32 CodeConfiguration: type: object required: - ConfigurationSource properties: ConfigurationSource: allOf: - $ref: '#/components/schemas/ConfigurationSource' - description:

The source of the App Runner configuration. Values are interpreted as follows:

CodeConfigurationValues: allOf: - $ref: '#/components/schemas/CodeConfigurationValues' - description: The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the source code repository (or ignoring the file if it exists). description: Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository. InstanceConfiguration: type: object properties: Cpu: allOf: - $ref: '#/components/schemas/Cpu' - description: '

The number of CPU units reserved for each instance of your App Runner service.

Default: 1 vCPU

' Memory: allOf: - $ref: '#/components/schemas/Memory' - description: '

The amount of memory, in MB or GB, reserved for each instance of your App Runner service.

Default: 2 GB

' InstanceRoleArn: allOf: - $ref: '#/components/schemas/RoleArn' - description: The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls any Amazon Web Services APIs. description: Describes the runtime configuration of an App Runner service instance (scaling unit). RuntimeEnvironmentSecretsValue: type: string minLength: 1 maxLength: 2048 format: password AppRunnerResourceArn: type: string pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011} minLength: 1 maxLength: 1011 InternalServiceErrorException: {} AutoScalingConfigurationSummary: type: object properties: AutoScalingConfigurationArn: allOf: - $ref: '#/components/schemas/AppRunnerResourceArn' - description: The Amazon Resource Name (ARN) of this auto scaling configuration. AutoScalingConfigurationName: allOf: - $ref: '#/components/schemas/AutoScalingConfigurationName' - description: The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration. AutoScalingConfigurationRevision: allOf: - $ref: '#/components/schemas/Integer' - description: 'The revision of this auto scaling configuration. It''s unique among all the active configurations ("Status": "ACTIVE") with the same AutoScalingConfigurationName.' description:

Provides summary information about an App Runner automatic scaling configuration resource.

This type contains limited information about an auto scaling configuration. It includes only identification information, without configuration details. It's returned by the ListAutoScalingConfigurations action. Complete configuration information is returned by the CreateAutoScalingConfiguration, DescribeAutoScalingConfiguration, and DeleteAutoScalingConfiguration actions using the AutoScalingConfiguration type.

EgressType: type: string enum: - DEFAULT - VPC SourceConfiguration: type: object properties: CodeRepository: allOf: - $ref: '#/components/schemas/CodeRepository' - description:

The description of a source code repository.

You must provide either this member or ImageRepository (but not both).

ImageRepository: allOf: - $ref: '#/components/schemas/ImageRepository' - description:

The description of a source image repository.

You must provide either this member or CodeRepository (but not both).

AutoDeploymentsEnabled: allOf: - $ref: '#/components/schemas/NullableBoolean' - description: '

If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.

Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that''s in an Amazon Web Services account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).

' AuthenticationConfiguration: allOf: - $ref: '#/components/schemas/AuthenticationConfiguration' - description: Describes the resources that are needed to authenticate access to some source repositories. description: Describes the source deployed to an App Runner service. It can be a code or an image repository. CodeConfigurationValues: type: object required: - Runtime properties: Runtime: allOf: - $ref: '#/components/schemas/Runtime' - description: A runtime environment type for building and running an App Runner service. It represents a programming language runtime. BuildCommand: allOf: - $ref: '#/components/schemas/BuildCommand' - description: The command App Runner runs to build your application. StartCommand: allOf: - $ref: '#/components/schemas/StartCommand' - description: The command App Runner runs to start your application. Port: allOf: - $ref: '#/components/schemas/String' - description: '

The port that your application listens to in the container.

Default: 8080

' RuntimeEnvironmentVariables: allOf: - $ref: '#/components/schemas/RuntimeEnvironmentVariables' - description: The environment variables that are available to your running App Runner service. An array of key-value pairs. RuntimeEnvironmentSecrets: allOf: - $ref: '#/components/schemas/RuntimeEnvironmentSecrets' - description:

An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.

description: Describes the basic configuration needed for building and running an App Runner service. This type doesn't support the full set of possible configuration options. Fur full configuration capabilities, use a apprunner.yaml file in the source code repository. RuntimeEnvironmentSecrets: type: object additionalProperties: $ref: '#/components/schemas/RuntimeEnvironmentSecretsValue' RuntimeEnvironmentVariablesValue: type: string pattern: .* minLength: 0 maxLength: 51200 format: password HealthCheckPath: type: string minLength: 1 StartCommand: type: string pattern: '[^\x0a\x0d]+' format: password ImageRepositoryType: type: string enum: - ECR - ECR_PUBLIC Memory: type: string pattern: 512|1024|2048|3072|4096|6144|8192|10240|12288|(0.5|1|2|3|4|6|8|10|12) GB minLength: 3 maxLength: 6 InvalidRequestException: {} ImageRepository: type: object required: - ImageIdentifier - ImageRepositoryType properties: ImageIdentifier: allOf: - $ref: '#/components/schemas/ImageIdentifier' - description:

The identifier of an image.

For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide.

ImageConfiguration: allOf: - $ref: '#/components/schemas/ImageConfiguration' - description: Configuration for running the identified image. ImageRepositoryType: allOf: - $ref: '#/components/schemas/ImageRepositoryType' - description: The type of the image repository. This reflects the repository provider and whether the repository is private or public. description: Describes a source image repository. Integer: type: integer EgressConfiguration: type: object properties: EgressType: allOf: - $ref: '#/components/schemas/EgressType' - description:

The type of egress configuration.

Set to DEFAULT for access to resources hosted on public networks.

Set to VPC to associate your service to a custom VPC specified by VpcConnectorArn.

VpcConnectorArn: allOf: - $ref: '#/components/schemas/AppRunnerResourceArn' - description: The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when EgressType = VPC. description: Describes configuration settings related to outbound network traffic of an App Runner service. Timestamp: type: string format: date-time ResourceNotFoundException: {} Cpu: type: string pattern: 256|512|1024|2048|4096|(0.25|0.5|1|2|4) vCPU minLength: 3 maxLength: 9 SourceCodeVersionType: type: string enum: - BRANCH HealthCheckProtocol: type: string enum: - TCP - HTTP UpdateServiceRequest: type: object required: - ServiceArn title: UpdateServiceRequest properties: ServiceArn: allOf: - $ref: '#/components/schemas/AppRunnerResourceArn' - description: The Amazon Resource Name (ARN) of the App Runner service that you want to update. SourceConfiguration: allOf: - $ref: '#/components/schemas/SourceConfiguration' - description:

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: allOf: - $ref: '#/components/schemas/InstanceConfiguration' - description: The runtime configuration to apply to instances (scaling units) of your service. AutoScalingConfigurationArn: allOf: - $ref: '#/components/schemas/AppRunnerResourceArn' - description: The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service. HealthCheckConfiguration: allOf: - $ref: '#/components/schemas/HealthCheckConfiguration' - description: The settings for the health check that App Runner performs to monitor the health of the App Runner service. NetworkConfiguration: allOf: - $ref: '#/components/schemas/NetworkConfiguration' - description: Configuration settings related to network traffic of the web application that the App Runner service runs. ObservabilityConfiguration: allOf: - $ref: '#/components/schemas/ServiceObservabilityConfiguration' - description: The observability configuration of your service. RoleArn: type: string pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):iam::[0-9]{12}:(role|role\/service-role)\/[\w+=,.@\-/]{1,1000} minLength: 29 maxLength: 1024 InvalidStateException: {} parameters: X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/apprunner/ x-hasEquivalentPaths: true