<?php

declare(strict_types=1);

namespace App\Framework\Deployment\Ssl\Events;

use App\Framework\Deployment\Ssl\ValueObjects\CertificateMode;
use App\Framework\Deployment\Ssl\ValueObjects\CertificateStatus;
use App\Framework\Deployment\Ssl\ValueObjects\DomainName;

/**
 * Event dispatched when a new SSL certificate is successfully obtained
 */
final readonly class SslCertificateObtained
{
    public function __construct(
        public DomainName $domain,
        public CertificateMode $mode,
        public CertificateStatus $status
    ) {}
}
