SourceRepositoryArgs

data class SourceRepositoryArgs(val description: Output<String>? = null, val name: Output<String>? = null, val projectName: Output<String>? = null, val spaceName: Output<String>? = null) : ConvertibleToJava<SourceRepositoryArgs>

Resource for managing an AWS CodeCatalyst Source Repository.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.codecatalyst.SourceRepository;
import com.pulumi.aws.codecatalyst.SourceRepositoryArgs;
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 SourceRepository("example", SourceRepositoryArgs.builder()
.projectName("example-project")
.spaceName("example-space")
.build());
}
}

Import

Using pulumi import, import CodeCatalyst Source Repository using the example_id_arg. For example:

$ pulumi import aws:codecatalyst/sourceRepository:SourceRepository example source_repository-id-12345678

Constructors

Link copied to clipboard
fun SourceRepositoryArgs(description: Output<String>? = null, name: Output<String>? = null, projectName: Output<String>? = null, spaceName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SourceRepositoryArgs

Properties

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

The description of the project. This description will be displayed to all users of the project. We recommend providing a brief description of the project and its intended purpose.

Link copied to clipboard
val name: Output<String>? = null

The name of the source repository. For more information about name requirements, see Quotas for source repositories.

Link copied to clipboard
val projectName: Output<String>? = null

The name of the project in the CodeCatalyst space. The following arguments are optional:

Link copied to clipboard
val spaceName: Output<String>? = null

The name of the CodeCatalyst space.