Class CfnLoadBalancerTlsCertificate
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.lightsail.CfnLoadBalancerTlsCertificate
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:59.769Z")
@Stability(Stable)
public class CfnLoadBalancerTlsCertificate
extends CfnResource
implements IInspectable
A CloudFormation
AWS::Lightsail::LoadBalancerTlsCertificate
.
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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnLoadBalancerTlsCertificate
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnLoadBalancerTlsCertificate
(Construct scope, String id, CfnLoadBalancerTlsCertificateProps props) Create a newAWS::Lightsail::LoadBalancerTlsCertificate
.protected
CfnLoadBalancerTlsCertificate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnLoadBalancerTlsCertificate
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe 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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setCertificateAlternativeNames
(List<String> value) An array of alternative domain names and subdomain names for your SSL/TLS certificate.void
setCertificateDomainName
(String value) The domain name for the SSL/TLS certificate.void
setCertificateName
(String value) The name of the SSL/TLS certificate.void
A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.void
A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.void
setIsAttached
(Boolean value) A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.void
setIsAttached
(IResolvable value) A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.void
setLoadBalancerName
(String value) The name of the load balancer that the SSL/TLS certificate is attached to.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 Construct scope, @NotNull String id, @NotNull CfnLoadBalancerTlsCertificateProps props) Create a newAWS::Lightsail::LoadBalancerTlsCertificate
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
getCertificateDomainName
The domain name for the SSL/TLS certificate.For example,
example.com
orwww.example.com
. -
setCertificateDomainName
The domain name for the SSL/TLS certificate.For example,
example.com
orwww.example.com
. -
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.In addition to the primary domain name, you can have up to nine alternative domain names. Wildcards (such as
*.example.com
) are not supported. -
setCertificateAlternativeNames
An array of alternative domain names and subdomain names for your SSL/TLS certificate.In addition to the primary domain name, you can have up to nine alternative domain names. Wildcards (such as
*.example.com
) are not supported. -
getHttpsRedirectionEnabled
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. -
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. -
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.
-