
com.pulumi.awsnative.s3.kotlin.outputs.BucketSourceSelectionCriteria.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.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