Domain

class Domain : KotlinCustomResource

Provides a CodeArtifact Domain Resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.codeartifact.Domain;
import com.pulumi.aws.codeartifact.DomainArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Domain("example", DomainArgs.builder()
.domain("example")
.build());
}
}

Import

CodeArtifact Domain can be imported using the CodeArtifact Domain arn, e.g.,

$ pulumi import aws:codeartifact/domain:Domain example arn:aws:codeartifact:us-west-2:012345678912:domain/tf-acc-test-8593714120730241305

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the Domain.

Link copied to clipboard
val assetSizeBytes: Output<Int>

The total size of all assets in the domain.

Link copied to clipboard
val createdTime: Output<String>

A timestamp that represents the date and time the domain was created in RFC3339 format.

Link copied to clipboard
val domain: Output<String>

The name of the domain to create. All domain names in an AWS Region that are in the same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.

Link copied to clipboard
val encryptionKey: Output<String>

The encryption key for the domain. This is used to encrypt content stored in a domain. The KMS Key Amazon Resource Name (ARN). The default aws/codeartifact AWS KMS master key is used if this element is absent.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val owner: Output<String>

The AWS account ID that owns the domain.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val repositoryCount: Output<Int>

The number of repositories in the domain.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>