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

com.pulumi.gcp.kms.kotlin.outputs.EkmConnectionServiceResolver.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.kms.kotlin.outputs

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

/**
 *
 * @property endpointFilter Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
 * @property hostname Required. The hostname of the EKM replica used at TLS and HTTP layers.
 * @property serverCertificates Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.
 * Structure is documented below.
 * @property serviceDirectoryService Required. The resource name of the Service Directory service pointing to an EKM replica, in the format projects/*/locations/*/namespaces/*/services/*
 * */*/*/*/
 */
public data class EkmConnectionServiceResolver(
    public val endpointFilter: String? = null,
    public val hostname: String,
    public val serverCertificates: List,
    public val serviceDirectoryService: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.kms.outputs.EkmConnectionServiceResolver): EkmConnectionServiceResolver = EkmConnectionServiceResolver(
            endpointFilter = javaType.endpointFilter().map({ args0 -> args0 }).orElse(null),
            hostname = javaType.hostname(),
            serverCertificates = javaType.serverCertificates().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.kms.kotlin.outputs.EkmConnectionServiceResolverServerCertificate.Companion.toKotlin(args0)
                })
            }),
            serviceDirectoryService = javaType.serviceDirectoryService(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy