EnvironmentEC2Args

data class EnvironmentEC2Args(val automaticStopTimeMinutes: Output<Int>? = null, val connectionType: Output<String>? = null, val description: Output<String>? = null, val imageId: Output<String>? = null, val instanceType: Output<String>? = null, val name: Output<String>? = null, val ownerArn: Output<String>? = null, val subnetId: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<EnvironmentEC2Args>

Provides a Cloud9 EC2 Development Environment.

Example Usage

Basic usage:

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cloud9.EnvironmentEC2;
import com.pulumi.aws.cloud9.EnvironmentEC2Args;
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 EnvironmentEC2("example", EnvironmentEC2Args.builder()
.instanceType("t2.micro")
.build());
}
}

Constructors

Link copied to clipboard
constructor(automaticStopTimeMinutes: Output<Int>? = null, connectionType: Output<String>? = null, description: Output<String>? = null, imageId: Output<String>? = null, instanceType: Output<String>? = null, name: Output<String>? = null, ownerArn: Output<String>? = null, subnetId: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val automaticStopTimeMinutes: Output<Int>? = null

The number of minutes until the running instance is shut down after the environment has last been used.

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

The connection type used for connecting to an Amazon EC2 environment. Valid values are CONNECT_SSH and CONNECT_SSM. For more information please refer AWS documentation for Cloud9.

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

The description of the environment.

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

The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. Valid values are

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

The type of instance to connect to the environment, e.g., t2.micro.

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

The name of the environment.

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

The ARN of the environment owner. This can be ARN of any AWS IAM principal. Defaults to the environment's creator.

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

The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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.

Functions

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