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

com.pulumi.awsnative.s3.kotlin.inputs.BucketSseKmsEncryptedObjectsArgs.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.s3.kotlin.inputs

import com.pulumi.awsnative.s3.inputs.BucketSseKmsEncryptedObjectsArgs.builder
import com.pulumi.awsnative.s3.kotlin.enums.BucketSseKmsEncryptedObjectsStatus
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A container for filter information for the selection of S3 objects encrypted with AWS KMS.
 * @property status Specifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service.
 */
public data class BucketSseKmsEncryptedObjectsArgs(
    public val status: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.s3.inputs.BucketSseKmsEncryptedObjectsArgs =
        com.pulumi.awsnative.s3.inputs.BucketSseKmsEncryptedObjectsArgs.builder()
            .status(status.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [BucketSseKmsEncryptedObjectsArgs].
 */
@PulumiTagMarker
public class BucketSseKmsEncryptedObjectsArgsBuilder internal constructor() {
    private var status: Output? = null

    /**
     * @param value Specifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service.
     */
    @JvmName("cxmrskicixduficn")
    public suspend fun status(`value`: Output) {
        this.status = value
    }

    /**
     * @param value Specifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service.
     */
    @JvmName("rnwroamxhclypowa")
    public suspend fun status(`value`: BucketSseKmsEncryptedObjectsStatus) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.status = mapped
    }

    internal fun build(): BucketSseKmsEncryptedObjectsArgs = BucketSseKmsEncryptedObjectsArgs(
        status = status ?: throw PulumiNullFieldException("status"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy