---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_codeartifact_domain Resource - terraform-provider-awscc"
subcategory: ""
description: |-
The resource schema to create a CodeArtifact domain.
---
# awscc_codeartifact_domain (Resource)
The resource schema to create a CodeArtifact domain.
## Schema
### Required
- `domain_name` (String) The name of the domain.
### Optional
- `permissions_policy_document` (Map of String) The access control resource policy on the provided domain.
- `tags` (Attributes List) An array of key-value pairs to apply to this resource. (see [below for nested schema](#nestedatt--tags))
### Read-Only
- `arn` (String) The ARN of the domain.
- `encryption_key` (String) The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.
- `id` (String) Uniquely identifies the resource.
- `name` (String) The name of the domain. This field is used for GetAtt
- `owner` (String) The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt
### Nested Schema for `tags`
Optional:
- `key` (String) The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- `value` (String) The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
## Import
Import is supported using the following syntax:
```shell
$ terraform import awscc_codeartifact_domain.example
```