Class CfnCertificateProps
Properties for defining a CfnCertificate.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCertificateProps : ICfnCertificateProps
Syntax (vb)
Public Class CfnCertificateProps Implements ICfnCertificateProps
Remarks
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.Lightsail;
var cfnCertificateProps = new CfnCertificateProps {
CertificateName = "certificateName",
DomainName = "domainName",
// the properties below are optional
SubjectAlternativeNames = new [] { "subjectAlternativeNames" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnCertificateProps() | Properties for defining a |
Properties
| CertificateName | The name of the certificate. |
| DomainName | The domain name of the certificate. |
| SubjectAlternativeNames | An array of strings that specify the alternate domains (such as |
| Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnCertificateProps()
Properties for defining a CfnCertificate.
public CfnCertificateProps()
Remarks
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.Lightsail;
var cfnCertificateProps = new CfnCertificateProps {
CertificateName = "certificateName",
DomainName = "domainName",
// the properties below are optional
SubjectAlternativeNames = new [] { "subjectAlternativeNames" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
CertificateName
The name of the certificate.
public string CertificateName { get; set; }
Property Value
Remarks
DomainName
The domain name of the certificate.
public string DomainName { get; set; }
Property Value
Remarks
SubjectAlternativeNames
An array of strings that specify the alternate domains (such as example.org ) and subdomains (such as blog.example.com ) of the certificate.
public string[]? SubjectAlternativeNames { get; set; }
Property Value
string[]
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag in the AWS CloudFormation User Guide .
The <code>Value</code> of <code>Tags</code> is optional for Lightsail resources.