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

com.pulumi.awsnative.iotanalytics.kotlin.outputs.ChannelStorage.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.iotanalytics.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property customerManagedS3 Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the `retentionPeriod` parameter is ignored. You can't change the choice of S3 storage after the data store is created.
 * @property serviceManagedS3 Used to store channel data in an S3 bucket managed by AWS IoT Analytics . You can't change the choice of S3 storage after the data store is created.
 */
public data class ChannelStorage(
    public val customerManagedS3: ChannelCustomerManagedS3? = null,
    public val serviceManagedS3: ChannelServiceManagedS3? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotanalytics.outputs.ChannelStorage): ChannelStorage = ChannelStorage(
            customerManagedS3 = javaType.customerManagedS3().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotanalytics.kotlin.outputs.ChannelCustomerManagedS3.Companion.toKotlin(args0)
                })
            }).orElse(null),
            serviceManagedS3 = javaType.serviceManagedS3().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotanalytics.kotlin.outputs.ChannelServiceManagedS3.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy