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

com.pulumi.awsnative.imagebuilder.kotlin.inputs.ImagePipelineEcrConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.imagebuilder.kotlin.inputs

import com.pulumi.awsnative.imagebuilder.inputs.ImagePipelineEcrConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Settings for Image Builder to configure the ECR repository and output container images that are scanned.
 * @property containerTags Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
 * @property repositoryName The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don't provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images.
 */
public data class ImagePipelineEcrConfigurationArgs(
    public val containerTags: Output>? = null,
    public val repositoryName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.imagebuilder.inputs.ImagePipelineEcrConfigurationArgs = com.pulumi.awsnative.imagebuilder.inputs.ImagePipelineEcrConfigurationArgs.builder()
        .containerTags(containerTags?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .repositoryName(repositoryName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ImagePipelineEcrConfigurationArgs].
 */
@PulumiTagMarker
public class ImagePipelineEcrConfigurationArgsBuilder internal constructor() {
    private var containerTags: Output>? = null

    private var repositoryName: Output? = null

    /**
     * @param value Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
     */
    @JvmName("bmaepbxeghcsgjyv")
    public suspend fun containerTags(`value`: Output>) {
        this.containerTags = value
    }

    @JvmName("gfuawsfgkkctekfd")
    public suspend fun containerTags(vararg values: Output) {
        this.containerTags = Output.all(values.asList())
    }

    /**
     * @param values Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
     */
    @JvmName("kuuaafyngpcaenle")
    public suspend fun containerTags(values: List>) {
        this.containerTags = Output.all(values)
    }

    /**
     * @param value The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don't provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images.
     */
    @JvmName("iulxbncwgsbrkxne")
    public suspend fun repositoryName(`value`: Output) {
        this.repositoryName = value
    }

    /**
     * @param value Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
     */
    @JvmName("unnffwirnnsbhvpx")
    public suspend fun containerTags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerTags = mapped
    }

    /**
     * @param values Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
     */
    @JvmName("pqrduycbnrvyvcsf")
    public suspend fun containerTags(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.containerTags = mapped
    }

    /**
     * @param value The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don't provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images.
     */
    @JvmName("coxjamebwwqmurfv")
    public suspend fun repositoryName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.repositoryName = mapped
    }

    internal fun build(): ImagePipelineEcrConfigurationArgs = ImagePipelineEcrConfigurationArgs(
        containerTags = containerTags,
        repositoryName = repositoryName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy