Show / Hide Table of Contents

Class CfnCertificateProps

Properties for defining a CfnCertificate.

Inheritance
object
CfnCertificateProps
Implements
ICfnCertificateProps
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.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCertificateProps : ICfnCertificateProps
Syntax (vb)
Public Class CfnCertificateProps Implements ICfnCertificateProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-certificate.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.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 CfnCertificate.

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 example.org ) and subdomains (such as blog.example.com ) of the certificate.

Tags

An array of key-value pairs to apply to this resource.

Constructors

CfnCertificateProps()

Properties for defining a CfnCertificate.

public CfnCertificateProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-certificate.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.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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-certificate.html#cfn-lightsail-certificate-certificatename

DomainName

The domain name of the certificate.

public string DomainName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-certificate.html#cfn-lightsail-certificate-domainname

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-certificate.html#cfn-lightsail-certificate-subjectalternativenames

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-certificate.html#cfn-lightsail-certificate-tags

Implements

ICfnCertificateProps
Back to top Generated by DocFX