![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.route53.kotlin.HealthCheckArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.route53.kotlin
import com.pulumi.awsnative.route53.HealthCheckArgs.builder
import com.pulumi.awsnative.route53.kotlin.inputs.HealthCheckConfigPropertiesArgs
import com.pulumi.awsnative.route53.kotlin.inputs.HealthCheckConfigPropertiesArgsBuilder
import com.pulumi.awsnative.route53.kotlin.inputs.HealthCheckTagArgs
import com.pulumi.awsnative.route53.kotlin.inputs.HealthCheckTagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::Route53::HealthCheck.
* @property healthCheckConfig A complex type that contains information about the health check.
* @property healthCheckTags An array of key-value pairs to apply to this resource.
*/
public data class HealthCheckArgs(
public val healthCheckConfig: Output? = null,
public val healthCheckTags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.route53.HealthCheckArgs =
com.pulumi.awsnative.route53.HealthCheckArgs.builder()
.healthCheckConfig(healthCheckConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.healthCheckTags(
healthCheckTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [HealthCheckArgs].
*/
@PulumiTagMarker
public class HealthCheckArgsBuilder internal constructor() {
private var healthCheckConfig: Output? = null
private var healthCheckTags: Output>? = null
/**
* @param value A complex type that contains information about the health check.
*/
@JvmName("sjgvkygmmuqgaahh")
public suspend fun healthCheckConfig(`value`: Output) {
this.healthCheckConfig = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("xvinedyhlqutqqou")
public suspend fun healthCheckTags(`value`: Output>) {
this.healthCheckTags = value
}
@JvmName("jyayjmhyptcpxtqh")
public suspend fun healthCheckTags(vararg values: Output) {
this.healthCheckTags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("uotoyveodnlaeamv")
public suspend fun healthCheckTags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy