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

com.pulumi.awsnative.paymentcryptography.kotlin.AliasArgs.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.paymentcryptography.kotlin

import com.pulumi.awsnative.paymentcryptography.AliasArgs.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

/**
 * Definition of AWS::PaymentCryptography::Alias Resource Type
 * @property aliasName A friendly name that you can use to refer to a key. The value must begin with `alias/` .
 * > Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.
 * @property keyArn The `KeyARN` of the key associated with the alias.
 */
public data class AliasArgs(
    public val aliasName: Output? = null,
    public val keyArn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.paymentcryptography.AliasArgs =
        com.pulumi.awsnative.paymentcryptography.AliasArgs.builder()
            .aliasName(aliasName?.applyValue({ args0 -> args0 }))
            .keyArn(keyArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AliasArgs].
 */
@PulumiTagMarker
public class AliasArgsBuilder internal constructor() {
    private var aliasName: Output? = null

    private var keyArn: Output? = null

    /**
     * @param value A friendly name that you can use to refer to a key. The value must begin with `alias/` .
     * > Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.
     */
    @JvmName("onaigldtajtfyxyk")
    public suspend fun aliasName(`value`: Output) {
        this.aliasName = value
    }

    /**
     * @param value The `KeyARN` of the key associated with the alias.
     */
    @JvmName("kgtlvcmdiuplbcvm")
    public suspend fun keyArn(`value`: Output) {
        this.keyArn = value
    }

    /**
     * @param value A friendly name that you can use to refer to a key. The value must begin with `alias/` .
     * > Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.
     */
    @JvmName("erwpbfwdrdwllqmf")
    public suspend fun aliasName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.aliasName = mapped
    }

    /**
     * @param value The `KeyARN` of the key associated with the alias.
     */
    @JvmName("wwqwhrcqdqqrfkfp")
    public suspend fun keyArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyArn = mapped
    }

    internal fun build(): AliasArgs = AliasArgs(
        aliasName = aliasName,
        keyArn = keyArn,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy