Class CfnLoadBalancerTlsCertificate
The AWS::Lightsail::LoadBalancerTlsCertificate
resource specifies a TLS certificate that can be used with a Lightsail load balancer.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoadBalancerTlsCertificate : CfnResource, IInspectable
Syntax (vb)
Public Class CfnLoadBalancerTlsCertificate Inherits CfnResource Implements IInspectable
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
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 cfnLoadBalancerTlsCertificate = new CfnLoadBalancerTlsCertificate(this, "MyCfnLoadBalancerTlsCertificate", new CfnLoadBalancerTlsCertificateProps {
CertificateDomainName = "certificateDomainName",
CertificateName = "certificateName",
LoadBalancerName = "loadBalancerName",
// the properties below are optional
CertificateAlternativeNames = new [] { "certificateAlternativeNames" },
HttpsRedirectionEnabled = false,
IsAttached = false
});
Synopsis
Constructors
CfnLoadBalancerTlsCertificate(Construct, string, ICfnLoadBalancerTlsCertificateProps) | The |
Properties
AttrLoadBalancerTlsCertificateArn | The Amazon Resource Name (ARN) of the SSL/TLS certificate. |
AttrStatus | The validation status of the SSL/TLS certificate. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CertificateAlternativeNames | An array of alternative domain names and subdomain names for your SSL/TLS certificate. |
CertificateDomainName | The domain name for the SSL/TLS certificate. |
CertificateName | The name of the SSL/TLS certificate. |
CfnProperties | The |
HttpsRedirectionEnabled | A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to. |
IsAttached | A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer. |
LoadBalancerName | The name of the load balancer that the SSL/TLS certificate is attached to. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnLoadBalancerTlsCertificate(Construct, string, ICfnLoadBalancerTlsCertificateProps)
The AWS::Lightsail::LoadBalancerTlsCertificate
resource specifies a TLS certificate that can be used with a Lightsail load balancer.
public CfnLoadBalancerTlsCertificate(Construct scope, string id, ICfnLoadBalancerTlsCertificateProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnLoadBalancerTlsCertificateProps
Resource properties.
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
Properties
AttrLoadBalancerTlsCertificateArn
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
public virtual string AttrLoadBalancerTlsCertificateArn { get; }
Property Value
Remarks
CloudformationAttribute: LoadBalancerTlsCertificateArn
AttrStatus
The validation status of the SSL/TLS certificate.
public virtual string AttrStatus { get; }
Property Value
Remarks
Valid Values: PENDING_VALIDATION
| ISSUED
| INACTIVE
| EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
| UNKNOWN
CloudformationAttribute: Status
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
CertificateAlternativeNames
An array of alternative domain names and subdomain names for your SSL/TLS certificate.
public virtual string[]? CertificateAlternativeNames { get; set; }
Property Value
string[]
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
CertificateDomainName
The domain name for the SSL/TLS certificate.
public virtual string CertificateDomainName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
CertificateName
The name of the SSL/TLS certificate.
public virtual string CertificateName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::Lightsail::LoadBalancerTlsCertificate
resource specifies a TLS certificate that can be used with a Lightsail load balancer.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
HttpsRedirectionEnabled
A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.
public virtual object? HttpsRedirectionEnabled { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
IsAttached
A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.
public virtual object? IsAttached { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
LoadBalancerName
The name of the load balancer that the SSL/TLS certificate is attached to.
public virtual string LoadBalancerName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
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.
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::Lightsail::LoadBalancerTlsCertificate
resource specifies a TLS certificate that can be used with a Lightsail load balancer.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::Lightsail::LoadBalancerTlsCertificate
ExampleMetadata: fixture=_generated