
com.pulumi.awsnative.ec2.kotlin.outputs.GetIpamScopeResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import com.pulumi.awsnative.ec2.kotlin.enums.IpamScopeType
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the IPAM scope.
* @property description The description of the scope.
* @property ipamArn The Amazon Resource Name (ARN) of the IPAM this scope is a part of.
* @property ipamScopeId Id of the IPAM scope.
* @property ipamScopeType Determines whether this scope contains publicly routable space or space for a private network
* @property isDefault Is this one of the default scopes created with the IPAM.
* @property poolCount The number of pools that currently exist in this scope.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class GetIpamScopeResult(
public val arn: String? = null,
public val description: String? = null,
public val ipamArn: String? = null,
public val ipamScopeId: String? = null,
public val ipamScopeType: IpamScopeType? = null,
public val isDefault: Boolean? = null,
public val poolCount: Int? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetIpamScopeResult): GetIpamScopeResult = GetIpamScopeResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
ipamArn = javaType.ipamArn().map({ args0 -> args0 }).orElse(null),
ipamScopeId = javaType.ipamScopeId().map({ args0 -> args0 }).orElse(null),
ipamScopeType = javaType.ipamScopeType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.enums.IpamScopeType.Companion.toKotlin(args0)
})
}).orElse(null),
isDefault = javaType.isDefault().map({ args0 -> args0 }).orElse(null),
poolCount = javaType.poolCount().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy