Interface CfnCertificate.ApiPassthroughProperty

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

@Stability(Stable) public static interface CfnCertificate.ApiPassthroughProperty extends software.amazon.jsii.JsiiSerializable
Contains X.509 certificate information to be placed in an issued certificate. An APIPassthrough or APICSRPassthrough template variant must be selected, or else this parameter is ignored.

If conflicting or duplicate certificate information is supplied from other sources, AWS Private CA applies order of operation rules to determine what information is used.

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.*;
 ApiPassthroughProperty apiPassthroughProperty = ApiPassthroughProperty.builder()
         .extensions(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())
         .subject(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())
         .build();
 
  • Method Details

    • getExtensions

      @Stability(Stable) @Nullable default Object getExtensions()
      Specifies X.509 extension information for a certificate.
    • getSubject

      @Stability(Stable) @Nullable default Object getSubject()
      Contains information about the certificate subject.

      The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.

    • builder

      @Stability(Stable) static CfnCertificate.ApiPassthroughProperty.Builder builder()
      Returns:
      a CfnCertificate.ApiPassthroughProperty.Builder of CfnCertificate.ApiPassthroughProperty