com.pulumi.gcp.compute.kotlin.inputs.BackendServiceSecuritySettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.compute.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.BackendServiceSecuritySettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property clientTlsPolicy ClientTlsPolicy is a resource that specifies how a client should authenticate
* connections to backends of a service. This resource itself does not affect
* configuration unless it is attached to a backend service resource.
* @property subjectAltNames A list of alternate names to verify the subject identity in the certificate.
* If specified, the client will verify that the server certificate's subject
* alt name matches one of the specified values.
*/
public data class BackendServiceSecuritySettingsArgs(
public val clientTlsPolicy: Output,
public val subjectAltNames: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.compute.inputs.BackendServiceSecuritySettingsArgs =
com.pulumi.gcp.compute.inputs.BackendServiceSecuritySettingsArgs.builder()
.clientTlsPolicy(clientTlsPolicy.applyValue({ args0 -> args0 }))
.subjectAltNames(subjectAltNames.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [BackendServiceSecuritySettingsArgs].
*/
@PulumiTagMarker
public class BackendServiceSecuritySettingsArgsBuilder internal constructor() {
private var clientTlsPolicy: Output? = null
private var subjectAltNames: Output>? = null
/**
* @param value ClientTlsPolicy is a resource that specifies how a client should authenticate
* connections to backends of a service. This resource itself does not affect
* configuration unless it is attached to a backend service resource.
*/
@JvmName("jfupawbhwgcusmvv")
public suspend fun clientTlsPolicy(`value`: Output) {
this.clientTlsPolicy = value
}
/**
* @param value A list of alternate names to verify the subject identity in the certificate.
* If specified, the client will verify that the server certificate's subject
* alt name matches one of the specified values.
*/
@JvmName("ccguvjkpkdlqwecs")
public suspend fun subjectAltNames(`value`: Output>) {
this.subjectAltNames = value
}
@JvmName("bvgwxyljduivrnyp")
public suspend fun subjectAltNames(vararg values: Output) {
this.subjectAltNames = Output.all(values.asList())
}
/**
* @param values A list of alternate names to verify the subject identity in the certificate.
* If specified, the client will verify that the server certificate's subject
* alt name matches one of the specified values.
*/
@JvmName("srvxtxitlkgrnusw")
public suspend fun subjectAltNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy