![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceSourceConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.apprunner.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
* Source Code configuration
* @property authenticationConfiguration Describes the resources that are needed to authenticate access to some source repositories.
* @property autoDeploymentsEnabled Auto Deployment enabled
* @property codeRepository The description of a source code repository.
* You must provide either this member or `ImageRepository` (but not both).
* @property imageRepository The description of a source image repository.
* You must provide either this member or `CodeRepository` (but not both).
*/
public data class ServiceSourceConfiguration(
public val authenticationConfiguration: ServiceAuthenticationConfiguration? = null,
public val autoDeploymentsEnabled: Boolean? = null,
public val codeRepository: ServiceCodeRepository? = null,
public val imageRepository: ServiceImageRepository? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apprunner.outputs.ServiceSourceConfiguration): ServiceSourceConfiguration = ServiceSourceConfiguration(
authenticationConfiguration = javaType.authenticationConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceAuthenticationConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
autoDeploymentsEnabled = javaType.autoDeploymentsEnabled().map({ args0 -> args0 }).orElse(null),
codeRepository = javaType.codeRepository().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceCodeRepository.Companion.toKotlin(args0)
})
}).orElse(null),
imageRepository = javaType.imageRepository().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceImageRepository.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy