
com.pulumi.awsnative.redshift.kotlin.inputs.ClusterLoggingPropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.redshift.kotlin.inputs
import com.pulumi.awsnative.redshift.inputs.ClusterLoggingPropertiesArgs.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 bucketName The name of an existing S3 bucket where the log files are to be stored.
* Constraints:
* - Must be in the same region as the cluster
* - The cluster must have read bucket and put object permissions
* @property s3KeyPrefix The prefix applied to the log file names.
* Constraints:
* - Cannot exceed 512 characters
* - Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
* - x00 to x20
* - x22
* - x27
* - x5c
* - x7f or larger
*/
public data class ClusterLoggingPropertiesArgs(
public val bucketName: Output? = null,
public val s3KeyPrefix: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.redshift.inputs.ClusterLoggingPropertiesArgs =
com.pulumi.awsnative.redshift.inputs.ClusterLoggingPropertiesArgs.builder()
.bucketName(bucketName?.applyValue({ args0 -> args0 }))
.s3KeyPrefix(s3KeyPrefix?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterLoggingPropertiesArgs].
*/
@PulumiTagMarker
public class ClusterLoggingPropertiesArgsBuilder internal constructor() {
private var bucketName: Output? = null
private var s3KeyPrefix: Output? = null
/**
* @param value The name of an existing S3 bucket where the log files are to be stored.
* Constraints:
* - Must be in the same region as the cluster
* - The cluster must have read bucket and put object permissions
*/
@JvmName("rolaxbinwsqbnmls")
public suspend fun bucketName(`value`: Output) {
this.bucketName = value
}
/**
* @param value The prefix applied to the log file names.
* Constraints:
* - Cannot exceed 512 characters
* - Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
* - x00 to x20
* - x22
* - x27
* - x5c
* - x7f or larger
*/
@JvmName("jmcwkxxlnijyyruc")
public suspend fun s3KeyPrefix(`value`: Output) {
this.s3KeyPrefix = value
}
/**
* @param value The name of an existing S3 bucket where the log files are to be stored.
* Constraints:
* - Must be in the same region as the cluster
* - The cluster must have read bucket and put object permissions
*/
@JvmName("vsgrwychiogtnuws")
public suspend fun bucketName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucketName = mapped
}
/**
* @param value The prefix applied to the log file names.
* Constraints:
* - Cannot exceed 512 characters
* - Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
* - x00 to x20
* - x22
* - x27
* - x5c
* - x7f or larger
*/
@JvmName("dsfrpyrvrxlnjoxp")
public suspend fun s3KeyPrefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3KeyPrefix = mapped
}
internal fun build(): ClusterLoggingPropertiesArgs = ClusterLoggingPropertiesArgs(
bucketName = bucketName,
s3KeyPrefix = s3KeyPrefix,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy