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

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

package com.pulumi.aws.ecs.kotlin.inputs

import com.pulumi.aws.ecs.inputs.ClusterConfigurationManagedStorageConfigurationArgs.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.jvm.JvmName

/**
 *
 * @property fargateEphemeralStorageKmsKeyId AWS Key Management Service key ID for the Fargate ephemeral storage.
 * @property kmsKeyId AWS Key Management Service key ID to encrypt the managed storage.
 */
public data class ClusterConfigurationManagedStorageConfigurationArgs(
    public val fargateEphemeralStorageKmsKeyId: Output? = null,
    public val kmsKeyId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.ecs.inputs.ClusterConfigurationManagedStorageConfigurationArgs =
        com.pulumi.aws.ecs.inputs.ClusterConfigurationManagedStorageConfigurationArgs.builder()
            .fargateEphemeralStorageKmsKeyId(fargateEphemeralStorageKmsKeyId?.applyValue({ args0 -> args0 }))
            .kmsKeyId(kmsKeyId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterConfigurationManagedStorageConfigurationArgs].
 */
@PulumiTagMarker
public class ClusterConfigurationManagedStorageConfigurationArgsBuilder internal constructor() {
    private var fargateEphemeralStorageKmsKeyId: Output? = null

    private var kmsKeyId: Output? = null

    /**
     * @param value AWS Key Management Service key ID for the Fargate ephemeral storage.
     */
    @JvmName("scwengvijmdseqpv")
    public suspend fun fargateEphemeralStorageKmsKeyId(`value`: Output) {
        this.fargateEphemeralStorageKmsKeyId = value
    }

    /**
     * @param value AWS Key Management Service key ID to encrypt the managed storage.
     */
    @JvmName("bfhmlclidjhspaxv")
    public suspend fun kmsKeyId(`value`: Output) {
        this.kmsKeyId = value
    }

    /**
     * @param value AWS Key Management Service key ID for the Fargate ephemeral storage.
     */
    @JvmName("amxfthqkekjdydeq")
    public suspend fun fargateEphemeralStorageKmsKeyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fargateEphemeralStorageKmsKeyId = mapped
    }

    /**
     * @param value AWS Key Management Service key ID to encrypt the managed storage.
     */
    @JvmName("yiusssdwhumrtanp")
    public suspend fun kmsKeyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyId = mapped
    }

    internal fun build(): ClusterConfigurationManagedStorageConfigurationArgs =
        ClusterConfigurationManagedStorageConfigurationArgs(
            fargateEphemeralStorageKmsKeyId = fargateEphemeralStorageKmsKeyId,
            kmsKeyId = kmsKeyId,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy