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

com.pulumi.awsnative.kinesisfirehose.kotlin.enums.DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kinesisfirehose.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
 */
public enum class DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode(
    public val javaValue: com.pulumi.awsnative.kinesisfirehose.enums.DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode,
) :
    ConvertibleToJava {
    FailedDocumentsOnly(com.pulumi.awsnative.kinesisfirehose.enums.DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode.FailedDocumentsOnly),
    AllDocuments(com.pulumi.awsnative.kinesisfirehose.enums.DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode.AllDocuments),
    ;

    override fun toJava(): com.pulumi.awsnative.kinesisfirehose.enums.DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kinesisfirehose.enums.DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode): DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode =
            DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy