@Stability(value=Stable)
public static interface CfnCertificateAuthority.GeneralNameProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCertificateAuthority.GeneralNameProperty.Builder
A builder for
CfnCertificateAuthority.GeneralNameProperty |
static class |
CfnCertificateAuthority.GeneralNameProperty.Jsii$Proxy
An implementation for
CfnCertificateAuthority.GeneralNameProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCertificateAuthority.GeneralNameProperty.Builder |
builder() |
default Object |
getDirectoryName()
Contains information about the certificate subject.
|
default String |
getDnsName()
Represents `GeneralName` as a DNS name.
|
default Object |
getEdiPartyName()
Represents `GeneralName` as an `EdiPartyName` object.
|
default String |
getIpAddress()
Represents `GeneralName` as an IPv4 or IPv6 address.
|
default Object |
getOtherName()
Represents `GeneralName` using an `OtherName` object.
|
default String |
getRegisteredId()
Represents `GeneralName` as an object identifier (OID).
|
default String |
getRfc822Name()
Represents `GeneralName` as an [RFC 822](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc822) email address.
|
default String |
getUniformResourceIdentifier()
Represents `GeneralName` as a URI.
|
@Stability(value=Stable) @Nullable default Object getDirectoryName()
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.
@Stability(value=Stable) @Nullable default String getDnsName()
@Stability(value=Stable) @Nullable default Object getEdiPartyName()
@Stability(value=Stable) @Nullable default String getIpAddress()
@Stability(value=Stable) @Nullable default Object getOtherName()
@Stability(value=Stable) @Nullable default String getRegisteredId()
@Stability(value=Stable) @Nullable default String getRfc822Name()
@Stability(value=Stable) @Nullable default String getUniformResourceIdentifier()
@Stability(value=Stable) static CfnCertificateAuthority.GeneralNameProperty.Builder builder()
Copyright © 2022. All rights reserved.