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

com.pulumi.awsnative.cloudwatch.kotlin.DashboardArgs.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cloudwatch.kotlin

import com.pulumi.awsnative.cloudwatch.DashboardArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Resource Type definition for AWS::CloudWatch::Dashboard
 * @property dashboardBody The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard
 * @property dashboardName The name of the dashboard. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
 */
public data class DashboardArgs(
    public val dashboardBody: Output? = null,
    public val dashboardName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cloudwatch.DashboardArgs =
        com.pulumi.awsnative.cloudwatch.DashboardArgs.builder()
            .dashboardBody(dashboardBody?.applyValue({ args0 -> args0 }))
            .dashboardName(dashboardName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DashboardArgs].
 */
@PulumiTagMarker
public class DashboardArgsBuilder internal constructor() {
    private var dashboardBody: Output? = null

    private var dashboardName: Output? = null

    /**
     * @param value The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard
     */
    @JvmName("tdsrlhlauhlwcjck")
    public suspend fun dashboardBody(`value`: Output) {
        this.dashboardBody = value
    }

    /**
     * @param value The name of the dashboard. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
     */
    @JvmName("ammdkwbtringdpxe")
    public suspend fun dashboardName(`value`: Output) {
        this.dashboardName = value
    }

    /**
     * @param value The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard
     */
    @JvmName("kpdnxfordcevggii")
    public suspend fun dashboardBody(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dashboardBody = mapped
    }

    /**
     * @param value The name of the dashboard. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
     */
    @JvmName("tbwusxqmycdnwptc")
    public suspend fun dashboardName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dashboardName = mapped
    }

    internal fun build(): DashboardArgs = DashboardArgs(
        dashboardBody = dashboardBody,
        dashboardName = dashboardName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy