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
allowExportoptionalbooleanallow_exportoptionalboolallowExportoptionalBooleanAllowExportoptionalboolAllowExportoptional*bool= false#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
certificateNameoptionalstringcertificate_nameoptionalstrcertificateNameoptionalStringCertificateNameoptionalstringCertificateNameoptional*string#Default: the full, absolute path of this construct
Since the Certificate resource doesn't support providing a physical name, the value provided here will be recorded in the Name tag
May contain wildcards, such as *.domain.com.
keyAlgorithmoptionalKeyAlgorithmkey_algorithmoptionalKeyAlgorithmkeyAlgorithmoptionalKeyAlgorithmKeyAlgorithmoptionalKeyAlgorithmKeyAlgorithmoptionalKeyAlgorithm= KeyAlgorithm.RSA_2048#subjectAlternativeNamesoptionalstring[]subject_alternative_namesoptionaltyping.List[str]subjectAlternativeNamesoptionalList<String>SubjectAlternativeNamesoptionalstring[]SubjectAlternativeNamesoptional*[]*string#Default: No additional FQDNs will be included as alternative domain names.
Use this to register alternative domain names that represent the same site.
transparencyLoggingEnabledoptionalbooleantransparency_logging_enabledoptionalbooltransparencyLoggingEnabledoptionalBooleanTransparencyLoggingEnabledoptionalboolTransparencyLoggingEnabledoptional*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.
validationoptionalCertificateValidationvalidationoptionalCertificateValidationvalidationoptionalCertificateValidationValidationoptionalCertificateValidationValidationoptionalCertificateValidation#Default: CertificateValidation.fromEmail()