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

com.pulumi.aws.iot.kotlin.inputs.TopicRuleErrorActionElasticsearchArgs.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.iot.kotlin.inputs

import com.pulumi.aws.iot.inputs.TopicRuleErrorActionElasticsearchArgs.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 endpoint The endpoint of your Elasticsearch domain.
 * @property id The unique identifier for the document you are storing.
 * @property index The Elasticsearch index where you want to store your data.
 * @property roleArn The IAM role ARN that has access to Elasticsearch.
 * @property type The type of document you are storing.
 */
public data class TopicRuleErrorActionElasticsearchArgs(
    public val endpoint: Output,
    public val id: Output,
    public val index: Output,
    public val roleArn: Output,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.iot.inputs.TopicRuleErrorActionElasticsearchArgs =
        com.pulumi.aws.iot.inputs.TopicRuleErrorActionElasticsearchArgs.builder()
            .endpoint(endpoint.applyValue({ args0 -> args0 }))
            .id(id.applyValue({ args0 -> args0 }))
            .index(index.applyValue({ args0 -> args0 }))
            .roleArn(roleArn.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TopicRuleErrorActionElasticsearchArgs].
 */
@PulumiTagMarker
public class TopicRuleErrorActionElasticsearchArgsBuilder internal constructor() {
    private var endpoint: Output? = null

    private var id: Output? = null

    private var index: Output? = null

    private var roleArn: Output? = null

    private var type: Output? = null

    /**
     * @param value The endpoint of your Elasticsearch domain.
     */
    @JvmName("xpinggyxqlsjlbhq")
    public suspend fun endpoint(`value`: Output) {
        this.endpoint = value
    }

    /**
     * @param value The unique identifier for the document you are storing.
     */
    @JvmName("amxoobwadfptdbdm")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The Elasticsearch index where you want to store your data.
     */
    @JvmName("dpgaiyddnbllclsn")
    public suspend fun index(`value`: Output) {
        this.index = value
    }

    /**
     * @param value The IAM role ARN that has access to Elasticsearch.
     */
    @JvmName("tsynmiiussedvpbd")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

    /**
     * @param value The type of document you are storing.
     */
    @JvmName("dlcgwimawiunrqpt")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The endpoint of your Elasticsearch domain.
     */
    @JvmName("gjdfgnihtgavqhro")
    public suspend fun endpoint(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.endpoint = mapped
    }

    /**
     * @param value The unique identifier for the document you are storing.
     */
    @JvmName("egdhevxaukqxtsmg")
    public suspend fun id(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value The Elasticsearch index where you want to store your data.
     */
    @JvmName("skrwxaksqtdydnhh")
    public suspend fun index(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.index = mapped
    }

    /**
     * @param value The IAM role ARN that has access to Elasticsearch.
     */
    @JvmName("yccctpdnffbkysuf")
    public suspend fun roleArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.roleArn = mapped
    }

    /**
     * @param value The type of document you are storing.
     */
    @JvmName("iqwotbdenkukpxbf")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): TopicRuleErrorActionElasticsearchArgs =
        TopicRuleErrorActionElasticsearchArgs(
            endpoint = endpoint ?: throw PulumiNullFieldException("endpoint"),
            id = id ?: throw PulumiNullFieldException("id"),
            index = index ?: throw PulumiNullFieldException("index"),
            roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
            type = type ?: throw PulumiNullFieldException("type"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy