Show / Hide Table of Contents

Class CfnCertificateAuthority.GeneralNameProperty

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.

Inheritance
object
CfnCertificateAuthority.GeneralNameProperty
Implements
CfnCertificateAuthority.IGeneralNameProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.ACMPCA
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCertificateAuthority.GeneralNameProperty : CfnCertificateAuthority.IGeneralNameProperty
Syntax (vb)
Public Class CfnCertificateAuthority.GeneralNameProperty Implements CfnCertificateAuthority.IGeneralNameProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ACMPCA;

             var generalNameProperty = new GeneralNameProperty {
                 DirectoryName = new SubjectProperty {
                     CommonName = "commonName",
                     Country = "country",
                     CustomAttributes = new [] { new CustomAttributeProperty {
                         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 = new EdiPartyNameProperty {
                     PartyName = "partyName",

                     // the properties below are optional
                     NameAssigner = "nameAssigner"
                 },
                 IpAddress = "ipAddress",
                 OtherName = new OtherNameProperty {
                     TypeId = "typeId",
                     Value = "value"
                 },
                 RegisteredId = "registeredId",
                 Rfc822Name = "rfc822Name",
                 UniformResourceIdentifier = "uniformResourceIdentifier"
             };

Synopsis

Constructors

GeneralNameProperty()

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.

Properties

DirectoryName

Contains information about the certificate subject.

DnsName

Represents GeneralName as a DNS name.

EdiPartyName

Represents GeneralName as an EdiPartyName object.

IpAddress

Represents GeneralName as an IPv4 or IPv6 address.

OtherName

Represents GeneralName using an OtherName object.

RegisteredId

Represents GeneralName as an object identifier (OID).

Rfc822Name

Represents GeneralName as an RFC 822 email address.

UniformResourceIdentifier

Represents GeneralName as a URI.

Constructors

GeneralNameProperty()

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.

public GeneralNameProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ACMPCA;

             var generalNameProperty = new GeneralNameProperty {
                 DirectoryName = new SubjectProperty {
                     CommonName = "commonName",
                     Country = "country",
                     CustomAttributes = new [] { new CustomAttributeProperty {
                         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 = new EdiPartyNameProperty {
                     PartyName = "partyName",

                     // the properties below are optional
                     NameAssigner = "nameAssigner"
                 },
                 IpAddress = "ipAddress",
                 OtherName = new OtherNameProperty {
                     TypeId = "typeId",
                     Value = "value"
                 },
                 RegisteredId = "registeredId",
                 Rfc822Name = "rfc822Name",
                 UniformResourceIdentifier = "uniformResourceIdentifier"
             };

Properties

DirectoryName

Contains information about the certificate subject.

public object? DirectoryName { get; set; }
Property Value

object

Remarks

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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-directoryname

DnsName

Represents GeneralName as a DNS name.

public string? DnsName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-dnsname

EdiPartyName

Represents GeneralName as an EdiPartyName object.

public object? EdiPartyName { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-edipartyname

IpAddress

Represents GeneralName as an IPv4 or IPv6 address.

public string? IpAddress { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-ipaddress

OtherName

Represents GeneralName using an OtherName object.

public object? OtherName { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-othername

RegisteredId

Represents GeneralName as an object identifier (OID).

public string? RegisteredId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-registeredid

Rfc822Name

Represents GeneralName as an RFC 822 email address.

public string? Rfc822Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-rfc822name

UniformResourceIdentifier

Represents GeneralName as a URI.

public string? UniformResourceIdentifier { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-uniformresourceidentifier

Implements

CfnCertificateAuthority.IGeneralNameProperty
Back to top Generated by DocFX