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,IEnvironmentAware,ILoadBalancerTlsCertificateRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:39.768Z")
@Stability(Stable)
public class CfnLoadBalancerTlsCertificate
extends CfnResource
implements IInspectable, ILoadBalancerTlsCertificateRef
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnLoadBalancerTlsCertificate.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.lightsail.ILoadBalancerTlsCertificateRef
ILoadBalancerTlsCertificateRef.Jsii$Default, ILoadBalancerTlsCertificateRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnLoadBalancerTlsCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLoadBalancerTlsCertificate(software.amazon.jsii.JsiiObjectRef objRef) CfnLoadBalancerTlsCertificate(software.constructs.Construct scope, String id, CfnLoadBalancerTlsCertificateProps props) Create a newAWS::Lightsail::LoadBalancerTlsCertificate. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the SSL/TLS certificate.The validation status of the SSL/TLS certificate.An array of alternative domain names and subdomain names for your SSL/TLS certificate.The domain name for the SSL/TLS certificate.The name of the SSL/TLS certificate.A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.The name of the load balancer that the SSL/TLS certificate is attached to.A reference to a LoadBalancerTlsCertificate resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnLoadBalancerTlsCertificate.renderProperties(Map<String, Object> props) voidsetCertificateAlternativeNames(List<String> value) An array of alternative domain names and subdomain names for your SSL/TLS certificate.voidsetCertificateDomainName(String value) The domain name for the SSL/TLS certificate.voidsetCertificateName(String value) The name of the SSL/TLS certificate.voidA Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.voidA Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.voidsetIsAttached(Boolean value) A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.voidsetIsAttached(IResolvable value) A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.voidsetLoadBalancerName(String value) The name of the load balancer that the SSL/TLS certificate is attached to.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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) Create a newAWS::Lightsail::LoadBalancerTlsCertificate.- 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
-
arnForLoadBalancerTlsCertificate
@Stability(Stable) @NotNull public static String arnForLoadBalancerTlsCertificate(@NotNull ILoadBalancerTlsCertificateRef resource) - Parameters:
resource- This parameter is required.
-
isCfnLoadBalancerTlsCertificate
@Stability(Stable) @NotNull public static Boolean isCfnLoadBalancerTlsCertificate(@NotNull Object x) Checks whether the given object is a CfnLoadBalancerTlsCertificate.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrLoadBalancerTlsCertificateArn
The Amazon Resource Name (ARN) of the SSL/TLS certificate. -
getAttrStatus
The validation status of the SSL/TLS certificate.Valid Values:
PENDING_VALIDATION|ISSUED|INACTIVE|EXPIRED|VALIDATION_TIMED_OUT|REVOKED|FAILED|UNKNOWN -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getLoadBalancerTlsCertificateRef
@Stability(Stable) @NotNull public LoadBalancerTlsCertificateReference getLoadBalancerTlsCertificateRef()A reference to a LoadBalancerTlsCertificate resource.- Specified by:
getLoadBalancerTlsCertificateRefin interfaceILoadBalancerTlsCertificateRef
-
getCertificateDomainName
The domain name for the SSL/TLS certificate. -
setCertificateDomainName
The domain name for the SSL/TLS certificate. -
getCertificateName
The name of the SSL/TLS certificate. -
setCertificateName
The name of the SSL/TLS certificate. -
getLoadBalancerName
The name of the load balancer that the SSL/TLS certificate is attached to. -
setLoadBalancerName
The name of the load balancer that the SSL/TLS certificate is attached to. -
getCertificateAlternativeNames
An array of alternative domain names and subdomain names for your SSL/TLS certificate. -
setCertificateAlternativeNames
An array of alternative domain names and subdomain names for your SSL/TLS certificate. -
getHttpsRedirectionEnabled
A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.Returns union: either
BooleanorIResolvable -
setHttpsRedirectionEnabled
A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to. -
setHttpsRedirectionEnabled
A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to. -
getIsAttached
A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.Returns union: either
BooleanorIResolvable -
setIsAttached
A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer. -
setIsAttached
A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.
-