Interface CfnTemplate.CertificateValidityProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.CertificateValidityProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
This parameter sets the “Not After” date for the certificate. Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280. This value is unaffected when ValidityNotBefore is also specified. For example, if Validity is set to 20 days in the future, the certificate will expire 20 days from issuance time regardless of the ValidityNotBefore value.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pcaconnectorad.*; CertificateValidityProperty certificateValidityProperty = CertificateValidityProperty.builder() .renewalPeriod(ValidityPeriodProperty.builder() .period(123) .periodType("periodType") .build()) .validityPeriod(ValidityPeriodProperty.builder() .period(123) .periodType("periodType") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTemplate.CertificateValidityProperty
static final class
An implementation forCfnTemplate.CertificateValidityProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Renewal period is the period of time before certificate expiration when a new certificate will be requested.Information describing the end of the validity period of the certificate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRenewalPeriod
Renewal period is the period of time before certificate expiration when a new certificate will be requested.- See Also:
-
getValidityPeriod
Information describing the end of the validity period of the certificate.This parameter sets the “Not After” date for the certificate. Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280. This value is unaffected when ValidityNotBefore is also specified. For example, if Validity is set to 20 days in the future, the certificate will expire 20 days from issuance time regardless of the ValidityNotBefore value.
- See Also:
-
builder
-