# CfnDomainProps

Properties for defining a `CfnDomain`.

Extends: CfnDomainProps
Used as props by: CfnDomain

- Source: Generated code
- Type last changed: v2.211.0 · 13 Aug 2025

## 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

- `domainEntries`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.DomainEntryProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lightsail.CfnDomain.DomainEntryProperty.html)[] — An array of key-value pairs containing information about the domain entries.

- `domainName`: string (required) — The fully qualified domain name in the certificate request.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — 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) .
