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

com.pulumi.awsnative.redshift.kotlin.outputs.ClusterLoggingProperties.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.redshift.kotlin.outputs

import kotlin.String
import kotlin.Suppress

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy