![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.inputs.TopicRuleSqsActionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.inputs
import com.pulumi.awsnative.iot.inputs.TopicRuleSqsActionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 TopicRuleSqsActionArgs(
public val queueUrl: Output,
public val roleArn: Output,
public val useBase64: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.inputs.TopicRuleSqsActionArgs =
com.pulumi.awsnative.iot.inputs.TopicRuleSqsActionArgs.builder()
.queueUrl(queueUrl.applyValue({ args0 -> args0 }))
.roleArn(roleArn.applyValue({ args0 -> args0 }))
.useBase64(useBase64?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TopicRuleSqsActionArgs].
*/
@PulumiTagMarker
public class TopicRuleSqsActionArgsBuilder internal constructor() {
private var queueUrl: Output? = null
private var roleArn: Output? = null
private var useBase64: Output? = null
/**
* @param value The URL of the Amazon SQS queue.
*/
@JvmName("iibvjemoaolhcrpy")
public suspend fun queueUrl(`value`: Output) {
this.queueUrl = value
}
/**
* @param value The ARN of the IAM role that grants access.
*/
@JvmName("beqocpsqawtxiidf")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value Specifies whether to use Base64 encoding.
*/
@JvmName("trvsjcurpspjdcia")
public suspend fun useBase64(`value`: Output) {
this.useBase64 = value
}
/**
* @param value The URL of the Amazon SQS queue.
*/
@JvmName("hnaqeenvvcplfbbu")
public suspend fun queueUrl(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.queueUrl = mapped
}
/**
* @param value The ARN of the IAM role that grants access.
*/
@JvmName("emnwmcnspxloeglm")
public suspend fun roleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleArn = mapped
}
/**
* @param value Specifies whether to use Base64 encoding.
*/
@JvmName("sapnmmkkgdtfjicc")
public suspend fun useBase64(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.useBase64 = mapped
}
internal fun build(): TopicRuleSqsActionArgs = TopicRuleSqsActionArgs(
queueUrl = queueUrl ?: throw PulumiNullFieldException("queueUrl"),
roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
useBase64 = useBase64,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy