Dev Environment Args
data class DevEnvironmentArgs(val alias: Output<String>? = null, val ides: Output<DevEnvironmentIdesArgs>? = null, val inactivityTimeoutMinutes: Output<Int>? = null, val instanceType: Output<String>? = null, val persistentStorage: Output<DevEnvironmentPersistentStorageArgs>? = null, val projectName: Output<String>? = null, val repositories: Output<List<DevEnvironmentRepositoryArgs>>? = null, val spaceName: Output<String>? = null) : ConvertibleToJava<DevEnvironmentArgs>
Resource for managing an AWS CodeCatalyst Dev Environment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.codecatalyst.DevEnvironment("test", {
alias: "devenv",
spaceName: "myspace",
projectName: "myproject",
instanceType: "dev.standard1.small",
persistentStorage: {
size: 16,
},
ides: {
name: "PyCharm",
runtime: "public.ecr.aws/jetbrains/py",
},
inactivityTimeoutMinutes: 40,
repositories: [{
repositoryName: "pulumi-provider-aws",
branchName: "main",
}],
});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
test = aws.codecatalyst.DevEnvironment("test",
alias="devenv",
space_name="myspace",
project_name="myproject",
instance_type="dev.standard1.small",
persistent_storage={
"size": 16,
},
ides={
"name": "PyCharm",
"runtime": "public.ecr.aws/jetbrains/py",
},
inactivity_timeout_minutes=40,
repositories=[{
"repository_name": "pulumi-provider-aws",
"branch_name": "main",
}])
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = new Aws.CodeCatalyst.DevEnvironment("test", new()
{
Alias = "devenv",
SpaceName = "myspace",
ProjectName = "myproject",
InstanceType = "dev.standard1.small",
PersistentStorage = new Aws.CodeCatalyst.Inputs.DevEnvironmentPersistentStorageArgs
{
Size = 16,
},
Ides = new Aws.CodeCatalyst.Inputs.DevEnvironmentIdesArgs
{
Name = "PyCharm",
Runtime = "public.ecr.aws/jetbrains/py",
},
InactivityTimeoutMinutes = 40,
Repositories = new[]
{
new Aws.CodeCatalyst.Inputs.DevEnvironmentRepositoryArgs
{
RepositoryName = "pulumi-provider-aws",
BranchName = "main",
},
},
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codecatalyst"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := codecatalyst.NewDevEnvironment(ctx, "test", &codecatalyst.DevEnvironmentArgs{
Alias: pulumi.String("devenv"),
SpaceName: pulumi.String("myspace"),
ProjectName: pulumi.String("myproject"),
InstanceType: pulumi.String("dev.standard1.small"),
PersistentStorage: &codecatalyst.DevEnvironmentPersistentStorageArgs{
Size: pulumi.Int(16),
},
Ides: &codecatalyst.DevEnvironmentIdesArgs{
Name: pulumi.String("PyCharm"),
Runtime: pulumi.String("public.ecr.aws/jetbrains/py"),
},
InactivityTimeoutMinutes: pulumi.Int(40),
Repositories: codecatalyst.DevEnvironmentRepositoryArray{
&codecatalyst.DevEnvironmentRepositoryArgs{
RepositoryName: pulumi.String("pulumi-provider-aws"),
BranchName: pulumi.String("main"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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.DevEnvironmentPersistentStorageArgs;
import com.pulumi.aws.codecatalyst.inputs.DevEnvironmentIdesArgs;
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")
.spaceName("myspace")
.projectName("myproject")
.instanceType("dev.standard1.small")
.persistentStorage(DevEnvironmentPersistentStorageArgs.builder()
.size(16)
.build())
.ides(DevEnvironmentIdesArgs.builder()
.name("PyCharm")
.runtime("public.ecr.aws/jetbrains/py")
.build())
.inactivityTimeoutMinutes(40)
.repositories(DevEnvironmentRepositoryArgs.builder()
.repositoryName("pulumi-provider-aws")
.branchName("main")
.build())
.build());
}
}
Content copied to clipboard
resources:
test:
type: aws:codecatalyst:DevEnvironment
properties:
alias: devenv
spaceName: myspace
projectName: myproject
instanceType: dev.standard1.small
persistentStorage:
size: 16
ides:
name: PyCharm
runtime: public.ecr.aws/jetbrains/py
inactivityTimeoutMinutes: 40
repositories:
- repositoryName: pulumi-provider-aws
branchName: main
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(alias: Output<String>? = null, ides: Output<DevEnvironmentIdesArgs>? = null, inactivityTimeoutMinutes: Output<Int>? = null, instanceType: Output<String>? = null, persistentStorage: Output<DevEnvironmentPersistentStorageArgs>? = null, projectName: Output<String>? = null, repositories: Output<List<DevEnvironmentRepositoryArgs>>? = null, spaceName: Output<String>? = null)
Properties
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
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
The name of the project in the space.
Link copied to clipboard
The source repository that contains the branch to clone into the Dev Environment.