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

com.pulumi.awsnative.ecr.kotlin.outputs.RepositoryImageScanningConfiguration.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.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