com.pulumi.aws.networkfirewall.kotlin.outputs.FirewallSubnetMapping.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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