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

com.pulumi.aws.kinesis.kotlin.inputs.AnalyticsApplicationInputsKinesisStreamArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.kinesis.kotlin.inputs

import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsKinesisStreamArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property resourceArn The ARN of the Kinesis Stream.
 * @property roleArn The ARN of the IAM Role used to access the stream.
 */
public data class AnalyticsApplicationInputsKinesisStreamArgs(
    public val resourceArn: Output,
    public val roleArn: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsKinesisStreamArgs =
        com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsKinesisStreamArgs.builder()
            .resourceArn(resourceArn.applyValue({ args0 -> args0 }))
            .roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AnalyticsApplicationInputsKinesisStreamArgs].
 */
@PulumiTagMarker
public class AnalyticsApplicationInputsKinesisStreamArgsBuilder internal constructor() {
    private var resourceArn: Output? = null

    private var roleArn: Output? = null

    /**
     * @param value The ARN of the Kinesis Stream.
     */
    @JvmName("uidtecwljjlakssh")
    public suspend fun resourceArn(`value`: Output) {
        this.resourceArn = value
    }

    /**
     * @param value The ARN of the IAM Role used to access the stream.
     */
    @JvmName("beeawvhnbjtbpflm")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

    /**
     * @param value The ARN of the Kinesis Stream.
     */
    @JvmName("uewywfcjfherinnr")
    public suspend fun resourceArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.resourceArn = mapped
    }

    /**
     * @param value The ARN of the IAM Role used to access the stream.
     */
    @JvmName("popguxhtosicxsru")
    public suspend fun roleArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.roleArn = mapped
    }

    internal fun build(): AnalyticsApplicationInputsKinesisStreamArgs =
        AnalyticsApplicationInputsKinesisStreamArgs(
            resourceArn = resourceArn ?: throw PulumiNullFieldException("resourceArn"),
            roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy