Working with domains

This page was generated from content adapted from the AWS Developer Guide

Create a domain

Domain policies

  • Note A principal who wants to fetch packages from a repository endpoint must be granted the ReadFromRepository permission on the repository resource in addition to the GetAuthorizationToken permission on the domain. Similarly, a principal who wants to publish packages to a repository endpoint must be granted the PublishPackageVersion permission in addition to GetAuthorizationToken. For more information about the ReadFromRepository and PublishPackageVersion permissions, see Repository Policies.
  • Note You don't need to create a domain policy if a domain and all its repositories are owned by a single account and only need to be used from that account.
  • Note You cannot grant permissions to another AWS account to update the resource policy on a domain using a resource policy, since the resource policy is ignored when calling put-domain-permissions-policy.

Tag a domain

  • Note To get the ARN of the domain, run the describe-domain command:
  • Note To get the ARN of the domain, run the describe-domain command:
  • Note To get the ARN of the domain, run the describe-domain command:
  • Note If you delete a domain, all tag associations are removed from the deleted domain. You do not have to remove tags before you delete a domain.
  • Note To get the ARN of the domain, run the describe-domain command: