
com.pulumi.awsnative.amplify.kotlin.inputs.DomainCertificateSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.amplify.kotlin.inputs
import com.pulumi.awsnative.amplify.inputs.DomainCertificateSettingsArgs.builder
import com.pulumi.awsnative.amplify.kotlin.enums.DomainCertificateSettingsCertificateType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property certificateType The certificate type.
* Specify `AMPLIFY_MANAGED` to use the default certificate that Amplify provisions for you.
* Specify `CUSTOM` to use your own certificate that you have already added to AWS Certificate Manager in your AWS account . Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see [Importing certificates into AWS Certificate Manager](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the *ACM User guide* .
* @property customCertificateArn The Amazon resource name (ARN) for the custom certificate that you have already added to AWS Certificate Manager in your AWS account .
* This field is required only when the certificate type is `CUSTOM` .
*/
public data class DomainCertificateSettingsArgs(
public val certificateType: Output? = null,
public val customCertificateArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.amplify.inputs.DomainCertificateSettingsArgs =
com.pulumi.awsnative.amplify.inputs.DomainCertificateSettingsArgs.builder()
.certificateType(certificateType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.customCertificateArn(customCertificateArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DomainCertificateSettingsArgs].
*/
@PulumiTagMarker
public class DomainCertificateSettingsArgsBuilder internal constructor() {
private var certificateType: Output? = null
private var customCertificateArn: Output? = null
/**
* @param value The certificate type.
* Specify `AMPLIFY_MANAGED` to use the default certificate that Amplify provisions for you.
* Specify `CUSTOM` to use your own certificate that you have already added to AWS Certificate Manager in your AWS account . Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see [Importing certificates into AWS Certificate Manager](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the *ACM User guide* .
*/
@JvmName("fthwlrgnetkfdlsh")
public suspend fun certificateType(`value`: Output) {
this.certificateType = value
}
/**
* @param value The Amazon resource name (ARN) for the custom certificate that you have already added to AWS Certificate Manager in your AWS account .
* This field is required only when the certificate type is `CUSTOM` .
*/
@JvmName("mlgqcpjikyygjdrx")
public suspend fun customCertificateArn(`value`: Output) {
this.customCertificateArn = value
}
/**
* @param value The certificate type.
* Specify `AMPLIFY_MANAGED` to use the default certificate that Amplify provisions for you.
* Specify `CUSTOM` to use your own certificate that you have already added to AWS Certificate Manager in your AWS account . Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see [Importing certificates into AWS Certificate Manager](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the *ACM User guide* .
*/
@JvmName("htrwxqiyrseopdvl")
public suspend fun certificateType(`value`: DomainCertificateSettingsCertificateType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificateType = mapped
}
/**
* @param value The Amazon resource name (ARN) for the custom certificate that you have already added to AWS Certificate Manager in your AWS account .
* This field is required only when the certificate type is `CUSTOM` .
*/
@JvmName("lharridwxxklhwpm")
public suspend fun customCertificateArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customCertificateArn = mapped
}
internal fun build(): DomainCertificateSettingsArgs = DomainCertificateSettingsArgs(
certificateType = certificateType,
customCertificateArn = customCertificateArn,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy