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

com.pulumi.awsnative.s3.kotlin.outputs.BucketSourceSelectionCriteria.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.s3.kotlin.outputs

import kotlin.Suppress

/**
 * A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects.
 * @property replicaModifications A filter that you can specify for selection for modifications on replicas.
 * @property sseKmsEncryptedObjects A container for filter information for the selection of Amazon S3 objects encrypted with AWS KMS.
 */
public data class BucketSourceSelectionCriteria(
    public val replicaModifications: BucketReplicaModifications? = null,
    public val sseKmsEncryptedObjects: BucketSseKmsEncryptedObjects? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.s3.outputs.BucketSourceSelectionCriteria): BucketSourceSelectionCriteria = BucketSourceSelectionCriteria(
            replicaModifications = javaType.replicaModifications().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.s3.kotlin.outputs.BucketReplicaModifications.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sseKmsEncryptedObjects = javaType.sseKmsEncryptedObjects().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.s3.kotlin.outputs.BucketSseKmsEncryptedObjects.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy