AWS Fundamentals Logo
AWS Fundamentals
AWS::Lightsail::Certificate

Lightsail Certificate

Resource Type definition for AWS::Lightsail::Certificate.

Properties

4 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
CertificateName
string
RequiredCreate-only
DomainName
string
RequiredCreate-only
SubjectAlternativeNames
Array<string>
Create-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CertificateArnstring-
StatusstringThe validation status of the certificate.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lightsail::Certificate

Resources:
  MyResource:
    Type: AWS::Lightsail::Certificate
    Properties:
      CertificateName: "my-certificatename"
      DomainName: "my-domainname"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

lightsail:CreateCertificatelightsail:GetCertificateslightsail:TagResourcelightsail:UntagResource

read

lightsail:GetCertificates

update

lightsail:GetCertificateslightsail:TagResourcelightsail:UntagResource

delete

lightsail:DeleteCertificatelightsail:GetCertificates

list

lightsail:GetCertificates

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceLightsail
Properties6
Required2
TaggingSupported
Primary IDCertificateName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

CertificateNameDomainNameSubjectAlternativeNames

External Links