apprunner_create_service: Create an App Runner service

View source: R/apprunner_operations.R

apprunner_create_serviceR Documentation

Create an App Runner service

Description

Create an App Runner service. After the service is created, the action also automatically starts a deployment.

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

Usage

apprunner_create_service(
  ServiceName,
  SourceConfiguration,
  InstanceConfiguration = NULL,
  Tags = NULL,
  EncryptionConfiguration = NULL,
  HealthCheckConfiguration = NULL,
  AutoScalingConfigurationArn = NULL,
  NetworkConfiguration = NULL,
  ObservabilityConfiguration = NULL
)

Arguments

ServiceName

[required] A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.

SourceConfiguration

[required] The source to deploy to the App Runner service. It can be a code or an image repository.

InstanceConfiguration

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

Tags

An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.

EncryptionConfiguration

An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key.

HealthCheckConfiguration

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

AutoScalingConfigurationArn

The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.

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

Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability

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, 2023, 1:28 a.m.