Interface CertificateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DnsValidatedCertificateProps
- All Known Implementing Classes:
CertificateProps.Jsii$Proxy
,DnsValidatedCertificateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.066Z")
@Stability(Stable)
public interface CertificateProps
extends software.amazon.jsii.JsiiSerializable
Properties for your certificate.
Example:
import software.amazon.awscdk.services.cloudwatch.*; HostedZone myHostedZone; Certificate certificate = Certificate.Builder.create(this, "Certificate") .domainName("hello.example.com") .validation(CertificateValidation.fromDns(myHostedZone)) .build(); certificate.metricDaysToExpiry().createAlarm(this, "Alarm", CreateAlarmOptions.builder() .comparisonOperator(ComparisonOperator.LESS_THAN_THRESHOLD) .evaluationPeriods(1) .threshold(45) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCertificateProps
static final class
An implementation forCertificateProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateProps.Builder
builder()
Fully-qualified domain name to request a certificate for.Alternative domain names on your certificate.default CertificateValidation
How to validate this certificate.Deprecated.default ValidationMethod
Deprecated.usevalidation
instead.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
Fully-qualified domain name to request a certificate for.May contain wildcards, such as
*.domain.com
. -
getSubjectAlternativeNames
Alternative domain names on your certificate.Use this to register alternative domain names that represent the same site.
Default: - No additional FQDNs will be included as alternative domain names.
-
getValidation
How to validate this certificate.Default: CertificateValidation.fromEmail()
-
getValidationDomains
Deprecated.usevalidation
instead.(deprecated) What validation domain to use for every requested domain.Has to be a superdomain of the requested domain.
Default: - Apex domain is used for every domain that's not overridden.
-
getValidationMethod
Deprecated.usevalidation
instead.(deprecated) Validation method used to assert domain ownership.Default: ValidationMethod.EMAIL
-
builder
- Returns:
- a
CertificateProps.Builder
ofCertificateProps
-
validation
instead.