Skip to content
v2.274.0

CfnDomainProps Struct ​

Properties for defining a CfnDomain.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const cfnDomainProps: lightsail.CfnDomainProps = {
  domainName: 'domainName',

  // the properties below are optional
  domainEntries: [{
    name: 'name',
    target: 'target',
    type: 'type',

    // the properties below are optional
    id: 'id',
    isAlias: false,
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

domainEntriesoptionalIResolvable | IResolvable | CfnDomain.DomainEntryProperty[]domain_entriesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DomainEntryProperty]]]domainEntriesoptionalIResolvableDomainEntriesoptionalIResolvableDomainEntriesoptionalinterface{}#
An array of key-value pairs containing information about the domain entries.
domainNamestringdomain_namestrdomainNameStringDomainNamestringDomainName*stringrequired#
The fully qualified domain name in the certificate request.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tag keys and optional values for the resource.

For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .