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

com.pulumi.aws.alb.kotlin.outputs.LoadBalancerAccessLogs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.alb.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property bucket S3 bucket name to store the logs in.
 * @property enabled Boolean to enable / disable `access_logs`. Defaults to `false`, even when `bucket` is specified.
 * @property prefix S3 bucket prefix. Logs are stored in the root if not configured.
 */
public data class LoadBalancerAccessLogs(
    public val bucket: String,
    public val enabled: Boolean? = null,
    public val prefix: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.alb.outputs.LoadBalancerAccessLogs): LoadBalancerAccessLogs = LoadBalancerAccessLogs(
            bucket = javaType.bucket(),
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            prefix = javaType.prefix().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy