
com.pulumi.awsnative.rum.kotlin.RumFunctions.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.rum.kotlin
import com.pulumi.awsnative.rum.RumFunctions.getAppMonitorPlain
import com.pulumi.awsnative.rum.kotlin.inputs.GetAppMonitorPlainArgs
import com.pulumi.awsnative.rum.kotlin.inputs.GetAppMonitorPlainArgsBuilder
import com.pulumi.awsnative.rum.kotlin.outputs.GetAppMonitorResult
import com.pulumi.awsnative.rum.kotlin.outputs.GetAppMonitorResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object RumFunctions {
/**
* Resource Type definition for AWS::RUM::AppMonitor
* @param argument null
* @return null
*/
public suspend fun getAppMonitor(argument: GetAppMonitorPlainArgs): GetAppMonitorResult =
toKotlin(getAppMonitorPlain(argument.toJava()).await())
/**
* @see [getAppMonitor].
* @param name A name for the app monitor
* @return null
*/
public suspend fun getAppMonitor(name: String): GetAppMonitorResult {
val argument = GetAppMonitorPlainArgs(
name = name,
)
return toKotlin(getAppMonitorPlain(argument.toJava()).await())
}
/**
* @see [getAppMonitor].
* @param argument Builder for [com.pulumi.awsnative.rum.kotlin.inputs.GetAppMonitorPlainArgs].
* @return null
*/
public suspend fun getAppMonitor(argument: suspend GetAppMonitorPlainArgsBuilder.() -> Unit): GetAppMonitorResult {
val builder = GetAppMonitorPlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getAppMonitorPlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy