Class CfnCertificate
The AWS::Lightsail::Certificate
resource specifies an SSL/TLS certificate that you can use with a content delivery network (CDN) distribution and a container service.
Inherited Members
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCertificate : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnCertificate
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
For information about certificates that you can use with a load balancer, see AWS::Lightsail::LoadBalancerTlsCertificate .
CloudformationResource: AWS::Lightsail::Certificate
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 cfnCertificate = new CfnCertificate(this, "MyCfnCertificate", new CfnCertificateProps {
CertificateName = "certificateName",
DomainName = "domainName",
// the properties below are optional
SubjectAlternativeNames = new [] { "subjectAlternativeNames" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnCertificate(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnCertificate(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnCertificate(Construct, String, ICfnCertificateProps) |
Properties
AttrCertificateArn | The Amazon Resource Name (ARN) of the certificate. |
AttrStatus | The validation status of the certificate. |
CertificateName | The name of the certificate. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DomainName | The domain name of the certificate. |
SubjectAlternativeNames | An array of strings that specify the alternate domains (such as |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnCertificate(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnCertificate(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnCertificate(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnCertificate(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnCertificate(Construct, String, ICfnCertificateProps)
public CfnCertificate(Construct scope, string id, ICfnCertificateProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnCertificateProps
Resource properties.
Properties
AttrCertificateArn
The Amazon Resource Name (ARN) of the certificate.
public virtual string AttrCertificateArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CertificateArn
AttrStatus
The validation status of the certificate.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Status
CertificateName
The name of the certificate.
public virtual string CertificateName { get; set; }
Property Value
System.String
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DomainName
The domain name of the certificate.
public virtual string DomainName { get; set; }
Property Value
System.String
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 virtual string[] SubjectAlternativeNames { get; set; }
Property Value
System.String[]
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>