DevEnvironment

class DevEnvironment : KotlinCustomResource

Resource for managing an AWS CodeCatalyst Dev Environment.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.codecatalyst.DevEnvironment;
import com.pulumi.aws.codecatalyst.DevEnvironmentArgs;
import com.pulumi.aws.codecatalyst.inputs.DevEnvironmentIdesArgs;
import com.pulumi.aws.codecatalyst.inputs.DevEnvironmentPersistentStorageArgs;
import com.pulumi.aws.codecatalyst.inputs.DevEnvironmentRepositoryArgs;
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 DevEnvironment("test", DevEnvironmentArgs.builder()
.alias("devenv")
.ides(DevEnvironmentIdesArgs.builder()
.name("PyCharm")
.runtime("public.ecr.aws/jetbrains/py")
.build())
.inactivityTimeoutMinutes(40)
.instanceType("dev.standard1.small")
.persistentStorage(DevEnvironmentPersistentStorageArgs.builder()
.size(16)
.build())
.projectName("myproject")
.repositories(DevEnvironmentRepositoryArgs.builder()
.branchName("main")
.repositoryName("pulumi-provider-aws")
.build())
.spaceName("myspace")
.build());
}
}

Properties

Link copied to clipboard
val alias: Output<String>?
Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Information about the integrated development environment (IDE) configured for a Dev Environment.

Link copied to clipboard

The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.

Link copied to clipboard
val instanceType: Output<String>

The Amazon EC2 instace type to use for the Dev Environment. Valid values include dev.standard1.small,dev.standard1.medium,dev.standard1.large,dev.standard1.xlarge The following arguments are optional:

Link copied to clipboard

Information about the amount of storage allocated to the Dev Environment.

Link copied to clipboard
val projectName: Output<String>

The name of the project in the space.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The source repository that contains the branch to clone into the Dev Environment.

Link copied to clipboard
val spaceName: Output<String>

The name of the space.

Link copied to clipboard
val urn: Output<String>