toCertificateSource method

CertificateSource toCertificateSource()

Implementation

CertificateSource toCertificateSource() {
  switch (this) {
    case 'cloudfront':
      return CertificateSource.cloudfront;
    case 'iam':
      return CertificateSource.iam;
    case 'acm':
      return CertificateSource.acm;
  }
  throw Exception('$this is not known in enum CertificateSource');
}