Domain
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Properties
Link copied to clipboard
The total size of all assets in the domain.
Link copied to clipboard
A timestamp that represents the date and time the domain was created in RFC3339 format.
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The number of repositories in the domain.