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
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forDnsValidatedCertificate.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.certificatemanager.ICertificate
ICertificate.Jsii$Default, ICertificate.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDnsValidatedCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedDnsValidatedCertificate(software.amazon.jsii.JsiiObjectRef objRef) DnsValidatedCertificate(software.constructs.Construct scope, String id, DnsValidatedCertificateProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe certificate's ARN.protected StringIf 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 createMetricinstances.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, isResourceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesizeMethods inherited from class software.constructs.Construct
toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods 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:
metricDaysToExpiryin 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:
metricDaysToExpiryin 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:
getCertificateArnin 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 createMetricinstances.
-