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

com.pulumi.awsnative.lightsail.kotlin.outputs.GetStaticIpResult.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.lightsail.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property attachedTo The instance where the static IP is attached.
 * @property ipAddress The static IP address.
 * @property isAttached A Boolean value indicating whether the static IP is attached.
 * @property staticIpArn The Amazon Resource Name (ARN) of the static IP (for example, `arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE` ).
 */
public data class GetStaticIpResult(
    public val attachedTo: String? = null,
    public val ipAddress: String? = null,
    public val isAttached: Boolean? = null,
    public val staticIpArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lightsail.outputs.GetStaticIpResult): GetStaticIpResult = GetStaticIpResult(
            attachedTo = javaType.attachedTo().map({ args0 -> args0 }).orElse(null),
            ipAddress = javaType.ipAddress().map({ args0 -> args0 }).orElse(null),
            isAttached = javaType.isAttached().map({ args0 -> args0 }).orElse(null),
            staticIpArn = javaType.staticIpArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy