Interface CfnCertificateAuthority.GeneralNameProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificateAuthority.GeneralNameProperty.Jsii$Proxy
- Enclosing class:
- CfnCertificateAuthority
@Stability(Stable)
public static interface CfnCertificateAuthority.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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCertificateAuthority.GeneralNamePropertystatic final classAn implementation forCfnCertificateAuthority.GeneralNameProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectContains information about the certificate subject.default StringRepresentsGeneralNameas a DNS name.default ObjectRepresentsGeneralNameas anEdiPartyNameobject.default StringRepresentsGeneralNameas an IPv4 or IPv6 address.default ObjectRepresentsGeneralNameusing anOtherNameobject.default StringRepresentsGeneralNameas an object identifier (OID).default StringRepresentsGeneralNameas an RFC 822 email address.default StringRepresentsGeneralNameas 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.
-
getDnsName
RepresentsGeneralNameas a DNS name. -
getEdiPartyName
RepresentsGeneralNameas anEdiPartyNameobject. -
getIpAddress
RepresentsGeneralNameas an IPv4 or IPv6 address. -
getOtherName
RepresentsGeneralNameusing anOtherNameobject. -
getRegisteredId
RepresentsGeneralNameas an object identifier (OID). -
getRfc822Name
RepresentsGeneralNameas an RFC 822 email address. -
getUniformResourceIdentifier
RepresentsGeneralNameas a URI. -
builder
-