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

com.pulumi.awsnative.cloudformation.kotlin.outputs.HookVersionLoggingConfig.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cloudformation.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 HookVersionLoggingConfig(
    public val logGroupName: String? = null,
    public val logRoleArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudformation.outputs.HookVersionLoggingConfig): HookVersionLoggingConfig = HookVersionLoggingConfig(
            logGroupName = javaType.logGroupName().map({ args0 -> args0 }).orElse(null),
            logRoleArn = javaType.logRoleArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy