@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.669Z") @Stability(value=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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnLoadBalancerTlsCertificate.Builder
A fluent builder for
CfnLoadBalancerTlsCertificate. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnLoadBalancerTlsCertificate(software.constructs.Construct scope,
String id,
CfnLoadBalancerTlsCertificateProps props)
Create a new `AWS::Lightsail::LoadBalancerTlsCertificate`.
|
protected |
CfnLoadBalancerTlsCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnLoadBalancerTlsCertificate(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrLoadBalancerTlsCertificateArn()
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
|
String |
getAttrStatus()
The validation status of the SSL/TLS certificate.
|
List<String> |
getCertificateAlternativeNames()
An array of alternative domain names and subdomain names for your SSL/TLS certificate.
|
String |
getCertificateDomainName()
The domain name for the SSL/TLS certificate.
|
String |
getCertificateName()
The name of the SSL/TLS certificate.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getHttpsRedirectionEnabled()
A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.
|
Object |
getIsAttached()
A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.
|
String |
getLoadBalancerName()
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.
|
protected Map<String,Object> |
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 |
setHttpsRedirectionEnabled(Boolean value)
A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.
|
void |
setHttpsRedirectionEnabled(IResolvable value)
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.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnLoadBalancerTlsCertificate(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnLoadBalancerTlsCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnLoadBalancerTlsCertificate(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnLoadBalancerTlsCertificateProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrLoadBalancerTlsCertificateArn()
@Stability(value=Stable) @NotNull public String getAttrStatus()
Valid Values: PENDING_VALIDATION | ISSUED | INACTIVE | EXPIRED | VALIDATION_TIMED_OUT | REVOKED | FAILED | UNKNOWN
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getCertificateDomainName()
For example, example.com or www.example.com .
@Stability(value=Stable)
public void setCertificateDomainName(@NotNull
String value)
For example, example.com or www.example.com .
@Stability(value=Stable) @NotNull public String getCertificateName()
@Stability(value=Stable)
public void setCertificateName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getLoadBalancerName()
@Stability(value=Stable)
public void setLoadBalancerName(@NotNull
String value)
@Stability(value=Stable) @Nullable public List<String> getCertificateAlternativeNames()
In addition to the primary domain name, you can have up to nine alternative domain names. Wildcards (such as *.example.com ) are not supported.
@Stability(value=Stable)
public void setCertificateAlternativeNames(@Nullable
List<String> value)
In addition to the primary domain name, you can have up to nine alternative domain names. Wildcards (such as *.example.com ) are not supported.
@Stability(value=Stable) @Nullable public Object getHttpsRedirectionEnabled()
@Stability(value=Stable)
public void setHttpsRedirectionEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setHttpsRedirectionEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getIsAttached()
@Stability(value=Stable)
public void setIsAttached(@Nullable
Boolean value)
@Stability(value=Stable)
public void setIsAttached(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.