import { Value } from '../../../cloudformation/Value';
/**
  <code>DomainValidationOption</code> is a property of the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html">AWS::CertificateManager::Certificate</a> resource that specifies the AWS Certificate Manager (ACM) certificate domain to validate. Depending on the chosen validation method, ACM checks the domain’s DNS record for a validation CNAME, or it attempts to send a validation email message to the domain owner.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html">the AWS Docs</a>
*/
export interface DomainValidationOptionProps {
    /** <code>DomainName</code>  <a name="cfn-certificatemanager-certificate-domainvalidationoptions-domainname"></a>
  A fully qualified domain name (FQDN) in the certificate request.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>253</code><br />
  
  Pattern: <code>^(\*\.)?(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    domainName: Value<string>;
    /** <code>HostedZoneId</code>  <a name="cfn-certificatemanager-certificate-domainvalidationoption-hostedzoneid"></a>
  The <code>HostedZoneId</code> option, which is available if you are using Route 53 as your domain registrar, causes ACM to add your CNAME to the domain record. Your list of <code>DomainValidationOptions</code> must contain one and only one of the domain-validation options, and the <code>HostedZoneId</code> can be used only when <code>DNS</code> is specified as your validation method.<br />
  Use the Route 53 <code>ListHostedZones</code> API to discover IDs for available hosted zones.<br />
  This option is required for publicly trusted certificates.<br />
  The <code>ListHostedZones</code> API returns IDs in the format “/hostedzone/Z111111QQQQQQQ”, but CloudFormation requires the IDs to be in the format “Z111111QQQQQQQ”.
  When you change your <code>DomainValidationOptions</code>, a new resource is created.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    hostedZoneId?: Value<string>;
    /** <p> */
    validationDomain?: Value<string>;
}
