![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.rum.kotlin.outputs.GetAppMonitorResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.rum.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property appMonitorConfiguration A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include `AppMonitorConfiguration` , you must set up your own authorization method. For more information, see [Authorize your application to send data to AWS](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html) .
* If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
* @property customEvents Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are `DISABLED` .
* @property cwLogEnabled Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to CWLlong in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur CWLlong charges. If you omit this parameter, the default is false
* @property domain The top-level internet domain name for which your application has administrative authority.
* @property id The unique ID of the new app monitor.
* @property tags Assigns one or more tags (key-value pairs) to the app monitor.
* Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
* Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.
* You can associate as many as 50 tags with an app monitor.
* For more information, see [Tagging AWS resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) .
*/
public data class GetAppMonitorResult(
public val appMonitorConfiguration: AppMonitorConfiguration? = null,
public val customEvents: AppMonitorCustomEvents? = null,
public val cwLogEnabled: Boolean? = null,
public val domain: String? = null,
public val id: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.rum.outputs.GetAppMonitorResult): GetAppMonitorResult = GetAppMonitorResult(
appMonitorConfiguration = javaType.appMonitorConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.rum.kotlin.outputs.AppMonitorConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
customEvents = javaType.customEvents().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.rum.kotlin.outputs.AppMonitorCustomEvents.Companion.toKotlin(args0)
})
}).orElse(null),
cwLogEnabled = javaType.cwLogEnabled().map({ args0 -> args0 }).orElse(null),
domain = javaType.domain().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy