@Stability(value=Stable)
public static interface CfnCertificateAuthority.RevocationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The following requirements apply to revocation configurations.
- A configuration disabling CRLs or OCSP must contain only the
Enabled=Falseparameter, and will fail if other parameters such asCustomCnameorExpirationInDaysare included.- In a CRL configuration, the
S3BucketNameparameter must conform to the Amazon S3 bucket naming rules .- A configuration containing a custom Canonical Name (CNAME) parameter for CRLs or OCSP must conform to RFC2396 restrictions on the use of special characters in a CNAME.
- In a CRL or OCSP configuration, the value of a CNAME parameter must not include a protocol prefix such as "http://" or "https://".
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.acmpca.*;
RevocationConfigurationProperty revocationConfigurationProperty = RevocationConfigurationProperty.builder()
.crlConfiguration(CrlConfigurationProperty.builder()
.customCname("customCname")
.enabled(false)
.expirationInDays(123)
.s3BucketName("s3BucketName")
.s3ObjectAcl("s3ObjectAcl")
.build())
.ocspConfiguration(OcspConfigurationProperty.builder()
.enabled(false)
.ocspCustomCname("ocspCustomCname")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCertificateAuthority.RevocationConfigurationProperty.Builder
A builder for
CfnCertificateAuthority.RevocationConfigurationProperty |
static class |
CfnCertificateAuthority.RevocationConfigurationProperty.Jsii$Proxy
An implementation for
CfnCertificateAuthority.RevocationConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCertificateAuthority.RevocationConfigurationProperty.Builder |
builder() |
default Object |
getCrlConfiguration()
Configuration of the certificate revocation list (CRL), if any, maintained by your private CA.
|
default Object |
getOcspConfiguration()
Configuration of Online Certificate Status Protocol (OCSP) support, if any, maintained by your private CA.
|
@Stability(value=Stable) @Nullable default Object getCrlConfiguration()
@Stability(value=Stable) @Nullable default Object getOcspConfiguration()
@Stability(value=Stable) static CfnCertificateAuthority.RevocationConfigurationProperty.Builder builder()
Copyright © 2023. All rights reserved.