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

com.pulumi.awsnative.apigatewayv2.kotlin.outputs.GetDomainNameResult.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.apigatewayv2.kotlin.outputs

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

/**
 *
 * @property domainNameConfigurations The domain name configurations.
 * @property mutualTlsAuthentication The mutual TLS authentication configuration for a custom domain name.
 * @property regionalDomainName The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name.
 * @property regionalHostedZoneId The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
 * @property tags The collection of tags associated with a domain name.
 */
public data class GetDomainNameResult(
    public val domainNameConfigurations: List? = null,
    public val mutualTlsAuthentication: DomainNameMutualTlsAuthentication? = null,
    public val regionalDomainName: String? = null,
    public val regionalHostedZoneId: String? = null,
    public val tags: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.apigatewayv2.outputs.GetDomainNameResult): GetDomainNameResult = GetDomainNameResult(
            domainNameConfigurations = javaType.domainNameConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.apigatewayv2.kotlin.outputs.DomainNameConfiguration.Companion.toKotlin(args0)
                })
            }),
            mutualTlsAuthentication = javaType.mutualTlsAuthentication().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.apigatewayv2.kotlin.outputs.DomainNameMutualTlsAuthentication.Companion.toKotlin(args0)
                })
            }).orElse(null),
            regionalDomainName = javaType.regionalDomainName().map({ args0 -> args0 }).orElse(null),
            regionalHostedZoneId = javaType.regionalHostedZoneId().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy