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

com.pulumi.awsnative.ec2.kotlin.inputs.GetEnclaveCertificateIamRoleAssociationPlainArgs.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.ec2.kotlin.inputs

import com.pulumi.awsnative.ec2.inputs.GetEnclaveCertificateIamRoleAssociationPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property certificateArn The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
 * @property roleArn The Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
 */
public data class GetEnclaveCertificateIamRoleAssociationPlainArgs(
    public val certificateArn: String,
    public val roleArn: String,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.GetEnclaveCertificateIamRoleAssociationPlainArgs =
        com.pulumi.awsnative.ec2.inputs.GetEnclaveCertificateIamRoleAssociationPlainArgs.builder()
            .certificateArn(certificateArn.let({ args0 -> args0 }))
            .roleArn(roleArn.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetEnclaveCertificateIamRoleAssociationPlainArgs].
 */
@PulumiTagMarker
public class GetEnclaveCertificateIamRoleAssociationPlainArgsBuilder internal constructor() {
    private var certificateArn: String? = null

    private var roleArn: String? = null

    /**
     * @param value The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
     */
    @JvmName("aiusrhcbwptxkcpd")
    public suspend fun certificateArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.certificateArn = mapped
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
     */
    @JvmName("mjubxubjifbqegof")
    public suspend fun roleArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.roleArn = mapped
    }

    internal fun build(): GetEnclaveCertificateIamRoleAssociationPlainArgs =
        GetEnclaveCertificateIamRoleAssociationPlainArgs(
            certificateArn = certificateArn ?: throw PulumiNullFieldException("certificateArn"),
            roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy