com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleSqsAction.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.iot.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property queueUrl The URL of the Amazon SQS queue.
* @property roleArn The ARN of the IAM role that grants access.
* @property useBase64 Specifies whether to use Base64 encoding.
*/
public data class TopicRuleSqsAction(
public val queueUrl: String,
public val roleArn: String,
public val useBase64: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleSqsAction): TopicRuleSqsAction = TopicRuleSqsAction(
queueUrl = javaType.queueUrl(),
roleArn = javaType.roleArn(),
useBase64 = javaType.useBase64().map({ args0 -> args0 }).orElse(null),
)
}
}