import { Value } from '../../cloudformation/Value';
import { DomainValidationOptionProps } from './certificate/DomainValidationOptionProps';
import { Tag } from '../Tag';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::CertificateManager::Certificate</code> resource requests an AWS Certificate Manager (ACM) certificate that you can use to enable secure connections. For example, you can deploy an ACM certificate to an Elastic Load Balancer to enable HTTPS support. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_RequestCertificate.html">RequestCertificate</a> in the AWS Certificate Manager API Reference.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html">the AWS Docs</a>
*/
export type Certificate = AwsResource<'AWS::CertificateManager::Certificate', CertificateProperties>;
export declare function certificate(certificateProps: CertificateProperties): Certificate;
/**
  The <code>AWS::CertificateManager::Certificate</code> resource requests an AWS Certificate Manager (ACM) certificate that you can use to enable secure connections. For example, you can deploy an ACM certificate to an Elastic Load Balancer to enable HTTPS support. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_RequestCertificate.html">RequestCertificate</a> in the AWS Certificate Manager API Reference.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html">the AWS Docs</a>
*/
export interface CertificateProperties {
    /** <code>CertificateAuthorityArn</code>  <a name="cfn-certificatemanager-certificate-certificateauthorityarn"></a>
  The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used to issue the certificate. If you do not provide an ARN and you are trying to request a private certificate, ACM will attempt to issue a public certificate. For more information about private CAs, see the <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html">AWS Private Certificate Authority</a> user guide. The ARN must have the following form:<br />
  <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code><br />
  
  Required: No<br />
  
  Minimum: <code>20</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>arn:[\w+=/,.@-]+:acm-pca:[\w+=/,.@-]*:[0-9]+:[\w+=,.@-]+(/[\w+=,.@-]+)*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    certificateAuthorityArn?: Value<string>;
    /** <code>CertificateTransparencyLoggingPreference</code>  <a name="cfn-certificatemanager-certificate-certificatetransparencyloggingpreference"></a>
  You can opt out of certificate transparency logging by specifying the <code>DISABLED</code> option. Opt in by specifying <code>ENABLED</code>.<br />
  If you do not specify a certificate transparency logging preference on a new CloudFormation template, or if you remove the logging preference from an existing template, this is the same as explicitly enabling the preference.<br />
  Changing the certificate transparency logging preference will update the existing resource by calling <code>UpdateCertificateOptions</code> on the certificate. This action will not create a new resource.<br />
  
  Required: No<br />
  
  Allowed values: <code>DISABLED | ENABLED</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> */
    certificateTransparencyLoggingPreference?: Value<'DISABLED' | 'ENABLED'>;
    /** <code>DomainName</code>  <a name="cfn-certificatemanager-certificate-domainname"></a>
  The fully qualified domain name (FQDN), such as www.example.com, with which you want to secure an ACM certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, <code>*.example.com</code> protects <code>www.example.com</code>, <code>site.example.com</code>, and <code>images.example.com.</code><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-replacement">Replacement</a> */
    domainName: Value<string>;
    /** <code>DomainValidationOptions</code>  <a name="cfn-certificatemanager-certificate-domainvalidationoptions"></a>
  Domain information that domain name registrars use to verify your identity.<br />
  In order for a AWS::CertificateManager::Certificate to be provisioned and validated in CloudFormation automatically, the <code>DomainName</code> property needs to be identical to one of the <code>DomainName</code> property supplied in DomainValidationOptions, if the ValidationMethod is **DNS**. Failing to keep them like-for-like will result in failure to create the domain validation records in Route53.
  
  Required: No<br />
  
  Maximum: <code>100</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    domainValidationOptions?: DomainValidationOptionProps[];
    /** <code>KeyAlgorithm</code>  <a name="cfn-certificatemanager-certificate-keyalgorithm"></a>
  Property description not available.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    keyAlgorithm?: Value<string>;
    /** <code>SubjectAlternativeNames</code>  <a name="cfn-certificatemanager-certificate-subjectalternativenames"></a>
  Additional FQDNs to be included in the Subject Alternative Name extension of the ACM certificate. For example, you can add www.example.net to a certificate for which the <code>DomainName</code> field is www.example.com if users can reach your site by using either name.<br />
  
  Required: No<br />
  
  Maximum: <code>100</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    subjectAlternativeNames?: Value<Value<string>[]>;
    /** <code>Tags</code>  <a name="cfn-certificatemanager-certificate-tags"></a>
  Key-value pairs that can identify the certificate.<br />
  
  Required: No<br />
  
  Maximum: <code>50</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> */
    tags?: Tag[];
    /** <code>ValidationMethod</code>  <a name="cfn-certificatemanager-certificate-validationmethod"></a>
  The method you want to use to validate that you own or control the domain associated with a public certificate. You can <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html">validate with DNS</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html">validate with email</a>. We recommend that you use DNS validation.<br />
  If not specified, this property defaults to email validation.<br />
  
  Required: No<br />
  
  Allowed values: <code>DNS | EMAIL</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    validationMethod?: Value<'DNS' | 'EMAIL'>;
}
