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

com.pulumi.aws.amplify.kotlin.outputs.DomainAssociationSubDomain.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.amplify.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property branchName Branch name setting for the subdomain.
 * @property dnsRecord DNS record for the subdomain in a space-prefixed and space-delimited format (` CNAME `).
 * @property prefix Prefix setting for the subdomain.
 * @property verified Verified status of the subdomain.
 */
public data class DomainAssociationSubDomain(
    public val branchName: String,
    public val dnsRecord: String? = null,
    public val prefix: String,
    public val verified: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.amplify.outputs.DomainAssociationSubDomain): DomainAssociationSubDomain = DomainAssociationSubDomain(
            branchName = javaType.branchName(),
            dnsRecord = javaType.dnsRecord().map({ args0 -> args0 }).orElse(null),
            prefix = javaType.prefix(),
            verified = javaType.verified().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy