com.pulumi.awsnative.iotsitewise.kotlin.outputs.GetPortalResult.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 com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property alarms Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range.
* @property notificationSenderEmail The email address that sends alarm notifications.
* @property portalArn The ARN of the portal, which has the following format.
* @property portalClientId The AWS SSO application generated client ID (used with AWS SSO APIs).
* @property portalContactEmail The AWS administrator's contact email address.
* @property portalDescription A description for the portal.
* @property portalId The ID of the portal.
* @property portalName A friendly name for the portal.
* @property portalStartUrl The public root URL for the AWS IoT AWS IoT SiteWise Monitor application portal.
* @property roleArn The ARN of a service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf.
* @property tags A list of key-value pairs that contain metadata for the portal.
*/
public data class GetPortalResult(
public val alarms: AlarmsProperties? = null,
public val notificationSenderEmail: String? = null,
public val portalArn: String? = null,
public val portalClientId: String? = null,
public val portalContactEmail: String? = null,
public val portalDescription: String? = null,
public val portalId: String? = null,
public val portalName: String? = null,
public val portalStartUrl: String? = null,
public val roleArn: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotsitewise.outputs.GetPortalResult): GetPortalResult = GetPortalResult(
alarms = javaType.alarms().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.AlarmsProperties.Companion.toKotlin(args0)
})
}).orElse(null),
notificationSenderEmail = javaType.notificationSenderEmail().map({ args0 -> args0 }).orElse(null),
portalArn = javaType.portalArn().map({ args0 -> args0 }).orElse(null),
portalClientId = javaType.portalClientId().map({ args0 -> args0 }).orElse(null),
portalContactEmail = javaType.portalContactEmail().map({ args0 -> args0 }).orElse(null),
portalDescription = javaType.portalDescription().map({ args0 -> args0 }).orElse(null),
portalId = javaType.portalId().map({ args0 -> args0 }).orElse(null),
portalName = javaType.portalName().map({ args0 -> args0 }).orElse(null),
portalStartUrl = javaType.portalStartUrl().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}