ServiceState constructor
- Input<
String?> ? arn, - Input<
String?> ? autoScalingConfigurationArn, - Input<
ServiceEncryptionConfiguration?> ? encryptionConfiguration, - Input<
ServiceHealthCheckConfiguration?> ? healthCheckConfiguration, - Input<
ServiceInstanceConfiguration?> ? instanceConfiguration, - Input<
ServiceNetworkConfiguration?> ? networkConfiguration, - Input<
ServiceObservabilityConfiguration?> ? observabilityConfiguration, - Input<
String?> ? region, - Input<
String?> ? serviceId, - Input<
String?> ? serviceName, - Input<
String?> ? serviceUrl, - Input<
ServiceSourceConfiguration?> ? sourceConfiguration, - Input<
String?> ? status, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
Creates a new ServiceState.
arn ARN of the App Runner service.
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.
serviceId Alphanumeric ID that App Runner generated for this service. Unique within the AWS Region.
serviceName Name of the service.
serviceUrl Subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
sourceConfiguration Source to deploy to the App Runner service. Can be a code or an image repository. See sourceConfiguration below.
status Current state of the App Runner service.
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.
tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const ServiceState({
this.arn,
this.autoScalingConfigurationArn,
this.encryptionConfiguration,
this.healthCheckConfiguration,
this.instanceConfiguration,
this.networkConfiguration,
this.observabilityConfiguration,
this.region,
this.serviceId,
this.serviceName,
this.serviceUrl,
this.sourceConfiguration,
this.status,
this.tags,
this.tagsAll,
});