
com.pulumi.awsnative.ec2.kotlin.outputs.GetIpamResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ec2.kotlin.outputs
import com.pulumi.awsnative.ec2.kotlin.enums.IpamTier
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the IPAM.
* @property defaultResourceDiscoveryAssociationId The Id of the default association to the default resource discovery, created with this IPAM.
* @property defaultResourceDiscoveryId The Id of the default resource discovery, created with this IPAM.
* @property description The description for the IPAM.
* @property ipamId Id of the IPAM.
* @property operatingRegions The regions IPAM is enabled for. Allows pools to be created in these regions, as well as enabling monitoring
* @property privateDefaultScopeId The Id of the default scope for publicly routable IP space, created with this IPAM.
* @property publicDefaultScopeId The Id of the default scope for publicly routable IP space, created with this IPAM.
* @property resourceDiscoveryAssociationCount The count of resource discoveries associated with this IPAM.
* @property scopeCount The number of scopes that currently exist in this IPAM.
* @property tags An array of key-value pairs to apply to this resource.
* @property tier The tier of the IPAM.
*/
public data class GetIpamResult(
public val arn: String? = null,
public val defaultResourceDiscoveryAssociationId: String? = null,
public val defaultResourceDiscoveryId: String? = null,
public val description: String? = null,
public val ipamId: String? = null,
public val operatingRegions: List? = null,
public val privateDefaultScopeId: String? = null,
public val publicDefaultScopeId: String? = null,
public val resourceDiscoveryAssociationCount: Int? = null,
public val scopeCount: Int? = null,
public val tags: List? = null,
public val tier: IpamTier? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetIpamResult): GetIpamResult =
GetIpamResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
defaultResourceDiscoveryAssociationId = javaType.defaultResourceDiscoveryAssociationId().map({ args0 ->
args0
}).orElse(null),
defaultResourceDiscoveryId = javaType.defaultResourceDiscoveryId().map({ args0 ->
args0
}).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
ipamId = javaType.ipamId().map({ args0 -> args0 }).orElse(null),
operatingRegions = javaType.operatingRegions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.outputs.IpamOperatingRegion.Companion.toKotlin(args0)
})
}),
privateDefaultScopeId = javaType.privateDefaultScopeId().map({ args0 -> args0 }).orElse(null),
publicDefaultScopeId = javaType.publicDefaultScopeId().map({ args0 -> args0 }).orElse(null),
resourceDiscoveryAssociationCount = javaType.resourceDiscoveryAssociationCount().map({ args0 ->
args0
}).orElse(null),
scopeCount = javaType.scopeCount().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
tier = javaType.tier().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.enums.IpamTier.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy