CertificateProps Struct
Properties for your certificate.
Example
const exampleCom = new route53.HostedZone(this, 'ExampleCom', {
zoneName: 'example.com',
});
const exampleNet = new route53.HostedZone(this, 'ExampleNet', {
zoneName: 'example.net',
});
const cert = new acm.Certificate(this, 'Certificate', {
domainName: 'test.example.com',
subjectAlternativeNames: ['cool.example.com', 'test.example.net'],
validation: acm.CertificateValidation.fromDnsMultiZone({
'test.example.com': exampleCom,
'cool.example.com': exampleCom,
'test.example.net': exampleNet,
}),
});
Properties
If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews. Ref: https://aws.amazon.com/certificate-manager/pricing
certificateNamestringcertificate_namestrcertificateNameStringCertificateNamestringCertificateName*string= the full, absolute path of this …#Since the Certificate resource doesn't support providing a physical name, the value provided here will be recorded in the Name tag
default
Default: the full, absolute path of this construct
May contain wildcards, such as *.domain.com.
keyAlgorithmKeyAlgorithmkey_algorithmKeyAlgorithmkeyAlgorithmKeyAlgorithmKeyAlgorithmKeyAlgorithmKeyAlgorithmKeyAlgorithm= KeyAlgorithm.RSA_2048#subjectAlternativeNamesstring[]subject_alternative_namestyping.List[str]subjectAlternativeNamesList<String>SubjectAlternativeNamesstring[]SubjectAlternativeNames*[]*string= No additional FQDNs will be incl…#Use this to register alternative domain names that represent the same site.
default
Default: No additional FQDNs will be included as alternative domain names.
transparencyLoggingEnabledbooleantransparency_logging_enabledbooltransparencyLoggingEnabledBooleanTransparencyLoggingEnabledboolTransparencyLoggingEnabled*bool= true#notes
Once a certificate has been logged, it cannot be removed from the log. Opting out at that point will have no effect. If you opt out of logging when you request a certificate and then choose later to opt back in, your certificate will not be logged until it is renewed. If you want the certificate to be logged immediately, we recommend that you issue a new one.
validationCertificateValidationvalidationCertificateValidationvalidationCertificateValidationValidationCertificateValidationValidationCertificateValidation= CertificateValidation.fromEmail(…#default
Default: CertificateValidation.fromEmail()