com.pulumi.aws.ecs.kotlin.inputs.ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs.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.ecs.kotlin.inputs
import com.pulumi.aws.ecs.inputs.ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property cloudWatchEncryptionEnabled Whether to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
* @property cloudWatchLogGroupName The name of the CloudWatch log group to send logs to.
* @property s3BucketEncryptionEnabled Whether to enable encryption on the logs sent to S3. If not specified, encryption will be disabled.
* @property s3BucketName Name of the S3 bucket to send logs to.
* @property s3KeyPrefix Optional folder in the S3 bucket to place logs in.
*/
public data class ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs(
public val cloudWatchEncryptionEnabled: Output? = null,
public val cloudWatchLogGroupName: Output? = null,
public val s3BucketEncryptionEnabled: Output? = null,
public val s3BucketName: Output? = null,
public val s3KeyPrefix: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ecs.inputs.ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs =
com.pulumi.aws.ecs.inputs.ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs.builder()
.cloudWatchEncryptionEnabled(cloudWatchEncryptionEnabled?.applyValue({ args0 -> args0 }))
.cloudWatchLogGroupName(cloudWatchLogGroupName?.applyValue({ args0 -> args0 }))
.s3BucketEncryptionEnabled(s3BucketEncryptionEnabled?.applyValue({ args0 -> args0 }))
.s3BucketName(s3BucketName?.applyValue({ args0 -> args0 }))
.s3KeyPrefix(s3KeyPrefix?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs].
*/
@PulumiTagMarker
public class ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgsBuilder internal constructor() {
private var cloudWatchEncryptionEnabled: Output? = null
private var cloudWatchLogGroupName: Output? = null
private var s3BucketEncryptionEnabled: Output? = null
private var s3BucketName: Output? = null
private var s3KeyPrefix: Output? = null
/**
* @param value Whether to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
*/
@JvmName("jxelirnpofyieeyf")
public suspend fun cloudWatchEncryptionEnabled(`value`: Output) {
this.cloudWatchEncryptionEnabled = value
}
/**
* @param value The name of the CloudWatch log group to send logs to.
*/
@JvmName("sdyliemisbclduwa")
public suspend fun cloudWatchLogGroupName(`value`: Output) {
this.cloudWatchLogGroupName = value
}
/**
* @param value Whether to enable encryption on the logs sent to S3. If not specified, encryption will be disabled.
*/
@JvmName("iwraghfjhjaqvedv")
public suspend fun s3BucketEncryptionEnabled(`value`: Output) {
this.s3BucketEncryptionEnabled = value
}
/**
* @param value Name of the S3 bucket to send logs to.
*/
@JvmName("fkgrnbeblkdiltpv")
public suspend fun s3BucketName(`value`: Output) {
this.s3BucketName = value
}
/**
* @param value Optional folder in the S3 bucket to place logs in.
*/
@JvmName("bwalpvanxhhijfdh")
public suspend fun s3KeyPrefix(`value`: Output) {
this.s3KeyPrefix = value
}
/**
* @param value Whether to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
*/
@JvmName("rpexwymtqnyjcgik")
public suspend fun cloudWatchEncryptionEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cloudWatchEncryptionEnabled = mapped
}
/**
* @param value The name of the CloudWatch log group to send logs to.
*/
@JvmName("jcvqofsifdkqmviu")
public suspend fun cloudWatchLogGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cloudWatchLogGroupName = mapped
}
/**
* @param value Whether to enable encryption on the logs sent to S3. If not specified, encryption will be disabled.
*/
@JvmName("oarukedpgwdcaoaf")
public suspend fun s3BucketEncryptionEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3BucketEncryptionEnabled = mapped
}
/**
* @param value Name of the S3 bucket to send logs to.
*/
@JvmName("avgeoejepbgipacf")
public suspend fun s3BucketName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3BucketName = mapped
}
/**
* @param value Optional folder in the S3 bucket to place logs in.
*/
@JvmName("nrjoopcolspbqwlu")
public suspend fun s3KeyPrefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3KeyPrefix = mapped
}
internal fun build(): ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs =
ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs(
cloudWatchEncryptionEnabled = cloudWatchEncryptionEnabled,
cloudWatchLogGroupName = cloudWatchLogGroupName,
s3BucketEncryptionEnabled = s3BucketEncryptionEnabled,
s3BucketName = s3BucketName,
s3KeyPrefix = s3KeyPrefix,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy