Class CfnCertificateProps
Properties for defining a CfnCertificate
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.AWS.Lightsail.dll
Syntax (csharp)
public class CfnCertificateProps : Object, ICfnCertificateProps
Syntax (vb)
Public Class CfnCertificateProps
Inherits Object
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
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()
public CfnCertificateProps()
Properties
CertificateName
The name of the certificate.
public string CertificateName { get; set; }
Property Value
System.String
Remarks
DomainName
The domain name of the certificate.
public string DomainName { get; set; }
Property Value
System.String
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
System.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 Value
of Tags
is optional for Lightsail resources.