
com.pulumi.gcp.compute.kotlin.inputs.BackendServiceSecuritySettingsArgs.kt Maven / Gradle / Ivy
@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.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property awsV4Authentication The configuration needed to generate a signature for access to private storage buckets that support AWS's Signature Version 4 for authentication.
* Allowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends.
* Structure is documented below.
* The `aws_v4_authentication` block supports:
* @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 awsV4Authentication: Output? =
null,
public val clientTlsPolicy: Output? = null,
public val subjectAltNames: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.compute.inputs.BackendServiceSecuritySettingsArgs =
com.pulumi.gcp.compute.inputs.BackendServiceSecuritySettingsArgs.builder()
.awsV4Authentication(
awsV4Authentication?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.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 awsV4Authentication: Output? =
null
private var clientTlsPolicy: Output? = null
private var subjectAltNames: Output>? = null
/**
* @param value The configuration needed to generate a signature for access to private storage buckets that support AWS's Signature Version 4 for authentication.
* Allowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends.
* Structure is documented below.
* The `aws_v4_authentication` block supports:
*/
@JvmName("sxuyojnkdgmeadsu")
public suspend fun awsV4Authentication(`value`: Output) {
this.awsV4Authentication = value
}
/**
* @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("qqneyssmqxvjgbwl")
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("ybmgsbjgdoppkpyp")
public suspend fun subjectAltNames(`value`: Output>) {
this.subjectAltNames = value
}
@JvmName("nstklanwkypnlaxj")
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("jxxqwaagytdbwulb")
public suspend fun subjectAltNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy