AWS::Lightsail::DomainResource Type definition for AWS::Lightsail::Domain
3 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DomainName | string | RequiredCreate-only |
DomainEntries | Array<DomainEntry> | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the domain (read-only). |
CreatedAt | string | The timestamp when the domain was created (read-only). |
Location | object | The AWS Region and Availability Zone where the domain was created (read-only). |
ResourceType | string | The Lightsail resource type (read-only). |
SupportCode | string | The support code. Include this code in your email to support when you have questions (read-only). |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lightsail::Domain
Resources:
MyResource:
Type: AWS::Lightsail::Domain
Properties:
DomainName: "my-domainname"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
lightsail:CreateDomainlightsail:GetDomainlightsail:CreateDomainEntrylightsail:TagResourcelightsail:GetDomainlightsail:GetDomainlightsail:CreateDomainEntrylightsail:DeleteDomainEntrylightsail:TagResourcelightsail:UntagResourcelightsail:DeleteDomainlightsail:GetDomainlightsail:GetDomainsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterDomainNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DomainName