com.pulumi.awsnative.ec2.kotlin.outputs.IpamPoolSourceResource.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 kotlin.String
import kotlin.Suppress
/**
* The resource associated with this pool's space. Depending on the ResourceType, setting a SourceResource changes which space can be provisioned in this pool and which types of resources can receive allocations
* @property resourceId The source resource ID.
* @property resourceOwner The source resource owner.
* @property resourceRegion The source resource Region.
* @property resourceType The source resource type.
*/
public data class IpamPoolSourceResource(
public val resourceId: String,
public val resourceOwner: String,
public val resourceRegion: String,
public val resourceType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.IpamPoolSourceResource): IpamPoolSourceResource = IpamPoolSourceResource(
resourceId = javaType.resourceId(),
resourceOwner = javaType.resourceOwner(),
resourceRegion = javaType.resourceRegion(),
resourceType = javaType.resourceType(),
)
}
}