com.pulumi.awsnative.kinesisfirehose.kotlin.enums.DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.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 }
}
}