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

com.pulumi.awsnative.emr.kotlin.SecurityConfigurationArgs.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.emr.kotlin

import com.pulumi.awsnative.emr.SecurityConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Use a SecurityConfiguration resource to configure data encryption, Kerberos authentication, and Amazon S3 authorization for EMRFS.
 * @property name The name of the security configuration.
 * @property securityConfiguration The security configuration details in JSON format.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EMR::SecurityConfiguration` for more information about the expected schema for this property.
 */
public data class SecurityConfigurationArgs(
    public val name: Output? = null,
    public val securityConfiguration: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.emr.SecurityConfigurationArgs =
        com.pulumi.awsnative.emr.SecurityConfigurationArgs.builder()
            .name(name?.applyValue({ args0 -> args0 }))
            .securityConfiguration(securityConfiguration?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SecurityConfigurationArgs].
 */
@PulumiTagMarker
public class SecurityConfigurationArgsBuilder internal constructor() {
    private var name: Output? = null

    private var securityConfiguration: Output? = null

    /**
     * @param value The name of the security configuration.
     */
    @JvmName("vybtummlhqlnkxhs")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The security configuration details in JSON format.
     * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EMR::SecurityConfiguration` for more information about the expected schema for this property.
     */
    @JvmName("ljlmldcpixubrrda")
    public suspend fun securityConfiguration(`value`: Output) {
        this.securityConfiguration = value
    }

    /**
     * @param value The name of the security configuration.
     */
    @JvmName("rtthqkveasuyjfsf")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The security configuration details in JSON format.
     * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EMR::SecurityConfiguration` for more information about the expected schema for this property.
     */
    @JvmName("jvaalrhkedudelng")
    public suspend fun securityConfiguration(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityConfiguration = mapped
    }

    internal fun build(): SecurityConfigurationArgs = SecurityConfigurationArgs(
        name = name,
        securityConfiguration = securityConfiguration,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy