
com.pulumi.awsnative.amplify.kotlin.outputs.GetDomainResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.amplify.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn ARN for the Domain Association.
* @property autoSubDomainCreationPatterns Sets the branch patterns for automatic subdomain creation.
* @property autoSubDomainIamRole The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
* @property certificate
* @property certificateRecord DNS Record for certificate verification.
* @property domainStatus Status for the Domain Association.
* @property enableAutoSubDomain Enables the automated creation of subdomains for branches.
* @property statusReason Reason for the current status of the domain.
* @property subDomainSettings The setting for the subdomain.
* @property updateStatus The status of the domain update operation that is currently in progress. The following list describes the valid update states.
* - **REQUESTING_CERTIFICATE** - The certificate is in the process of being updated.
* - **PENDING_VERIFICATION** - Indicates that an Amplify managed certificate is in the process of being verified. This occurs during the creation of a custom domain or when a custom domain is updated to use a managed certificate.
* - **IMPORTING_CUSTOM_CERTIFICATE** - Indicates that an Amplify custom certificate is in the process of being imported. This occurs during the creation of a custom domain or when a custom domain is updated to use a custom certificate.
* - **PENDING_DEPLOYMENT** - Indicates that the subdomain or certificate changes are being propagated.
* - **AWAITING_APP_CNAME** - Amplify is waiting for CNAME records corresponding to subdomains to be propagated. If your custom domain is on Route 53, Amplify handles this for you automatically. For more information about custom domains, see [Setting up custom domains](https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html) in the *Amplify Hosting User Guide* .
* - **UPDATE_COMPLETE** - The certificate has been associated with a domain.
* - **UPDATE_FAILED** - The certificate has failed to be provisioned or associated, and there is no existing active certificate to roll back to.
*/
public data class GetDomainResult(
public val arn: String? = null,
public val autoSubDomainCreationPatterns: List? = null,
public val autoSubDomainIamRole: String? = null,
public val certificate: DomainCertificate? = null,
public val certificateRecord: String? = null,
public val domainStatus: String? = null,
public val enableAutoSubDomain: Boolean? = null,
public val statusReason: String? = null,
public val subDomainSettings: List? = null,
public val updateStatus: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.amplify.outputs.GetDomainResult): GetDomainResult = GetDomainResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
autoSubDomainCreationPatterns = javaType.autoSubDomainCreationPatterns().map({ args0 -> args0 }),
autoSubDomainIamRole = javaType.autoSubDomainIamRole().map({ args0 -> args0 }).orElse(null),
certificate = javaType.certificate().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplify.kotlin.outputs.DomainCertificate.Companion.toKotlin(args0)
})
}).orElse(null),
certificateRecord = javaType.certificateRecord().map({ args0 -> args0 }).orElse(null),
domainStatus = javaType.domainStatus().map({ args0 -> args0 }).orElse(null),
enableAutoSubDomain = javaType.enableAutoSubDomain().map({ args0 -> args0 }).orElse(null),
statusReason = javaType.statusReason().map({ args0 -> args0 }).orElse(null),
subDomainSettings = javaType.subDomainSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplify.kotlin.outputs.DomainSubDomainSetting.Companion.toKotlin(args0)
})
}),
updateStatus = javaType.updateStatus().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy