
com.pulumi.azurenative.eventgrid.kotlin.inputs.AzureFunctionEventSubscriptionDestinationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.eventgrid.kotlin.inputs
import com.pulumi.azurenative.eventgrid.inputs.AzureFunctionEventSubscriptionDestinationArgs.builder
import com.pulumi.core.Either
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Information about the azure function destination for an event subscription.
* @property deliveryAttributeMappings Delivery attribute details.
* @property endpointType Type of the endpoint for the event subscription destination.
* Expected value is 'AzureFunction'.
* @property maxEventsPerBatch Maximum number of events per batch.
* @property preferredBatchSizeInKilobytes Preferred batch size in Kilobytes.
* @property resourceId The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
*/
public data class AzureFunctionEventSubscriptionDestinationArgs(
public val deliveryAttributeMappings: Output>>? =
null,
public val endpointType: Output,
public val maxEventsPerBatch: Output? = null,
public val preferredBatchSizeInKilobytes: Output? = null,
public val resourceId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.eventgrid.inputs.AzureFunctionEventSubscriptionDestinationArgs =
com.pulumi.azurenative.eventgrid.inputs.AzureFunctionEventSubscriptionDestinationArgs.builder()
.deliveryAttributeMappings(
deliveryAttributeMappings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform({ args0 -> args0.let({ args0 -> args0.toJava() }) }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
})
}),
)
.endpointType(endpointType.applyValue({ args0 -> args0 }))
.maxEventsPerBatch(maxEventsPerBatch?.applyValue({ args0 -> args0 }))
.preferredBatchSizeInKilobytes(preferredBatchSizeInKilobytes?.applyValue({ args0 -> args0 }))
.resourceId(resourceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureFunctionEventSubscriptionDestinationArgs].
*/
@PulumiTagMarker
public class AzureFunctionEventSubscriptionDestinationArgsBuilder internal constructor() {
private var deliveryAttributeMappings:
Output>>? =
null
private var endpointType: Output? = null
private var maxEventsPerBatch: Output? = null
private var preferredBatchSizeInKilobytes: Output? = null
private var resourceId: Output? = null
/**
* @param value Delivery attribute details.
*/
@JvmName("gnwtewtpbuwhjsrj")
public suspend fun deliveryAttributeMappings(`value`: Output>>) {
this.deliveryAttributeMappings = value
}
@JvmName("xkadeaigenemhrla")
public suspend fun deliveryAttributeMappings(vararg values: Output>) {
this.deliveryAttributeMappings = Output.all(values.asList())
}
/**
* @param values Delivery attribute details.
*/
@JvmName("ouninyknwjonsobm")
public suspend fun deliveryAttributeMappings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy