@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:48.377Z") @Stability(value=Stable) public class PrivateCertificate extends Resource implements ICertificate
Example:
import software.amazon.awscdk.services.acmpca.*;
PrivateCertificate.Builder.create(this, "PrivateCertificate")
.domainName("test.example.com")
.subjectAlternativeNames(List.of("cool.example.com", "test.example.net")) // optional
.certificateAuthority(CertificateAuthority.fromCertificateAuthorityArn(this, "CA", "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
PrivateCertificate.Builder
A fluent builder for
PrivateCertificate. |
software.amazon.jsii.JsiiObject.InitializationModeICertificate.Jsii$Default, ICertificate.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
PrivateCertificate(software.constructs.Construct scope,
String id,
PrivateCertificateProps props) |
protected |
PrivateCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
PrivateCertificate(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static ICertificate |
fromCertificateArn(software.constructs.Construct scope,
String id,
String certificateArn)
Import a certificate.
|
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.
|
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.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected PrivateCertificate(software.amazon.jsii.JsiiObjectRef objRef)
protected PrivateCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public PrivateCertificate(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
PrivateCertificateProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public static ICertificate fromCertificateArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String certificateArn)
scope - This parameter is required.id - This parameter is required.certificateArn - 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 public String getCertificateArn()
getCertificateArn in interface ICertificate@Stability(value=Stable) @Nullable protected String getRegion()
Copyright © 2022. All rights reserved.