
com.pulumi.aws.appconfig.kotlin.inputs.ConfigurationProfileValidatorArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.appconfig.kotlin.inputs
import com.pulumi.aws.appconfig.inputs.ConfigurationProfileValidatorArgs.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 content Either the JSON Schema content or the ARN of an AWS Lambda function.
* @property type Type of validator. Valid values: `JSON_SCHEMA` and `LAMBDA`.
*/
public data class ConfigurationProfileValidatorArgs(
public val content: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appconfig.inputs.ConfigurationProfileValidatorArgs =
com.pulumi.aws.appconfig.inputs.ConfigurationProfileValidatorArgs.builder()
.content(content?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConfigurationProfileValidatorArgs].
*/
@PulumiTagMarker
public class ConfigurationProfileValidatorArgsBuilder internal constructor() {
private var content: Output? = null
private var type: Output? = null
/**
* @param value Either the JSON Schema content or the ARN of an AWS Lambda function.
*/
@JvmName("svxkyjdoqopvfdvk")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value Type of validator. Valid values: `JSON_SCHEMA` and `LAMBDA`.
*/
@JvmName("ocrntgusmwohujir")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Either the JSON Schema content or the ARN of an AWS Lambda function.
*/
@JvmName("pvgvnksjpehyibat")
public suspend fun content(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.content = mapped
}
/**
* @param value Type of validator. Valid values: `JSON_SCHEMA` and `LAMBDA`.
*/
@JvmName("nhkrmmoasxniocoh")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): ConfigurationProfileValidatorArgs = ConfigurationProfileValidatorArgs(
content = content,
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy