All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.compute.kotlin.outputs.BackendServiceSecuritySettings.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 BackendServiceSecuritySettings(
    public val clientTlsPolicy: String,
    public val subjectAltNames: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.BackendServiceSecuritySettings): BackendServiceSecuritySettings = BackendServiceSecuritySettings(
            clientTlsPolicy = javaType.clientTlsPolicy(),
            subjectAltNames = javaType.subjectAltNames().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy