Repository
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());
}
}
Content copied to clipboard
Import
Codecommit repository can be imported using repository name, e.g.,
$ pulumi import aws:codecommit/repository:Repository imported ExistingRepo
Content copied to clipboard
Properties
Link copied to clipboard
The URL to use for cloning the repository over HTTPS.
Link copied to clipboard
The URL to use for cloning the repository over SSH.
Link copied to clipboard
The default branch of the repository. The branch specified here needs to exist.
Link copied to clipboard
The description of the repository. This needs to be less than 1000 characters
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The ID of the repository
Link copied to clipboard
The name for the repository. This needs to be less than 100 characters.