SourceData

sealed class SourceData

The data field of the trust anchor depending on its type.

Inheritors

Types

Link copied to clipboard
data class AcmPcaArn(val value: String) : SourceData

The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests. Included for trust anchors of type AWS_ACM_PCA.

Link copied to clipboard
Link copied to clipboard
data class X509CertificateData(val value: String) : SourceData

The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE.

Functions

Link copied to clipboard

Casts this SourceData as a AcmPcaArn and retrieves its kotlin.String value. Throws an exception if the SourceData is not a AcmPcaArn.

Link copied to clipboard

Casts this SourceData as a AcmPcaArn and retrieves its kotlin.String value. Returns null if the SourceData is not a AcmPcaArn.

Link copied to clipboard

Casts this SourceData as a X509CertificateData and retrieves its kotlin.String value. Throws an exception if the SourceData is not a X509CertificateData.

Link copied to clipboard

Casts this SourceData as a X509CertificateData and retrieves its kotlin.String value. Returns null if the SourceData is not a X509CertificateData.