com.pulumi.aws.codebuild.kotlin.inputs.ProjectLogsConfigCloudwatchLogsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.codebuild.kotlin.inputs
import com.pulumi.aws.codebuild.inputs.ProjectLogsConfigCloudwatchLogsArgs.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 groupName Group name of the logs in CloudWatch Logs.
* @property status Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.
* @property streamName Prefix of the log stream name of the logs in CloudWatch Logs.
*/
public data class ProjectLogsConfigCloudwatchLogsArgs(
public val groupName: Output? = null,
public val status: Output? = null,
public val streamName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.codebuild.inputs.ProjectLogsConfigCloudwatchLogsArgs =
com.pulumi.aws.codebuild.inputs.ProjectLogsConfigCloudwatchLogsArgs.builder()
.groupName(groupName?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0 }))
.streamName(streamName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProjectLogsConfigCloudwatchLogsArgs].
*/
@PulumiTagMarker
public class ProjectLogsConfigCloudwatchLogsArgsBuilder internal constructor() {
private var groupName: Output? = null
private var status: Output? = null
private var streamName: Output? = null
/**
* @param value Group name of the logs in CloudWatch Logs.
*/
@JvmName("cwwtmdacllubehnp")
public suspend fun groupName(`value`: Output) {
this.groupName = value
}
/**
* @param value Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.
*/
@JvmName("nqecdarfmsbgfryq")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value Prefix of the log stream name of the logs in CloudWatch Logs.
*/
@JvmName("yfdgirxkadwpxaso")
public suspend fun streamName(`value`: Output) {
this.streamName = value
}
/**
* @param value Group name of the logs in CloudWatch Logs.
*/
@JvmName("peivdwerujqjioth")
public suspend fun groupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.groupName = mapped
}
/**
* @param value Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.
*/
@JvmName("ocyuuobbpfwrplpk")
public suspend fun status(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Prefix of the log stream name of the logs in CloudWatch Logs.
*/
@JvmName("ounifcvhbsvkfdxh")
public suspend fun streamName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.streamName = mapped
}
internal fun build(): ProjectLogsConfigCloudwatchLogsArgs = ProjectLogsConfigCloudwatchLogsArgs(
groupName = groupName,
status = status,
streamName = streamName,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy