![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleS3Action.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import com.pulumi.awsnative.iot.kotlin.enums.TopicRuleCannedAccessControlList
import kotlin.String
import kotlin.Suppress
/**
*
* @property bucketName The Amazon S3 bucket.
* @property cannedAcl The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see [S3 canned ACLs](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) .
* @property key The object key. For more information, see [Actions, resources, and condition keys for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html) .
* @property roleArn The ARN of the IAM role that grants access.
*/
public data class TopicRuleS3Action(
public val bucketName: String,
public val cannedAcl: TopicRuleCannedAccessControlList? = null,
public val key: String,
public val roleArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleS3Action): TopicRuleS3Action = TopicRuleS3Action(
bucketName = javaType.bucketName(),
cannedAcl = javaType.cannedAcl().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iot.kotlin.enums.TopicRuleCannedAccessControlList.Companion.toKotlin(args0)
})
}).orElse(null),
key = javaType.key(),
roleArn = javaType.roleArn(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy