Interface CfnCertificateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:08.798Z")
@Stability(Stable)
public interface CfnCertificateProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCertificate.
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.*;
CfnCertificateProps cfnCertificateProps = CfnCertificateProps.builder()
.certificateName("certificateName")
.domainName("domainName")
// the properties below are optional
.subjectAlternativeNames(List.of("subjectAlternativeNames"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCertificatePropsstatic final classAn implementation forCfnCertificateProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnCertificateProps.Builderbuilder()The name of the certificate.The domain name of the certificate.An array of strings that specify the alternate domains (such asexample.org) and subdomains (such asblog.example.com) of the certificate.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificateName
The name of the certificate.- See Also:
-
getDomainName
The domain name of the certificate.- See Also:
-
getSubjectAlternativeNames
An array of strings that specify the alternate domains (such asexample.org) and subdomains (such asblog.example.com) of the certificate.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.- See Also:
-
builder
- Returns:
- a
CfnCertificateProps.BuilderofCfnCertificateProps
-