CmdID / aws / aws codeartifact
aws codeartifact describe-domain
Returns a DomainDescription object that contains information about the requested domain. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To get information about a domain
The following describe-domain example returns a DomainDescription object for a domain named test-domain.
aws codeartifact describe-domain --domain test-domainIdentify--domainA string that specifies the name of the requested domain.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": 2,
"assetSizeBytes": 0,
"s3BucketArn": "arn:aws:s3:::amzn-s3-demo-bucket"
}
}For more information, see Domain overview in the AWS CodeArtifact User Guide.
Options
--domain-ownerThe 12-digit account number of the Amazon Web Services account that owns the domain.--domainA string that specifies the name of the requested domain.