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

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

import com.pulumi.awsnative.ec2.SubnetNetworkAclAssociationArgs.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

/**
 * Resource Type definition for AWS::EC2::SubnetNetworkAclAssociation
 * @property networkAclId The ID of the network ACL
 * @property subnetId The ID of the subnet
 */
public data class SubnetNetworkAclAssociationArgs(
    public val networkAclId: Output? = null,
    public val subnetId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.SubnetNetworkAclAssociationArgs =
        com.pulumi.awsnative.ec2.SubnetNetworkAclAssociationArgs.builder()
            .networkAclId(networkAclId?.applyValue({ args0 -> args0 }))
            .subnetId(subnetId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SubnetNetworkAclAssociationArgs].
 */
@PulumiTagMarker
public class SubnetNetworkAclAssociationArgsBuilder internal constructor() {
    private var networkAclId: Output? = null

    private var subnetId: Output? = null

    /**
     * @param value The ID of the network ACL
     */
    @JvmName("ovkuptsbyftcsipp")
    public suspend fun networkAclId(`value`: Output) {
        this.networkAclId = value
    }

    /**
     * @param value The ID of the subnet
     */
    @JvmName("jhydwewlvcqmhama")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

    /**
     * @param value The ID of the network ACL
     */
    @JvmName("nusdvlghctfinoqg")
    public suspend fun networkAclId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkAclId = mapped
    }

    /**
     * @param value The ID of the subnet
     */
    @JvmName("iuqkqyifxjqfnoux")
    public suspend fun subnetId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnetId = mapped
    }

    internal fun build(): SubnetNetworkAclAssociationArgs = SubnetNetworkAclAssociationArgs(
        networkAclId = networkAclId,
        subnetId = subnetId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy