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

com.pulumi.awsnative.lex.kotlin.inputs.BotS3BucketLogDestinationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lex.kotlin.inputs

import com.pulumi.awsnative.lex.inputs.BotS3BucketLogDestinationArgs.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

/**
 * Specifies an Amazon S3 bucket for logging audio conversations
 * @property kmsKeyArn The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
 * @property logPrefix The Amazon S3 key of the deployment package.
 * @property s3BucketArn The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
 */
public data class BotS3BucketLogDestinationArgs(
    public val kmsKeyArn: Output? = null,
    public val logPrefix: Output,
    public val s3BucketArn: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.lex.inputs.BotS3BucketLogDestinationArgs =
        com.pulumi.awsnative.lex.inputs.BotS3BucketLogDestinationArgs.builder()
            .kmsKeyArn(kmsKeyArn?.applyValue({ args0 -> args0 }))
            .logPrefix(logPrefix.applyValue({ args0 -> args0 }))
            .s3BucketArn(s3BucketArn.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BotS3BucketLogDestinationArgs].
 */
@PulumiTagMarker
public class BotS3BucketLogDestinationArgsBuilder internal constructor() {
    private var kmsKeyArn: Output? = null

    private var logPrefix: Output? = null

    private var s3BucketArn: Output? = null

    /**
     * @param value The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
     */
    @JvmName("qygvywmvvtgesjdg")
    public suspend fun kmsKeyArn(`value`: Output) {
        this.kmsKeyArn = value
    }

    /**
     * @param value The Amazon S3 key of the deployment package.
     */
    @JvmName("pvplmjgkwvgdkekm")
    public suspend fun logPrefix(`value`: Output) {
        this.logPrefix = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
     */
    @JvmName("cslgpbndghvfvrvd")
    public suspend fun s3BucketArn(`value`: Output) {
        this.s3BucketArn = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
     */
    @JvmName("horjjcsnjxuqevbl")
    public suspend fun kmsKeyArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyArn = mapped
    }

    /**
     * @param value The Amazon S3 key of the deployment package.
     */
    @JvmName("xbtwtrbsmipueqbc")
    public suspend fun logPrefix(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.logPrefix = mapped
    }

    /**
     * @param value The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
     */
    @JvmName("auoevlyjqniqkmtq")
    public suspend fun s3BucketArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.s3BucketArn = mapped
    }

    internal fun build(): BotS3BucketLogDestinationArgs = BotS3BucketLogDestinationArgs(
        kmsKeyArn = kmsKeyArn,
        logPrefix = logPrefix ?: throw PulumiNullFieldException("logPrefix"),
        s3BucketArn = s3BucketArn ?: throw PulumiNullFieldException("s3BucketArn"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy