asPublicCertificateAuthority
Casts this CertificateAuthority as a PublicCertificateAuthority and retrieves its aws.sdk.kotlin.services.acm.model.PublicCertificateAuthority value. Throws an exception if the CertificateAuthority is not a PublicCertificateAuthority.