CmdID

CmdID / aws / aws codeartifact

aws codeartifact create-domain

Creates a domain. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a domain

The following create-domain example creates a domain named test-domain.

aws codeartifact create-domain --domain test-domainIdentify
--domainThe name of the domain to create.
Its output
{
    "domain": {
        "name": "test-domain",
        "owner": "123456789012",
        "arn": "arn:aws:codeartifact:us-west-2:123456789012:domain/test-domain",
        "status": "Active",
        "createdTime": "2020-10-20T13:16:48.559000-04:00",
        "encryptionKey": "arn:aws:kms:us-west-2:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "repositoryCount": 0,
        "assetSizeBytes": 0
    }
}

For more information, see Create a domain in the AWS CodeArtifact User Guide.

Options

3 in the AWS CLI reference
--domainThe name of the domain to create.
--encryption-keyThe encryption key for the domain.
--tagsOne or more tag key-value pairs for the domain.