
com.pulumi.awsnative.ecr.kotlin.outputs.RepositoryImageScanningConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ecr.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
* The image scanning configuration for a repository.
* @property scanOnPush The setting that determines whether images are scanned after being pushed to a repository. If set to ``true``, images will be scanned after being pushed. If this parameter is not specified, it will default to ``false`` and images will not be scanned unless a scan is manually started.
*/
public data class RepositoryImageScanningConfiguration(
public val scanOnPush: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecr.outputs.RepositoryImageScanningConfiguration): RepositoryImageScanningConfiguration = RepositoryImageScanningConfiguration(
scanOnPush = javaType.scanOnPush().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy