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

com.pulumi.awsnative.cloudformation.kotlin.inputs.ResourceVersionLoggingConfigArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cloudformation.kotlin.inputs

import com.pulumi.awsnative.cloudformation.inputs.ResourceVersionLoggingConfigArgs.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

/**
 *
 * @property logGroupName The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the type's handlers.
 * @property logRoleArn The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
 */
public data class ResourceVersionLoggingConfigArgs(
    public val logGroupName: Output? = null,
    public val logRoleArn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cloudformation.inputs.ResourceVersionLoggingConfigArgs = com.pulumi.awsnative.cloudformation.inputs.ResourceVersionLoggingConfigArgs.builder()
        .logGroupName(logGroupName?.applyValue({ args0 -> args0 }))
        .logRoleArn(logRoleArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ResourceVersionLoggingConfigArgs].
 */
@PulumiTagMarker
public class ResourceVersionLoggingConfigArgsBuilder internal constructor() {
    private var logGroupName: Output? = null

    private var logRoleArn: Output? = null

    /**
     * @param value The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the type's handlers.
     */
    @JvmName("qdbgpvuhrjolqgre")
    public suspend fun logGroupName(`value`: Output) {
        this.logGroupName = value
    }

    /**
     * @param value The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
     */
    @JvmName("ayidrsqgxswjmmjv")
    public suspend fun logRoleArn(`value`: Output) {
        this.logRoleArn = value
    }

    /**
     * @param value The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the type's handlers.
     */
    @JvmName("qbknuoeirxjmcsov")
    public suspend fun logGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.logGroupName = mapped
    }

    /**
     * @param value The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
     */
    @JvmName("lehooiirtspcexlu")
    public suspend fun logRoleArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.logRoleArn = mapped
    }

    internal fun build(): ResourceVersionLoggingConfigArgs = ResourceVersionLoggingConfigArgs(
        logGroupName = logGroupName,
        logRoleArn = logRoleArn,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy