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

com.pulumi.aws.ecs.kotlin.outputs.ClusterConfigurationExecuteCommandConfigurationLogConfiguration.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.ecs.kotlin.outputs

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

/**
 *
 * @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 ClusterConfigurationExecuteCommandConfigurationLogConfiguration(
    public val cloudWatchEncryptionEnabled: Boolean? = null,
    public val cloudWatchLogGroupName: String? = null,
    public val s3BucketEncryptionEnabled: Boolean? = null,
    public val s3BucketName: String? = null,
    public val s3KeyPrefix: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.ecs.outputs.ClusterConfigurationExecuteCommandConfigurationLogConfiguration): ClusterConfigurationExecuteCommandConfigurationLogConfiguration =
            ClusterConfigurationExecuteCommandConfigurationLogConfiguration(
                cloudWatchEncryptionEnabled = javaType.cloudWatchEncryptionEnabled().map({ args0 ->
                    args0
                }).orElse(null),
                cloudWatchLogGroupName = javaType.cloudWatchLogGroupName().map({ args0 -> args0 }).orElse(null),
                s3BucketEncryptionEnabled = javaType.s3BucketEncryptionEnabled().map({ args0 ->
                    args0
                }).orElse(null),
                s3BucketName = javaType.s3BucketName().map({ args0 -> args0 }).orElse(null),
                s3KeyPrefix = javaType.s3KeyPrefix().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy