Class DnsValidatedCertificate
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.certificatemanager.DnsValidatedCertificate
- All Implemented Interfaces:
IConstruct
,IDependable
,IResource
,ITaggable
,ICertificate
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.098Z")
@Stability(Stable)
public class DnsValidatedCertificate
extends Resource
implements ICertificate, ITaggable
A certificate managed by AWS Certificate Manager.
Will be automatically validated using DNS validation against the specified Route 53 hosted zone.
Example:
HostedZone myHostedZone; DnsValidatedCertificate.Builder.create(this, "CrossRegionCertificate") .domainName("hello.example.com") .hostedZone(myHostedZone) .region("us-east-1") .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forDnsValidatedCertificate
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.certificatemanager.ICertificate
ICertificate.Jsii$Default, ICertificate.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
DnsValidatedCertificate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
DnsValidatedCertificate
(software.amazon.jsii.JsiiObjectRef objRef) DnsValidatedCertificate
(software.constructs.Construct scope, String id, DnsValidatedCertificateProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe certificate's ARN.protected String
If the certificate is provisionned in a different region than the containing stack, this should be the region in which the certificate lives so we can correctly createMetric
instances.getTags()
Resource Tags.Return the DaysToExpiry metric for this AWS Certificate Manager Certificate.metricDaysToExpiry
(MetricOptions props) Return the DaysToExpiry metric for this AWS Certificate Manager Certificate.validate()
Validate the current construct.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
DnsValidatedCertificate
protected DnsValidatedCertificate(software.amazon.jsii.JsiiObjectRef objRef) -
DnsValidatedCertificate
protected DnsValidatedCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DnsValidatedCertificate
@Stability(Stable) public DnsValidatedCertificate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DnsValidatedCertificateProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
metricDaysToExpiry
Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day.This metric is no longer emitted once the certificate has effectively expired, so alarms configured on this metric should probably treat missing data as "breaching".
- Specified by:
metricDaysToExpiry
in interfaceICertificate
- Parameters:
props
-
-
metricDaysToExpiry
Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day.This metric is no longer emitted once the certificate has effectively expired, so alarms configured on this metric should probably treat missing data as "breaching".
- Specified by:
metricDaysToExpiry
in interfaceICertificate
-
validate
Validate the current construct.This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
-
getCertificateArn
The certificate's ARN.- Specified by:
getCertificateArn
in interfaceICertificate
-
getTags
Resource Tags. -
getRegion
If the certificate is provisionned in a different region than the containing stack, this should be the region in which the certificate lives so we can correctly createMetric
instances.
-