Interface CfnCertificate.GeneralNameProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificate.GeneralNameProperty.Jsii$Proxy
- Enclosing class:
CfnCertificate
@Stability(Stable)
public static interface CfnCertificate.GeneralNameProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.*; GeneralNameProperty generalNameProperty = 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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCertificate.GeneralNameProperty
static final class
An implementation forCfnCertificate.GeneralNameProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Contains information about the certificate subject.default String
RepresentsGeneralName
as a DNS name.default Object
RepresentsGeneralName
as anEdiPartyName
object.default String
RepresentsGeneralName
as an IPv4 or IPv6 address.default Object
RepresentsGeneralName
using anOtherName
object.default String
RepresentsGeneralName
as an object identifier (OID).default String
RepresentsGeneralName
as an RFC 822 email address.default String
RepresentsGeneralName
as a URI.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.
- See Also:
-
getDnsName
RepresentsGeneralName
as a DNS name.- See Also:
-
getEdiPartyName
RepresentsGeneralName
as anEdiPartyName
object.- See Also:
-
getIpAddress
RepresentsGeneralName
as an IPv4 or IPv6 address.- See Also:
-
getOtherName
RepresentsGeneralName
using anOtherName
object.- See Also:
-
getRegisteredId
RepresentsGeneralName
as an object identifier (OID).- See Also:
-
getRfc822Name
RepresentsGeneralName
as an RFC 822 email address.- See Also:
-
getUniformResourceIdentifier
RepresentsGeneralName
as a URI.- See Also:
-
builder
-