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

com.pulumi.awsnative.events.kotlin.inputs.RuleAppSyncParametersArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.events.kotlin.inputs

import com.pulumi.awsnative.events.inputs.RuleAppSyncParametersArgs.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 graphQlOperation The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service.
 * For more information, see [Operations](https://docs.aws.amazon.com/appsync/latest/devguide/graphql-architecture.html#graphql-operations) in the *AWS AppSync User Guide* .
 */
public data class RuleAppSyncParametersArgs(
    public val graphQlOperation: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.events.inputs.RuleAppSyncParametersArgs =
        com.pulumi.awsnative.events.inputs.RuleAppSyncParametersArgs.builder()
            .graphQlOperation(graphQlOperation.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RuleAppSyncParametersArgs].
 */
@PulumiTagMarker
public class RuleAppSyncParametersArgsBuilder internal constructor() {
    private var graphQlOperation: Output? = null

    /**
     * @param value The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service.
     * For more information, see [Operations](https://docs.aws.amazon.com/appsync/latest/devguide/graphql-architecture.html#graphql-operations) in the *AWS AppSync User Guide* .
     */
    @JvmName("jkcuttnotckywpxv")
    public suspend fun graphQlOperation(`value`: Output) {
        this.graphQlOperation = value
    }

    /**
     * @param value The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service.
     * For more information, see [Operations](https://docs.aws.amazon.com/appsync/latest/devguide/graphql-architecture.html#graphql-operations) in the *AWS AppSync User Guide* .
     */
    @JvmName("lcblyjsyhgmdanav")
    public suspend fun graphQlOperation(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.graphQlOperation = mapped
    }

    internal fun build(): RuleAppSyncParametersArgs = RuleAppSyncParametersArgs(
        graphQlOperation = graphQlOperation ?: throw PulumiNullFieldException("graphQlOperation"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy