com.pulumi.awsnative.lightsail.kotlin.LoadBalancerTlsCertificateArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lightsail.kotlin
import com.pulumi.awsnative.lightsail.LoadBalancerTlsCertificateArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::Lightsail::LoadBalancerTlsCertificate
* @property certificateAlternativeNames An array of strings listing alternative domains and subdomains for your SSL/TLS certificate.
* @property certificateDomainName The domain name (e.g., example.com ) for your SSL/TLS certificate.
* @property certificateName The SSL/TLS certificate name.
* @property httpsRedirectionEnabled A Boolean value that indicates whether HTTPS redirection is enabled for the load balancer.
* @property isAttached When true, the SSL/TLS certificate is attached to the Lightsail load balancer.
* @property loadBalancerName The name of your load balancer.
*/
public data class LoadBalancerTlsCertificateArgs(
public val certificateAlternativeNames: Output>? = null,
public val certificateDomainName: Output? = null,
public val certificateName: Output? = null,
public val httpsRedirectionEnabled: Output? = null,
public val isAttached: Output? = null,
public val loadBalancerName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lightsail.LoadBalancerTlsCertificateArgs =
com.pulumi.awsnative.lightsail.LoadBalancerTlsCertificateArgs.builder()
.certificateAlternativeNames(
certificateAlternativeNames?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.certificateDomainName(certificateDomainName?.applyValue({ args0 -> args0 }))
.certificateName(certificateName?.applyValue({ args0 -> args0 }))
.httpsRedirectionEnabled(httpsRedirectionEnabled?.applyValue({ args0 -> args0 }))
.isAttached(isAttached?.applyValue({ args0 -> args0 }))
.loadBalancerName(loadBalancerName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LoadBalancerTlsCertificateArgs].
*/
@PulumiTagMarker
public class LoadBalancerTlsCertificateArgsBuilder internal constructor() {
private var certificateAlternativeNames: Output>? = null
private var certificateDomainName: Output? = null
private var certificateName: Output? = null
private var httpsRedirectionEnabled: Output? = null
private var isAttached: Output? = null
private var loadBalancerName: Output? = null
/**
* @param value An array of strings listing alternative domains and subdomains for your SSL/TLS certificate.
*/
@JvmName("wyynaigrvdqnghun")
public suspend fun certificateAlternativeNames(`value`: Output>) {
this.certificateAlternativeNames = value
}
@JvmName("pqyqtgqogckvfxnu")
public suspend fun certificateAlternativeNames(vararg values: Output) {
this.certificateAlternativeNames = Output.all(values.asList())
}
/**
* @param values An array of strings listing alternative domains and subdomains for your SSL/TLS certificate.
*/
@JvmName("ksnqcouhpcqacubt")
public suspend fun certificateAlternativeNames(values: List