Interface CfnCertificate.ExtensionsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCertificate.ExtensionsProperty.Jsii$Proxy
Enclosing class:
CfnCertificate

@Stability(Stable) public static interface CfnCertificate.ExtensionsProperty extends software.amazon.jsii.JsiiSerializable
Contains X.509 extension information for a certificate.

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.*;
 ExtensionsProperty extensionsProperty = ExtensionsProperty.builder()
         .certificatePolicies(List.of(PolicyInformationProperty.builder()
                 .certPolicyId("certPolicyId")
                 // the properties below are optional
                 .policyQualifiers(List.of(PolicyQualifierInfoProperty.builder()
                         .policyQualifierId("policyQualifierId")
                         .qualifier(QualifierProperty.builder()
                                 .cpsUri("cpsUri")
                                 .build())
                         .build()))
                 .build()))
         .customExtensions(List.of(CustomExtensionProperty.builder()
                 .objectIdentifier("objectIdentifier")
                 .value("value")
                 // the properties below are optional
                 .critical(false)
                 .build()))
         .extendedKeyUsage(List.of(ExtendedKeyUsageProperty.builder()
                 .extendedKeyUsageObjectIdentifier("extendedKeyUsageObjectIdentifier")
                 .extendedKeyUsageType("extendedKeyUsageType")
                 .build()))
         .keyUsage(KeyUsageProperty.builder()
                 .crlSign(false)
                 .dataEncipherment(false)
                 .decipherOnly(false)
                 .digitalSignature(false)
                 .encipherOnly(false)
                 .keyAgreement(false)
                 .keyCertSign(false)
                 .keyEncipherment(false)
                 .nonRepudiation(false)
                 .build())
         .subjectAlternativeNames(List.of(GeneralNameProperty.builder()
                 .directoryName(SubjectProperty.builder()
                         .commonName("commonName")
                         .country("country")
                         .customAttributes(List.of(CustomAttributeProperty.builder()
                                 .objectIdentifier("objectIdentifier")
                                 .value("value")
                                 .build()))
                         .distinguishedNameQualifier("distinguishedNameQualifier")
                         .generationQualifier("generationQualifier")
                         .givenName("givenName")
                         .initials("initials")
                         .locality("locality")
                         .organization("organization")
                         .organizationalUnit("organizationalUnit")
                         .pseudonym("pseudonym")
                         .serialNumber("serialNumber")
                         .state("state")
                         .surname("surname")
                         .title("title")
                         .build())
                 .dnsName("dnsName")
                 .ediPartyName(EdiPartyNameProperty.builder()
                         .nameAssigner("nameAssigner")
                         .partyName("partyName")
                         .build())
                 .ipAddress("ipAddress")
                 .otherName(OtherNameProperty.builder()
                         .typeId("typeId")
                         .value("value")
                         .build())
                 .registeredId("registeredId")
                 .rfc822Name("rfc822Name")
                 .uniformResourceIdentifier("uniformResourceIdentifier")
                 .build()))
         .build();
 

See Also: