Class PrivateCertificateProps
Properties for your private certificate.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CertificateManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PrivateCertificateProps : Object, IPrivateCertificateProps
Syntax (vb)
Public Class PrivateCertificateProps
Inherits Object
Implements IPrivateCertificateProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.ACMPCA;
new PrivateCertificate(this, "PrivateCertificate", new PrivateCertificateProps {
DomainName = "test.example.com",
SubjectAlternativeNames = new [] { "cool.example.com", "test.example.net" }, // optional
CertificateAuthority = CertificateAuthority.FromCertificateAuthorityArn(this, "CA", "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77"),
KeyAlgorithm = KeyAlgorithm.RSA_2048
});
Synopsis
Constructors
PrivateCertificateProps() |
Properties
CertificateAuthority | Private certificate authority (CA) that will be used to issue the certificate. |
DomainName | Fully-qualified domain name to request a private certificate for. |
KeyAlgorithm | Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. |
SubjectAlternativeNames | Alternative domain names on your private certificate. |
Constructors
PrivateCertificateProps()
public PrivateCertificateProps()
Properties
CertificateAuthority
Private certificate authority (CA) that will be used to issue the certificate.
public ICertificateAuthority CertificateAuthority { get; set; }
Property Value
DomainName
Fully-qualified domain name to request a private certificate for.
public string DomainName { get; set; }
Property Value
System.String
Remarks
May contain wildcards, such as *.domain.com
.
KeyAlgorithm
Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data.
public KeyAlgorithm KeyAlgorithm { get; set; }
Property Value
Remarks
When you request a private PKI certificate signed by a CA from AWS Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
Default: KeyAlgorithm.RSA_2048
See: https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html#algorithms.title
SubjectAlternativeNames
Alternative domain names on your private certificate.
public string[] SubjectAlternativeNames { get; set; }
Property Value
System.String[]
Remarks
Use this to register alternative domain names that represent the same site.
Default: - No additional FQDNs will be included as alternative domain names.