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

com.pulumi.awsnative.logs.kotlin.inputs.GetLogGroupPlainArgs.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.logs.kotlin.inputs

import com.pulumi.awsnative.logs.inputs.GetLogGroupPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property logGroupName The name of the log group. If you don't specify a name, CFNlong generates a unique ID for the log group.
 */
public data class GetLogGroupPlainArgs(
    public val logGroupName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.logs.inputs.GetLogGroupPlainArgs =
        com.pulumi.awsnative.logs.inputs.GetLogGroupPlainArgs.builder()
            .logGroupName(logGroupName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetLogGroupPlainArgs].
 */
@PulumiTagMarker
public class GetLogGroupPlainArgsBuilder internal constructor() {
    private var logGroupName: String? = null

    /**
     * @param value The name of the log group. If you don't specify a name, CFNlong generates a unique ID for the log group.
     */
    @JvmName("voxhhyicmjuikxuo")
    public suspend fun logGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.logGroupName = mapped
    }

    internal fun build(): GetLogGroupPlainArgs = GetLogGroupPlainArgs(
        logGroupName = logGroupName ?: throw PulumiNullFieldException("logGroupName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy