@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-09T19:16:40.623Z") @Stability(value=Stable) public class DnsValidatedCertificate extends Resource implements ICertificate, ITaggable
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
DnsValidatedCertificate.Builder
A fluent builder for
DnsValidatedCertificate. |
software.amazon.jsii.JsiiObject.InitializationModeICertificate.Jsii$Default, ICertificate.Jsii$ProxyITaggable.Jsii$Default, ITaggable.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
DnsValidatedCertificate(software.constructs.Construct scope,
String id,
DnsValidatedCertificateProps props) |
protected |
DnsValidatedCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DnsValidatedCertificate(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCertificateArn()
The certificate's ARN.
|
protected String |
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 create `Metric` instances.
|
TagManager |
getTags()
Resource Tags.
|
Metric |
metricDaysToExpiry()
Return the DaysToExpiry metric for this AWS Certificate Manager Certificate.
|
Metric |
metricDaysToExpiry(MetricOptions props)
Return the DaysToExpiry metric for this AWS Certificate Manager Certificate.
|
protected List<String> |
validate()
Validate the current construct.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesizejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected DnsValidatedCertificate(software.amazon.jsii.JsiiObjectRef objRef)
protected DnsValidatedCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public DnsValidatedCertificate(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
DnsValidatedCertificateProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public Metric metricDaysToExpiry(@Nullable MetricOptions props)
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".
metricDaysToExpiry in interface ICertificateprops - @Stability(value=Stable) @NotNull public Metric metricDaysToExpiry()
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".
metricDaysToExpiry in interface ICertificate@Stability(value=Stable) @NotNull protected List<String> validate()
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
@Stability(value=Stable) @NotNull public String getCertificateArn()
getCertificateArn in interface ICertificate@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable protected String getRegion()
Copyright © 2022. All rights reserved.