Interface CfnCertificateAuthority.GeneralNameProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificateAuthority.GeneralNameProperty.Jsii$Proxy
- Enclosing class:
CfnCertificateAuthority
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()
.partyName("partyName")
// the properties below are optional
.nameAssigner("nameAssigner")
.build())
.ipAddress("ipAddress")
.otherName(OtherNameProperty.builder()
.typeId("typeId")
.value("value")
.build())
.registeredId("registeredId")
.rfc822Name("rfc822Name")
.uniformResourceIdentifier("uniformResourceIdentifier")
.build();
- See Also:
-
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.
Returns union: either
IResolvableorCfnCertificateAuthority.SubjectProperty- See Also:
-
getDnsName
RepresentsGeneralNameas a DNS name.- See Also:
-
getEdiPartyName
RepresentsGeneralNameas anEdiPartyNameobject.Returns union: either
IResolvableorCfnCertificateAuthority.EdiPartyNameProperty- See Also:
-
getIpAddress
RepresentsGeneralNameas an IPv4 or IPv6 address.- See Also:
-
getOtherName
RepresentsGeneralNameusing anOtherNameobject.Returns union: either
IResolvableorCfnCertificateAuthority.OtherNameProperty- See Also:
-
getRegisteredId
RepresentsGeneralNameas an object identifier (OID).- See Also:
-
getRfc822Name
RepresentsGeneralNameas an RFC 822 email address.- See Also:
-
getUniformResourceIdentifier
RepresentsGeneralNameas a URI.- See Also:
-
builder
-