Interface CfnCertificate.GeneralNameProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnCertificate.GeneralNameProperty extends
Describes an ASN.1 X.400 GeneralName as defined in RFC 5280 . Only one of the following naming options should be provided. Providing more than one option results in an InvalidArgsException error.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 GeneralNameProperty generalNameProperty = GeneralNameProperty.builder()
  • Method Details

    • getDirectoryName

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

      The certificate can be one issued by your private certificate authority (CA) or it can be your private CA certificate. 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. The DN must be unique for each entity, but your private CA can issue more than one certificate with the same DN to the same entity.

    • getDnsName

      @Stability(Stable) @Nullable default String getDnsName()
      Represents GeneralName as a DNS name.
    • getEdiPartyName

      @Stability(Stable) @Nullable default Object getEdiPartyName()
      Represents GeneralName as an EdiPartyName object.
    • getIpAddress

      @Stability(Stable) @Nullable default String getIpAddress()
      Represents GeneralName as an IPv4 or IPv6 address.
    • getOtherName

      @Stability(Stable) @Nullable default Object getOtherName()
      Represents GeneralName using an OtherName object.
    • getRegisteredId

      @Stability(Stable) @Nullable default String getRegisteredId()
      Represents GeneralName as an object identifier (OID).
    • getRfc822Name

      @Stability(Stable) @Nullable default String getRfc822Name()
      Represents GeneralName as an RFC 822 email address.
    • getUniformResourceIdentifier

      @Stability(Stable) @Nullable default String getUniformResourceIdentifier()
      Represents GeneralName as a URI.
    • builder

      @Stability(Stable) static CfnCertificate.GeneralNameProperty.Builder builder()
      a CfnCertificate.GeneralNameProperty.Builder of CfnCertificate.GeneralNameProperty