All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.apprunner.kotlin.outputs.GetServiceResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.apprunner.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property healthCheckConfiguration The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service.
 * @property instanceConfiguration The runtime configuration of instances (scaling units) of your service.
 * @property networkConfiguration Configuration settings related to network traffic of the web application that the App Runner service runs.
 * @property observabilityConfiguration The observability configuration of your service.
 * @property serviceArn The Amazon Resource Name (ARN) of the AppRunner Service.
 * @property serviceId The AppRunner Service Id
 * @property serviceUrl The Service Url of the AppRunner Service.
 * @property sourceConfiguration The source to deploy to the App Runner service. It can be a code or an image repository.
 * @property status AppRunner Service status.
 */
public data class GetServiceResult(
    public val healthCheckConfiguration: ServiceHealthCheckConfiguration? = null,
    public val instanceConfiguration: ServiceInstanceConfiguration? = null,
    public val networkConfiguration: ServiceNetworkConfiguration? = null,
    public val observabilityConfiguration: ServiceObservabilityConfiguration? = null,
    public val serviceArn: String? = null,
    public val serviceId: String? = null,
    public val serviceUrl: String? = null,
    public val sourceConfiguration: ServiceSourceConfiguration? = null,
    public val status: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.apprunner.outputs.GetServiceResult): GetServiceResult = GetServiceResult(
            healthCheckConfiguration = javaType.healthCheckConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceHealthCheckConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            instanceConfiguration = javaType.instanceConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceInstanceConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            networkConfiguration = javaType.networkConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceNetworkConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            observabilityConfiguration = javaType.observabilityConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceObservabilityConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            serviceArn = javaType.serviceArn().map({ args0 -> args0 }).orElse(null),
            serviceId = javaType.serviceId().map({ args0 -> args0 }).orElse(null),
            serviceUrl = javaType.serviceUrl().map({ args0 -> args0 }).orElse(null),
            sourceConfiguration = javaType.sourceConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceSourceConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            status = javaType.status().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy