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

com.pulumi.aws.synthetics.kotlin.inputs.CanaryArtifactConfigArgs.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: 6.66.3.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.synthetics.kotlin.inputs

import com.pulumi.aws.synthetics.inputs.CanaryArtifactConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property s3Encryption Configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. See S3 Encryption.
 */
public data class CanaryArtifactConfigArgs(
    public val s3Encryption: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.synthetics.inputs.CanaryArtifactConfigArgs =
        com.pulumi.aws.synthetics.inputs.CanaryArtifactConfigArgs.builder()
            .s3Encryption(s3Encryption?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [CanaryArtifactConfigArgs].
 */
@PulumiTagMarker
public class CanaryArtifactConfigArgsBuilder internal constructor() {
    private var s3Encryption: Output? = null

    /**
     * @param value Configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. See S3 Encryption.
     */
    @JvmName("ouweedmxqkfsnljs")
    public suspend fun s3Encryption(`value`: Output) {
        this.s3Encryption = value
    }

    /**
     * @param value Configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. See S3 Encryption.
     */
    @JvmName("tmrdttsefqgawisr")
    public suspend fun s3Encryption(`value`: CanaryArtifactConfigS3EncryptionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.s3Encryption = mapped
    }

    /**
     * @param argument Configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. See S3 Encryption.
     */
    @JvmName("uatqfqduenfpwabe")
    public suspend fun s3Encryption(argument: suspend CanaryArtifactConfigS3EncryptionArgsBuilder.() -> Unit) {
        val toBeMapped = CanaryArtifactConfigS3EncryptionArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.s3Encryption = mapped
    }

    internal fun build(): CanaryArtifactConfigArgs = CanaryArtifactConfigArgs(
        s3Encryption = s3Encryption,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy