ServiceArgs constructor
- Input<
String?> ? autoScalingConfigurationArn, - Input<
ServiceEncryptionConfiguration?> ? encryptionConfiguration, - Input<
ServiceHealthCheckConfiguration?> ? healthCheckConfiguration, - Input<
ServiceInstanceConfiguration?> ? instanceConfiguration, - Input<
ServiceNetworkConfiguration?> ? networkConfiguration, - Input<
ServiceObservabilityConfiguration?> ? observabilityConfiguration, - Input<
String?> ? region, - required Input<
String> serviceName, - required Input<
ServiceSourceConfiguration> sourceConfiguration, - Input<
Map< ? tags,String, String> ?>
Creates a new ServiceArgs.
autoScalingConfigurationArn 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.
encryptionConfiguration 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 AWS managed CMK. See encryptionConfiguration below.
healthCheckConfiguration Settings of the health check that AWS App Runner performs to monitor the health of your service. See healthCheckConfiguration below.
instanceConfiguration Runtime configuration of instances (scaling units) of the App Runner service. See instanceConfiguration below.
networkConfiguration Configuration settings related to network traffic of the web application that the App Runner service runs. See networkConfiguration below.
observabilityConfiguration Observability configuration of your service. See observabilityConfiguration below.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
serviceName Name of the service.
sourceConfiguration Source to deploy to the App Runner service. Can be a code or an image repository. See sourceConfiguration below.
tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementation
const ServiceArgs({
this.autoScalingConfigurationArn,
this.encryptionConfiguration,
this.healthCheckConfiguration,
this.instanceConfiguration,
this.networkConfiguration,
this.observabilityConfiguration,
this.region,
required this.serviceName,
required this.sourceConfiguration,
this.tags,
});