AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Lightsail::Domain

CfnDomain

Describes a domain where you are storing recordsets.

Import

import { CfnDomain } from 'aws-cdk-lib/aws-lightsail';

Or use the module namespace:

import * as lightsail from 'aws-cdk-lib/aws-lightsail';
// lightsail.CfnDomain

Properties

Configuration passed to the constructor as CfnDomainProps.

domainNameRequired
string

The fully qualified domain name in the certificate request.

domainEntriesOptional
IResolvable | IResolvable | DomainEntryProperty[]

An array of key-value pairs containing information about the domain entries.

tagsOptional
CfnTag[]

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the [Amazon Lightsail Developer Guide](https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

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

Subscribe to Newsletter