Class CfnCertificate.ApiPassthroughProperty
Contains X.509 certificate information to be placed in an issued certificate. An APIPassthrough
or APICSRPassthrough
template variant must be selected, or else this parameter is ignored.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ACMPCA
Assembly: Amazon.CDK.AWS.ACMPCA.dll
Syntax (csharp)
public class ApiPassthroughProperty : Object, CfnCertificate.IApiPassthroughProperty
Syntax (vb)
Public Class ApiPassthroughProperty
Inherits Object
Implements CfnCertificate.IApiPassthroughProperty
Remarks
If conflicting or duplicate certificate information is supplied from other sources, AWS Private CA applies order of operation rules to determine what information is used.
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 apiPassthroughProperty = new ApiPassthroughProperty {
Extensions = new ExtensionsProperty {
CertificatePolicies = new [] { new PolicyInformationProperty {
CertPolicyId = "certPolicyId",
// the properties below are optional
PolicyQualifiers = new [] { new PolicyQualifierInfoProperty {
PolicyQualifierId = "policyQualifierId",
Qualifier = new QualifierProperty {
CpsUri = "cpsUri"
}
} }
} },
CustomExtensions = new [] { new CustomExtensionProperty {
ObjectIdentifier = "objectIdentifier",
Value = "value",
// the properties below are optional
Critical = false
} },
ExtendedKeyUsage = new [] { new ExtendedKeyUsageProperty {
ExtendedKeyUsageObjectIdentifier = "extendedKeyUsageObjectIdentifier",
ExtendedKeyUsageType = "extendedKeyUsageType"
} },
KeyUsage = new KeyUsageProperty {
CrlSign = false,
DataEncipherment = false,
DecipherOnly = false,
DigitalSignature = false,
EncipherOnly = false,
KeyAgreement = false,
KeyCertSign = false,
KeyEncipherment = false,
NonRepudiation = false
},
SubjectAlternativeNames = new [] { 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 {
NameAssigner = "nameAssigner",
PartyName = "partyName"
},
IpAddress = "ipAddress",
OtherName = new OtherNameProperty {
TypeId = "typeId",
Value = "value"
},
RegisteredId = "registeredId",
Rfc822Name = "rfc822Name",
UniformResourceIdentifier = "uniformResourceIdentifier"
} }
},
Subject = 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"
}
};
Synopsis
Constructors
ApiPassthroughProperty() |
Properties
Extensions | Specifies X.509 extension information for a certificate. |
Subject | Contains information about the certificate subject. |
Constructors
ApiPassthroughProperty()
public ApiPassthroughProperty()
Properties
Extensions
Specifies X.509 extension information for a certificate.
public object Extensions { get; set; }
Property Value
System.Object
Remarks
Subject
Contains information about the certificate subject.
public object Subject { get; set; }
Property Value
System.Object
Remarks
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.