com.pulumi.aws.s3.kotlin.outputs.BucketNotificationQueue.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.s3.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property events Specifies [event](http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations) for which to send notifications.
* @property filterPrefix Object key name prefix.
* @property filterSuffix Object key name suffix.
* @property id Unique identifier for each of the notification configurations.
* @property queueArn SQS queue ARN.
*/
public data class BucketNotificationQueue(
public val events: List,
public val filterPrefix: String? = null,
public val filterSuffix: String? = null,
public val id: String? = null,
public val queueArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.s3.outputs.BucketNotificationQueue): BucketNotificationQueue = BucketNotificationQueue(
events = javaType.events().map({ args0 -> args0 }),
filterPrefix = javaType.filterPrefix().map({ args0 -> args0 }).orElse(null),
filterSuffix = javaType.filterSuffix().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
queueArn = javaType.queueArn(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy