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

com.pulumi.aws.networkfirewall.kotlin.outputs.FirewallSubnetMapping.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.networkfirewall.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property ipAddressType The subnet's IP address type. Valida values: `"DUALSTACK"`, `"IPV4"`.
 * @property subnetId The unique identifier for the subnet.
 */
public data class FirewallSubnetMapping(
    public val ipAddressType: String? = null,
    public val subnetId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.networkfirewall.outputs.FirewallSubnetMapping): FirewallSubnetMapping = FirewallSubnetMapping(
            ipAddressType = javaType.ipAddressType().map({ args0 -> args0 }).orElse(null),
            subnetId = javaType.subnetId(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy