# CfnDomainProps

Properties for defining a `CfnDomain`.

Extends: CfnDomainProps
Used as props by: CfnDomain

- Source: Generated code
- Type last changed: v2.254.0 · 13 May 2026

## Example

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

  // the properties below are optional
  description: 'description',
  domainExecutionRole: 'domainExecutionRole',
  domainVersion: 'domainVersion',
  kmsKeyIdentifier: 'kmsKeyIdentifier',
  serviceRole: 'serviceRole',
  singleSignOn: {
    idcInstanceArn: 'idcInstanceArn',
    type: 'type',
    userAssignment: 'userAssignment',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `description`: string — The description of the Amazon DataZone domain.

- `domainExecutionRole`: string — The domain execution role that is created when an Amazon DataZone domain is created.

  The domain execution role is created in the AWS account that houses the Amazon DataZone domain.

- `domainVersion`: string — The domain version.

- `kmsKeyIdentifier`: string — The identifier of the AWS Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.

- `name`: string (required) — The name of the Amazon DataZone domain.

- `serviceRole`: string — The service role of the domain.

- `singleSignOn`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.SingleSignOnProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_datazone.CfnDomain.SingleSignOnProperty.html) — The single sign-on details in Amazon DataZone.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags specified for the Amazon DataZone domain.
