All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.aps.kotlin.outputs.GetWorkspaceResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.aps.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property alertManagerDefinition The AMP Workspace alert manager definition data
 * @property alias AMP Workspace alias.
 * @property arn Workspace arn.
 * @property loggingConfiguration Contains information about the logging configuration for the workspace.
 * @property prometheusEndpoint AMP Workspace prometheus endpoint
 * @property tags An array of key-value pairs to apply to this resource.
 * @property workspaceId Required to identify a specific APS Workspace.
 */
public data class GetWorkspaceResult(
    public val alertManagerDefinition: String? = null,
    public val alias: String? = null,
    public val arn: String? = null,
    public val loggingConfiguration: WorkspaceLoggingConfiguration? = null,
    public val prometheusEndpoint: String? = null,
    public val tags: List? = null,
    public val workspaceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.aps.outputs.GetWorkspaceResult): GetWorkspaceResult = GetWorkspaceResult(
            alertManagerDefinition = javaType.alertManagerDefinition().map({ args0 -> args0 }).orElse(null),
            alias = javaType.alias().map({ args0 -> args0 }).orElse(null),
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            loggingConfiguration = javaType.loggingConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.aps.kotlin.outputs.WorkspaceLoggingConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            prometheusEndpoint = javaType.prometheusEndpoint().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            workspaceId = javaType.workspaceId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy