Interface CfnCertificateAuthority.SubjectProperty

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

@Stability(Stable) public static interface CfnCertificateAuthority.SubjectProperty extends software.amazon.jsii.JsiiSerializable
ASN1 subject for the certificate authority.

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.*;
 SubjectProperty subjectProperty = 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();
 
  • Method Details

    • getCommonName

      @Stability(Stable) @Nullable default String getCommonName()
      Fully qualified domain name (FQDN) associated with the certificate subject.
    • getCountry

      @Stability(Stable) @Nullable default String getCountry()
      Two-digit code that specifies the country in which the certificate subject located.
    • getCustomAttributes

      @Stability(Stable) @Nullable default Object getCustomAttributes()
      Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of which consists of an object identifier (OID) and a value. For more information, see NIST’s definition of Object Identifier (OID) .

      Custom attributes cannot be used in combination with standard attributes.

    • getDistinguishedNameQualifier

      @Stability(Stable) @Nullable default String getDistinguishedNameQualifier()
      Disambiguating information for the certificate subject.
    • getGenerationQualifier

      @Stability(Stable) @Nullable default String getGenerationQualifier()
      Typically a qualifier appended to the name of an individual.

      Examples include Jr. for junior, Sr. for senior, and III for third.

    • getGivenName

      @Stability(Stable) @Nullable default String getGivenName()
      First name.
    • getInitials

      @Stability(Stable) @Nullable default String getInitials()
      Concatenation that typically contains the first letter of the GivenName, the first letter of the middle name if one exists, and the first letter of the SurName.
    • getLocality

      @Stability(Stable) @Nullable default String getLocality()
      The locality (such as a city or town) in which the certificate subject is located.
    • getOrganization

      @Stability(Stable) @Nullable default String getOrganization()
      Legal name of the organization with which the certificate subject is affiliated.
    • getOrganizationalUnit

      @Stability(Stable) @Nullable default String getOrganizationalUnit()
      A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
    • getPseudonym

      @Stability(Stable) @Nullable default String getPseudonym()
      Typically a shortened version of a longer GivenName.

      For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.

    • getSerialNumber

      @Stability(Stable) @Nullable default String getSerialNumber()
      The certificate serial number.
    • getState

      @Stability(Stable) @Nullable default String getState()
      State in which the subject of the certificate is located.
    • getSurname

      @Stability(Stable) @Nullable default String getSurname()
      Family name.
    • getTitle

      @Stability(Stable) @Nullable default String getTitle()
      A personal title such as Mr.
    • builder

      @Stability(Stable) static CfnCertificateAuthority.SubjectProperty.Builder builder()
      Returns:
      a CfnCertificateAuthority.SubjectProperty.Builder of CfnCertificateAuthority.SubjectProperty