Skip to content
v2.275.0

GeneralNameProperty Struct ​

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 ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_acmpca as acmpca } from 'aws-cdk-lib';
const generalNameProperty: acmpca.CfnCertificateAuthority.GeneralNameProperty = {
  directoryName: {
    commonName: 'commonName',
    country: 'country',
    customAttributes: [{
      objectIdentifier: 'objectIdentifier',
      value: 'value',
    }],
    distinguishedNameQualifier: 'distinguishedNameQualifier',
    generationQualifier: 'generationQualifier',
    givenName: 'givenName',
    initials: 'initials',
    locality: 'locality',
    organization: 'organization',
    organizationalUnit: 'organizationalUnit',
    pseudonym: 'pseudonym',
    serialNumber: 'serialNumber',
    state: 'state',
    surname: 'surname',
    title: 'title',
  },
  dnsName: 'dnsName',
  ediPartyName: {
    partyName: 'partyName',

    // the properties below are optional
    nameAssigner: 'nameAssigner',
  },
  ipAddress: 'ipAddress',
  otherName: {
    typeId: 'typeId',
    value: 'value',
  },
  registeredId: 'registeredId',
  rfc822Name: 'rfc822Name',
  uniformResourceIdentifier: 'uniformResourceIdentifier',
};

Properties ​

directoryNameoptionalIResolvable | CfnCertificateAuthority.SubjectPropertydirectory_nameoptionaltyping.Union[IResolvable, SubjectProperty]directoryNameoptionalIResolvableDirectoryNameoptionalIResolvableDirectoryNameoptionalinterface{}#
Contains information about the certificate subject.
notes

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.

dnsNameoptionalstringdns_nameoptionalstrdnsNameoptionalStringDnsNameoptionalstringDnsNameoptional*string#
Represents `GeneralName` as a DNS name.
ediPartyNameoptionalIResolvable | CfnCertificateAuthority.EdiPartyNamePropertyedi_party_nameoptionaltyping.Union[IResolvable, EdiPartyNameProperty]ediPartyNameoptionalIResolvableEdiPartyNameoptionalIResolvableEdiPartyNameoptionalinterface{}#
Represents `GeneralName` as an `EdiPartyName` object.
ipAddressoptionalstringip_addressoptionalstripAddressoptionalStringIpAddressoptionalstringIpAddressoptional*string#
Represents `GeneralName` as an IPv4 or IPv6 address.
otherNameoptionalIResolvable | CfnCertificateAuthority.OtherNamePropertyother_nameoptionaltyping.Union[IResolvable, OtherNameProperty]otherNameoptionalIResolvableOtherNameoptionalIResolvableOtherNameoptionalinterface{}#
Represents `GeneralName` using an `OtherName` object.
registeredIdoptionalstringregistered_idoptionalstrregisteredIdoptionalStringRegisteredIdoptionalstringRegisteredIdoptional*string#
Represents `GeneralName` as an object identifier (OID).
rfc822Nameoptionalstringrfc822_nameoptionalstrrfc822NameoptionalStringRfc822NameoptionalstringRfc822Nameoptional*string#
Represents `GeneralName` as an [RFC 822](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc822) email address.
uniformResourceIdentifieroptionalstringuniform_resource_identifieroptionalstruniformResourceIdentifieroptionalStringUniformResourceIdentifieroptionalstringUniformResourceIdentifieroptional*string#
Represents `GeneralName` as a URI.