![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.outputs.NetworkInterfacePrivateIpAddressSpecification.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property primary Sets the private IP address as the primary private address. You can set only one primary private IP address. If you don't specify a primary private IP address, Amazon EC2 automatically assigns a primary private IP address.
* @property privateIpAddress The private IP address of the network interface.
*/
public data class NetworkInterfacePrivateIpAddressSpecification(
public val primary: Boolean,
public val privateIpAddress: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.NetworkInterfacePrivateIpAddressSpecification): NetworkInterfacePrivateIpAddressSpecification =
NetworkInterfacePrivateIpAddressSpecification(
primary = javaType.primary(),
privateIpAddress = javaType.privateIpAddress(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy