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

com.pulumi.aws.s3.kotlin.outputs.BucketV2ReplicationConfigurationRuleSourceSelectionCriteria.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.s3.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property sseKmsEncryptedObjects Match SSE-KMS encrypted objects (documented below). If specified, `replica_kms_key_id`
 * in `destination` must be specified as well.
 */
public data class BucketV2ReplicationConfigurationRuleSourceSelectionCriteria(
    public val sseKmsEncryptedObjects: List? =
        null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.s3.outputs.BucketV2ReplicationConfigurationRuleSourceSelectionCriteria): BucketV2ReplicationConfigurationRuleSourceSelectionCriteria =
            BucketV2ReplicationConfigurationRuleSourceSelectionCriteria(
                sseKmsEncryptedObjects = javaType.sseKmsEncryptedObjects().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.s3.kotlin.outputs.BucketV2ReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObject.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy