Class CfnLoadBalancerTlsCertificate

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.lightsail.CfnLoadBalancerTlsCertificate
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-08-02T00:29:13.231Z") @Stability(Stable) public class CfnLoadBalancerTlsCertificate extends CfnResource implements IInspectable
The AWS::Lightsail::LoadBalancerTlsCertificate resource specifies a TLS certificate that can be used with a Lightsail load balancer.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lightsail.*;
 CfnLoadBalancerTlsCertificate cfnLoadBalancerTlsCertificate = CfnLoadBalancerTlsCertificate.Builder.create(this, "MyCfnLoadBalancerTlsCertificate")
         .certificateDomainName("certificateDomainName")
         .certificateName("certificateName")
         .loadBalancerName("loadBalancerName")
         // the properties below are optional
         .certificateAlternativeNames(List.of("certificateAlternativeNames"))
         .httpsRedirectionEnabled(false)
         .isAttached(false)
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnLoadBalancerTlsCertificate

      protected CfnLoadBalancerTlsCertificate(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnLoadBalancerTlsCertificate

      protected CfnLoadBalancerTlsCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnLoadBalancerTlsCertificate

      @Stability(Stable) public CfnLoadBalancerTlsCertificate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLoadBalancerTlsCertificateProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrLoadBalancerTlsCertificateArn

      @Stability(Stable) @NotNull public String getAttrLoadBalancerTlsCertificateArn()
      The Amazon Resource Name (ARN) of the SSL/TLS certificate.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The validation status of the SSL/TLS certificate.

      Valid Values: PENDING_VALIDATION | ISSUED | INACTIVE | EXPIRED | VALIDATION_TIMED_OUT | REVOKED | FAILED | UNKNOWN

    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCertificateDomainName

      @Stability(Stable) @NotNull public String getCertificateDomainName()
      The domain name for the SSL/TLS certificate.
    • setCertificateDomainName

      @Stability(Stable) public void setCertificateDomainName(@NotNull String value)
      The domain name for the SSL/TLS certificate.
    • getCertificateName

      @Stability(Stable) @NotNull public String getCertificateName()
      The name of the SSL/TLS certificate.
    • setCertificateName

      @Stability(Stable) public void setCertificateName(@NotNull String value)
      The name of the SSL/TLS certificate.
    • getLoadBalancerName

      @Stability(Stable) @NotNull public String getLoadBalancerName()
      The name of the load balancer that the SSL/TLS certificate is attached to.
    • setLoadBalancerName

      @Stability(Stable) public void setLoadBalancerName(@NotNull String value)
      The name of the load balancer that the SSL/TLS certificate is attached to.
    • getCertificateAlternativeNames

      @Stability(Stable) @Nullable public List<String> getCertificateAlternativeNames()
      An array of alternative domain names and subdomain names for your SSL/TLS certificate.
    • setCertificateAlternativeNames

      @Stability(Stable) public void setCertificateAlternativeNames(@Nullable List<String> value)
      An array of alternative domain names and subdomain names for your SSL/TLS certificate.
    • getHttpsRedirectionEnabled

      @Stability(Stable) @Nullable public Object getHttpsRedirectionEnabled()
      A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.
    • setHttpsRedirectionEnabled

      @Stability(Stable) public void setHttpsRedirectionEnabled(@Nullable Boolean value)
      A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.
    • setHttpsRedirectionEnabled

      @Stability(Stable) public void setHttpsRedirectionEnabled(@Nullable IResolvable value)
      A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.
    • getIsAttached

      @Stability(Stable) @Nullable public Object getIsAttached()
      A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.
    • setIsAttached

      @Stability(Stable) public void setIsAttached(@Nullable Boolean value)
      A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.
    • setIsAttached

      @Stability(Stable) public void setIsAttached(@Nullable IResolvable value)
      A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.