
com.pulumi.gcp.appengine.kotlin.outputs.DomainMappingSslSettings.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.appengine.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property certificateId ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will
* remove SSL support.
* By default, a managed certificate is automatically created for every domain mapping. To omit SSL support
* or to configure SSL manually, specify `SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must be
* authorized to administer the `AuthorizedCertificate` resource to manually map it to a DomainMapping resource.
* Example: 12345.
* @property pendingManagedCertificateId (Output)
* ID of the managed `AuthorizedCertificate` resource currently being provisioned, if applicable. Until the new
* managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the
* provisioning process completes, the `certificateId` field will reflect the new managed certificate and this
* field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the
* `certificateId` field with an update request.
* @property sslManagementType SSL management type for this domain. If `AUTOMATIC`, a managed certificate is automatically provisioned.
* If `MANUAL`, `certificateId` must be manually specified in order to configure SSL for this domain.
* Possible values are: `AUTOMATIC`, `MANUAL`.
*/
public data class DomainMappingSslSettings(
public val certificateId: String? = null,
public val pendingManagedCertificateId: String? = null,
public val sslManagementType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.appengine.outputs.DomainMappingSslSettings): DomainMappingSslSettings = DomainMappingSslSettings(
certificateId = javaType.certificateId().map({ args0 -> args0 }).orElse(null),
pendingManagedCertificateId = javaType.pendingManagedCertificateId().map({ args0 ->
args0
}).orElse(null),
sslManagementType = javaType.sslManagementType(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy