
com.pulumi.awsnative.iotsitewise.kotlin.outputs.AccessPolicyResource.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.iotsitewise.kotlin.outputs
import kotlin.Suppress
/**
* The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
* @property portal Identifies an AWS IoT SiteWise Monitor portal.
* @property project Identifies a specific AWS IoT SiteWise Monitor project.
*/
public data class AccessPolicyResource(
public val portal: AccessPolicyPortal? = null,
public val project: AccessPolicyProject? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotsitewise.outputs.AccessPolicyResource): AccessPolicyResource = AccessPolicyResource(
portal = javaType.portal().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.AccessPolicyPortal.Companion.toKotlin(args0)
})
}).orElse(null),
project = javaType.project().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.AccessPolicyProject.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy