Repository

class Repository : KotlinCustomResource

Provides a CodeCommit Repository Resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.codecommit.Repository;
import com.pulumi.aws.codecommit.RepositoryArgs;
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 test = new Repository("test", RepositoryArgs.builder()
.description("This is the Sample App Repository")
.repositoryName("MyTestRepository")
.build());
}
}

Import

Codecommit repository can be imported using repository name, e.g.,

$ pulumi import aws:codecommit/repository:Repository imported ExistingRepo

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the repository

Link copied to clipboard
val cloneUrlHttp: Output<String>

The URL to use for cloning the repository over HTTPS.

Link copied to clipboard
val cloneUrlSsh: Output<String>

The URL to use for cloning the repository over SSH.

Link copied to clipboard
val defaultBranch: Output<String>?

The default branch of the repository. The branch specified here needs to exist.

Link copied to clipboard
val description: Output<String>?

The description of the repository. This needs to be less than 1000 characters

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val repositoryId: Output<String>

The ID of the repository

Link copied to clipboard
val repositoryName: Output<String>

The name for the repository. This needs to be less than 100 characters.

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>