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

com.pulumi.aws.ses.kotlin.outputs.ReceiptRuleS3Action.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.ses.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property bucketName The name of the S3 bucket
 * @property iamRoleArn The ARN of the IAM role to be used by Amazon Simple Email Service while writing to the Amazon S3 bucket, optionally encrypting your mail via the provided customer managed key, and publishing to the Amazon SNS topic
 * @property kmsKeyArn The ARN of the KMS key
 * @property objectKeyPrefix The key prefix of the S3 bucket
 * @property position The position of the action in the receipt rule
 * @property topicArn The ARN of an SNS topic to notify
 */
public data class ReceiptRuleS3Action(
    public val bucketName: String,
    public val iamRoleArn: String? = null,
    public val kmsKeyArn: String? = null,
    public val objectKeyPrefix: String? = null,
    public val position: Int,
    public val topicArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.ses.outputs.ReceiptRuleS3Action): ReceiptRuleS3Action = ReceiptRuleS3Action(
            bucketName = javaType.bucketName(),
            iamRoleArn = javaType.iamRoleArn().map({ args0 -> args0 }).orElse(null),
            kmsKeyArn = javaType.kmsKeyArn().map({ args0 -> args0 }).orElse(null),
            objectKeyPrefix = javaType.objectKeyPrefix().map({ args0 -> args0 }).orElse(null),
            position = javaType.position(),
            topicArn = javaType.topicArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy