com.pulumi.aws.appfabric.kotlin.inputs.IngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketArgs.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.appfabric.kotlin.inputs
import com.pulumi.aws.appfabric.inputs.IngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bucketName
* @property prefix The object key to use.
*/
public data class IngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketArgs(
public val bucketName: Output,
public val prefix: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appfabric.inputs.IngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketArgs =
com.pulumi.aws.appfabric.inputs.IngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketArgs.builder()
.bucketName(bucketName.applyValue({ args0 -> args0 }))
.prefix(prefix?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketArgs].
*/
@PulumiTagMarker
public class IngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketArgsBuilder
internal constructor() {
private var bucketName: Output? = null
private var prefix: Output? = null
/**
* @param value
*/
@JvmName("llkjyrusueaalnws")
public suspend fun bucketName(`value`: Output) {
this.bucketName = value
}
/**
* @param value The object key to use.
*/
@JvmName("lxcxevkwwwmsoecw")
public suspend fun prefix(`value`: Output) {
this.prefix = value
}
/**
* @param value
*/
@JvmName("thbdoeriyywyaqyn")
public suspend fun bucketName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.bucketName = mapped
}
/**
* @param value The object key to use.
*/
@JvmName("tbnicnpajatxqlkc")
public suspend fun prefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.prefix = mapped
}
internal fun build(): IngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketArgs = IngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketArgs(
bucketName = bucketName ?: throw PulumiNullFieldException("bucketName"),
prefix = prefix,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy